Is it possible to make your Character go invisible on the Server, but still visible on the Client?
Just make that in a local script, each player is going invisible expect you. You dont need to put it invisible on the server.
I’m pretty sure you can using remote events. Turn the player invisible on serverside and call the local script to make them revisible client side.
Make the Character invisible on the Server and then Change it to visible on the Client.
This will give you a rundown on Server Vs Client:
https://scriptinghelpers.org/questions/20738/explanation-on-client-side-vs-server-side#:~:text=Application%20in%20ROBLOX&text=ROBLOX%20makes%20a%20distinction%20between,any%20other%20piece%20of%20code.
If you make them invisible on the server everyone will see it happen. If you was to change it on the client, only that player would see it.
So using this, you make the player invisible in the server script, and then make them visible again on the client. This means to everyone else you are invisible.
I’m aware. That is going to be the main goal for a project I am working on.
Once you understand the client vs server. You will know what you need to do.
I wouldn’t dabble in remote events or anything like that until you have that basic understanding
-
As @Scefrom suggested, locally render everyone except yourself invisible, however this is easy to be taken advantage of…
-
Render everyone invisible on the server and then locally render yourself as @XDvvvDX suggested, this while safer could lead to clients desyncing. Meaning this approach is more prone to performance hits.
Weigh the pros and cons on each.
This is pretty much what I ment, but on the server I would be completely invisible.
just add a listener on the client so that when your characters transparency changes it will make them visible.
You can set the Transparency
of a Part to 1 on the server, and use the LocalTransparencyModifier
property on the client to set Parts visible only on the client.
Everything seems to work for the most part. Only thing I am unhappy about is the face
decal and the Hair/Hats. Other than that, heres the final result. https://gyazo.com/1e219b7e0ab7f6be2293507970af0467