Advertisement
3DCreator

Reset Key Script

Feb 28th, 2021
1,780
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Mouse = Player:GetMouse()
  3. local Character = Player.Character
  4. local Humanoid = Character:WaitForChild("Humanoid")
  5. Mouse.KeyUp:connect(function(Key)
  6.     if Key == "r" then
  7.         Humanoid.Health = 0
  8.     end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement