Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

why does teleporting player inside building teleport it on the roof instead?

Asked by 6 years ago

so i've tried using both MoveTo and CFrame method, to teleport the player inside of a building, however, when i try to do this, it always teleports them on top of the roof instead.

Any way to fix this?

0
show code dispeller 200 — 6y
0
If you did the CFrame the way you want it, CFrame shouldn't teleport you on the roof dispeller 200 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

You are most likely using MoveTo..

Make a part inside the building called something like "BuildingTp"

make it cancollide false and invisible

then make it tp to it using cframe from the players humanoidrootpart

Ad

Answer this question