Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. local Health = LocalPlayer():Health() or 0
  2. local Armor = LocalPlayer():Armor() or 0
  3. local Hunger = LocalPlayer().DarkRPVars.Energy or 0
  4. local Healthmax = LocalPlayer():GetMaxHealth() or 0
  5. if Armor > 0 then Armor = Armor end
  6. if Armor < 0 then Armor = 0 end
  7. if Armor >100 then Armor = 100 end
  8. if Health > 0 then Health = Health end
  9. if Health < 0 then Health = 0 end
  10. if Health >100 then Health = 100 end
  11. if Healthmax > 100 then Healthmax = 100 end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement