#Money skript

1 messages · Page 1 of 1 (latest)

sinful adder
#

.

#

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

mellow sparrow
#

are you using the right tool? mine is only for when you use the right tool

sinful adder
#

ohhh

#

wait

#

that miught be the problem

mellow sparrow
#

you can use break

sinful adder
#

ohhh

#

yea it works

mellow sparrow
#

that will always be run

sinful adder
#

I mean i dont think people will use their fists to break stone and stuff

#

But thanks, ig im just dumb xD

mellow sparrow
#

okay, np

sinful adder
#

@mellow sparrow How can i make a message send in chat that everyone can see

#

not a broadcast or smth

#

just a normal message

mellow sparrow
#

send %string% to all players

sinful adder
#

so my skript would be:

#

send %message to all player

mellow sparrow
#

very close

sinful adder
#

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%}

mellow sparrow
#

just like any other line

sinful adder
#

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

mellow sparrow
#

yeah but the %% was just to tell you what you can put there

sinful adder
#

o ok

#

so just add the "to all players"

mellow sparrow
#

you can't use %% outside strings and variable indices in skript

sinful adder
#

would i need to put the message between " " ?

mellow sparrow
#

yeah

sinful adder
#

alr