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?
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