I try animating a tool, but it doesn’t work, I tried everything, tutorials but nothing works, please help me.
Thanks
I try animating a tool, but it doesn’t work, I tried everything, tutorials but nothing works, please help me.
Thanks
This needs to be in scripting support, but here is what you’d want to do.
local plr = game:GetService("Players").LocalPlayer
local character = plr.Character
local anim = script.Parent:WaitForChild("YOURANIMATIONNAMEHERE")
script.Parent.Equipped:Connect(function()
animPlay = character.Humanoid:LoadAnimation(anim)
animPlay:Play()
end
local script inside the tool, add a animation inside the tool that you want to load
Animation name or animation ID?
animation name, it should be a animation (like if u go to add something, just type “animation”) with a asset id, animation should also be parented to the tool.