Hello, How to teleport player to certain coordinates (x = 0; y = 0; z = 0) if one of the variables (from the player control script) becomes <10?
For example :
“PlayerControllerScript”
…
…
if (variable1 < 100) {
//(some code to teleport player on x=0;y=0;z=0)
}
Thank you so much for help с: