local replicatedStorage = game:GetService("ReplicatedStorage") local runService = game:GetService("RunService") local players = game:GetService("Players") local workspace = game:GetService("Workspace") local rq = replicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent pcall(function() rq:InvokeServer(";invis") end) local player = players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() local humanoid = char:WaitForChild("Humanoid") if char:FindFirstChild("Animate") then char:FindFirstChild("Animate").Disabled = true end local bgmusic = Instance.new("Sound") bgmusic.Volume = 3.5 bgmusic.SoundId = "rbxassetid://877658690" bgmusic.Looped = true bgmusic.Parent = char:WaitForChild("Torso") bgmusic:Play() local tool for _, v in ipairs(player:GetDescendants()) do if v.Name == "SyncAPI" then tool = v.Parent break end end if not tool then for _, v in ipairs(replicatedStorage:GetDescendants()) do if v.Name == "SyncAPI" then tool = v.Parent break end end end if not tool then return end local remote = tool.SyncAPI.ServerEndpoint local function ohno(args) task.spawn(function() pcall(function() remote:InvokeServer(unpack(args)) end) end) end local function createPart(cf, parent) return remote:InvokeServer("CreatePart", "Normal", cf, parent) end local function resize(part, size, cf) ohno({"SyncResize", {{["Part"] = part, ["CFrame"] = cf, ["Size"] = size}}}) end local function colorPart(part, color) ohno({"SyncColor", {{["Part"] = part, ["Color"] = color, ["UnionColoring"] = false}}}) end local function setCollision(part, val) ohno({"SyncCollision", {{["Part"] = part, ["CanCollide"] = val}}}) end local function setAnchor(part, val) ohno({"SyncAnchor", {{["Part"] = part, ["Anchored"] = val}}}) end local function addMesh(part) ohno({"CreateMeshes", {{["Part"] = part}}}) end local function setMesh(part, meshid, scale) local args = {"SyncMesh", {{["Part"] = part}}} if meshid then args[2][1]["MeshId"] = "rbxassetid://"..meshid end if scale then args[2][1]["Scale"] = scale end ohno(args) end local function spawnDecal(part, side) ohno({"CreateTextures", {{["Part"] = part, ["Face"] = side, ["TextureType"] = "Decal"}}}) end local function addDecal(part, asset, side) ohno({"SyncTexture", {{["Part"] = part, ["Face"] = side, ["TextureType"] = "Decal", ["Texture"] = asset}}}) end local cf = CFrame.new() local larm = char["Left Arm"] local rarm = char["Right Arm"] local lleg = char["Left Leg"] local rleg = char["Right Leg"] local trs = char.Torso local hd = char.Head local root = char.HumanoidRootPart local nlarm = createPart(cf, char) local nrarm = createPart(cf, char) local nlleg = createPart(cf, char) local nrleg = createPart(cf, char) local ntrs = createPart(cf, char) local nhd = createPart(cf, char) local nroot = createPart(cf, char) local function setupPart(part, size, cframe, color, meshid, meshscale) resize(part, size, cframe) colorPart(part, color) setCollision(part, false) setAnchor(part, true) if meshid then addMesh(part) setMesh(part, meshid, meshscale) end end setupPart(nlarm, larm.Size, larm.CFrame, larm.Color, "127739625807358") setupPart(nrarm, rarm.Size, rarm.CFrame, rarm.Color, "127739625807358") setupPart(nlleg, lleg.Size, lleg.CFrame, lleg.Color, "127739625807358") setupPart(nrleg, rleg.Size, rleg.CFrame, rleg.Color, "127739625807358") setupPart(ntrs, trs.Size, trs.CFrame, trs.Color, "2027989253") setupPart(nhd, hd.Size, hd.CFrame, hd.Color) setupPart(nroot, root.Size, root.CFrame, root.Color) ohno({"SyncMaterial", {{Part = nroot, Transparency = 1}}}) addMesh(nhd) setMesh(nhd, nil, Vector3.new(1.25, 1.25, 1.25)) if hd:FindFirstChildOfClass("SpecialMesh") then local mesh = hd:FindFirstChildOfClass("SpecialMesh") if mesh.MeshType == Enum.MeshType.FileMesh then addMesh(nhd) setMesh(nhd, mesh.MeshId:match("%d+"), mesh.Scale) end end spawnDecal(nhd, Enum.NormalId.Front) if hd:FindFirstChildOfClass("Decal") then local face = hd:FindFirstChildOfClass("Decal") addDecal(nhd, face.Texture, Enum.NormalId.Front) end local accs = {} for _, v in ipairs(char:GetDescendants()) do if v:IsA("Accessory") then local handle = v:FindFirstChild("Handle") if handle and (handle:IsA("MeshPart") or handle:FindFirstChildOfClass("SpecialMesh")) then local acc = createPart(cf, char) local mesh = handle:FindFirstChildOfClass("SpecialMesh") addMesh(acc) if handle:IsA("MeshPart") then setMesh(acc, handle.MeshId:match("%d+"), handle.Size) ohno({"SyncMesh", {{Part = acc, TextureId = handle.TextureID}}}) elseif mesh then setMesh(acc, mesh.MeshId:match("%d+"), mesh.Scale) ohno({"SyncMesh", {{Part = acc, TextureId = mesh.TextureId}}}) end setCollision(acc, false) setAnchor(acc, true) for _, obj in ipairs(handle:GetDescendants()) do if obj:IsA("Decal") or obj:IsA("Texture") then spawnDecal(acc, obj.Face) addDecal(acc, obj.Texture, obj.Face) end end table.insert(accs, {part = acc, acc = v}) end end end local gun = createPart(cf, char) resize(gun, Vector3.new(1, 1, 2), cf) colorPart(gun, Color3.new(0, 0, 0)) setCollision(gun, false) setAnchor(gun, true) addMesh(gun) setMesh(gun, "4372594", Vector3.new(1.2, 1.2, 1.2)) local moveBuffer = {} local moveCount = 0 local function addToBuffer(part, cfVal) moveCount = moveCount + 1 moveBuffer[moveCount] = {Part = part, CFrame = cfVal} end local function flushBuffer() if moveCount > 0 then ohno({"SyncMove", moveBuffer}) moveCount = 0 table.clear(moveBuffer) end end runService.Heartbeat:Connect(function() if not char or not char:FindFirstChild("Torso") then flushBuffer() return end addToBuffer(nroot, root.CFrame) addToBuffer(nhd, hd.CFrame) addToBuffer(ntrs, trs.CFrame) addToBuffer(nlarm, larm.CFrame) addToBuffer(nrarm, rarm.CFrame) addToBuffer(nlleg, lleg.CFrame) addToBuffer(nrleg, rleg.CFrame) if rarm then addToBuffer(gun, rarm.CFrame * CFrame.new(0, -1, -0.25) * CFrame.Angles(math.rad(270), 0, 0)) end for _, data in pairs(accs) do if data.acc and data.acc:FindFirstChild("Handle") then addToBuffer(data.part, data.acc.Handle.CFrame) end end flushBuffer() end) local mouse = player:GetMouse() local input = game:GetService("UserInputService") local realTorso = char.Torso local realRoot = char.HumanoidRootPart local realRs = realTorso["Right Shoulder"] local realLs = realTorso["Left Shoulder"] local realRh = realTorso["Right Hip"] local realLh = realTorso["Left Hip"] local realNeck = realTorso.Neck local realRj = realRoot["RootJoint"] local attacking = false local cananim = true local currentanim = "Idle" local mode = "Normal" local function swait(t) if t then for _ = 1, t do runService.Stepped:Wait() end else runService.Stepped:Wait() end end humanoid.Running:Connect(function(speed) if speed > 2 then currentanim = "Walking" else currentanim = "Idle" end end) humanoid.Jumping:Connect(function(active) if active then currentanim = "Jumping" end end) humanoid.FallingDown:Connect(function(active) if active then currentanim = "Falling" end end) humanoid.FreeFalling:Connect(function(active) if active and realRoot.Velocity.Y < 0 then currentanim = "Falling" end end) for _, v in pairs(humanoid:GetPlayingAnimationTracks()) do v:Stop() end input.InputBegan:Connect(function(inp) if input:GetFocusedTextBox() then return end if inp.KeyCode == Enum.KeyCode.R then if not attacking then if mode == "Normal" then mode = "Heal" colorPart(gun, Color3.new(0, 1, 0)) else colorPart(gun, Color3.new(0, 0, 0)) mode = "Normal" end end elseif inp.KeyCode == Enum.KeyCode.Q then if not attacking then mode = "Disable" colorPart(gun, Color3.new(1, 0, 0)) end elseif inp.KeyCode == Enum.KeyCode.P then if bgmusic.Playing then bgmusic:Stop() else bgmusic:Play() end end end) mouse.Button1Down:Connect(function() if not attacking then cananim = false attacking = true for _ = 0, 0.6, 0.1 do realRs.C0 = realRs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6) realRs.C1 = realRs.C1:Lerp(CFrame.new(-0.235909924, 0.846874475, 0, 0.399310559, 0.00480417395, 0.916803062, -0.916736782, -0.0110294167, 0.399339437, 0.0120302998, -0.99992764, 5.25861077e-10), 0.6) realLs.C0 = realLs.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6) realLs.C1 = realLs.C1:Lerp(CFrame.new(0.232030958, 1.28329468, 0, 0.758646905, 0.0105680302, -0.651416421, 0.65135318, 0.00907341763, 0.758720517, 0.0139287533, -0.999902964, -6.08845141e-10), 0.6) realRh.C0 = realRh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6) realRh.C1 = realRh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), 0.6) realLh.C0 = realLh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6) realLh.C1 = realLh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), 0.6) realNeck.C0 = realNeck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6) realNeck.C1 = realNeck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6) realRj.C0 = realRj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6) realRj.C1 = realRj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6) swait() end local start = nrarm.Position + Vector3.new(0.5, 0, -0.5) local endp = mouse.Hit.p local ray = Ray.new(start, (endp - start).unit * 999) local _, position = workspace:FindPartOnRayWithIgnoreList(ray, {char, gun}) local mag = (start - position).magnitude + 2 local p = createPart(CFrame.new(), workspace) resize(p, Vector3.new(0.1, 0.1, mag), CFrame.new(start, position) * CFrame.new(0, 0, -mag / 2)) colorPart(p, Color3.new(1, 1, 1)) setCollision(p, false) setAnchor(p, true) ohno({"SyncMaterial", {{Part = p, Material = Enum.Material.Neon}}}) task.spawn(function() for i = 1, 10 do ohno({"SyncMaterial", {{Part = p, Transparency = i / 10}}}) swait() end ohno({"Remove", {p}}) end) local dmg = 750 if mode == "Heal" then dmg = -1000 end if mode == "Disable" then dmg = 0 end local con con = p.Touched:Connect(function(hitObj) local humTarget = hitObj.Parent:FindFirstChildOfClass("Humanoid") if humTarget and humTarget.Parent ~= char and not humTarget.Parent:FindFirstChild("kk_urcool") then humTarget.Health = humTarget.Health - dmg pcall(function() con:Disconnect() if mode == "Disable" then for _, v in pairs(hitObj.Parent:GetChildren()) do if v:IsA("Script") and v.Name ~= "Animate" then v:Destroy() end if v:IsA("Model") then v:BreakJoints() end end end for _, v in pairs(hitObj.Parent:GetDescendants()) do if v:IsA("BasePart") and mode == "Normal" then local bv = Instance.new("BodyVelocity") bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) bv.Velocity = CFrame.new(start, position).lookVector * 100 bv.Parent = v game:GetService("Debris"):AddItem(bv, 0.1) task.spawn(function() for j = 1, 20 do v.Transparency = j / 20 swait() end v:Destroy() end) end end end) end end) for _ = 0, 0.3, 0.1 do realRs.C0 = realRs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8) realRs.C1 = realRs.C1:Lerp(CFrame.new(-0.108213484, 0.142491132, -0.0458124876, 0.399310559, 0.00480417395, 0.916803062, -0.907117367, -0.142995536, 0.395841271, 0.133000448, -0.989711702, -0.0527416691), 0.8) realLs.C0 = realLs.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8) realLs.C1 = realLs.C1:Lerp(CFrame.new(-0.214841455, 0.866598129, -0.112976491, 0.758646905, 0.0105680302, -0.651416421, 0.64655149, -0.135239884, 0.750787199, -0.0801631361, -0.990756512, -0.109432101), 0.8) realRh.C0 = realRh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8) realRh.C1 = realRh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, -0.104150683, 0.994561553, -4.55257076e-09, -0.994561553, -0.104150683, -4.34736656e-08), 0.8) realLh.C0 = realLh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8) realLh.C1 = realLh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, -0.0883838907, 0.996086478, 3.8633825e-09, 0.996086478, 0.0883838907, -4.35403216e-08), 0.8) realNeck.C0 = realNeck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8) realNeck.C1 = realNeck.C1:Lerp(CFrame.new(0, -0.49999997, 0, -1, 0, 0, 0, 0.0492738597, 0.998785317, 0, 0.998785317, -0.0492738597), 0.8) realRj.C0 = realRj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8) realRj.C1 = realRj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.0276213959, 0.999618471, 0, 0.999618471, -0.0276213959), 0.8) swait() end cananim = true attacking = false end end) task.spawn(function() while true do swait() if currentanim == "Jumping" and cananim then for _ = 0, 1.2, 0.1 do if currentanim ~= "Jumping" or not cananim then break end realRh.C0 = realRh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4) realRh.C1 = realRh.C1:Lerp(CFrame.new(0.49999997, 0.99999994, -4.47034836e-08, -0.0421661586, 0.0827250704, 0.995679915, 0.25110203, 0.965456486, -0.0695800334, -0.967041731, 0.247083336, -0.0614820197), 0.4) realLh.C0 = realLh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4) realLh.C1 = realLh.C1:Lerp(CFrame.new(-0.49999997, 1, 2.98023224e-08, 0.0194152314, 0, -0.99981153, 0.178683311, 0.983900607, 0.00346983178, 0.983715117, -0.178716987, 0.0191026554), 0.4) realNeck.C0 = realNeck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4) realNeck.C1 = realNeck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4) realRj.C0 = realRj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4) realRj.C1 = realRj.C1:Lerp(CFrame.new(0, 0.128909558, -0.0269506648, -0.996639967, -0.0819067881, 0, -0.00100739487, 0.0122579783, 0.999924421, -0.0819005966, 0.996564567, -0.0122992992), 0.4) swait() end elseif currentanim == "Falling" and cananim then for _ = 0, 1.2, 0.1 do if currentanim ~= "Falling" or not cananim then break end realRh.C0 = realRh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4) realRh.C1 = realRh.C1:Lerp(CFrame.new(0.49999997, 1, -1.49011612e-08, -0.0421661586, 0.0827250704, 0.995679915, -0.0600035824, 0.994557679, -0.085172914, -0.997307122, -0.0633357614, -0.0369728766), 0.4) realLh.C0 = realLh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4) realLh.C1 = realLh.C1:Lerp(CFrame.new(-0.499999881, 1, 3.7252903e-08, 0.0207479522, -0.155918092, -0.987552047, -0.00691960612, 0.987718761, -0.156089753, 0.999760866, 0.0100720376, 0.0194142479), 0.4) realNeck.C0 = realNeck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4) realNeck.C1 = realNeck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4) realRj.C0 = realRj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4) realRj.C1 = realRj.C1:Lerp(CFrame.new(0, 0.313415587, -0.0163925812, -0.996639967, -0.0819067881, 0, 0.00564728118, -0.0687159598, 0.997620344, -0.0817118809, 0.994268239, 0.068947643), 0.4) swait() end elseif currentanim == "Walking" and cananim then for i = 0, 0.6, 0.1 do if currentanim ~= "Walking" or not cananim then break end realRh.C0 = realRh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6) realRh.C1 = realRh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, -0.568820775, 0.817300439, -0.0919936299, -0.82137984, -0.570242465, 0.0125933159), 0.6) realLh.C0 = realLh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6) realLh.C1 = realLh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, -0.845399499, 0.53388226, -0.0164167192, 0.533781588, 0.845558882, 0.0103654461), 0.6) realNeck.C0 = realNeck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6) realNeck.C1 = realNeck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6) realRj.C0 = realRj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6) realRj.C1 = realRj.C1:Lerp(CFrame.new(0, 0.239933819, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), 0.6) swait() end local rhlastc0 = realRh.C0 local rhlastc1 = realRh.C1 local lhlastc0 = realLh.C0 local lhlastc1 = realLh.C1 local necklastc0 = realNeck.C0 local necklastc1 = realNeck.C1 local rjlastc0 = realRj.C0 local rjlastc1 = realRj.C1 local max = 0.6 for i = 0, max, 0.1 do if currentanim ~= "Walking" or not cananim then break end realRh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max) realRh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max) realLh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max) realLh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max) realNeck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max) realNeck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max) realRj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max) realRj.C1 = rjlastc1:Lerp(CFrame.new(0, 0.169720784, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), i/max) swait() end for i = 0, 0.6, 0.1 do if currentanim ~= "Walking" or not cananim then break end realRh.C0 = realRh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6) realRh.C1 = realRh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, 0.868188143, 0.496215105, -0.00446053827, -0.494440407, 0.864249468, -0.0927444026), 0.6) realLh.C0 = realLh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6) realLh.C1 = realLh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0.595236421, 0.803467572, 0.0115588298, 0.803316057, -0.595348656, 0.015599506), 0.6) realNeck.C0 = realNeck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6) realNeck.C1 = realNeck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6) realRj.C0 = realRj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6) realRj.C1 = realRj.C1:Lerp(CFrame.new(0, 0.342528641, -9.31322575e-10, -0.996639967, -0.0819067955, -6.22866592e-10, 0.00819849595, -0.0997591242, 0.994977832, -0.0814954415, 0.991634727, 0.100095443), 0.6) swait() end rhlastc0 = realRh.C0 rhlastc1 = realRh.C1 lhlastc0 = realLh.C0 lhlastc1 = realLh.C1 necklastc0 = realNeck.C0 necklastc1 = realNeck.C1 rjlastc0 = realRj.C0 rjlastc1 = realRj.C1 max = 0.6 for i = 0, max, 0.1 do if currentanim ~= "Walking" or not cananim then break end realRh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max) realRh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max) realLh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max) realLh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max) realNeck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max) realNeck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max) realRj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max) realRj.C1 = rjlastc1:Lerp(CFrame.new(5.82076609e-11, 0.2270886, 2.32830644e-10, -0.996639967, -0.0819067881, 4.13409307e-10, 0.00819849502, -0.0997591093, 0.994977832, -0.081495434, 0.991634727, 0.100095429), i/max) swait() end elseif currentanim == "Idle" and cananim then for i = 0, 5, 0.1 do if currentanim ~= "Idle" or not cananim then break end realRs.C0 = realRs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05) realRs.C1 = realRs.C1:Lerp(CFrame.new(0.0997244716, -0.105339587, -1.12973166, -0.155881107, 0.00388455181, 0.987768173, -0.0249122381, -0.999689579, -1.08894849e-09, 0.987461567, -0.0246075168, 0.155929506), 0.05) realLs.C0 = realLs.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05) realLs.C1 = realLs.C1:Lerp(CFrame.new(0.998242438, 0.966719627, -0.251513988, 0.948773444, -0.0191214401, -0.315378129, 0.315314144, -0.00635479437, 0.948966026, -0.0201497618, -0.999796987, 8.80774065e-10), 0.05) realRh.C0 = realRh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05) realRh.C1 = realRh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05) realLh.C0 = realLh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05) realLh.C1 = realLh.C1:Lerp(CFrame.new(-0.5, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05) realNeck.C0 = realNeck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05) realNeck.C1 = realNeck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05) realRj.C0 = realRj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05) realRj.C1 = realRj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, 0, 0, 1, -0.0819067881, 0.996639967, 0), 0.05) swait() end for i = 0, 5, 0.1 do if currentanim ~= "Idle" or not cananim then break end realRs.C0 = realRs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05) realRs.C1 = realRs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -1.07218063, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.05) realLs.C0 = realLs.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05) realLs.C1 = realLs.C1:Lerp(CFrame.new(0.994734883, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.05) realRh.C0 = realRh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05) realRh.C1 = realRh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05) realLh.C0 = realLh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05) realLh.C1 = realLh.C1:Lerp(CFrame.new(-0.5, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05) realNeck.C0 = realNeck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05) realNeck.C1 = realNeck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05) realRj.C0 = realRj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05) realRj.C1 = realRj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, -0.00139390712, 0.0169610307, 0.999855161, -0.0818949267, 0.996495605, -0.017018212), 0.05) swait() end end end end)