I have a die script and a teleport and a leaderboard script I have not tested yet so I need to make sure they will work and my kill and teleport scripts are very simalar so here is my kill script `OnCollision Teleport(GameObject Player) X Y Z`
basically when you touch a object with this script it will teleport back to the start point of the level your on, and here is my teleport script `OnCollision Teleport(GameObject Player) X Y Z OnCollision add +1 to Leaderstat "Levels" `
So when you touch the win object it teleports the player to the next level and adds 1 the the level leaderstat, And finally here is my leaderboard script `Get Leaderstat "Levels" DisplayOn(GameObject Leaderboard)` So if you have a script that you have that will fix or remove any problems please reply.
↧