#Money skript
1 messages · Page 1 of 1 (latest)
So my skript is for some reason not working likes its uspposed it
`on mine of oak log:
add 0.1 to {money::%player's uuid%}
on mine of oak plank:
add 0.2 to {money::%player's uuid%}
on mine of stone:
add 0.3 to {money::%player's uuid%}
on mine of cobblestone:
add 0.4 to {money::%player's uuid%}
on mine of coal ore:
add 0.5 to {money::%player's uuid%}
on mine of block of coal:
add 0.6 to {money::%player's uuid%}`
So it only works with the oak log and plank, but after that nothing works
someone needa help me cuz idk whats wrong
are you using the right tool? mine is only for when you use the right tool
you can use break
that will always be run
I mean i dont think people will use their fists to break stone and stuff
But thanks, ig im just dumb xD
okay, np
@mellow sparrow How can i make a message send in chat that everyone can see
not a broadcast or smth
just a normal message
send %string% to all players
very close
how would i put it in here
on inventory click: if name of event-inventory is "&4Prestige": cancel event if name of event-slot is "&c&lPrestige!": if {level::%player%} > 2: if {blocks::%player's uuid%} > 2: set {deaths::%player%} to 0 set {kills::%player%} to 0 set {blocks::%player's uuid%} to 0 set {level::%player%} to 0 apply levitation 1 to player for2 seconds wait 2 seconds execute player command "/spawn" add 1 to {rebirths::%player's uuid%}
just like any other line
so just send %message% to all players?
on inventory click: if name of event-inventory is "&4Prestige": cancel event if name of event-slot is "&c&lPrestige!": if {level::%player%} > 2: if {blocks::%player's uuid%} > 2: set {deaths::%player%} to 0 set {kills::%player%} to 0 set {blocks::%player's uuid%} to 0 set {level::%player%} to 0 apply levitation 1 to player for2 seconds wait 2 seconds execute player command "/spawn" add 1 to {rebirths::%player's uuid%} send %message% to all players
yeah but the %% was just to tell you what you can put there
you can't use %% outside strings and variable indices in skript
would i need to put the message between " " ?
yeah
alr