ive been looking for answers for this error ive tried: player.Character:wait(), player.CharacterAdded:wait()
full script:
player = game.Players.PlayerAdded
char = player.CharacterAdded
Humanoid = char:WaitForChild('Humanoid')
script.Parent.Equipped:connect(function()
local stance = Humanoid:LoadAnimation(script.Parent.Stance)
end)
the error 'Character is not a valid member of RBXScriptSignal' is on line 2: char = player.CharacterAdded
im tired this is probably a dumb mistake
-thanks

5 comments
You're really indexing game.Players.PlayerAdded.CharacterAdded with your first two lines. Try actually connecting to these events?
nope same error
Try "game.Players.PlayerAdded:wait()" and "player.CharacterAdded:wait()"
Also, use local variables instead of global ones. Simply put "local" in front of your "player", "char", and "Humanoid" variables.
what is the difference?