Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Enable a ColourCorrection for only a certain player?

I wan to enable it for a player who stands on a brick. any way to do this?

2 comments

0

There is a way to do this.

0

you can use the .Touched function on a brick and it can clone the ColorCorrection from whereever it was, into the player's camera.

1 answer

✓ Accepted answer

Honestly, I'm not entirely sure but we do know that BlurEffect, when used by the client, is local meaning that only a player can see it.

Then, that means we have to let the Player's Client create this effect. That means a remote event.

First, insert a RemoteEvent into ReplicatedStorage. Don't name it anything.

So first you have a part, and a script inside the part. First, let's use .Touched event

Now in the script:

script.Parent.Touched:Connect(function(h)
	if game.Players:GetPlayerFromCharacter(h) then
		game:GetService('ReplicatedStorage').RemoteEvent:FireClient(game.Players:GetPlayerFromCharacter(h))
	end
end)

Then, place a LocalScript inside of StarterPlayerScripts or StarterCharacterScripts

game:GetService('ReplicatedStorage').RemoteEvent.OnClientEvent:Connect(function()
	-- Clone or Create your blur
end)

This is your basic set up.

Hopefully, this helped.

Best of luck developer!

This discussion is preserved as it was. New answers, comments, and votes are closed.