What solutions have you tried so far? I’ve looked everywhere. (I think)
Im just trying to make a animation script if you hold out a tool so if you have any links to a tutorial or script thanks
local tool = script.Parent
local Walk = script:WaitForChild("Walk")
local Walk = script:WaitForChild("Idle")
local Character = tool.Parent.Parent
local Humanoid = Character:WaitForChild("Humanoid")
the tools Parent is only a Character when the tool is equipped
local tool = script.Parent
local Walk = script:WaitForChild("Walk")
local Walk = script:WaitForChild("Idle")
local Character
local Humanoid
tool.Equipped:Connect(function()
Character = tool.Parent.Parent
Humanoid = Character:WaitForChild("Humanoid")
end)