No lower then 0 and no higher then 100

Hey guys, I am trying to make HP and I want it to so that the HP goes no lower then 0 and no higher then 100 xD.

Anyone has any kinda scripts like this x.X … I tried to figure it out but I just got complete confused x.X.