Cooldowns in scoreboard

  • 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 comminuty!

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

TigerPvPzzz

Active Member
Feb 24, 2017
109
2
0
25
Hey there, I have a little Gapple Cooldown skript i have made, and i really want to put it into my Scoreboard, But i dont know how to do it so it dont fuck up... Im also danish, so the text you gonna see is danish, and i really want to change the "Seconds" To danish when it send's the message, but i dont know if its possible
But

Code:
Options:
    Prefix: &7| &3COOLDOWN &7|
    ngapple: 8 seconds
    dgapple: 5 seconds
   
   
On consume golden apple:
    If player has permission "Donator":
        Set {dgapplecooldown} to difference between {dgapple.%player%.use} and now
        If {dgapplecooldown} is less than {@dgapple}:
            cancel event
            Send "{@Prefix} &bDu kan først spise et &3Golden Apple &bom &3%Difference between {@dgapple} and {dgapplecooldown}%&b!" to player
        Else:
            Set {dgapple.%player%.use} to now
    Else:
        Set {ngapplecooldown} to difference between {ngapple.%player%.use} and now
        If {ngapplecooldown} is less than {@ngapple}:
            cancel event
            Send "{@Prefix} &bDu kan første spise et &3Golden Apple &bom &3%Difference between {@ngapple} and {ngapplecooldown}%&b!" to player
        Else:
            Set {ngapple.%player%.use} to now[CODE]
 
This should be in help section,

If you don't want "seconds", then saved it into a local variables, and replace it...

like

code_language.skript:
replace every "seconds" with "Dansih Seconds" in {_v}
 
This should be in help section,

If you don't want "seconds", then saved it into a local variables, and replace it...

like

code_language.skript:
replace every "seconds" with "Dansih Seconds" in {_v}
I really dont know how to put it in, and how to to it