Commit 764d4f7e authored by Tommy Ang's avatar Tommy Ang 🤣

Fix action bar to use native function

parent 120cc5f3
......@@ -226,7 +226,8 @@ on join:
wait 0.5 second
add 1 to {auth.timeoutcheck.%player%}
#set action bar of player to "&eLogin TimeOut - &c%{auth.timeoutcheck.%player%}%/60"
show an action bar from "&eLogin TimeOut - &c%{auth.timeoutcheck.%player%}%/60" to player
# show an action bar from "&eLogin TimeOut - &c%{auth.timeoutcheck.%player%}%/60" to player
send action bar "&eLogin TimeOut - &c%{auth.timeoutcheck.%player%}%/60" to player
if {auth.timeoutcheck.%player%} is more than or equal to 60:
kick player due to "Timed out"
clear {auth.timeoutcheck.%player%}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment