Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
xPeyser 15
3 years ago
Edited 3 years ago

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!

0
https://www.youtube.com/watch?v=0Rt6xrSWrco (enable and disable it) sayer80 457 — 3y

2 answers

Log in to vote
0
Answered by 3 years ago

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! :-)

0
thanks man xPeyser 15 — 3y
0
Any time! Please upvote if satisfied. :) ArceIius 22 — 3y
Ad
Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

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.

Answer this question