Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Loadstring: loadstring(game:HttpGet("https://pastebin.com/raw/aaBBynAS"))()
- local inf = math.huge
- local Client = game:GetService("Players").LocalPlayer
- local Character = Client.Character or Client.CharacterAdded:Wait()
- local Humanoid = Character:WaitForChild("Humanoid")
- local Animator = Humanoid:WaitForChild("Animator")
- local AnimateScript = Character:WaitForChild("Animate")
- local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
- Humanoid:UnequipTools()
- AnimateScript.Enabled = false
- Character.Archivable = true
- for _, animationTrack in ipairs(Animator:GetPlayingAnimationTracks()) do
- animationTrack:Stop(0)
- animationTrack:Destroy()
- end
- local ClonedCharacter = Character:Clone()
- local ClonedHumanoid = ClonedCharacter.Humanoid
- local ClonedAnimator = ClonedHumanoid.Animator
- for _, state in ipairs(Enum.HumanoidStateType:GetEnumItems()) do
- if state ~= Enum.HumanoidStateType.None and state ~= Enum.HumanoidStateType.Dead then
- Humanoid:SetStateEnabled(state, false)
- end
- end
- local OriginAttachment = Instance.new("Attachment", HumanoidRootPart)
- local TargetAttachment = Instance.new("Attachment", ClonedCharacter.HumanoidRootPart)
- TargetAttachment.CFrame = CFrame.new(0, -0.901, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- local AlignPosition = Instance.new("AlignPosition", ClonedCharacter)
- AlignPosition.Attachment0 = OriginAttachment
- AlignPosition.Attachment1 = TargetAttachment
- AlignPosition.MaxForce = inf
- AlignPosition.Responsiveness = inf
- local AlignOrientation = Instance.new("AlignOrientation", ClonedCharacter)
- AlignOrientation.MaxTorque = inf
- AlignOrientation.Responsiveness = inf
- AlignOrientation.Attachment0 = OriginAttachment
- AlignOrientation.Attachment1 = TargetAttachment
- for _, descendant in ipairs(ClonedCharacter:GetDescendants()) do
- pcall(function()
- descendant.Transparency = 1
- end)
- end
- local Connections = {}
- local AnimateThread
- local function RegisterEventListener(event, callback, once)
- local connection = event[if once then "Once" else "Connect"](event, callback)
- table.insert(Connections, connection)
- return connection
- end
- RegisterEventListener(Humanoid.Died, function()
- pcall(task.cancel, AnimateThread)
- for _, connection in ipairs(Connections) do
- connection:Disconnect()
- end
- end)
- local function SynchronizeProperty(instanceA, instanceB, propertyName)
- RegisterEventListener(instanceA:GetPropertyChangedSignal(propertyName), function()
- instanceB[propertyName] = instanceA[propertyName]
- end)
- RegisterEventListener(instanceB:GetPropertyChangedSignal(propertyName), function()
- instanceA[propertyName] = instanceB[propertyName]
- end)
- end
- SynchronizeProperty(Humanoid, ClonedHumanoid, "Health")
- SynchronizeProperty(Humanoid, ClonedHumanoid, "MaxHealth")
- SynchronizeProperty(Humanoid, ClonedHumanoid, "WalkSpeed")
- SynchronizeProperty(Humanoid, ClonedHumanoid, "JumpPower")
- do
- local function enableNoclip(instance)
- for _, child in ipairs(Character:GetChildren()) do
- if child:IsA("BasePart") then
- child.CanCollide = false
- end
- end
- end
- RegisterEventListener(game:GetService("RunService").PreRender, enableNoclip)
- enableNoclip()
- end
- ClonedCharacter.Parent = workspace
- Character.Parent = ClonedCharacter
- Client.Character = ClonedCharacter
- local currentCamera = workspace.CurrentCamera
- if currentCamera then
- currentCamera.CameraSubject = ClonedHumanoid
- end
- AnimateThread = task.spawn(function()
- local animateScriptSource = game:HttpGet(`https://raw.githubusercontent.com/MaximumADHD/Roblox-Client-Tracker/refs/heads/roblox/avatar/scripts/{if Humanoid.RigType == Enum.HumanoidRigType.R6 then "humanoidAnimatePlayEmote" else "humanoidAnimateR15Moods"}/init.client.lua`)
- animateScriptSource = animateScriptSource:gsub("([%w_%.]+):LoadAnimation%((.-)%)", "LoadAnimation(%1, %2)")
- animateScriptSource = animateScriptSource:gsub("([%w_%.]+):Connect%((.-)%)", "RegisterEventListener(%1, %2)")
- animateScriptSource = animateScriptSource:gsub("([%w_%.]+):Once%((.-)%)", "RegisterEventListener(%1, %2, true)")
- local loadedFunc = loadstring(animateScriptSource)
- local loadedFuncEnv = getfenv(loadedFunc)
- loadedFuncEnv.script = ClonedCharacter.Animate
- loadedFuncEnv.RegisterEventListener = RegisterEventListener
- loadedFuncEnv.LoadAnimation = function(instance, animation)
- if instance == ClonedHumanoid then
- instance = Humanoid
- elseif instance == ClonedAnimator then
- instance = Animator
- end
- return instance:LoadAnimation(animation)
- end
- loadedFunc()
- end)
- Creator By Cat_Wenda2nds And Rammne0003
Advertisement
Add Comment
Please, Sign In to add comment