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?
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?
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
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Could you just do a script to him?
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.