Hat reanimate MOST STABLE
Key RequiredUniversal

Hat reanimate MOST STABLE

Universal ScriptOldhacfardOldhacfard 1.3K views 75 executesUpdated Feb 7, 2026
2.5/ 5(2 votes)
1150% Positive
Lua Script•101 lines (3070 chars)
-- Settings
--by oldhacfard
local Player = game.Players.LocalPlayer
local RunService = game:GetService("RunService")
local Camera = workspace.CurrentCamera

-- Starts here hat controller if you want you can add more accessory
local HatConfigs = {
    ["MeshPartAccessory"] = CFrame.new(0, 0, 0), -- Gövde merkezi
    ["Accessory"]         = CFrame.new(0, 1.5, 0), -- Kafa (Gövdenin üstü)
    
    --  Right arm
    ["Accessory (RARM)"]  = CFrame.new(1.2, -0.2, 0) * CFrame.Angles(0, 0, math.rad(90)),
    
    -- left arm
    ["Accessory (LARM)"]  = CFrame.new(-1.2, -0.2, 0) * CFrame.Angles(0, 0, math.rad(-90))
}

local SavedHats = {}

local function ProtectHats()
    local char = Player.Character
    if not char then return end
    
    for _, v in pairs(char:GetChildren()) do
        if v:IsA("Accessory") then
            local handle = v:FindFirstChild("Handle")
            if handle then
                handle.Parent = workspace
                handle.CanCollide = false
                
                -- Fizik sabitleyici (Titremeyi önler)
                local bv = Instance.new("BodyVelocity", handle)
                bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
                bv.Velocity = Vector3.new(0, 0, 0)
                
                table.insert(SavedHats, {
                    Part = handle,
                    Name = v.Name
                })
            end
        end
    end
end

--  (Proxy)
local Proxy = Instance.new("Part", workspace)
Proxy.Name = "HatAnchor"
Proxy.Anchored = false
Proxy.CanCollide = false
Proxy.Transparency = 1
Proxy.Size = Vector3.new(1, 1, 1)

local bp = Instance.new("BodyPosition", Proxy)
bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bp.P = 20000

if Player.Character then
    bp.Position = Player.Character.HumanoidRootPart.Position
    ProtectHats()
end

-- Reanimate (uses permadeath)
task.spawn(function()
    while true do
        pcall(function()
            if Player.Character and Player.Character:FindFirstChild("Humanoid") then
                Player.Character.Humanoid.Health = 0
            end
        end)
        task.wait(0.05)
    end
end)

-- LOOp
RunService.Heartbeat:Connect(function()
    for _, hatData in pairs(SavedHats) do
        local handle = hatData.Part
        local config = HatConfigs[hatData.Name] or CFrame.new(0, 0, 0)
        
        if handle and handle.Parent then
            -- CFrame çarpımı hem pozisyonu hem de dikey açıyı uygular
            handle.CFrame = Proxy.CFrame * config
            handle.Velocity = Vector3.new(0, 30, 0) -- Netless
        end
    end
    Camera.CameraSubject = Proxy
end)

-- move (WASD)
RunService.RenderStepped:Connect(function()
    pcall(function()
        if Player.Character and Player.Character:FindFirstChild("Humanoid") then
            local moveDir = Player.Character.Humanoid.MoveDirection
            bp.Position = bp.Position + (moveDir * 0.6)
        end
    end)
    Camera.CameraType = Enum.CameraType.Custom
end)

print("Checkpoint bitti: Kollar dikey ve anatomik olarak ayarlandi.")

Features & Information

--

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts