game.Players.PlayerAdded:connect(function(player)
	if player.userId == game.CreatorId then
		print("creator joined!")
	end
end)

Is ROBLOX Lua broken or something? This should be working, but it does not. The script is not disabled, I don't see anything wrong with it, why isn't it working!? This is making me so mad!

2 comments

0

i doubt that would work on studio. does it not work in a game neither?

0

@KoreanBBQ It should work, but it won't work because he's using Play Solo, where PlayerAdded doesn't work. Use Test Server/Player mode to test these types of scripts.