Answers for "roblox on player connect"

7

roblox playeradded

local Players = game:GetService("Players")
 
Players.PlayerAdded:Connect(function(player)
	print(player.Name .. " joined the game!")
end)
 
Players.PlayerRemoving:Connect(function(player)
	print(player.Name .. " left the game!")
end)
Posted by: Guest on August-06-2020

Browse Popular Code Answers by Language