Advertisement
Guest User

r e l a x

a guest
Jul 20th, 2019
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. local Tool = script.Parent;
  2.  
  3. enabled = true
  4.  
  5. local bite = 0
  6.  
  7. local function animate(ad,char)
  8. local animation = Instance.new("Animation")
  9. animation.AnimationId = ad
  10.  
  11.  
  12. local animtrack = char.Humanoid.Animator:LoadAnimation(animation)
  13. animtrack:Play()
  14.  
  15. end
  16.  
  17.  
  18.  
  19. function onActivated()
  20. if not enabled then
  21. return
  22. end
  23.  
  24. enabled = false
  25.  
  26.  
  27. animate("rbxassetid://3507247671",Tool.Parent)
  28.  
  29. wait(.2)
  30. Tool.GripRight = Vector3.new(0.613, 0.207, 0.353)
  31.  
  32. wait(1.3)
  33.  
  34. script.Parent.Handle.Transparency = 1
  35.  
  36. wait(1)
  37.  
  38. if script.Parent.Parent.trip.Value <= 4 then
  39. for i = 1,30 do
  40. wait(0.01)
  41. script.Parent.Parent.trip.Value = script.Parent.Parent.trip.Value + 0.01
  42. end
  43. end
  44.  
  45. Tool.GripRight = Vector3.new(0.1, 0, -0.995)
  46. Tool.GripUp = Vector3.new(-0.034, 1, -0.004)
  47.  
  48. enabled = true
  49.  
  50. Tool:Destroy()
  51. end
  52.  
  53.  
  54. script.Parent.Activated:connect(onActivated)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement