Teleport player on click
Teleport player on click.â
Welcome your visitors as they enter/leave your parcel!
Processâ
- Place a vox model for the sake of this example
- place the following script on the feature:
feature.on('click',e=>{
e.player.teleportTo('N@43W,250N,1U')
})
- if you want this to happen on a trigger instead of click, replace 'click' with 'trigger'
What happensâ
The scripts obtains the player from the click and teleports it to the coordinates.