How to group leaderstats between two specified integers?

  1. Hi, I currently have a script that changes the characters humanoid walk-speed dependent on a singular leaderstat value i.e if the player has the rebirth value of 1. How would I go about targeting a more broad range of values say 1-100? Thank you.
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		if Player.leaderstats.Rebirth.Value == 1 then	
			wait(1)
			Character.Humanoid.WalkSpeed = 40	
		end
	end)
end)

Use operators such as >= or <= to get 1 scope in a statement block to be more effective.

Thank you so much.

(char limit)