Making a property update, when a player respawns, but it's singleplayer

I’m not using an overlay, the overlay creates a button or text in the corners of the screen. I’m trying to make a text piece add up by one every knockout. Here’s how it looks like:


It started off as “Attempt 1”, then after I got knocked out once it turned to “Attempt 2”. However, if I get knocked out at all after that then it doesn’t update.

2 Likes

I’m using these three devices, a text device, the lifecycle, and the property.

1 Like

wait hows everything connected?

2 Likes

Ok, so this is not possible i don’t believe. Are you able to change text with properties?

2 Likes

block code yes (they are using block code)

2 Likes

The text device has block code. Like the trigger, you can link it with a property through the block code. The property is the value of the text. It starts off as one. When the knocked out channel is updated it adds one to the value of that property.

2 Likes

However, I could try a counter?

3 Likes

Yeah use counter then counter increments every time the device senses you knock out then use counter to update property, then use block code?

3 Likes

YES PLEASE IM BEGGING YOU (my prayers have been answered)
the block code is not incrementing the property only updating the text using the property’s number so using a lifecycle to the counter to the property is perfection

2 Likes

I honestly have no clue anymore sorry.

2 Likes

It’s alright. Thanks for the help!

2 Likes

I’m trying to code the counter in right now.

3 Likes

Ok, tell us if it works (hopefully)

3 Likes

Sorry for the wait, but I’m still trying :sweat_smile:.

1 Like

Guys, thank you so much. I finally got it to work. Without the counter as well :smiley:. Thank you so much for helping me out. So, the solution, I don’t know who to mark…


I did solve it myself, but I’ll do a wheel of names to pick you guys. Please don’t feel left out if you don’t get the solution.

1 Like

Well who helped you the most? @Xuch23 @samalomlom @Jobozo1875 or @me

2 Likes

Ok, that sounds like a good solution. the wheel of names thing.

1 Like

Its fine idc really who gets it

2 Likes

Closed because it’s been a while since this was solved. By the way, you can always ask a leader to close something if there is no solution, multiple people contributed equally, or you sort of figured it out yourself.