if world of victim is "ElytraBox":
set {moneygiven3} to 0
set {moneygiven} to 20
set {moneygiven1} to victim's balance
add {moneygiven} to {money3}
add {moneygiven1} / 10 to {money3}
execute console command "eco give %{lastdamage::%uuid of victim%}% %{money3}%"
execute console command "eco take %victim% 10%"
send "Money taken from %victim%!" to {lastdamage::%uuid of victim%}
delete {lastdamage::%uuid of victim%}```
This skript should work because everything is right but instead of giving 10% the balance which is given to the player seems significantly more and it seems to build up over multiple kills. Also skript says that I cannot write 10%.
#Skript Malfunctioning
1 messages · Page 1 of 1 (latest)
- Use local variables for this
- If you have vault installed, simply
(add|remove) x to player's balance
I tried remove x from player's balance but it didn't seem to do anything
that's why I used execute console command
do you have the vault plugin?
yes
show /sk info
delete skrayfall
I can't because all my other skripts in my network need it in some way
they do not
skrayfall is so outdated anything it has is now in skript or skbee
skrayfall is also known to cause some bugs
skbee ahs bossbars
is it the same format as skrayfall tho?
not the same syntax; youll need to do a bit of re-working