If you would like to know my script, here it is.
local tempLabel = game.Workspace.TempScreen.SurfaceGui.Temp local tempVal = game.Workspace.TempScreen.SurfaceGui.TempVal while game.Workspace.CoreOnline.Value == true do wait(0.6) tempLabel.Text = tempVal.Value end
Also, how do I make a click detector that also respond to mobile clicks?
Thanks!
Click detector:
Click.MouseClick:Connect(Function() —You don’t need to know what’s inside because that’s custom—- end)
Okay so the script while statement will break once game.Workspace.CoreOnline.Value isnt true anymore, so what are you going is:
local tempLabel = game.Workspace.TempScreen.SurfaceGui.Temp local tempVal = game.Workspace.TempScreen.SurfaceGui.TempVal while task.wait(0.6) do if game.Worksapce.CoreOnline.Value == true then tempLabel.Text = tempVal.Value end end
This loops every 0.6 seconds and if CoreOnline is true then it updates the temp label text. Ok bye