Checkpoint System Not working

I’m creating a checkpoint system and the following script I used in a tutorial video does not work.

Script:

what specific problem are you having, also i think i would recommend using an IntValue over a NumberValue if your stages are only integers

1 Like

So when I touch the checkpoint and die it does not respawn me to the checkpoint

is the touched event even firing the function, as in is the humanoid itself ever touching the checkpoint part?

Yes it does, Im not sure how to fix it

are there any errors in the output?

Not any that I know of No. llll