gabeisdumblol

Untitled

Jun 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. local Tool = script.Parent;
  2.  
  3. enabled = true
  4.  
  5. function onButton1Down(mouse)
  6. if not enabled then
  7. return
  8. end
  9.  
  10. enabled = false
  11. Tool.GripForward = Vector3.new(-0,-0,1)
  12. Tool.GripPos = Vector3.new(-1.5, -0.7, -0.3)
  13. Tool.GripRight = Vector3.new(-1, 0, 0)
  14. Tool.GripUp = Vector3.new(0, 1, 0)
  15. wait(1)
  16. Tool.GripForward = Vector3.new(-0,-0,1)
  17. Tool.GripPos = Vector3.new(-1.5, -0.7, 0.2)
  18. Tool.GripRight = Vector3.new(-1, 0, 0)
  19. Tool.GripUp = Vector3.new(0, 1, 0)
  20. wait(1)
  21. Tool.GripForward = Vector3.new(-0,-0,1)
  22. Tool.GripPos = Vector3.new(-1.5, -0.7, 0.6)
  23. Tool.GripRight = Vector3.new(-1, 0, 0)
  24. Tool.GripUp = Vector3.new(0, 1, 0)
  25. wait(1)
  26. Tool.Parent.Humanoid.Health = Tool.Parent.Humanoid.Health - 0
  27. script.Parent:remove()
  28.  
  29. end
  30.  
  31. function onEquippedLocal(mouse)
  32.  
  33. if mouse == nil then
  34. print("Mouse not found")
  35. return
  36. end
  37.  
  38. mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
  39. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  40. end
  41.  
  42.  
  43. Tool.Equipped:connect(onEquippedLocal)
Add Comment
Please, Sign In to add comment