Discord Thread I need help with cooldowns.

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

This thread came from the skUnity Discord. You can't reply to it here but if you join the skUnity Discord, you'll be able to post a reply there. The thread link is part of the thread's message.
Status
Not open for further replies.
look at the red circule
is it the same variable as this
code_language.skript:
{cooldown::%player%::goldBlock}

Posted by: eult from the skUnity Discord.
 
Oh
code_language.skript:
on walk on gold block:
    set {_waited} to difference between {reBlockCooldown::%player%} and now
    if {_waited} is less than 10 seconds:
        send "Try again in %difference between 10 seconds and {_waited}%"
        stop
    else:
        push the player upward at speed 0.6
        push the player horizontal forward at speed 3
        set {cooldown::%player%::goldBlock} to now
so this?

Posted by: ᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼ from the skUnity Discord.
 
Status
Not open for further replies.