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

Teleport Script help(?). [closed]

Asked by 8 years ago

G'day scripers! That is the question:

My friend,PungwinAlf1 wants to make a evelator to my group HQ. He wants when you click on a button then it will tp you to the 2nd floor. same with the 2nd floor, to tp to the 1st floor. What script he should do?

Closed as Not Constructive by YellowoTide, Uroxus, koolkid8099, and Unclear

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
2
Answered by 8 years ago

Alright so when the button is clicked you would need to detect it with a "ClickDetector" http://wiki.roblox.com/index.php?title=API:Class/ClickDetector

and use the "player" to get their "Model" in workspace and just use :MoveTo(Vector3 Position)

to teleport them to where you want

http://wiki.roblox.com/index.php?title=API:Class/Model/MoveTo

0
Could you just do a script to him? guyalf1 0 — 8y
3
Simply posting code is in no way constructive to the community. He posted links to the required resources, you'll need to do the rest. It's how learning works. Muoshuu 580 — 8y
Ad