Jump to content

prestige skript help


Recommended Posts

got this skript here that doesnt work

 

command /prestige:
   trigger:
      if the level of player >= 100:
         broadcast "%player% has prestiged!"
         set  the level of player to 0
         add 1 to {prestige::%player‘s uuid%}
      else
         message "&7You need 100 levels to prestige!" to player
 

can anyone help?

IGN: LastMC

Discord: LastXD#7171

Rank: PRO

Join date: Monday - December - 23rd - 2019

Link to comment
Share on other sites

The else doesn't have the : at the end and some of the spacing was off. Here's the corrected version hope this helps.

command /prestige:
    trigger:
        if the level of player >= 100:
            broadcast "%player% has prestiged!"
            set  the level of player to 0
            add 1 to {prestige::%player%}
        else:
            message "&7You need 100 levels to prestige!" to player

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...