Answers for "how to get a player from PlayerAdded roblox"

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 "how to get a player from PlayerAdded roblox"

Browse Popular Code Answers by Language