Jump to content

What The Proplem With This Skript ?


AKillers

Recommended Posts

I Have Tis Skript And It's All Errors And Im Sure It Right

 

 

command /yub.rankupgrade.exe.secret:
    trigger:
        If player's balance is more than 5000:
            if {rank.%player%} is not "&8[&aVip&8]":
                send "&CYour Not Vip To Upgrade Your Rank !"
                stop
            else:
                set {rank.%player%} to "&8[&aVip&8]"
                set player's group to "vip+"
                send "&aYou Have Purchased Rank Upgrade From &aVip &aTo &aVip&6+&a Rank For 5000$ !"
                remove 5000 from player's balance
                stop
            else If player's balance is not more than 5000:
                send "&cYou Don't Have Enough Money !"
                stop
        else:
            send "&cYou Don't Have Vip !"
            stop

command /yub.vip.exe.secret:
    trigger:
        If player's balance is more than 5000:
            set {rank.%player%} to "&8[&aVip&8]"
            set player's group to "vip"
            send "&aYou Have Purchase Vip Rank For 5000$ !"
            remove 5000 from player's balance
            stop
        If player's balance is not more than 5000:
            send "&cYou Don't Have Enough Money !"
            stop

command /yub.nickcmd.exe.secret:
    trigger:
        If player's balance is more than 5000:
            execute console command "manuaddp %player% server.nick"
            send "&aYou Have Purchase NickCmd Rank For 5000$ !"
            remove 5000 from player's balance
            stop
        If player's balance is not more than 5000:
            send "&cYou Don't Have Enough Money !"
            stop

command /yub.vip+.exe.secret:
    trigger:
        If player's balance is more than 5000:
            set {rank.%player%} to "&8[&aVip&6+&8]"
            set player's group to "vip"
            send "&aYou Have Purchase Vip+ Rank For 10000$ !"
            remove 5000 from player's balance
            stop
        If player's balance is not more than 5000:
            send "&cYou Don't Have Enough Money !"
            stop

 

 

image.png.48495a465607aa5be50e9024d8cf6718.png


Link to comment
Share on other sites

7 hours ago, AKillers said:

I Have Tis Skript And It's All Errors And Im Sure It Right

 

 


command /yub.rankupgrade.exe.secret:
    trigger:
        If player's balance is more than 5000:
            if {rank.%player%} is not "&8[&aVip&8]":
                send "&CYour Not Vip To Upgrade Your Rank !"
                stop
            else:
                set {rank.%player%} to "&8[&aVip&8]"
                set player's group to "vip+"
                send "&aYou Have Purchased Rank Upgrade From &aVip &aTo &aVip&6+&a Rank For 5000$ !"
                remove 5000 from player's balance
                stop
            else If player's balance is not more than 5000:
                send "&cYou Don't Have Enough Money !"
                stop
        else:
            send "&cYou Don't Have Vip !"
            stop

command /yub.vip.exe.secret:
    trigger:
        If player's balance is more than 5000:
            set {rank.%player%} to "&8[&aVip&8]"
            set player's group to "vip"
            send "&aYou Have Purchase Vip Rank For 5000$ !"
            remove 5000 from player's balance
            stop
        If player's balance is not more than 5000:
            send "&cYou Don't Have Enough Money !"
            stop

command /yub.nickcmd.exe.secret:
    trigger:
        If player's balance is more than 5000:
            execute console command "manuaddp %player% server.nick"
            send "&aYou Have Purchase NickCmd Rank For 5000$ !"
            remove 5000 from player's balance
            stop
        If player's balance is not more than 5000:
            send "&cYou Don't Have Enough Money !"
            stop

command /yub.vip+.exe.secret:
    trigger:
        If player's balance is more than 5000:
            set {rank.%player%} to "&8[&aVip&6+&8]"
            set player's group to "vip"
            send "&aYou Have Purchase Vip+ Rank For 10000$ !"
            remove 5000 from player's balance
            stop
        If player's balance is not more than 5000:
            send "&cYou Don't Have Enough Money !"
            stop

 

 

image.png.48495a465607aa5be50e9024d8cf6718.png


Do you have essentials and vault

command /giveinfo:
    trigger:
        send "--------------------------------------------"
        send "IGN:
crazymarty"
        send "I am a
decent skripter."                                     
        send "Discord: 
crazymarty#1802"
        send "--------------------------------------------"

Link to comment
Share on other sites

On 7/30/2019 at 11:46 AM, AKillers said:

I Have Tis Skript And It's All Errors And Im Sure It Right

 

 


command /yub.rankupgrade.exe.secret:
    trigger:
        If player's balance is more than 5000:
            if {rank.%player%} is not "&8[&aVip&8]":
                send "&CYour Not Vip To Upgrade Your Rank !"
                stop
            else:
                set {rank.%player%} to "&8[&aVip&8]"
                set player's group to "vip+"
                send "&aYou Have Purchased Rank Upgrade From &aVip &aTo &aVip&6+&a Rank For 5000$ !"
                remove 5000 from player's balance
                stop
            else If player's balance is not more than 5000:
                send "&cYou Don't Have Enough Money !"
                stop
        else:
            send "&cYou Don't Have Vip !"
            stop

command /yub.vip.exe.secret:
    trigger:
        If player's balance is more than 5000:
            set {rank.%player%} to "&8[&aVip&8]"
            set player's group to "vip"
            send "&aYou Have Purchase Vip Rank For 5000$ !"
            remove 5000 from player's balance
            stop
        If player's balance is not more than 5000:
            send "&cYou Don't Have Enough Money !"
            stop

command /yub.nickcmd.exe.secret:
    trigger:
        If player's balance is more than 5000:
            execute console command "manuaddp %player% server.nick"
            send "&aYou Have Purchase NickCmd Rank For 5000$ !"
            remove 5000 from player's balance
            stop
        If player's balance is not more than 5000:
            send "&cYou Don't Have Enough Money !"
            stop

command /yub.vip+.exe.secret:
    trigger:
        If player's balance is more than 5000:
            set {rank.%player%} to "&8[&aVip&6+&8]"
            set player's group to "vip"
            send "&aYou Have Purchase Vip+ Rank For 10000$ !"
            remove 5000 from player's balance
            stop
        If player's balance is not more than 5000:
            send "&cYou Don't Have Enough Money !"
            stop

 

 

image.png.48495a465607aa5be50e9024d8cf6718.png


try 

if player's balance is higher that 5000:

instead of 

if player's balance is more that 5000:

 

Minehut Server: RandomCMC.minehut.gg

YouTube Channel: www.bit.ly/GenericDiscord

Twitch: www.twitch.tv/TheGenericChannel

Link to comment
Share on other sites

  • 1 year later...

Thread Locked 🔒

Please don't reply to threads which have been inactive for more than one month!

 

Also you should try if player's balance is more than 5000 (and if it still doesn't work it might mean that the error is related to something else, not that code)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...