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

I need to make a teleport GUI script but I don't know how to. What do I do?

Asked by 5 years ago

In some games when you walk or click on a certain brick it shows a quick GUI transition then it teleports you to the other side.That is what I am trying to accomplish but with my low knowledge on scripting it's quite hard. Answers appreciated!

1 answer

Log in to vote
0
Answered by 5 years ago

To teleport, you can use two things.

Either this: https://developer.roblox.com/api-reference/function/Model/SetPrimaryPartCFrame

or this: https://developer.roblox.com/api-reference/function/Model/MoveTo

I would recommend the first one as it does not put you on top of objects if you do not have space.

Hook them up with a local script inside a GUI with a mouse button click event and you are good to go.

0
Thanks for the answer! do i need api services though and i dont really know how to make those kinda guis Tayshift 6 — 5y
Ad

Answer this question