#Tool Animation Error
19 messages · Page 1 of 1 (latest)
Provided the code and the destination below:
local tool = script.Parent
local anim = tool:WaitForChild("Animation")
local player = game:GetService("Players").LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local loadanim = humanoid:LoadAnimation(anim)
tool.Activated:Connect(function()
loadanim.Play()
end)
it's false
any errors
sadly not
do loadanim:Play() instead
Animation is part of the localscript not the tool-