Delete {timer::%player%}
On world change:
Delete {timer::%player%}
Every 1 second:
loop all players:
if {time::%loop-player%} is not set:
set {timer::%loop-player%} to 90
if world of loop-value is "afkzone":
remove 1 from {timer::%loop-player%}
send action bar "&8[&b⛁&8] &7Next shard in &f%{timer::%loop-player%}%s" to loop-player
if {timer::%loop-player%} is less than or equal to 0:
send "&b⛃+1 Shard (AFK Reward)" to loop-player
add 1 to {shards::%loop-player's uuid%}
set {timer::%loop-player%} to 90```
#TIMER IS NOT GOING DOWN
1 messages · Page 1 of 1 (latest)
The timer doesn't go down it is stuck at 89
@green haven if you are here help please
Please help anyone
idk if this still works but you can use it as inspiration
https://forums.skunity.com/threads/afk-rewards-skript-latest-version.19120/post-83226
skUnity Forums
Suggested name: Afk Rewards Skript
Skript Version: 2.8.0
What I want: I want a Afk skript that have customisable region enter and exit message with the afk rewards where on afking on that region give the rewards using console commands and i wanted that there should be an actionbar timer of...
Use on world change event
small typo too