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

How do I use blur effect with camera?

Asked by 6 years ago

As far as I know using blur effect inside camera and trying to activate it via script wont work. Script- Game staff: Lightning (blur). LocalScript- Player staff: Camera. If I try to activate blur inside camera with script it will work only in studio but not in online game. LocalScript wont work in both. Is there a possible way to turn blur effect only for ONE player via a script? Is so how could I do it? I tried to use lightning but it would just show it for everyone.

0
the only way you can get only one player to see the effect is to use a localscript located in the client. which is anywhere inside of game.Players.LocalPlayer RubenKan 3615 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

You can use it in lighting.

--RemoteEvent LocalScript 

RemoteEvent.OnClientEvent:Connect(function()
    game:GetService("Lighting").Blur.Enabled = true
end)
-- Server

RemoteEvent:FireClient(player) -- Get the player
0
/\ OrcaTheFish 95 — 6y
Ad

Answer this question