So my game runs a round based system, where there is a time always increasing, and changing the state after certain defined time lengths
When a player is added, I set the character root part cframe at a lobby spawn point.
What happens is when it get to the countdown phase of the timer, before the game starts, it’s supposed to load the map and place all 10 players onto spawn point parts that are inside the map model located in a folder
A module script named “Mapmanager” runs, where i call the function getSpawnPoints. When going back to the original server script, i put prints everywhere to make sure there were no nil or wrong values. Everything came out as it should
The problem is, when it hits the countdown phase, it freezes players in place as it should, but it doesn’t teleport them to the spawn pint frames like it should.
The issue is weird because it runs completely fine, the prints came out clean and the code after an correctly, so it has to be just that line of code where it sets the CFrame of the root part of the character to the spawn point CFrame
I can send a video