Yeah so all the code checks out. You can remove the debug stff
If you want to get a good transform, move your player to where you want your spawn to be, go to console and type announce(findclientbyname(yourname).player.getTransform()); and put that number in the code