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!
what is this "PlayerGui" remove it and why is this in a serverscriptService
player.CharacterAdded:Wait("PlayerGui")