Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait()until game.Players.LocalPlayer.Character
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- debounce = false
- script.Parent.Equipped:Connect(function()
- script.Parent.Activated:Connect(function()
- if debounce == false then
- debounce = true
- local anim = Instance.new("Animation",char)
- anim.AnimationId = "rbxassetid://2595049088"
- local playanim = char:FindFirstChild("Humanoid"):LoadAnimation(anim)
- playanim:Play()
- wait(1)
- debounce = false
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement