How to make a "R" to Reset in Roblox Studio | Tutorial
HTML-код
- Опубликовано: 22 авг 2024
- In today's video, I will be demonstrating how to make a "R" to Reset in Roblox Studio
hope yall liked it Subscribe for more and comment down what yall want next!
~Scripts~
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local char = player.Character
local h = char:WaitForChild("Humanoid")
mouse.KeyUp:connect(function(key)
if key == "r" then
h.Health = 0
end
end)
My Roblox user, 0winto100win
don't forget to check it out!
appreciate it
~Scripts~
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local char = player.Character
local h = char:WaitForChild("Humanoid")
mouse.KeyUp:connect(function(key)
if key == "r" then
h.Health = 0
end
end)
Tyy
your welcome :D
😊
And btw can you make a starting screen? Cuz mine doesnt plook good..
starting screen you mean the main menu? like "Play" "Credits and "Settings"?
Yeah, sorry I wasn't able to reply quicker 😅