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

Changing bricks for only one player?

Asked by 7 years ago

I am trying to make a script that highlights a brick that you hover over, but only for the player who has hovered over it. Right now I can only make it so that everyone on the server see's it aswell.

0
can you include your script. User#5423 17 — 7y

2 answers

Log in to vote
0
Answered by 7 years ago

Add part to Current Camera or use localscript if filtering enabled

Ad
Log in to vote
0
Answered by
D3LTA_Y 72
7 years ago

Try using Instance.new() to a Current Camera Workspace if it isn't filtering enabled:

local p = Instance.new("Part", workspace.CurrentCamera) -- Only you can see this part
p.Material = Enum.Material.Neon

Answer this question