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

How to blur the screen?

Asked by 3 years ago
Edited 3 years ago

I want this code to blur the screen when you join the game. The code to unblur the screen works but the code to blur it doesn't. The blur is for the menu.

local exit = script.Parent.ExitButton
local play = script.Parent.PlayButton
local rules = script.Parent.RulesButton

local frame = script.Parent
local blur = game.Lighting.Menu_Blur

local rulesframe = script.Parent.Parent.RulesFrame
local health = script.Parent.Parent.health

local rulesclose = rulesframe.CloseButton

game.Players.PlayerAdded:Connect(function()
    wait(1)
    frame:TweenPosition(UDim2.new(-0.001, 0,-0, 0),"Out","Quad")
    health.Visible = false
    blur.Enabled = true <-- this is the code thats not working
end)
0
I would like to say that I had to make 50 titles for this post because it kept declining the ones I put. so that's why the title is so vague. parker12234 0 — 3y
0
I dont remember but I think it was something with blur.size? bc blur.enabled just doesnt say how much blur idk johnoscarbhv1 137 — 3y

Answer this question