I want to develop a monitor system on my base that when i activate a alarm the decal changes on the monitors to the emergency notice and when i deactivate it it returns to the original decal can anyone help me figure out how to make this?
✓ ANSWER ACCEPTED
How Do I Make Base monitor screens changing to the security status of base ?
1 answer
✓ Accepted answer
Add in a boolean value.
local a = Instance.new("BoolValue", game.Workspace.Monitor) --Assuming that is the correct name
a.Value = true
a.Value = not a.Value
function cpumonitor()
if a.Value == true
then a.Decal.Texture = "Place the decal for the on alarm id here"
else a.Decal.Texture = "Place the decal for the off alarm id here"
end
end
game.Workspace.AlarmButton.ClickDetector.MouseClick:connect(cpumonitor)
THIS MIGHT NOT WORK CONSIDERING IM NOT A MLG SCRIPTER
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
thanks