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

How do you change BlurEffect with a button?

I was wondering how to change blur when pressing a ClickDetector part.

1 answer

I'm new to coding but try this:

script.Parent.ClickDetector.MouseClick:connect (function() game.Lightning.("Name of your Blur Effect").Size = ("The number you want the blur to be") end)

this script will work if it is placed in the same parent as the ClickDetector

Hope this help

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