Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local limbcollider = Instance.new("Part", owner.Character:findFirstChild("Right Arm"))
- limbcollider.Size = Vector3.new(1.4,1,1)
- limbcollider.Shape = "Cylinder"
- 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.Shape = "Cylinder"
- limbcollider2.Transparency = 1
- limbcollider2.Name = "LimbCollider"
- local limbcolliderweld2 = Instance.new("Weld", limbcollider)
- 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:findFirstChild("Right Leg"))
- limbcollider3.Size = Vector3.new(1.3,1,1)
- limbcollider3.Shape = "Cylinder"
- limbcollider3.Transparency = 1
- limbcollider3.Name = "LimbCollider"
- local limbcolliderweld3 = Instance.new("Weld", limbcollider)
- limbcolliderweld3.Part0 = owner.Character:findFirstChild("Right Leg")
- limbcolliderweld3.Part1 = limbcollider3
- limbcolliderweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- local limbcollider4 = Instance.new("Part", owner.Character:findFirstChild("Left Leg"))
- limbcollider4.Size = Vector3.new(1.3,1,1)
- limbcollider4.Shape = "Cylinder"
- limbcollider4.Transparency = 1
- limbcollider4.Name = "LimbCollider"
- local limbcolliderweld4 = Instance.new("Weld", limbcollider)
- limbcolliderweld4.Part0 = owner.Character:findFirstChild("Left Leg")
- limbcolliderweld4.Part1 = limbcollider4
- limbcolliderweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- function killfunction(part)
- for i,v in pairs(owner.Character:GetDescendants()) do
- if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
- local Socket = Instance.new("BallSocketConstraint")
- local a1 = Instance.new("Attachment")
- local a2 = Instance.new("Attachment")
- a1.Parent = v.Part0
- a2.Parent = v.Part1
- Socket.Parent = v.Parent
- Socket.Attachment0 = a1
- Socket.Attachment1 = a2
- a1.CFrame = v.C0
- a2.CFrame = v.C1
- Socket.LimitsEnabled = true
- Socket.TwistLimitsEnabled = true
- v:Destroy()
- end
- end
- end
- owner.Character.Humanoid.RequiresNeck = false
- owner.Character.Humanoid.PlatformStand = true
- for i,v in pairs(owner.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Touched:connect(killfunction)
- end
- end
- local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
- local Mouse = owner:GetMouse()
- function KeyDown(key)
- key = key:lower()
- if key:byte() == 32 then
- local Up = Instance.new("BodyVelocity",owner.Character.HumanoidRootPart)
- Up.MaxForce = Vector3.new(0,1000000,0)
- Up.Velocity = Vector3.new(0,25,0)
- wait(0.25)
- Up:Destroy()
- end
- end
- Mouse.KeyDown:Connect(KeyDown)
- ]],owner.PlayerGui))
- local Velocideez = Instance.new("BodyVelocity")
- Velocideez.Parent = owner.Character.Torso
- while true do
- wait()
- owner.Character.Torso.BodyVelocity.Velocity = Vector3.new(owner.Character.Humanoid.MoveDirection.z * 100,0,owner.Character.Humanoid.MoveDirection.x * 100)
- owner.Character.Torso.BodyVelocity.MaxForce = Vector3.new(5000,5000,5000)
- if owner.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) then
- owner.Character.Torso.BodyVelocity.MaxForce = Vector3.new(5000,5000,5000)
- owner.Character.Torso.BodyVelocity.MaxForce = Vector3.new(0,0,0)
- end
- end
Add Comment
Please, Sign In to add comment