Answers for "does roblox player.playeradded work on a local script"

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

Code answers related to "does roblox player.playeradded work on a local script"

Browse Popular Code Answers by Language