Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a player has joined/left gui?

I am confused on how to make a joined/left GUI. I am able to do it with the in-game chat but not being able to do it on a Gui. Some help, please?

1 answer

✓ Accepted answer

Well either you look it up on youtube or it's like this i'll give you an example:

Join example:

game.Players.ChildAdded:Connect(function(plr)
	if plr:IsA("Player") then
	print(plr.Name.." joinned the game")
	end
end)

Leave example:

game.Players.ChildRemoved:Connect(function(plr)
	if plr:IsA("Player") then
	print(plr.Name.." left the game")
	end
end)

OR

game.Players.PlayerAdded:Connect(function(w)
	print(w.." joinned the game")
end)

game.Players.PlayerRemoving:Connect(function(w)
	print(w.." left the game")
end)

4 comments

0

Need to work with remote events/functions if youre wanting it to show in a GUI

0

Nah not really.

0

Why would you ever use ChildAdded/ChildRemoved...

0

Why not

This discussion is preserved as it was. New answers, comments, and votes are closed.