Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game:GetService"Players".LocalPlayer
- local CF = CFrame.new
- local ONgunanims = true
- local Guns = "Glock"
- local Anim = Instance.new"Animation"
- Anim.AnimationId = "rbxassetid://889968874"
- local track = plr.Character.Humanoid:LoadAnimation(Anim)
- plr.Character.ChildAdded:Connect(function(c)
- if c.Name == Guns then
- if ONgunanims then
- for i, c in pairs(plr.Character.Humanoid:GetPlayingAnimationTracks()) do
- if c.Animation.AnimationId:match("%d+") == "503285264" then
- c:Stop()
- end
- end
- end
- end
- wait()
- track:Play()
- plr.Backpack.ChildAdded:Connect(function(c)
- for i, c in pairs(plr.Character.Humanoid:GetPlayingAnimationTracks()) do
- if c.Animation.AnimationId == "rbxassetid://889968874" or c.Animation.AnimationId == "rbxassetid://939533469" then
- c:Stop()
- end
- end
- if c:IsA"Tool" and c.Name == "Glock" then
- c.Grip = CF(0.400000006, -0.100000001, 0, 0.00791937113, 0, 0.999968588, 0, 1, 0, -0.999968588, 0, 0.00791937113)
- c:WaitForChild("Fires",100).AnimationId = "rbxassetid://503287783"
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement