Hello, I am working on an admin system and wanted to add a command that allows moderators to go completely invisible. I wanted to partially achieve this by locally destroying the moderator’s Player instance on every player’s client. However, the problem is that I am not able to revert this whatsoever. You cannot reparent or Instance.new() players, nor does attempting to resync from server (by changing a property of the player on the server side) work. Any ideas how I could resync players from the server after destroying them locally?
is this what you’re looking for?
Yes! Absolutely splendid, exactly what I needed. Thank you!!!
Hi! Before I suggest anything, do you have to destroy the player’s character, or are you simply trying to achieve invisibility? If yes, I would (not destroying, but it’s “removing” the model) recommend either storing the character somewhere like ReplicatedStorage, or perhaps moving and anchoring the invisible player’s position somewhere far away (perhaps under the map) on each player’s client. However, if you do not need to destroy the character, you can try this script:
for i,v in pairs(Character:GetDescendants()) do -- loop through everything in the character
if v:IsA("BasePart") or v:IsA("Decal") then -- if it is a part or decal
v.Transparency = 1 -- make it invisible
end
end
Oops - I was a bit late…
Thank you for the idea! The goal was actually destroying the Player instance, not the Player’s character. I was trying to also remove the player from the Roblox leaderboard, ESC menu, etc.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.