I am trying to make a player stop running/moving if the stamina is empty.
Code I am trying to use:
local Stamina = game.Players.LocalPlayer:WaitForChild("Stats").Stamina
local StaminaMin = 0
if Stamina.Value <= StaminaMin then
--Idk what to do here
end
If you'd help I'd be very grateful, thanks in advance.

1 comment
Aight thanks