How would I go about detecting players when they are in the game or join a game.
To check if they are in the game:
if game.Players:FindFirstChild("Altlightpower26") then print("Altlightpower26 is in the game") else print("Altlightpower26 is not in the game") end
When a player joins and leaves
--Joins game.Players.PlayerAdded:connect(function(Player) print(Player.Name.." has entered") end) --Leaves game.Players.PlayerRemoving:connect(function(Player) print(Player.Name.." is leaving the game") end)