Advertisement
zachhy

waaack

May 17th, 2020
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(KeyPressed)
  2. if KeyPressed == "z" then
  3. local lplr = game:GetService("Players").LocalPlayer
  4. local shotty = lplr.Backpack:FindFirstChild("Shotty")
  5. local Animation = Instance.new("Animation")
  6. Animation.AnimationId = "rbxassetid://503259904"
  7. local plr = game:GetService('Players').LocalPlayer
  8. local HUM = plr.Character.Humanoid:LoadAnimation(Animation)
  9. shotty.Equipped:connect(function()
  10. wait(.1)
  11. HUM:Play()
  12. HUM:AdjustSpeed(0.0)
  13. end)
  14. shotty.Unequipped:connect(function()
  15. HUM:Stop()
  16. end)
  17. local lplr = game:GetService("Players").LocalPlayer
  18. local Glock = lplr.Backpack:FindFirstChild("Glock")
  19. local Animation = Instance.new("Animation")
  20. Animation.AnimationId = "rbxassetid://503259904"
  21. local plr = game:GetService('Players').LocalPlayer
  22. local HUM = plr.Character.Humanoid:LoadAnimation(Animation)
  23. Glock.Equipped:connect(function()
  24. wait(.1)
  25. HUM:Play()
  26. HUM:AdjustSpeed(0.0)
  27. end)
  28. Glock.Unequipped:connect(function()
  29. HUM:Stop()
  30. end)
  31. end
  32. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement