Filtering Enabled makes this easy. Turn it on first
Then, if you're using a server script, use a RemoteEvent and fire the client. The client will then add the blur which makes it so only that player sees it
Like so (EXAMPLE)
local RemoteEvent = Instance.new("RemoteEvent",game.ReplicatedStorage)
RemoteEvent.Name = "AddBlur"
game.Players.PlayerAdded:connect(function(player)
RemoteEvent:FireClient()
end)
game.ReplicatedStorage:WaitForChild("AddBlur").OnClientEvent:connect(function()
local blur = Instance.new("BlurEffect",game.Lighting)
end)
If you're going to use a LocalScript however, you just need the line of code after the OnClientEvent event above in the LocalScript.
So that would be:
local blur = Instance.new("BlurEffect",game.Lighting)
If you have any questions, drop me a comment
2 comments
It still blurs every players screen. I only want it to blur the player who is running screen. Any ideas still???
Well, is filtering enabled on?