What I have so far: workspace.Temp.Current.Value=(0+1) wait(1.5)
script.Parent.MouseClick:connect(OnClicked) I need this because I am working on a core, but I need a certain temperature for the cord to blow up. But I don't want it to go down when it is toggled off.
Here is another script, I want the number to go down:
workspace.Temp.Current.Value=(0-1) wait(3.5) Nothing is working out for me so could someone please help me? ):

5 comments
what kind of button? key? GUI? mouse?
It's a click detector
Why use math? It's basic math. 0+1 is 1, so just put 1. 0-1 is -1, so just put -1
Format your code properly
local button = (Part To Click)