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

How to change a part's brick color for a client only?

Asked by 6 years ago

I know there was a way to do this....but i can't remember. It was using RunService.RenderStepped event. Can someone help me?

2 answers

Log in to vote
1
Answered by 6 years ago

You write the code in a LocalScript with filtering on.

0
nope. It wasn't like this arthurgps2 67 — 6y
1
his answer is right..renderstep is just used to make an incredibly fast loop and is irrelevant of the question you asked Vulkarin 581 — 6y
0
I just can't understand.... As i know, RenderStepped is a client event that fires every rendered frame. As an example, LocalTransparencyModifier property only changes the value after a frame is rendered, which means you need to use RenderStepped event arthurgps2 67 — 6y
0
Erm, all that thing does is multiply the current Transparency with the number you write there, nothing more. The only catch is that the change is local, so yeah, you can use it that way if your base transparency is set to 1. The reason why they placed it inside a RenderStepped loop in the wiki is because the character's parts reset after every frame, meaning that you have to set them back. nooneisback 81 — 6y
Ad
Log in to vote
0
Answered by 6 years ago

Put the brick under the "Camera" object, and it will replicated to only the specified client.

0
This is not necessary with FilteringEnabled WillieTehWierdo200 966 — 6y

Answer this question