Hey I have created this script:
Players = game:GetService("Players")
player = Players.LocalPlayer
player.CharacterAdded:Wait("PlayerGui")
WorldBoost = player:WaitForChild("WorldBoost")
WorldBoostLabel = WorldBoost:WaitForChild("WorldBoostLabel")
WorldBoostLabel.Text = ("JUMP WORLD BOOST: x")..player.WorldBoost.Value
player.WorldBoost.Changed:Connect(function()
WorldBoostLabel.Text = ("JUMP WORLD BOOST: x")..player.WorldBoost.Value
end)
and when I start the game, in output, I have an error message: " ServerScriptService.WorldBoost_Client:4: attempt to index nil with 'CharacterAdded'" How can I fix that please? Thank in advance!

8 comments
Like this?
player.CharacterAdded:Wait()
And it's in server script because I had already asked someone who couldn't solve the problem, who asked me to put it in server script services.
yea player.CharacterAdded:Wait() and localScripts will not work in Server Script Service and you cant access LocalPlayer in a ServerScript
So I put the script in starterplayer?
yes you make it LocalScript and put into StarterCharacterScripts and remove player.CharacterAdded:Wait()
ok thanks a lot!
nice