Hello, I was wondering how I could make it so something happens if the number is in between something.
Here is my code:
if Humanoid.Health == 0 then
script.Parent.BackgroundColor3 = Color3.new(0.654902, 0.0509804, 0.0509804)
end
if Humanoid.Health == then
script.Parent.BackgroundColor3 = Color3.new(0.792157, 0.470588, 0.0196078)
end
In the blank space between ‘==’ and ‘then’ I want to write in between 1 and 50.
Is there a way to do this?