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

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

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 :)

1 comment

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?

3 answers

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.

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

2 comments

0

I am wondering who downvoted my answer and why XD

0

ye because its a good one

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

1 comment

0

Dude I already answered the question with the exact same method

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