Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to stop the default on certain parts?

I made a tool hold animation and it works, but how do I stop the default animations from playing on certain body parts to stop the default Roblox animations, add it on to this code of mine!

local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local animaton = script.Parent.Animation
local work = humanoid:LoadAnimation(animaton)
local Tool = script.Parent

Tool.Equipped:Connect(function(mouse, player)
    
    work:Play()
end)

2 comments

0

work:Stop()

0

^ he said defualt

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.