me and my friend made this janitor thing and i updated to the latest skript version and now it doesnt work i think its bc it was a outdated script and now its diffrent but me and my friend tried our hardest to fix it but now i cant
`on join:
set {%player's uuid%.janitor.coolDown} to now
on right click on brown carpet:
send "help" to player
if player's held item is wheat named "&fʙʀᴏᴏᴍ":
if difference between now and {%player's uuid%.janitor.coolDown} is less than 1 second:
send "cancelled" to player
cancel event
else:
send "do it" to player
set {%player's uuid%.janitor.coolDown} to now
play sound "block.sponge.place" at volume 1 at pitch 1 to player
set clicked block to air
add 0.75 to {%player's uuid%::balance}
send action bar "<#49fc03>+¢75" to player
wait 0.3 seconds
send action bar "<#3cd102>+¢75" to player
wait 0.3 seconds
send action bar "<#2ea102>+¢75" to player
wait 0.3 seconds
send action bar " " to player
wait 30 seconds
set clicked block to brown carpet`