Askn Posted August 29, 2023 Share Posted August 29, 2023 Can anyone help/create a skript that every hour gives a crate key to every player online, and it displays a countdown on my TAB scoreboard? Link to comment Share on other sites More sharing options...
DanRub Posted August 29, 2023 Share Posted August 29, 2023 every 1 hour: loop all players: if loop-player is online: give loop-player "youritem" Im not sure what do you mean by display a countdown on your TAB scoreboard, but you can try this. Link to comment Share on other sites More sharing options...
Askn Posted August 30, 2023 Author Share Posted August 30, 2023 i want to be able to do this where it displays that countdown Link to comment Share on other sites More sharing options...
JoshG Posted August 30, 2023 Share Posted August 30, 2023 I have always skripted my scoreboards within a function, so when I need to update it I call the function like so: command /reloadscoreboard: trigger: scoreboard(player) send "&7Your scoreboard has been successfully reloaded!" to player function scoreboard(p: player): set title of {_p}'s scoreboard to "Your Title" set line 15 of {_p}'s scoreboard to "Line 1 (closest to top)" set line 14 of {_p}'s scoreboard to "and" set line 13 of {_p}'s scoreboard to "so" set line 12 of {_p}'s scoreboard to "on" set line 11 of {_p}'s scoreboard to "down" set line 10 of {_p}'s scoreboard to "to" set line 9 of {_p}'s scoreboard to "line" set line 8 of {_p}'s scoreboard to "1!" ... This way when say, updating someones balance, you can call the function to reload their scoreboard. But for you, it would be more of: every second: <-- Code for Timer --> loop all players: scoreboard(loop-player) Although I always try to only update scoreboard when I really need to If I helped you at all please consider boosting my account with the follow button! Minehut ♥ [VIP] 12/19/2020 - Present I am either extremely active or not lol. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now