MaroGamer2026 Posted May 28, 2023 Share Posted May 28, 2023 (edited) Hi, I'm Maro Just I don't know how to fix this problem, can someone help me? code: on break: player's world is "DoubleDigX" add 1 to {tg.%player%} every 1 second: loop all players: if {tg.%loop-player%} is 10: clear {tg.%loop-player%} send "test" to loop-player Edited May 28, 2023 by MaroGamer2026 Link to comment Share on other sites More sharing options...
ApexSplat Posted May 29, 2023 Share Posted May 29, 2023 what is the problem? Discord: Dead#6905 Love anime! Link to comment Share on other sites More sharing options...
JoshG Posted June 4, 2023 Share Posted June 4, 2023 (edited) Hey hey! The provided Skript code has some syntax errors. Here's the corrected version: on block break: if player's world is "DoubleDigX": add 1 to {tg.%player%} every 1 second: loop all players: if {tg.%loop-player%} is 10: clear {tg.%loop-player%} send "test" to loop-player In the updated code, I fixed the indentation and corrected the event name to "block break" instead of just "break." Additionally, I added the necessary conditions and fixed the variable syntax for {tg.%player%} and {tg.%loop-player%}. Please note that this Skript code assumes you have the required plugin and the proper environment set up to execute Skript scripts on your server. Make sure to adjust the conditions, actions, and messages as needed. Let me know if you have any further questions or issues! Edited June 4, 2023 by JoshG 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