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

PLS HELP!! Blur Effect in backgroud in a Main Menu?

Hi!

I want to make my Main Menu have some Blur Effect on background but the youtube scripting tutorials are not working.

I started creating things on Roblox Studio like one week ago and I don't know much scripting so if someone will give me a script for what I'm searching where do I need to place it ?

This is how it looks at the moment: https://ibb.co/Kwcdy2V

Thanks!

1 comment

0

2 answers

✓ Accepted answer

Hello,

Put this in a Local Script inside the button which should be inside your ScreenGui.

local blur = Instance.new("BlurEffect")
blur.Parent = game.Lighting

local button = script.Parent

button.MouseButton1Click:Connect(function()
	button.Parent:Destroy()
	blur:Destroy()
end)

Enjoy! :-)

2 comments

0

thanks man

0

Any time! Please upvote if satisfied. :)

I don't know much about it, but you could add a blur effect into lighting and when the player clicks the play button the blur effect's enabled property is set to false.

I looked back at the question, so just enter a blur effect in lighting and when you click the play button the blur effect is disabled.

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