function join(hit)
while true do wait()
local credits=script.Parent
PlayerCredits=hit.Credits.Value
credits.Text="Credits:"..PlayerCredits
end
end
game.Players.PlayerAdded:connect(join)
Basically, this script will only show the credits for one player. If there are 2 players, only one of the players has their Credits showing on their GUI.

4 comments
more details please? what is written makes it look like its working normally
When I test this in server mode with 2 players only 1 players has their credits showing, so say one player has 20 credits and the other also has 20 credits, only one of those players have their credits showing on the GUI
Is this in a local script?
Line 2 "while true do wait()", why do you ever expect it to leave that loop?