Advertisement
MisterH_t

Local Script RToReset

Feb 12th, 2021
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. - LocalScript - StarterGui - RToReset -
  2.  
  3. local player = game.Players.LocalPlayer
  4. local char = player.Character
  5. local enabled = true
  6.  
  7. local UserInput = game:GetService("UserInputService")
  8. UserInput.InputBegan:Connect(function(input)
  9.     if input.KeyCode == Enum.KeyCode.R and enabled then
  10.         char.Head:Remove()
  11.         enabled = false
  12.         wait(.1)
  13.         enabled = true
  14.     end
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement