need help on league 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 comminuty!

    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!

Status
Not open for further replies.

Tizo

Member
Nov 9, 2019
3
0
0
22
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
 
use math to calculate percentages (set divided to points/100, then check if divided*percent is less than points)
 
Status
Not open for further replies.