Yo_The_pro19 Posted January 19, 2022 Share Posted January 19, 2022 (edited) Redeem skript Hello I need help with a skript I would like it so I do /moneysheet <amount> to give you paper that when you right click it pays you the amount Also I would like the same thing just /ranknote <rank> and you right click to get the rank then what rank it says uses luck perms to join that rank or group Thx Curtis24 ign: Curtis24 Server: aquagen (aquagen.minehut.gg) Edited January 19, 2022 by Curtis24 Yo_the_pro19 owner of Aqua-lands.net rank: VIP Link to comment Share on other sites More sharing options...
NoutLost_ Posted January 21, 2022 Share Posted January 21, 2022 i already maybe something for /ranknote not finished with /moneysheet tho if you want /ranknot already here it is: command /ranksheet [<player>] [<text>]: permission: ranksheet.give permission message: You don't have permission to use this command trigger: if arg-1 is set: if arg-2 is set: if arg-2 is "default": give arg-1 paper named "ranksheet" with lore "This Ranksheet will give you rank: default" else: send "please specify a rank:" send "(ranks here)" else: send "please specify a player!" on rightclick: loop all players: if loop-player is holding a paper named "ranksheet" with lore "This Ranksheet will give you rank: default": remove paper named "ranksheet" from loop-player make console execute command "/lp user %loop-player% parent add default" not fully tested if their are any bugs just tell me Link to comment Share on other sites More sharing options...
SkTiny Posted January 22, 2022 Share Posted January 22, 2022 command /withdraw [<integer>]: trigger: if arg-1 is not set: send "&cYou need to set an amount to withdraw! &7Ex: (/withdraw 1000)" else: if {money::%player's uuid%} >= arg-1: give 1 paper named "&aBanknote &7(Rightclick to redeem)" with lore "&a$%arg-1%" to player remove arg-1 from {money::%player's uuid%} else: send "&cYou cant afford that!" on rightclick: player is holding paper named "&aBanknote &7(Rightclick to redeem)" set {_m::*} to name of the player's held item split at "$" add {_m::2} to {money::%player's uuid%} remove 1 of held item from player i havent tested it in game but it loads without errors. also change the variable to whatever u like. lmk if it doesnt work Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now