I made this script that makes me be able to put off my mask and put it back on by pressing M. However, players can only see me with invisible head but not with invisible mask. Its like accessory, I cant make it invisible for others.
I thought about cloning the mask and parenting it to as a new mask but I cant make it work. Any help please?
Local Script inside StarterCharacterScripts
local plr = game:GetService("Players").LocalPlayer local char = plr.Character local head = char:FindFirstChild("Head") local mask = char:WaitForChild("Chest").Mask --Chest is a morth model that has the mask local uis = game:GetService("UserInputService") maskIsOff = false uis.InputBegan:connect(function(key) if maskIsOff == false then if key.KeyCode == Enum.KeyCode.M then head.Transparency = 0 mask.Transparency = 1 maskIsOff = true end elseif maskIsOff == true then if key.KeyCode == Enum.KeyCode.M then head.Transparency = 1 mask.Transparency = 0 maskIsOff = false end end end)