Hai, I'm new to scripting so I'm not really sure how teleportation works completely, but the goal is to have a teleport that once you get in the elevator the doors stay open for 10 seconds then close and teleport for individual players but you can cancel by stepping out of the elevator what is the simplest way I can do this for a beginner in Lua

1 comment

0

Create an array of Character Rigs that were in the elevator for said elapsed time. Iterate over them and call Model:MoveTo(Vector3 Position).You can use a Region3—which is a bit difficult for a beginner—to understand what Instances are inside the elevator to the exact dimensions. To determine if they left, compare the Character Rig array to the array filtered with WorldRoot:FindPartsInRegion3(), a