View difference between Paste ID: qf10WJeJ and KbwtBWFc
SHOW: | | - or go back to the newest paste.
1
            local limbcollider = Instance.new("Part", owner.Character:findFirstChild("Right Arm"))
2
                limbcollider.Size = Vector3.new(1.4,1,1)
3-
        if v:IsA("Motor6D") then
3+
                limbcollider.Shape = "Cylinder"
4
                limbcollider.Transparency = 1
5
                limbcollider.Name = "LimbCollider"
6
                local limbcolliderweld = Instance.new("Weld", limbcollider)
7
                limbcolliderweld.Part0 = owner.Character:findFirstChild("Right Arm")
8
                limbcolliderweld.Part1 = limbcollider
9
                limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
10
            local limbcollider2 = Instance.new("Part", owner.Character:findFirstChild("Left Arm"))
11
                limbcollider2.Size = Vector3.new(1.4,1,1)
12
                limbcollider2.Shape = "Cylinder"
13
                limbcollider2.Transparency = 1
14
                limbcollider2.Name = "LimbCollider"
15
                local limbcolliderweld2 = Instance.new("Weld", limbcollider)
16
                limbcolliderweld2.Part0 = owner.Character:findFirstChild("Left Arm")
17
                limbcolliderweld2.Part1 = limbcollider2
18
                limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
19
            local limbcollider3 = Instance.new("Part", owner.Character:findFirstChild("Right Leg"))
20-
killfunction()
20+
                limbcollider3.Size = Vector3.new(1.3,1,1)
21
                limbcollider3.Shape = "Cylinder"
22
                limbcollider3.Transparency = 1
23-
owner.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
23+
                limbcollider3.Name = "LimbCollider"
24
                local limbcolliderweld3 = Instance.new("Weld", limbcollider)
25-
pcall(function()
25+
                limbcolliderweld3.Part0 = owner.Character:findFirstChild("Right Leg")
26-
v.CanCollide = false
26+
                limbcolliderweld3.Part1 = limbcollider3
27-
end)
27+
                limbcolliderweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
28
            local limbcollider4 = Instance.new("Part", owner.Character:findFirstChild("Left Leg"))
29-
pcall(function()
29+
                limbcollider4.Size = Vector3.new(1.3,1,1)
30-
workspace.CurrentCamera.CameraSubject = owner.Character.Torso
30+
                limbcollider4.Shape = "Cylinder"
31-
workspace.CurrentCamera.CameraSubject = owner.Character.UpperTorso
31+
                limbcollider4.Transparency = 1
32-
end)
32+
                limbcollider4.Name = "LimbCollider"
33
                local limbcolliderweld4 = Instance.new("Weld", limbcollider)
34
                limbcolliderweld4.Part0 = owner.Character:findFirstChild("Left Leg")
35
                limbcolliderweld4.Part1 = limbcollider4
36
                limbcolliderweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
37
function killfunction(part)
38
    for i,v in pairs(owner.Character:GetDescendants()) do
39
        if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
40
            local Socket = Instance.new("BallSocketConstraint")
41
			local a1 = Instance.new("Attachment")
42
			local a2 = Instance.new("Attachment")
43
			a1.Parent = v.Part0
44
			a2.Parent = v.Part1
45
			Socket.Parent = v.Parent
46
			Socket.Attachment0 = a1
47-
  local Velocity = Instance.new("BodyAngularVelocity")
47+
48-
  Velocity.Parent = owner.Character.HumanoidRootPart
48+
49
			a2.CFrame = v.C1
50
            Socket.LimitsEnabled = true
51
            Socket.TwistLimitsEnabled = true
52-
   Velocity.AngularVelocity = Vector3.new(owner.Character.Humanoid.MoveDirection.z * 10,0,owner.Character.Humanoid.MoveDirection.x * -10)
52+
53-
   Velocity.MaxTorque = Vector3.new(5000,5000,5000)
53+
54
	end
55-
      Velocity.MaxTorque = Vector3.new(0,0,0)
55+
56
	owner.Character.Humanoid.RequiresNeck = false
57
	owner.Character.Humanoid.PlatformStand = true
58
for i,v in pairs(owner.Character:GetDescendants()) do
59
		if v:IsA("BasePart") then
60
v.Touched:connect(killfunction)
61
end
62
end
63
64
local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
65
        local Mouse = owner:GetMouse()
66
        function KeyDown(key)
67
        key = key:lower()
68
        if key:byte() == 32 then
69
local Up = Instance.new("BodyVelocity",owner.Character.HumanoidRootPart)
70
Up.MaxForce = Vector3.new(0,1000000,0)
71
Up.Velocity = Vector3.new(0,25,0)
72
wait(0.25)
73
Up:Destroy()
74
        end
75
        end
76
        Mouse.KeyDown:Connect(KeyDown)
77
        ]],owner.PlayerGui))
78
79
  local Velocideez = Instance.new("BodyVelocity")
80
  Velocideez.Parent = owner.Character.Torso
81
82
  while true do
83
   wait()
84
   owner.Character.Torso.BodyVelocity.Velocity = Vector3.new(owner.Character.Humanoid.MoveDirection.z * 100,0,owner.Character.Humanoid.MoveDirection.x * 100)
85
   owner.Character.Torso.BodyVelocity.MaxForce = Vector3.new(5000,5000,5000)
86
   if owner.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) then
87
   owner.Character.Torso.BodyVelocity.MaxForce = Vector3.new(5000,5000,5000)
88
      owner.Character.Torso.BodyVelocity.MaxForce = Vector3.new(0,0,0)
89
 end
90
end