My coolant temp doesn't work ill place a description of what it should do It is recommended that the coolant is turned off when it reaches temperatures above 0C to cool it down again. Warm coolant liquid doesn't cool the core at all. The supply may be kept online at all times! here is my script

local cg = workspace:WaitForChild("CoreGame")

cg.LiquidCoolant.Temperature.Changed:connect(function(temp)
	local modi = temp / 1000
	if(temp < 0)then
		script.Parent.Bar.Sliding.BackgroundColor3 = Color3.new(0/255, 255/255, 255/255)
		modi = -temp / 1000
	else
		script.Parent.Bar.Sliding.BackgroundColor3 = Color3.new(170/255, 0/255, 0/255)
	end
	script.Parent.Bar.Sliding.Size = UDim2.new(modi, 0, 1, 0)
	script.Parent.Bar.Numeral.Text = temp.."C"
end)

Iv looked at the output in studio and it shows no errors

1 comment

0

Where os the description