Script
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local connection
local function makeLocalHeadless(character)
if connection then
connection:Disconnect()
connection = nil
end
local head = character:WaitForChild("Head", 5)
if not head then
return
end
local function hideHead()
head.LocalTransparencyModifier = 1
for _, child in ipairs(head:GetChildren()) do
if child:IsA("Decal") then
child.Transparency = 1
end
end
end
hideHead()
connection = RunService.RenderStepped:Connect(function()
if not character.Parent or not head.Parent then
connection:Disconnect()
connection = nil
return
end
hideHead()
end)
end
player.CharacterAdded:Connect(makeLocalHeadless)
if player.Character then
task.spawn(function()
makeLocalHeadless(player.Character)
end)
endFeatures
- makes your head invisible in every game