View difference between Paste ID: 0RydEMkG 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
                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"))
19+
    for i,v in pairs(owner.Character["Left Arm"]:GetDescendants()) do
20-
                limbcollider3.Size = Vector3.new(1.3,1,1)
20+
21-
                limbcollider3.Shape = "Cylinder"
21+
22-
                limbcollider3.Transparency = 1
22+
23-
                limbcollider3.Name = "LimbCollider"
23+
24-
                local limbcolliderweld3 = Instance.new("Weld", limbcollider)
24+
25-
                limbcolliderweld3.Part0 = owner.Character:findFirstChild("Right Leg")
25+
26-
                limbcolliderweld3.Part1 = limbcollider3
26+
27-
                limbcolliderweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
27+
28-
            local limbcollider4 = Instance.new("Part", owner.Character:findFirstChild("Left Leg"))
28+
29-
                limbcollider4.Size = Vector3.new(1.3,1,1)
29+
30-
                limbcollider4.Shape = "Cylinder"
30+
31-
                limbcollider4.Transparency = 1
31+
32-
                limbcollider4.Name = "LimbCollider"
32+
33-
                local limbcolliderweld4 = Instance.new("Weld", limbcollider)
33+
34-
                limbcolliderweld4.Part0 = owner.Character:findFirstChild("Left Leg")
34+
35-
                limbcolliderweld4.Part1 = limbcollider4
35+
36-
                limbcolliderweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
36+
    for i,v in pairs(owner.Character["Right Arm"]:GetDescendants()) do
37-
function killfunction(part)
37+
38-
    for i,v in pairs(owner.Character:GetDescendants()) do
38+
39
			local a1 = Instance.new("Attachment")
40
			local a2 = Instance.new("Attachment")
41
			a1.Parent = v.Part0
42
			a2.Parent = v.Part1
43
			Socket.Parent = v.Parent
44
			Socket.Attachment0 = a1
45
			Socket.Attachment1 = a2
46
			a1.CFrame = v.C0
47
			a2.CFrame = v.C1
48
            Socket.LimitsEnabled = true
49
            Socket.TwistLimitsEnabled = true
50
			v:Destroy()
51
	end
52
end
53-
		end
53+
    for i,v in pairs(owner.Character.Head:GetDescendants()) do
54
        if v:IsA("Motor6D") then
55
            local Socket = Instance.new("BallSocketConstraint")
56
			local a1 = Instance.new("Attachment")
57-
	owner.Character.Humanoid.PlatformStand = true
57+
58-
for i,v in pairs(owner.Character:GetDescendants()) do
58+
59-
		if v:IsA("BasePart") then
59+
60-
v.Touched:connect(killfunction)
60+
61
			Socket.Attachment0 = a1
62
			Socket.Attachment1 = a2
63-
63+
64-
local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
64+
65-
        local Mouse = owner:GetMouse()
65+
66-
        function KeyDown(key)
66+
67-
        key = key:lower()
67+
68-
        if key:byte() == 32 then
68+
69-
local Up = Instance.new("BodyVelocity",owner.Character.HumanoidRootPart)
69+
70-
Up.MaxForce = Vector3.new(0,1000000,0)
70+
71-
Up.Velocity = Vector3.new(0,25,0)
71+
owner.Character.Humanoid.WalkSpeed = 32