#how would I fix this

1 messages · Page 1 of 1 (latest)

acoustic island
#
    if player's tool's name is "&e&lInviser":
        if {inviserCooldown::%player%} is not set or {inviserCooldown::%player%} is less than now:
            apply invisibility 1 to player for 20 seconds
            send "&e&lYou are now invisible for 20 seconds!" to player
            set {inviserCooldown::%player%} to now + 1 minute
        else:
            set {_timeleft} to difference between {inviserCooldown::%player%} and now
            send "&e&lYou need to wait %{_timeleft}% before using this again." to player```
sick mortar
#
  1. Put your code in code blocks
  • ```code here```
  1. Explain what actually needs fixing. Do you have errors? Which part(s) dont work?
#

Line 3 you will want to use if any: {} is not set {} <= now then: do stuff

acoustic island
#

Line 3 and 7 error

#

@sick mortar

surreal leaf
#

Is not now*

sick mortar
#

Dont ping me

#

And dont you think it might be a good idea to send the errors?

#

Also i told you how to fix it

fervent owl
#

I don’t get why people don’t want to get pinged n stuff? Can you explain it to me x8ight

keen patrol
#

as for this server, there is no urgency, this is just casual help

#

I'm coming back anyways

fervent owl
#

alr thanksw