UI Issue Solved

Issue has been solved!

Thanks.

1 Like

Because you’re updating the wrong value, you should be updating the value that’s inside the player, not the StarterGui:

local xpCounter = script.Parent -- I put the script under the textbox.
local xpValue = xpCounter:WaitForChild("Value")
local xpNumber = xpValue.Value

while true do
	wait(.5)
	xpValue.Value = xpValue.Value + 1
	xpCounter.Text = xpValue.Value
end	

How StarterGui works is that when a player joins the GUIs inside the StarterGui are cloned to Player.PlayerGui which is the GUIs that client use.

3 Likes