The problem is I for some reason when I try to set the players team to that of the team value I get this error. Even though when I use FindFirstChild to find the value in the teams folder the FindFirstChild finds it perfectly fine.
I have tried adding a .Name of the end of team and tried without it. I have also tried replacing team with a FindFirstChild for team and also for team.Name
This is probably a really easy fix but I would still greatly appreciate if you take some time out of your day to help me out.
Well yes, but sometimes it is not inserted by default. The two data model sevices that are not inserted by default are Teams and ReplicatedScriptService? I think. You should go to model and insert it from there. It should be at the far right I think