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

How do I make something that only a certain player camera see's?

Asked by 7 years ago

I mean by like how would I make something that the following player only see's you've seen it in most popular games I was wondering for some basic explanation :)

0
It depends, would you want like the system they use in deathrun where the death can see through the part but the runners can't or is it something else? Please explain it more to me? MikhailGrapechev 5 — 7y

3 answers

Log in to vote
1
Answered by
P100D 590 Moderation Voter
7 years ago

Turn on FilteringEnabled, and then manipulate parts in a LocalScript. Changes made in a LocalScript don't replicate to the server on FilteringEnabled places, and therefore would only be shown to one player.

Read this wiki article for more info.

Ad
Log in to vote
0
Answered by 7 years ago

Some people call it "Local Parts" you just simply create a part by Instance.new and then set it's parent to player's current camera.

Something like that:

local Camera = game.Workspace.CurrentCamera
 local Part = Instance.new("Part")
  Part.Parent = Camera

Please read this article for more info

0
I am wondering who downvoted my answer and why XD personal_ly 151 — 7y
0
ye because its a good one Filipalla 504 — 7y
Log in to vote
-1
Answered by
AZDev 590 Moderation Voter
7 years ago

You can place parts in the camera but that is unreliable and parts can glitch. Your best option would be to use FilteringEnabled. When FE(FilteringEnabled) is on, any part created on the Client is local and only that client can see it. The same works when a part is created on the server but deleted on the client. If a part created on the server is deleted by a client, only that client will see that it has been deleted.

I hope this helped. You might find this link helpful Local Parts

0
Dude I already answered the question with the exact same method P100D 590 — 7y

Answer this question