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

How to make a Blur For localPlayer For FilteringEnabled?. Does someone correct me?

Asked by 5 years ago
local ola = Instance.new("BlurEffect",game.Workspace.CurrentCamera)
ola.Enabled = true

game.Players.LocalPlayer.CurrentCamera.Blur.Size = 50


3 answers

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago
local ola = Instance.new("BlurEffect")
ola.Parent = workspace.CurrentCamera
ola.Enabled = true

game.Players.LocalPlayer.CurrentCamera.Blur.Size = 50
0
dont work CurrentCamera is not Member of LocalPlayer Xx_andresXx 7 — 5y
0
thats because currentcamera is a part of workspace. uhTeddy 101 — 5y
0
game.Workspace -- Is the servers workspace MachoPiggies 526 — 5y
0
workspace -- Is the players local workspace directory MachoPiggies 526 — 5y
Ad
Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

You no longer need game.Players.LocalPlayer.CurrentCamera.Blur.Size = 50 Just because you only need Blur Effect to be inside on Lighting.:

local blur = Instance.new("BlurEffect")
blur.Parent = game.Lighting
blur.Size = 50 --Adjust the size of the blur if needed.
Log in to vote
0
Answered by
uhTeddy 101
5 years ago

The correct way would be in a localscript.

local blur = Instance.new("BlurEffect")
blur.Size = 25
blur.Parent = game:GetService("Workspace").CurrentCamera

Answer this question