#i need some help
1 messages · Page 1 of 1 (latest)
yeah it obviously won't work
you need to do set block at {_loc} to red carpet
mb g
no need to be rude
I wasn't rude mb
ty
it still doesnt work
set {_loc} to location of victim
if {_loc} is air:
set block at {_loc} to red carpet
wait 30 seconds
if {_loc} is not air:
set {_loc} to air```
do you need this variable: {blood::%uuid of victim%} for future use?
doesnt work as this either
set {blood::%uuid of victim%} to location of victim
if {blood::%uuid of victim%} is air:
set block at {blood::%uuid of victim%} to red carpet
wait 30 seconds
if {blood::%uuid of victim%} is not air:
set {blood::%uuid of victim%} to air```
no
alr good
i just made up a variable
okay give me a second
if block at location of victim is air:
set block at location of victim to red carpet
wait 30 seconds
if block at location of victim is not air:
set block at location of victim to air```
okay let me test
it works but it doesnt go away after 30 seconds
Cause the victim has moved in that 30 seconds
So when you are setting the block at location of victim the second time it is not checking for the red carpet but the victims location
You have to set a variable with the location of the red carpet
how would i do that?
if block at location of victim is air:
set block at location of victim to red carpet
Set {_loc} to location of victim
wait 30 seconds
if block at {_loc} is not air:
set block at {_loc} to air```
Something like this
I’m on my phone so there might be some typos
i dont think that would work with multiple blood spots
If you just want 1 carpet per death it will work
yes but there are multiple players dying
Local variables don’t carry over to other events
okok thank you
{_example} this is a local variable
{example} this is a permanent variable
Permanent variables carry over to other events, local variables do not
ok thang you very much
You’re welcome 👍 did it work?