i need help with building an obstacle course!

[name] M0a1
Joined 08/08/2019
Posts 4
04:10 AM 09/08/2019
i dont know how to make a part kill a player or how to make checkpoints! plz help!

[idot] get sniped noon
Joined 22/06/2019
Posts 9,063
04:11 AM 09/08/2019
ask tylorfoot



he is the mega brain

[BH] Test6086
Joined 08/01/2018
Posts 5,657
04:12 AM 09/08/2019
Quote from get sniped noon , 04:11 AM 09/08/2019
ask tylorfoot



he is the mega brain
Yep

2 Keys
Joined 02/08/2019
Posts 34
04:14 AM 09/08/2019
Hhhh

cheats
Joined 28/07/2019
Posts 307
04:31 AM 09/08/2019
let lava = Game.findBrickByName("lava") // this will "kill" them when they touch it

lava.touching((plr) => {
let checkpoint = Game.findBrickByName(plr.score);
if (checkpoint) {
plr.position = checkpoint.position
}
})

this script will pretty much work if the player touches a part name lava they "die" and teleport to the checkpoint that corresponds to their score. So once you finish a level you should increment the players score and made checkpoints named 1,2,3,4 etc. so the player can teleport to part/checkpoint that is the same number as their score. If you need more help message me.

[im] Square
Joined 17/08/2017
Posts 32,370
12:22 PM 10/08/2019
Quote from cheats , 04:31 AM 09/08/2019
let lava = Game.findBrickByName("lava") // this will "kill" them when they touch it

lava.touching((plr) => {
let checkpoint = Game.findBrickByName(plr.score);
if (checkpoint) {
plr.position = checkpoint.position
}
})

this script will pretty much work if the player touches a part name lava they "die" and teleport to the checkpoint that corresponds to their score. So once you finish a level you should increment the players score and made checkpoints named 1,2,3,4 etc. so the player can teleport to part/checkpoint that is the same number as their score. If you need more help message me.
Big brain
1