Basically I'm trying to get the booleanvalue to change, but it doesn't change at all. I'm pretty confused, so how would you change a booleanvalue via script?
local boolvalue = script.Parent.bool
local light = game:GetService("Lighting")
local alarm = script.Parent.Parent.alarm
local message = script.Parent.Parent.corevent
local temp = script.Parent.SurfaceGui.Text
while true do
wait()
if temp.Text == "1999°c" then
boolvalue = true
alarm.Looped = false
elseif temp.Text == "2000°c" then
script.Parent.Parent.Map.coremachine.coreOverheat.Fire.Enabled = true
alarm.Looped = true
boolvalue.Value = false
repeat
message:Play()
light.Ambient = Color3.new(150/255,0/255,0/255)
alarm:Play()
wait(0.2)
light.Ambient = Color3.new(0/255,0/255,0/255)
wait(0.9)
light.Ambient = Color3.new(150/255,0/255,0/255)
until boolvalue.Value == true
end
end

4 comments
Oh it finally works! Omg thank you, also I was wondering where you learnt scripting? It's my third day scripting, I only have a head-start because I already know Java.
I learned it over time from many different places. The biggest place of learning I can think of is developer.roblox.com with all their documentation. Now that it's fixed, remember to mark the question as solved.
Yes I will after.. Also how do you navigate around in developer.roblox.com? Since it's uh, all bungled up?
If you go to "Learn Roblox" button at the top of the website, it will take you to some tutorials. You can scroll around in there to probably learn something new. Otherwise easier sources would be youtube or free models, but those are kinda hit and miss.