game.ReplicatedStorage.Folder.inuisibilitas.OnServerEvent:Connect(function(player, Action) local CharToInvis = player.Character:GetChildren()

if Action == "First" then
	for i,v in pairs(CharToInvis) do
		if v:IsA("Accessory") then
			v:Destroy()
		end
		if v:IsA("Humanoid") then
			return
		end
		v.Transparency = 1
	end
end

end)

2 comments

0

well you just posted the answer yourself...

0

it's not working for me in roblox studio