Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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

✓ Accepted answer

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.

1 comment

0

Thanks for the answer! do i need api services though and i dont really know how to make those kinda guis

This discussion is preserved as it was. New answers, comments, and votes are closed.