Advertisement
1992x

Untitled

Jul 15th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. local plr = game:GetService"Players".LocalPlayer
  2. local CF = CFrame.new
  3.  
  4. local ONgunanims = true
  5. local Guns = "Glock"
  6.  
  7.  
  8. local Anim = Instance.new"Animation"
  9. Anim.AnimationId = "rbxassetid://889968874"
  10. local track = plr.Character.Humanoid:LoadAnimation(Anim)
  11. plr.Character.ChildAdded:Connect(function(c)
  12. if c.Name == Guns then
  13. if ONgunanims then
  14. for i, c in pairs(plr.Character.Humanoid:GetPlayingAnimationTracks()) do
  15. if c.Animation.AnimationId:match("%d+") == "503285264" then
  16. c:Stop()
  17. end
  18. end
  19. end
  20. end
  21. wait()
  22. track:Play()
  23.  
  24. plr.Backpack.ChildAdded:Connect(function(c)
  25. for i, c in pairs(plr.Character.Humanoid:GetPlayingAnimationTracks()) do
  26. if c.Animation.AnimationId == "rbxassetid://889968874" or c.Animation.AnimationId == "rbxassetid://939533469" then
  27. c:Stop()
  28. end
  29. end
  30. if c:IsA"Tool" and c.Name == "Glock" then
  31. c.Grip = CF(0.400000006, -0.100000001, 0, 0.00791937113, 0, 0.999968588, 0, 1, 0, -0.999968588, 0, 0.00791937113)
  32. c:WaitForChild("Fires",100).AnimationId = "rbxassetid://503287783"
  33. end
  34. end)
  35. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement