Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bf = Instance.new("BodyForce", owner.Character.Head)
- bf.Force = Vector3.new(0,workspace.Gravity * owner.Character.Head:GetMass() * 2,0)
- local limbcollider = Instance.new("Part", owner.Character:findFirstChild("Right Arm"))
- limbcollider.Size = Vector3.new(1.4,1,1)
- limbcollider.Transparency = 1
- limbcollider.Name = "LimbCollider"
- local limbcolliderweld = Instance.new("Weld", limbcollider)
- limbcolliderweld.Part0 = owner.Character:findFirstChild("Right Arm")
- limbcolliderweld.Part1 = limbcollider
- limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider2 = Instance.new("Part", owner.Character:findFirstChild("Left Arm"))
- limbcollider2.Size = Vector3.new(1.4,1,1)
- limbcollider2.Transparency = 1
- limbcollider2.Name = "LimbCollider"
- local limbcolliderweld2 = Instance.new("Weld", limbcollider2)
- limbcolliderweld2.Part0 = owner.Character:findFirstChild("Left Arm")
- limbcolliderweld2.Part1 = limbcollider2
- limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider3 = Instance.new("Part", owner.Character.Head)
- limbcollider3.Size = Vector3.new(0.5,0.5,0.5)
- limbcollider3.Shape = "Ball"
- limbcollider3.Transparency = 1
- limbcollider3.Name = "LimbCollider"
- local limbcolliderweld = Instance.new("Weld", limbcollider3)
- limbcolliderweld.Part0 = owner.Character.Head
- limbcolliderweld.Part1 = limbcollider3
- limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- for i,v in pairs(owner.Character:GetDescendants()) do
- pcall(function()
- if v:IsA("Motor6D") then
- v.Enabled = false
- end
- end)
- end
- function the()
- local Socket = Instance.new("BallSocketConstraint")
- local a1 = Instance.new("Attachment")
- local a2 = Instance.new("Attachment")
- a1.Parent = owner.Character["Left Arm"]
- a2.Parent = owner.Character.Torso
- Socket.Parent = owner.Character["Left Arm"]
- Socket.Attachment0 = a1
- Socket.Attachment1 = a2
- a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.5,0)
- a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(-1.5,0.5,0)
- end
- function the5()
- local Socket = Instance.new("BallSocketConstraint")
- local a1 = Instance.new("Attachment")
- local a2 = Instance.new("Attachment")
- a1.Parent = owner.Character["Left Leg"]
- a2.Parent = owner.Character.Torso
- Socket.Parent = owner.Character["Left Leg"]
- Socket.Attachment0 = a1
- Socket.Attachment1 = a2
- a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.75,0)
- a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(-0.5,-1.25,0)
- end
- function the6()
- local Socket = Instance.new("BallSocketConstraint")
- local a1 = Instance.new("Attachment")
- local a2 = Instance.new("Attachment")
- a1.Parent = owner.Character["Right Leg"]
- a2.Parent = owner.Character.Torso
- Socket.Parent = owner.Character["Right Leg"]
- Socket.Attachment0 = a1
- Socket.Attachment1 = a2
- a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.75,0)
- a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(0.5,-1.25,0)
- local limbcollider = Instance.new("Part", owner.Character:findFirstChild("Right Leg"))
- limbcollider.Size = Vector3.new(1.4,1,1)
- limbcollider.Transparency = 1
- limbcollider.Name = "LimbCollider"
- local limbcolliderweld = Instance.new("Weld", limbcollider)
- limbcolliderweld.Part0 = owner.Character:findFirstChild("Right Leg")
- limbcolliderweld.Part1 = limbcollider
- limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider2 = Instance.new("Part", owner.Character:findFirstChild("Left Leg"))
- limbcollider2.Size = Vector3.new(1.4,1,1)
- limbcollider2.Transparency = 1
- limbcollider2.Name = "LimbCollider"
- local limbcolliderweld2 = Instance.new("Weld", limbcollider2)
- limbcolliderweld2.Part0 = owner.Character:findFirstChild("Left Leg")
- limbcolliderweld2.Part1 = limbcollider2
- limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- end
- function the4()
- local Socket = Instance.new("BallSocketConstraint")
- local a1 = Instance.new("Attachment")
- local a2 = Instance.new("Attachment")
- a1.Parent = owner.Character.HumanoidRootPart
- a2.Parent = owner.Character.Torso
- Socket.Parent = owner.Character.HumanoidRootPart
- Socket.Attachment0 = a1
- Socket.Attachment1 = a2
- a1.WorldCFrame = a1.Parent.CFrame
- a2.WorldCFrame = a1.Parent.CFrame
- end
- function the3()
- local Socket = Instance.new("BallSocketConstraint")
- local a1 = Instance.new("Attachment")
- local a2 = Instance.new("Attachment")
- a1.Parent = owner.Character.Head
- a2.Parent = owner.Character.Torso
- Socket.Parent = owner.Character.Head
- Socket.Attachment0 = a1
- Socket.Attachment1 = a2
- a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,-0.5,0)
- a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(0,1.0625,0)
- Socket.TwistLimitsEnabled = true
- Socket.LimitsEnabled = true
- end
- function the2()
- local Socket = Instance.new("BallSocketConstraint")
- local a1 = Instance.new("Attachment")
- local a2 = Instance.new("Attachment")
- a1.Parent = owner.Character["Right Arm"]
- a2.Parent = owner.Character.Torso
- Socket.Parent = owner.Character["Right Arm"]
- Socket.Attachment0 = a1
- Socket.Attachment1 = a2
- a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.5,0)
- a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(1.5,0.5,0)
- end
- the()
- the2()
- the3()
- the4()
- the5()
- the6()
- owner.Character.Humanoid.RequiresNeck = false
- H = Instance.new("Sound",owner.Character.Head)
- H.SoundId = "rbxassetid://2101700076"
- H.Volume = 2
- H.Looped = true
- game:GetService("RunService").Heartbeat:Connect(function()
- if owner.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) then
- H:Stop()
- owner.Character.Humanoid.WalkSpeed = 5
- elseif owner.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) then
- if not H.IsPlaying then
- H:Play()
- end
- owner.Character.Humanoid.WalkSpeed = owner.Character.Humanoid.WalkSpeed + 0.5
- end
- end)
- local density = 1
- local friction = 1
- local elasticity = 0
- local frictionWeight = 100000000000
- local elasticityWeight = 0
- local physProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)
- for i,v in pairs(owner.Character:GetDescendants()) do
- pcall(function()
- v.CustomPhysicalProperties = physProperties
- end)
- end
- for i,v in pairs(owner.Character:GetDescendants()) do
- if v:IsA("Part") then
- local nocollide = Instance.new("NoCollisionConstraint",owner.Character.HumanoidRootPart)
- nocollide.Part0 = v
- nocollide.Part1 = owner.Character.HumanoidRootPart
- end
- end
Add Comment
Please, Sign In to add comment