Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait() until game:IsLoaded() and game.CoreGui
- spawn(function()
- while true do
- settings().Physics.AllowSleep = false
- game.Players.LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
- setsimulationradius(math.pow(math.huge,math.huge)*math.huge)
- game:GetService("RunService").Stepped:wait()
- end
- end)
- for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
- if v:IsA("BasePart") and v.Name ~="Head" then
- game:GetService("RunService").Heartbeat:connect(function()
- v.Velocity = Vector3.new(45,0,0)
- end)
- end
- end
- wait(0.1)
- local function nocloloop()
- if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- for _, child in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if child:IsA("BasePart") and child.CanCollide == true then
- child.CanCollide = false
- end
- end
- end
- end
- Noclipping = game:GetService('RunService').Stepped:connect(nocloloop)
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- if Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Character.RightUpperArm["RightShoulder"]:Destroy()
- Character.LeftUpperArm["LeftShoulder"]:Destroy()
- Character.LeftUpperLeg["LeftHip"]:Destroy()
- Character.RightUpperLeg["RightHip"]:Destroy()
- else
- Character.Torso["Right Shoulder"]:Destroy()
- Character.Torso["Left Shoulder"]:Destroy()
- Character.Torso["Right Hip"]:Destroy()
- Character.Torso["Left Hip"]:Destroy()
- end
- local Leftarm = Character:FindFirstChild("Left Arm") or Character:FindFirstChild("LeftUpperArm")
- local Rightarm = Character:FindFirstChild("Right Arm") or Character:FindFirstChild("RightUpperArm")
- local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
- local Leftleg = Character:FindFirstChild("Left Leg") or Character:FindFirstChild("LeftUpperLeg")
- local Rightleg = Character:FindFirstChild("Right Leg") or Character:FindFirstChild("RightUpperLeg")
- local rig = game:GetObjects("rbxassetid://5508993607")[1]
- rig.Parent = Character
- rig:MoveTo(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
- rig.Humanoid:Move(game.Players.LocalPlayer.Character.Humanoid.MoveDirection, false)
- rig.Torso.Anchored = false
- if Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- alignPosition = Instance.new("AlignPosition",Leftarm)
- alignPosition.RigidityEnabled = false
- alignPosition.ApplyAtCenterOfMass = false
- alignPosition.MaxForce = 9e9
- alignPosition.MaxVelocity = 9e99
- alignPosition.ReactionForceEnabled = false
- alignPosition.Responsiveness = 9e99
- --alignPosition.Parent = Leftarm
- alignOr = Instance.new("AlignOrientation",Leftarm)
- alignOr.MaxTorque = 9e99
- alignOr.MaxAngularVelocity = 9e99
- alignOr.PrimaryAxisOnly = false
- alignOr.ReactionTorqueEnabled = false
- alignOr.Responsiveness = 200
- alignOr.RigidityEnabled = false
- --alignOr.Parent = Leftarm
- --Rightarm
- alignPosition = Instance.new("AlignPosition",Rightarm)
- alignPosition.RigidityEnabled = false
- alignPosition.ApplyAtCenterOfMass = false
- alignPosition.MaxForce = 9e9
- alignPosition.MaxVelocity = 9e99
- alignPosition.ReactionForceEnabled = false
- alignPosition.Responsiveness = 9e99
- --alignPosition.Parent = Rightarm
- alignOr = Instance.new("AlignOrientation",Rightarm)
- alignOr.MaxTorque = 9e99
- alignOr.MaxAngularVelocity = 9e99
- alignOr.PrimaryAxisOnly = false
- alignOr.ReactionTorqueEnabled = false
- alignOr.Responsiveness = 200
- alignOr.RigidityEnabled = false
- --alignOr.Parent = Rightarm
- --Torso
- alignPosition = Instance.new("AlignPosition",Torso)
- alignPosition.RigidityEnabled = false
- alignPosition.ApplyAtCenterOfMass = false
- alignPosition.MaxForce = 9e9
- alignPosition.MaxVelocity = 9e99
- alignPosition.ReactionForceEnabled = false
- alignPosition.Responsiveness = 9e99
- --alignPosition.Parent = Torso
- alignOr = Instance.new("AlignOrientation",Torso)
- alignOr.MaxTorque = 9e99
- alignOr.MaxAngularVelocity = 9e99
- alignOr.PrimaryAxisOnly = false
- alignOr.ReactionTorqueEnabled = false
- alignOr.Responsiveness = 200
- alignOr.RigidityEnabled = false
- --alignOr.Parent = Torso
- --LeftLeg
- alignPosition = Instance.new("AlignPosition",Leftleg)
- alignPosition.RigidityEnabled = false
- alignPosition.ApplyAtCenterOfMass = false
- alignPosition.MaxForce = 9e9
- alignPosition.MaxVelocity = 9e99
- alignPosition.ReactionForceEnabled = false
- alignPosition.Responsiveness = 9e99
- alignPosition.Parent = Leftleg
- alignOr = Instance.new("AlignOrientation",Leftleg)
- alignOr.MaxTorque = 9e99
- alignOr.MaxAngularVelocity = 9e99
- alignOr.PrimaryAxisOnly = false
- alignOr.ReactionTorqueEnabled = false
- alignOr.Responsiveness = 200
- alignOr.RigidityEnabled = false
- --alignOr.Parent = Leftleg
- --Rightleg
- alignPosition = Instance.new("AlignPosition",Rightleg)
- alignPosition.RigidityEnabled = false
- alignPosition.ApplyAtCenterOfMass = false
- alignPosition.MaxForce = 9e9
- alignPosition.MaxVelocity = 9e99
- alignPosition.ReactionForceEnabled = false
- alignPosition.Responsiveness = 9e99
- alignPosition.Parent = Rightleg
- alignOr = Instance.new("AlignOrientation",Rightleg)
- alignOr.MaxTorque = 9e99
- alignOr.MaxAngularVelocity = 9e99
- alignOr.PrimaryAxisOnly = false
- alignOr.ReactionTorqueEnabled = false
- alignOr.Responsiveness = 200
- alignOr.RigidityEnabled = false
- --alignOr.Parent = Rightleg
- a0 = Instance.new("Attachment",Rightarm)
- a0.Position = Vector3.new(0, -0.4, 0)
- a1 = Instance.new("Attachment",rig["Right Arm"])
- a2 = Instance.new("Attachment",Rightarm)
- Rightarm.AlignPosition.Attachment0 = a0
- Rightarm.AlignPosition.Attachment1 = a1
- Rightarm.AlignOrientation.Attachment0 = a2
- Rightarm.AlignOrientation.Attachment1 = a1
- a0 = Instance.new("Attachment",Leftarm)
- a0.Position = Vector3.new(0, -0.4, 0)
- a1 = Instance.new("Attachment",rig["Left Arm"])
- a2 = Instance.new("Attachment",Leftarm)
- Leftarm.AlignPosition.Attachment0 = a0
- Leftarm.AlignPosition.Attachment1 = a1
- Leftarm.AlignOrientation.Attachment0 = a2
- Leftarm.AlignOrientation.Attachment1 = a1
- a0 = Instance.new("Attachment",Torso)
- a0.Position = Vector3.new(0, -0.2, 0)
- a1 = Instance.new("Attachment",rig["Torso"])
- a2 = Instance.new("Attachment",Torso)
- Torso.AlignPosition.Attachment0 = a0
- Torso.AlignPosition.Attachment1 = a1
- Torso.AlignOrientation.Attachment0 = a2
- Torso.AlignOrientation.Attachment1 = a1
- a0 = Instance.new("Attachment",Leftleg)
- a0.Position = Vector3.new(0, -0.5, 0)
- a1 = Instance.new("Attachment",rig["Left Leg"])
- a2 = Instance.new("Attachment",Leftleg)
- Leftleg.AlignPosition.Attachment0 = a0
- Leftleg.AlignPosition.Attachment1 = a1
- Leftleg.AlignOrientation.Attachment0 = a2
- Leftleg.AlignOrientation.Attachment1 = a1
- a0 = Instance.new("Attachment",Rightleg)
- a0.Position = Vector3.new(0, -0.5, 0)
- a1 = Instance.new("Attachment",rig["Right Leg"])
- a2 = Instance.new("Attachment",Rightleg)
- Rightleg.AlignPosition.Attachment0 = a0
- Rightleg.AlignPosition.Attachment1 = a1
- Rightleg.AlignOrientation.Attachment0 = a2
- Rightleg.AlignOrientation.Attachment1 = a1
- else
- alignPosition = Instance.new("AlignPosition",Leftarm)
- alignPosition.RigidityEnabled = false
- alignPosition.ApplyAtCenterOfMass = false
- alignPosition.MaxForce = 9e9
- alignPosition.MaxVelocity = 9e99
- alignPosition.ReactionForceEnabled = false
- alignPosition.Responsiveness = 9e99
- --alignPosition.Parent = Leftarm
- alignOr = Instance.new("AlignOrientation",Leftarm)
- alignOr.MaxTorque = 9e99
- alignOr.MaxAngularVelocity = 9e99
- alignOr.PrimaryAxisOnly = false
- alignOr.ReactionTorqueEnabled = false
- alignOr.Responsiveness = 200
- alignOr.RigidityEnabled = false
- --alignOr.Parent = Leftarm
- --Rightarm
- alignPosition = Instance.new("AlignPosition",Rightarm)
- alignPosition.RigidityEnabled = false
- alignPosition.ApplyAtCenterOfMass = false
- alignPosition.MaxForce = 9e9
- alignPosition.MaxVelocity = 9e99
- alignPosition.ReactionForceEnabled = false
- alignPosition.Responsiveness = 9e99
- --alignPosition.Parent = Rightarm
- alignOr = Instance.new("AlignOrientation",Rightarm)
- alignOr.MaxTorque = 9e99
- alignOr.MaxAngularVelocity = 9e99
- alignOr.PrimaryAxisOnly = false
- alignOr.ReactionTorqueEnabled = false
- alignOr.Responsiveness = 200
- alignOr.RigidityEnabled = false
- --alignOr.Parent = Rightarm
- --Torso
- alignPosition = Instance.new("AlignPosition",Torso)
- alignPosition.RigidityEnabled = false
- alignPosition.ApplyAtCenterOfMass = false
- alignPosition.MaxForce = 9e9
- alignPosition.MaxVelocity = 9e99
- alignPosition.ReactionForceEnabled = false
- alignPosition.Responsiveness = 9e99
- --alignPosition.Parent = Torso
- alignOr = Instance.new("AlignOrientation",Torso)
- alignOr.MaxTorque = 9e99
- alignOr.MaxAngularVelocity = 9e99
- alignOr.PrimaryAxisOnly = false
- alignOr.ReactionTorqueEnabled = false
- alignOr.Responsiveness = 200
- alignOr.RigidityEnabled = false
- --alignOr.Parent = Torso
- --LeftLeg
- alignPosition = Instance.new("AlignPosition",Leftleg)
- alignPosition.RigidityEnabled = false
- alignPosition.ApplyAtCenterOfMass = false
- alignPosition.MaxForce = 9e9
- alignPosition.MaxVelocity = 9e99
- alignPosition.ReactionForceEnabled = false
- alignPosition.Responsiveness = 9e99
- alignPosition.Parent = Leftleg
- alignOr = Instance.new("AlignOrientation",Leftleg)
- alignOr.MaxTorque = 9e99
- alignOr.MaxAngularVelocity = 9e99
- alignOr.PrimaryAxisOnly = false
- alignOr.ReactionTorqueEnabled = false
- alignOr.Responsiveness = 200
- alignOr.RigidityEnabled = false
- --alignOr.Parent = Leftleg
- --Rightleg
- alignPosition = Instance.new("AlignPosition",Rightleg)
- alignPosition.RigidityEnabled = false
- alignPosition.ApplyAtCenterOfMass = false
- alignPosition.MaxForce = 9e9
- alignPosition.MaxVelocity = 9e99
- alignPosition.ReactionForceEnabled = false
- alignPosition.Responsiveness = 9e99
- alignPosition.Parent = Rightleg
- alignOr = Instance.new("AlignOrientation",Rightleg)
- alignOr.MaxTorque = 9e99
- alignOr.MaxAngularVelocity = 9e99
- alignOr.PrimaryAxisOnly = false
- alignOr.ReactionTorqueEnabled = false
- alignOr.Responsiveness = 200
- alignOr.RigidityEnabled = false
- --alignOr.Parent = Rightleg
- a0 = Instance.new("Attachment",Rightarm)
- a1 = Instance.new("Attachment",rig["Right Arm"])
- a2 = Instance.new("Attachment",Rightarm)
- Rightarm.AlignPosition.Attachment0 = a0
- Rightarm.AlignPosition.Attachment1 = a1
- Rightarm.AlignOrientation.Attachment0 = a2
- Rightarm.AlignOrientation.Attachment1 = a1
- a0 = Instance.new("Attachment",Leftarm)
- a1 = Instance.new("Attachment",rig["Left Arm"])
- a2 = Instance.new("Attachment",Leftarm)
- Leftarm.AlignPosition.Attachment0 = a0
- Leftarm.AlignPosition.Attachment1 = a1
- Leftarm.AlignOrientation.Attachment0 = a2
- Leftarm.AlignOrientation.Attachment1 = a1
- a0 = Instance.new("Attachment",Torso)
- a1 = Instance.new("Attachment",rig["Torso"])
- a2 = Instance.new("Attachment",Torso)
- Torso.AlignPosition.Attachment0 = a0
- Torso.AlignPosition.Attachment1 = a1
- Torso.AlignOrientation.Attachment0 = a2
- Torso.AlignOrientation.Attachment1 = a1
- a0 = Instance.new("Attachment",Leftleg)
- a1 = Instance.new("Attachment",rig["Left Leg"])
- a2 = Instance.new("Attachment",Leftleg)
- Leftleg.AlignPosition.Attachment0 = a0
- Leftleg.AlignPosition.Attachment1 = a1
- Leftleg.AlignOrientation.Attachment0 = a2
- Leftleg.AlignOrientation.Attachment1 = a1
- a0 = Instance.new("Attachment",Rightleg)
- a1 = Instance.new("Attachment",rig["Right Leg"])
- a2 = Instance.new("Attachment",Rightleg)
- Rightleg.AlignPosition.Attachment0 = a0
- Rightleg.AlignPosition.Attachment1 = a1
- Rightleg.AlignOrientation.Attachment0 = a2
- Rightleg.AlignOrientation.Attachment1 = a1
- end
- rig.HumanoidRootPart.Anchored = false
- spawn(function()
- while true do
- wait()
- if Character:FindFirstChild("Humanoid").Health == 0 then
- Character:BreakJoints()
- rig:BreakJoints()
- end
- end
- end)
- function nocol(same)
- for i,v in pairs(Character:GetDescendants()) do
- if v:IsA("BasePart") then
- HILOL=Instance.new("NoCollisionConstraint",v)
- HILOL.Part0 = v
- HILOL.Part1 = same
- end
- end
- end
- for i,v in pairs(rig:GetDescendants()) do
- if v:IsA("BasePart") then
- nocol(v)
- end
- end
- Rightarm.Anchored = true
- Torso.Anchored = true
- Leftarm.Anchored = true
- Rightleg.Anchored = true
- Leftleg.Anchored = true
- Character.Head.Anchored = true
- for i=0,30 do
- wait()
- rig.HumanoidRootPart.RotVelocity = Vector3.new(0,10,0)
- rig.HumanoidRootPart.Velocity = Vector3.new(0,10,0)
- end
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- game:GetService("UserInputService").JumpRequest:connect(function(same)
- if rig.Humanoid.FloorMaterial~=Enum.Material.Air then
- rig.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- game.Players.LocalPlayer.Character.Dummy:FindFirstChildOfClass('Humanoid').Sit = false
- end
- end)
- if Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- Character.HumanoidRootPart.RootJoint:Destroy()
- elseif Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Character.LowerTorso.Root:Destroy()
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
- Humanoid = game.Players.LocalPlayer.Character.Humanoid
- game["Run Service"].RenderStepped:Connect(function()
- rig.Humanoid:Move(Character.Humanoid.MoveDirection, false)
- local ActiveTracks = Humanoid:GetPlayingAnimationTracks()
- for _,v in pairs(ActiveTracks) do
- v:Stop()
- end
- end)
- Rightarm.Anchored = false
- Torso.Anchored = false
- Leftarm.Anchored = false
- Rightleg.Anchored = false
- Leftleg.Anchored = false
- Character.Head.Anchored = false
- game.Workspace.CurrentCamera.CameraSubject = rig.Humanoid
- --[[
- local Humanoid1 = Character.Humanoid
- local Humanoid2 = Character.Dummy.Humanoid
- Humanoid2.Parent = Character
- Humanoid1.Parent = Character.Dummy
- ]]--
- wait()
- spawn(function()
- lolx = game.Players.LocalPlayer.Character.Dummy
- lol = Instance.new("Sound", lolx)
- lol.Volume = 1
- lol.Name = "sus"
- lol.Looped = true
- lol.SoundId = "rbxassetid://1295048825"
- lol:Play()
- animid="rbxassetid://5009879973"
- plr=game.Players.LocalPlayer
- bruhmomentrighthahahahhahah=plr.Character.Dummy
- cf=bruhmomentrighthahahahhahah.HumanoidRootPart.CFrame
- t=bruhmomentrighthahahahhahah.Torso
- rs=t["Right Shoulder"]
- ls=t["Left Shoulder"]
- rh=t["Right Hip"]
- lh=t["Left Hip"]
- n=t["Neck"]
- rj=bruhmomentrighthahahahhahah.HumanoidRootPart["RootJoint"]
- rsc0=rs.C0
- lsc0=ls.C0
- rhc0=rh.C0
- lhc0=lh.C0
- rjc0=rj.C0
- nc0=n.C0
- gc0=CFrame.new()
- orsc0=rs.C0
- olsc0=ls.C0
- orhc0=rh.C0
- olhc0=lh.C0
- orjc0=rj.C0
- onc0=n.C0
- count2 = 100
- maxcount2=100
- game["Run Service"].Heartbeat:Connect(function()
- count2 = count2+1
- if count2<=maxcount2 then
- rs.Transform=rs.Transform:Lerp(rsc0,count2/maxcount2)
- ls.Transform=ls.Transform:Lerp(lsc0,count2/maxcount2)
- rh.Transform=rh.Transform:Lerp(rhc0,count2/maxcount2)
- lh.Transform=lh.Transform:Lerp(lhc0,count2/maxcount2)
- n.Transform=n.Transform:Lerp(nc0,count2/maxcount2)
- rj.Transform=rj.Transform:Lerp(rjc0,count2/maxcount2)
- end
- end)
- animid=game:GetObjects(animid)[1]
- function wait2(tim)
- if tim<0.1 then
- game.RunService.Heartbeat:Wait()
- else
- for i=1,tim*40 do
- game.RunService.Heartbeat:Wait()
- end
- end
- end
- anim={}
- function kftotbl(kf)
- tbl3 = {}
- for i,v in pairs(kf:GetDescendants()) do
- if v:IsA("Pose") then
- tbl3[string.sub(v.Name,1,1)..string.sub(v.Name,#v.Name,#v.Name)] = v.CFrame
- end
- end
- return(tbl3)
- end
- for i,v in pairs(animid:GetChildren()) do
- if v:IsA("Keyframe") then
- anim[v.Time]=kftotbl(v)
- end
- end
- function getnext(tbl,number)
- c=100
- rtrnv=0
- for i,v in pairs(tbl) do
- if i>number and i-number<c then
- c=i-number
- rtrnv=i
- end
- end
- return(rtrnv)
- end
- count = 0
- char=game.Players.LocalPlayer.Character.Dummy
- hhhh=game.Players.LocalPlayer.Character.Dummy.Humanoid.Animator
- hhhh.Parent = nil
- for _,v in pairs(char.Humanoid:GetPlayingAnimationTracks()) do
- v:Stop()
- end
- while wait() do
- for i,oasjdadlasdkadkldjkl in pairs(anim) do
- asdf=getnext(anim,count)
- v=anim[asdf]
- if v["Lg"] then
- lhc0 = v["Lg"]
- end
- if v["Rg"] then
- rhc0 = v["Rg"]
- end
- if v["Lm"] then
- lsc0 = v["Lm"]
- end
- if v["Rm"] then
- rsc0 = v["Rm"]
- end
- if v["To"] then
- rjc0 = v["To"]
- end
- if v["Hd"] then
- nc0 = v["Hd"]
- end
- count2=0
- maxcount2=asdf-count
- count=asdf
- wait2(asdf-count)
- count2=maxcount2
- if v["Lg"] then
- char.Torso["Left Hip"].Transform = v["Lg"]
- end
- if v["Rg"] then
- char.Torso["Right Hip"].Transform = v["Rg"]
- end
- if v["Lm"] then
- char.Torso["Left Shoulder"].Transform = v["Lm"]
- end
- if v["Rm"] then
- char.Torso["Right Shoulder"].Transform = v["Rm"]
- end
- if v["To"] then
- char.HumanoidRootPart["RootJoint"].Transform = v["To"]
- end
- if v["Hd"] then
- char.Torso["Neck"].Transform = v["Hd"]
- end
- end
- end
- end)--spawnfunction end important shit for not lag
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement