when i run my script that has this in it the CharacterAdded gives the message
Workspace.Script:2: attempt to index field 'CharactedAdded' (a nil value)
and without it it gives the same message for the Character
player = game.Players:GetChildren() char = player.Character or player.CharactedAdded:wait()
You can simply use just this:
local char = game.Players.LocalPlayer.Character