03:16 PM 30/10/2022
i made a obby but i dont know how to make a checkpoint im not a scripter or anything
i just need the checkpoints and thats all done
i just need the checkpoints and thats all done
03:17 PM 30/10/2022
Listen you’re better off just asking the BH Discord on how to ask game-related questions
https://discord.gg/brick-hill
https://discord.gg/brick-hill
01:42 AM 31/10/2022
bro you forgot this man has no discord account
05:51 AM 01/11/2022
Quote from ROBLOX - Roblox Admin , 01:42 AM 31/10/2022solution: create one
bro you forgot this man has no discord account
09:45 PM 01/11/2022
Game.on("initialSpawn", (player) => player.checkpoint = 0)
world.bricks.filter(brick => brick.name?.startsWith("checkpoint")).forEach(brick => { //name the bricks checkpoint1, checkpoint2, checkpoint3 etc. etc.
brick.touching((player) => {
if(brick.name.slice(10) > player.checkpoint){
player.checkpoint = brick.name.slice(10)
player.centerPrint("Checkpoint!")
player.score = brick.name.slice(10)
player.spawnPosition = brick.center
}
})
})
world.bricks.filter(brick => brick.name?.startsWith("checkpoint")).forEach(brick => { //name the bricks checkpoint1, checkpoint2, checkpoint3 etc. etc.
brick.touching((player) => {
if(brick.name.slice(10) > player.checkpoint){
player.checkpoint = brick.name.slice(10)
player.centerPrint("Checkpoint!")
player.score = brick.name.slice(10)
player.spawnPosition = brick.center
}
})
})