1. 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 comminuty!

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

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

need help on league skript

Discussion in 'Skript' started by Tizo, Nov 20, 2019.

Thread Status:
Not open for further replies.
  1. Tizo

    Tizo Member

    Joined:
    Nov 9, 2019
    Messages:
    3
    Likes Received:
    0
    hello i wanted to do a league skript but i dont know how i should do it i tryed many ways so this is what i wanted it to look like

    the leagues are:
    gold
    silver
    bronze

    so for a kill you get 5 points and if you die you loose 10 points and i want that the guy with the most points gets the gold rank and that all players who has 5% less points than the best player also get the gold rank and the players which has 10% less points then the best player gets the silver rank and the player which has 15% less points than the best player gets the bronze rank
     
  2. Govindas

    Govindas Active Member

    Joined:
    Feb 5, 2017
    Messages:
    79
    Likes Received:
    5
    use math to calculate percentages (set divided to points/100, then check if divided*percent is less than points)
     
  3. Tizo

    Tizo Member

    Joined:
    Nov 9, 2019
    Messages:
    3
    Likes Received:
    0
    i have no clue how i should do this
     
  4. Govindas

    Govindas Active Member

    Joined:
    Feb 5, 2017
    Messages:
    79
    Likes Received:
    5
    I recommend googling on how to calculate percentages and memorize that stuff, you should then have a better idea in how to do it
     
Thread Status:
Not open for further replies.

Share This Page

Loading...