#Frame help

1 messages · Page 1 of 1 (latest)

dapper wigeon
#

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

chilly bison
#

use the method PivotTo() on the whole character model

dapper wigeon
#

so someone else said to do that, and it’s just not working

#

i replaced everything setting the humanoid root part cframe with pivotto and it’s still not working. Whats weird is it WAS working but then i did a play test and it broke

chilly bison
#

can i see the output