How would I make this continue running so that after waiting.value is false and i turn it back to true how do i make that work
local Waiting = script.Parent.Parent.Parent.Wait local Te = script.Parent local Temp = game.ServerStorage.Temp if Waiting.Value == true then while Waiting.Value == true do Te.Text = "The Temperature is" wait(.5) Te.Text = "The Temperature is." wait(.5) Te.Text = "The Temperature is.." wait(.5) Te.Text = "The Temperature is..." wait(.5) end end if Waiting.Value == false then Te.Text = 'The Temperature is \n'..Temp.Value end
Nevermind just put it in a while true loop
local Waiting = script.Parent.Parent.Parent.Wait local Te = script.Parent local Temp = game.ServerStorage.Temp while true do if Waiting.Value == true then while Waiting.Value == true do Te.Text = "The Temperature is" wait(.5) Te.Text = "The Temperature is." wait(.5) Te.Text = "The Temperature is.." wait(.5) Te.Text = "The Temperature is..." wait(.5) end end if Waiting.Value == false then Te.Text = 'The Temperature is \n'..Temp.Value end end