Ive been trying to make this, but it doesn't work.
local serverfolder = workspace:WaitForChild("Server") local servermessage = serverfolder:WaitForChild("message") local serverannouncement = serverfolder:WaitForChild("announcement") servermessage:GetPropertyChangedSignal("Value"):Connect(function() if servermessage.Value ~= " " then script.Parent.Message.Visible = true script.Parent.Message.TextLabel.Text = servermessage.Value elseif servermessage.Value == " " then script.Parent.Message.Visible = false end end) serverannouncement:GetPropertyChangedSignal("Value"):Connect(function() for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA("BlurEffect") then v:Destroy() end end local blur = game.ReplicatedStorage.Blur:Clone() blur.Parent = game.Lighting script.Parent.Announcement.sender.Text = serverannouncement.sender.Value script.Parent.Announcement.label.Text = serverannouncement.Value script.Parent.Announcement.Visible = true wait(10) for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA("BlurEffect") then v:Destroy() end end script.Parent.Announcement.Visible = false end)
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?