Im asking this because I have a round script where I get the player and I set their team in another script
and I have a player added script where I also set the teams in that script
In this case which will fire first?
What I want is PlayerAdded to fire first before the other script fires
because my script will break if some other script fires before PlayerAdded
So is it possible for a script to get the player before PlayerAdded even fires?
local Players = game:GetService("Players") Players.ChildAdded:Connect(function() -- this will fire as soon as someone joins the game -- add your script here for the team thing -- this can go in the script for the teams thing end) Players.ChildRemoved:Connect(function() -- this will fire as soon as someone joins the game -- add your script here for the team thing -- this can go in the script for the teams thing end) Players.Changed:Connect(function() -- this will fire when a player joins or leaves -- add your script here for the team thing -- this can go in the script for the teams thing end)