Imperious123

Untitled

Dec 8th, 2019
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plr = game:service'Players'.LocalPlayer
  2. char = plr.Character
  3. hum = char:FindFirstChildOfClass'Humanoid'
  4. mouse = plr:GetMouse()
  5. on = false
  6.  
  7. mouse.KeyDown:connect(function(key)
  8. if key == "n" then
  9. if not on then
  10. on = true
  11. elseif on then
  12. on = false
  13. end
  14. end
  15. end)
  16.  
  17. while wait() do
  18. if char then
  19. hum = char:FindFirstChildOfClass'Humanoid'
  20. end
  21. if on then
  22. hum:ChangeState(11)
  23. end
RAW Paste Data