I want it To Stop When My `NumberValue Reaches 3 but it just keeps giving me 1+
local small = script.Parent
local value = game.Players.LocalPlayer.Character:WaitForChild("SmallLeft").Value
max = 3
small.MouseButton1Click:Connect(function()
if value > max then --wont stop giving me +1 when I reach 3
print("+1")
game.Players.LocalPlayer.Character:WaitForChild("SmallLeft").Value = game.Players.LocalPlayer.Character:WaitForChild("SmallLeft").Value +1
else
print("max")
end
end)
`

1 comment
thx ALOT