Advertisement
aarontje11002

bloxycola

Mar 24th, 2015
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. local Tool = script.Parent;
  2.  
  3. enabled = true
  4.  
  5.  
  6.  
  7.  
  8. function onActivated()
  9. if not enabled then
  10. return
  11. end
  12.  
  13. enabled = false
  14. Tool.GripForward = Vector3.new(0,-.759,-.651)
  15. Tool.GripPos = Vector3.new(1.5,-.5,.3)
  16. Tool.GripRight = Vector3.new(1,0,0)
  17. Tool.GripUp = Vector3.new(0,.651,-.759)
  18.  
  19.  
  20. Tool.Handle.DrinkSound:Play()
  21.  
  22. wait(3)
  23.  
  24. local h = Tool.Parent:FindFirstChild("Humanoid")
  25. if (h ~= nil) then
  26. if (h.MaxHealth > h.Health + 5) then
  27. h.Health = h.Health + 5
  28. else
  29. h.Health = h.MaxHealth
  30. end
  31. end
  32.  
  33. Tool.GripForward = Vector3.new(-.976,0,-0.217)
  34. Tool.GripPos = Vector3.new(0.03,0,0)
  35. Tool.GripRight = Vector3.new(.217,0,-.976)
  36. Tool.GripUp = Vector3.new(0,1,0)
  37.  
  38. enabled = true
  39.  
  40. end
  41.  
  42. function onEquipped()
  43. Tool.Handle.OpenSound:play()
  44. end
  45.  
  46. script.Parent.Activated:connect(onActivated)
  47. script.Parent.Equipped:connect(onEquipped)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement