Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it possible to make a script that runs everytime someone changes/joins a team?

I need this for my leaderstats but cannot work out how to get it working

1 answer

✓ Accepted answer

This script would go in serverscript storage:

game:GetService("Players").PlayerAdded:Connect(function(player)
player.Team.Changed:Connect(function(player)
-- your code
end)

1 comment

0

Thank you :)

This discussion is preserved as it was. New answers, comments, and votes are closed.