The script below is supposed to create a message saying "(player) has entered the server". But when I test it in the Studio, it doesn't work! Why might this be?
game.Players.PlayerAdded:connect(function(player) print("Player Entered") script.Parent.Text = player.Name.. " has entered the server" wait(5) script.Parent.Text = "" end)
That's because in studio, it won't recognize a new player being added through playeradded, just publish it and test it by playing the game. The script executes, in a normal game but not in studio.