Advertisement
ExtReMLapin

Untitled

Dec 21st, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.62 KB | None | 0 0
  1. local c = LocalPlayer():Health() * ((ScrW()/8.97)/100)
  2. local ca = ( LocalPlayer():Health()- (c-(LocalPlayer():Health() * 2.14)))
  3. local ololol = ((ScrW()/8.97) - c) / 2 // Stabliliser a la base Zero sur mΓͺme point - Stay at the same poitn at 0HP base
  4. local a = ScrW() - (ScrW()/5.69)  + ololol
  5. local b = ScrH() - (94 * (90 + 10 * c))
  6. -- local w = 100 - (0.1 * (-1 * c))
  7.  
  8. local w = -1 * ( (100 - LocalPlayer():Health()) / 30)
  9.  
  10.  
  11.     surface.SetTexture( hlt ) // HEALTH BAR
  12.     surface.SetDrawColor(Color(100,164,27,alpha_ch[1]))
  13.     surface.DrawTexturedRectRotated( a, ScrH() - (ScrW()/20) - w  , c,    (ScrW()/87.272727), -2.98  )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement