local Players = game:GetService("Players") local player = Players.LocalPlayer local RunService = game:GetService("RunService") -- Constants local HEADLESS_MESH_ID = "rbxassetid://1095708" -- Tiny invisible headless mesh local KORBLOX_MESH_ID = "rbxassetid://101851696" -- Korblox right leg mesh local KORBLOX_COLOR = Color3.fromRGB(50, 50, 50) -- Dark Grey for Korblox color -- Function to apply headless to a player's head local function applyHeadless(head) if not head then return end head.Transparency = 1 head.CanCollide = false -- Remove any face decal local function removeFace() local face = head:FindFirstChild("face") if face then face:Destroy() end end removeFace() -- Add tiny invisible mesh for headless effect local mesh = Instance.new("SpecialMesh") mesh.MeshType = Enum.MeshType.FileMesh mesh.MeshId = HEADLESS_MESH_ID mesh.Scale = Vector3.new(0.001, 0.001, 0.001) mesh.Parent = head -- Ensure the head remains transparent head:GetPropertyChangedSignal("Transparency"):Connect(function() if head.Transparency ~= 1 then head.Transparency = 1 end end) -- Continuously remove any new face decal head.ChildAdded:Connect(function(child) if child.Name == "face" and child:IsA("Decal") then child:Destroy() end end) end -- Function to apply Korblox for the right leg (R6 or R15) local function applyKorbloxLeg(character) -- Handle R6 local rightLeg = character:FindFirstChild("Right Leg") or character:FindFirstChild("RightUpperLeg") if not rightLeg then warn("Right Leg/Upper Leg not found!") return end -- Remove any existing meshes from the leg for _, child in ipairs(rightLeg:GetChildren()) do if child:IsA("SpecialMesh") or child:IsA("CharacterMesh") then child:Destroy() end end -- Apply dark grey color for the Korblox leg rightLeg.Color = KORBLOX_COLOR rightLeg:GetPropertyChangedSignal("Color"):Connect(function() if rightLeg.Color ~= KORBLOX_COLOR then rightLeg.Color = KORBLOX_COLOR end end) -- Add Korblox mesh local korbloxMesh = Instance.new("SpecialMesh") korbloxMesh.MeshType = Enum.MeshType.FileMesh korbloxMesh.MeshId = KORBLOX_MESH_ID korbloxMesh.Scale = Vector3.new(1, 1, 1) korbloxMesh.Parent = rightLeg end -- Function to apply effects to a character local function applyCharacter(character) local head = character:FindFirstChild("Head") if head then applyHeadless(head) end -- Apply Korblox to R6 or R15 legs applyKorbloxLeg(character) end -- Apply effects to the local player's character local function applyToLocalPlayer() if player.Character then applyCharacter(player.Character) end end -- Apply effects to all players in the game local function applyToAllPlayers() for _, otherPlayer in ipairs(Players:GetPlayers()) do if otherPlayer.Character then applyCharacter(otherPlayer.Character) end -- Reapply when a new player spawns otherPlayer.CharacterAdded:Connect(function(character) applyCharacter(character) end) end end -- Connect to the local player's respawn event (CharacterAdded) player.CharacterAdded:Connect(function(character) applyCharacter(character) end) -- Apply immediately to the local player and to all players applyToLocalPlayer() applyToAllPlayers()