Place teleportation lag?

The thing I’m trying to make is a door that teleports the player to another place(not location but place) when they touch a door

I made the script the way i’ve been told in multiple youtube tutorials and devforum posts, but, once i touch the door, or if i try any other moment of teleporting, at the point of teleporting, roblox just freezes for a minute or two, then crashes(roblox player, i didnt try in studio, i know that that doesnt work), I heard more people had issues with this, how do I make a place teleportation that doesn’t crash roblox?

Thanks for reading

2 Likes

You probably didn’t add a debounce, thats why it crashes, it will keep trying to teleport the player more than once.

Alright I’ll take a look if it will work with a debounce

1 Like

Yeah, a teleport without debounce could be a problem, basically in just 1 second i can touch the part for like 30 times, and without debounce the script will fire the teleport 30 times.

Please give us a script. We cannot know how to solve your issue is without being able to read the script.