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 everyone invisible except yourself?

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.

2 comments

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

0

Bruh I don't know how to do that.

1 answer

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!

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