I made a script using TeleportService that teleports me to a place that I created.
However when I step on the part that is supposed to TP me, it says this message:
How do I fix this?
Thanks
I made a script using TeleportService that teleports me to a place that I created.
However when I step on the part that is supposed to TP me, it says this message:
How do I fix this?
Thanks
Are you trying to teleport in studio? it wont work, you have to test teleportation in game.
Also, see this post:
We can’t help fix your script if we can’t see your script.
My script is from a tutorial. And it is working. The problem is from the service.
I tried in-game it didn’t work.
What is the ID you give for TeleportService? I’m pretty sure the ID in the tutorial would be invalid, something like 12345
.
Have you tried publishing your other game? As if you were to create an new game without publishing it and using TeleportService to teleport there, you can recreate the same error saying “Attempted to teleport to a place that is restricted”