i tried making an animation command but it says this. what should i do now? here's the script:
local player = game.Players.LocalPlayer
local char = player.Character
local hum = char:WaitForChild("Humanoid")
local point = script.Animation
local Prefix = "!"
local point = hum:LoadAnimation(script.Animation)
player.Chatted:Connect(function(msg)
if msg:Sub(1,6) == Prefix.."point" then
point:Play()
end
end)

3 comments
To condense it down I'd reccomened doing just "local char = player.Character or player.CharacterAdded:Wait()".
It still says "attempt to index nill with waitforchild" but thanks for your help
Oh im sorry. I will try figuring out another solution!