Advertisement
daaa

Untitled

Jun 19th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. --made by sandbag777--plz don't steal--
  2. Tool = script.Parent
  3. enabled = true
  4. function onButton1Down(mouse)
  5. if not enabled then
  6. return
  7. end
  8. enabled = false
  9. mouse.Icon="rbxasset://textures\\GunWaitCursor.png"
  10. eye=script.Parent:FindFirstChild("Handle")
  11. eye=eye:FindFirstChild("Sword Script")
  12. if eye~=nil then
  13. eye.Disabled = false
  14. end
  15. wait(2)
  16. mouse.Icon="rbxasset://textures\\GunCursor.png"
  17. enabled = true
  18. end
  19. function onEquippedLocal(mouse)
  20. if mouse==nil then
  21. print("Mouse not found")
  22. return
  23. end
  24. mouse.Icon= "rbxasset://textures\\GunCursor.png"
  25. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  26. end
  27. Tool.Equipped:connect(onEquippedLocal)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement