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

How do I make everyone invisible except yourself? [closed]

Asked by
J4k3y101 -28
3 years ago

An example is Player 1 can only see themselves but can't see any other player but with Player 2 they can only see themselves and can't see any other player.

0
you can do this with a local script and pairs loop; local script will make it so that the client will only see changes done to them and not to others, and pairs loop to go through all players in a server to make them invisible sean_thecoolman 189 — 3y
0
Bruh I don't know how to do that. J4k3y101 -28 — 3y

Closed as Not Constructive by JesseSong

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 3 years ago

Hey there J4k3y101!

Please remember, this is a scripting helpers site, not a scripting request site!

Try give it a go your self first, and if an error comes up that you don't know how to solve; create a new post so the community can assist you!

Here's some helpful links:

LocalScript (https://developer.roblox.com/en-us/api-reference/class/LocalScript)

Players Service (https://developer.roblox.com/en-us/api-reference/class/Players)

Pairs and iPairs (https://education.roblox.com/en-us/resources/pairs-and-ipairs-intro)

If I forget to mention any other services, please tell me in the comments!

Ad