local pritntext = 5 --Looping the Printing Statements while true do wait() if pritntext == 3 then print("It equals to 3") elseif pritntext == 5.1 then print("It equals to 5.1") else print("None of the statements ran!") end end wait(5) print("Value is going down to 3") while true do wait(0.5) pritntext = pritntext - 0.1 if pritntext == 3 then break end end
local pritntext = 5 --Looping the Printing Statements while true do wait() if pritntext == 3 then print("It equals to 3") elseif pritntext == 5.1 then print("It equals to 5.1") else print("None of the statements ran!") end wait(5) print("Value is going down to 3") while true do wait(0.5) pritntext = pritntext - 0.1 if pritntext == 3 then break end end end
please tell us what the problem is next them