I’m trying to make a lives system and I’m sure I’ve done it correctly, but somehow it isn’t working. I’ve tested it on my main account and another account on another device, but it is still not working. If anyone knows what my error is or can help, thank you.
It’s just that the text that shows how many lives you have isn’t working(it stays the same no matter how many times you get knocked out), not the lives system.
Why do you have the +6 in the create text with block?
Also, the Live
variable is undefined from the start. You need to set it to a property.
fullyKnockedOut is the variable that makes you respawn to the starting point (aka you have no more lives left)
so yes, the lives thingy also doesn’t work either lol
Variables always start with 0, with other variables I’ve used it always starts with 0
I don’t know how to make it start at 6 so I just make it +6 for the text
Just use aproptery with a starting value of 6
ok ill try to do it
ok I’m done, is this ok?
Variables don’t save from time-to-time. You would have to save the number of lives with a property.
I’ve updated the code, is this correct?
Almost! You forgot to set the Live
property -1. Do that real quick and I think that’s good!
Wdym live property -1?
If you put these blocks before the text, you can remove the -1
in the create text with.
I meant to set the property value, sorry!
Thank you so much
It’s not working though
is this code correct?
nvm I fixed it
Oop, get rid of the second part of create text with
, and replace it with the simple: Get Property: Live
Also, change the 0 to a 1.
I fixed the 0 to 1 and it still isn’t working…
I fixed it and it still isn’t working
Does the overlay even show? What transmits on HI
?
yes, the overlay shows, and HI makes the overlay show and it teleports you to the Map where you can get knocked out
Is the channel name that the block code receives correct?
Did you forget to create the property for Live
?