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
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]