SteamPunk_Devil

TestAPI

Mar 1st, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.90 KB | None | 0 0
  1. local Bar
  2.         if Percent => 0  and <5 then
  3.                 Bar = "[   EMPTY  ]"
  4.         elseif Percent => 5 and < 15 then
  5.                 Bar = "[/         ]"
  6.         elseif Percent => 15 and < 25 then
  7.                 Bar = "[//        ]"
  8.         elseif Percent => 25 and < 35 then
  9.                 Bar = "[///       ]"
  10.         elseif Percent => 35 and < 45 then
  11.                 Bar = "[////      ]"
  12.         elseif Percent => 45 and < 55 then
  13.                 Bar = "[/////     ]"
  14.         elseif Percent => 55 and < 65 then
  15.                 Bar = "[//////    ]"  
  16.         elseif Percent => 65 and < 75 then
  17.                 Bar = "[///////   ]"
  18.         elseif Percent => 75 and < 85 then
  19.                 Bar = "[////////  ]"
  20.         elseif Percent => 85 and < 95 then
  21.                 Bar = "[///////// ]"
  22.         else
  23.                 Bar = "[///FULL///]"  
  24.         end
  25.         return Bar    
  26. end
Advertisement
Add Comment
Please, Sign In to add comment