how to teleport to other place?

Like, click drink and I want it to say
"you are in bruh bruh"

The script you want will look something like:

MoveObject (game.pov, name of place)
game.pov.parent = name of place

That's two different way of writing the same thing.

If you want to use the GUI, just put it into code view, paste the code, and change back. Then you'll see what the instruction looks like in the GUI script editor. Code view is really useful for sharing code with other people.

(game.pov means the current player object. You could just use player in the code, but then if someone with the same question finds this post later, and they've changed the name of the player, so the same code wouldn't work. So it's good to get in the habit of using game.pov so that you know your code will always work)


This topic is now closed. Topics are closed after 60 days of inactivity.