Hello so I need help in a Emerald Blade skript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

BettingCamp

Member
Oct 20, 2023
10
1
3
command /emeraldblade:
usage: /emeraldblade
trigger:
if player has permission "emeraldblade.use":
set {_coins} to 0
if {Coins::%player%} is set:
set {_coins} to {Coins::%player%}
else:
send "You don't have any coins in your purse."
stop
if {_coins} > 2000000000:
set {_coins} to 2000000000
set {_damage} to 130 + 2.5 * (({_coins} ^ (1/4)))
add {_damage} to damage of player
send "Your Emerald Blade's damage is now {_damage}!"

My friend made this but its not working I am using Skript 2.7.1 and SkBee 1.15.3 server veirson 1.17.1
 
I'm a little bit lost on what you want to do. From what i understand you want to add damage based on how much coins player has? Also if you insert code use code format for better clarity.