Attempt to index nil of the team when trying to print a message

what does “function main” mean, sorry im trying to learn as much as i can

also it doesnt print “hi” in the console

its just a function that will be call whenever a player join the game

Probably because team doesn’t change, im not sure.

wait im so stupid, i realised that “Members” wasnt the starting team, ill change the team

You will do that through that script?

yeah, right now i will do that

But it doesn’t set starter team and script for that needs to be in a ServerScriptService

alright this is weird, this time i changed the team name to what it was meant to be but now it isnt showing any console errors and yet doesnt print. also this is in starterserverscripts as serverscript

wait i double checked and changed it twice now it works