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

How do I make a Blur Effect Local?

Asked by 7 years ago

Is there a way to make a Blur Effect appear to only a single person and not the entire game at once?

0
"Local" Scripts User#12356 0 — 7y
0
I found a way possible, I forgot that Blurs can be used in CurrentCamera. ShadowsDev 62 — 7y

2 answers

Log in to vote
4
Answered by 7 years ago
Edited 7 years ago

FilteringEnabled!


This is when people really start to see the beauty of FE (FilteringEnabled) and it's true abilities, rather than just being some sort of "exploit patch". Since FE makes it so changes made to the server via local script don't replicate, this makes it an incredible tool for running tasks locally that also involve the game environment. I explain FE visually better in this video I made on remote events (you can just watch the first minute of the video).

So, how do I implement this?

Simple, all you have to do is enable FE, insert the Blur effect into the lighting, and change that Blur effect with a local script within a player - the change will only effect that player.


This is how you should handle any situation where you need to change something specifically for an individual player, and it becomes very easy to understand once you get used to it! Just let me know if you have any questions.

Ad
Log in to vote
0
Answered by 7 years ago

Hi! I also was wondering this for a long time now, but I have finally realized how to. Just make the blur inside of the current camera, matter of fact this is how you do it:

local cam = game.Workspace.CurrentCamera
Instance.new("BlurEffect", cam).Size = 11

2
FE is a more preferable option ScriptGuider 5640 — 7y
0
Actually no, even with FilteringEnabled on, if the BlurEffect is in Lighting, everyone can still see it. Trust me, I have a filtering enabled game which is why Im using this method. ObscureIllusion 352 — 7y
2
Not if changing the property with a local script. I just tried it on my second computer, the result is as expected - the change only replicated to the user who changed it locally. ScriptGuider 5640 — 7y
0
When FE is on, Local Scripts cause local effects. User#11440 120 — 7y
View all comments (3 more)
0
The current camera method makes more logical sense than using a hacked workaround. unmiss 337 — 7y
0
I've used both of these methods and the both work perfectly now. Thanks! ShadowsDev 62 — 7y
0
What? How is FilteringEnabled a "hacked workaround"? It's the complete opposite. ScriptGuider 5640 — 7y

Answer this question