Hey guys,
I'm trying to make a white frame to cover your screen, and then, the script will teleport you to a part.
Teleporting works, but it only teleports one part of your body (HumanoidRootPart, Head, Left leg, etc.) and it glitches out. So, is there any way I can teleport the entire body without having to write many lines of code?
By the way, here is the teleporting code that glitches you out:
game.Players.LocalPlayer.Character.HumanoidRootPart.Position = game.Workspace.randomparts.teleportpart.Position
Thanks!

3 comments
Thanks!
Also, one more tip, it's best to use the function :SetPrimaryPartCFrame because if you don't the script can cause latency problems and issues in the game, it can also create lag which is not what you want.
@JesseSong quick question, what does :SetPrimaryPartCFrame do?