Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(KeyPressed)
- if KeyPressed == "z" then
- local lplr = game:GetService("Players").LocalPlayer
- local shotty = lplr.Backpack:FindFirstChild("Shotty")
- local Animation = Instance.new("Animation")
- Animation.AnimationId = "rbxassetid://503259904"
- local plr = game:GetService('Players').LocalPlayer
- local HUM = plr.Character.Humanoid:LoadAnimation(Animation)
- shotty.Equipped:connect(function()
- wait(.1)
- HUM:Play()
- HUM:AdjustSpeed(0.0)
- end)
- shotty.Unequipped:connect(function()
- HUM:Stop()
- end)
- local lplr = game:GetService("Players").LocalPlayer
- local Glock = lplr.Backpack:FindFirstChild("Glock")
- local Animation = Instance.new("Animation")
- Animation.AnimationId = "rbxassetid://503259904"
- local plr = game:GetService('Players').LocalPlayer
- local HUM = plr.Character.Humanoid:LoadAnimation(Animation)
- Glock.Equipped:connect(function()
- wait(.1)
- HUM:Play()
- HUM:AdjustSpeed(0.0)
- end)
- Glock.Unequipped:connect(function()
- HUM:Stop()
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement