This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local rStorage = game:GetService("ReplicatedStorage") | |
local rEvents = rStorage:WaitForChild("RemoteEvents") | |
local plr = game.Players.LocalPlayer | |
rEvents.HidePlayers.OnClientEvent:Connect(function() | |
for i,v in pairs(game.Players:GetChildren()) do | |
if v.Name ~= plr.Name then | |
local char = workspace:WaitForChild(v.Name) | |
for i,part in pairs(char:GetDescendants()) do |