Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a GUI button that Blurs then if clicked again it removes blur?

script.Parent.MouseButton1Click()
game.Lighting.Blur.Enabled = true
wait()
script.Parent.MouseButton1Click()
game.Lighting.Blur.Enabled = true

I dont know how to script

1 answer

local isopened = false

script.Parent.MouseButton1Click:Connect(function()
	if not isopened then
		game.Lighting.Blur.Enabled = true
		isopened = true
	else
		game.Lighting.Blur.Enabled = false
		isopened = false
	end
end)

(it needs to be local script)

This discussion is preserved as it was. New answers, comments, and votes are closed.