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

How can I hide other players characters in a game, but still show mine?

Asked by 7 years ago

Basically I need to hide all the other players in game, but still be able to see mine. When you go in game, even with multiple people, you should only see yourself and no one else.

Is there a way I can accomplish this? If so, how would I go about doing it?

2
You can use, http://wiki.roblox.com/index.php?title=API:Class/BasePart/LocalTransparencyModifier or use FE as local changes would not replicate. User#5423 17 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago
Edited 7 years ago

Hey ViciousViper2,

I'm gonna say this from the get-go that all of the credit for what I am about to tell you belongs to kingdom5 for that comment under your question. I just want to post the answer so you can be told a solution, given an example and so that this question isn't left un-answered. I don't know why he didn't bother giving you the answer himself but, I'll give you the answer to your question. So, as you can probably tell from his comment, he mentions LocalTransparencyModifier, which is the root of everything I've done to make the other players invisible. I just did some basic scripting with the idea of the LocalTransparencyModifier implemented into it. If you click any of the LocalTransparencyModifier text in this question, it will lead you to the wiki page and below is a personal example with a bit of explanation under it.

local part = workspace:FindFirstChild("Baseplate")

part.LocalTransparencyModifier = 0.5

Now, the part has become 0.5 times more transparent and only for you. This transparency is done locally as you can tell from the name and it means that it's only happened like that on your screen. To others, it just looks like it should. Anyways, to wrap this up, I made a game that has this technique implemented in it. You have to press 'Q' to make the other players Transparent but, you can implement the methods I used, into your function. Here is the game that you can check out. You can borrow the game if you want, it's un-copylocked.

Well, I hope I helped at least a little. Have a great day/night.

~~ KingLoneCat

Ad

Answer this question