SHOW:
|
|
- or go back to the newest paste.
1 | - | function killfunction(part) |
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 | - | local a1 = Instance.new("Attachment") |
5 | + | limbcollider.Name = "LimbCollider" |
6 | - | local a2 = Instance.new("Attachment") |
6 | + | local limbcolliderweld = Instance.new("Weld", limbcollider) |
7 | - | a1.Parent = v.Part0 |
7 | + | limbcolliderweld.Part0 = owner.Character:findFirstChild("Right Arm") |
8 | - | a2.Parent = v.Part1 |
8 | + | limbcolliderweld.Part1 = limbcollider |
9 | - | Socket.Parent = v.Parent |
9 | + | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) |
10 | - | Socket.Attachment0 = a1 |
10 | + | local limbcollider2 = Instance.new("Part", owner.Character:findFirstChild("Left Arm")) |
11 | - | Socket.Attachment1 = a2 |
11 | + | limbcollider2.Size = Vector3.new(1.4,1,1) |
12 | - | a1.CFrame = v.C0 |
12 | + | limbcollider2.Shape = "Cylinder" |
13 | - | a2.CFrame = v.C1 |
13 | + | limbcollider2.Transparency = 1 |
14 | - | Socket.LimitsEnabled = true |
14 | + | limbcollider2.Name = "LimbCollider" |
15 | - | v:Destroy() |
15 | + | local limbcolliderweld2 = Instance.new("Weld", limbcollider) |
16 | - | end |
16 | + | limbcolliderweld2.Part0 = owner.Character:findFirstChild("Left Arm") |
17 | - | end |
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 | - | local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent") |
22 | + | limbcollider3.Transparency = 1 |
23 | - | owner.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics) |
23 | + | limbcollider3.Name = "LimbCollider" |
24 | - | for i,v in pairs(owner.Character:GetDescendants()) do |
24 | + | local limbcolliderweld3 = Instance.new("Weld", limbcollider) |
25 | limbcolliderweld3.Part0 = owner.Character:findFirstChild("Right Leg") | |
26 | - | v.CanCollide = false |
26 | + | limbcolliderweld3.Part1 = limbcollider3 |
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 | 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 | limbcollider4.Name = "LimbCollider" | |
33 | - | local Mouse = owner:GetMouse() |
33 | + | local limbcolliderweld4 = Instance.new("Weld", limbcollider) |
34 | - | function KeyDown(key) |
34 | + | limbcolliderweld4.Part0 = owner.Character:findFirstChild("Left Leg") |
35 | - | key = key:lower() |
35 | + | limbcolliderweld4.Part1 = limbcollider4 |
36 | - | if key:byte() == 32 then |
36 | + | limbcolliderweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) |
37 | - | local Up = Instance.new("BodyVelocity",owner.Character.HumanoidRootPart) |
37 | + | |
38 | - | Up.MaxForce = Vector3.new(0,1000000,0) |
38 | + | |
39 | - | Up.Velocity = Vector3.new(0,25,0) |
39 | + | |
40 | - | wait(0.25) |
40 | + | v.Enabled = false |
41 | - | Up:Destroy() |
41 | + | |
42 | - | end |
42 | + | |
43 | - | end |
43 | + | |
44 | - | Mouse.KeyDown:Connect(KeyDown) |
44 | + | function the() |
45 | - | ]],owner.PlayerGui)) |
45 | + | |
46 | local a1 = Instance.new("Attachment") | |
47 | - | local Velocity = Instance.new("BodyAngularVelocity") |
47 | + | local a2 = Instance.new("Attachment") |
48 | - | Velocity.Parent = owner.Character.HumanoidRootPart |
48 | + | a1.Parent = owner.Character["Left Arm"] |
49 | a2.Parent = owner.Character.Torso | |
50 | Socket.Parent = owner.Character["Left Arm"] | |
51 | Socket.Attachment0 = a1 | |
52 | - | Velocity.AngularVelocity = Vector3.new(owner.Character.Humanoid.MoveDirection.z * 10,0,owner.Character.Humanoid.MoveDirection.x * -10) |
52 | + | Socket.Attachment1 = a2 |
53 | - | Velocity.MaxTorque = Vector3.new(5000,5000,5000) |
53 | + | a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.5,0) |
54 | - | if owner.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) then |
54 | + | a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(-1.5,0.5,0) |
55 | - | Velocity.MaxTorque = Vector3.new(0,0,0) |
55 | + | |
56 | - | end |
56 | + | function the5() |
57 | local Socket = Instance.new("BallSocketConstraint") | |
58 | local a1 = Instance.new("Attachment") | |
59 | local a2 = Instance.new("Attachment") | |
60 | a1.Parent = owner.Character["Left Leg"] | |
61 | a2.Parent = owner.Character.Torso | |
62 | Socket.Parent = owner.Character["Left Leg"] | |
63 | Socket.Attachment0 = a1 | |
64 | Socket.Attachment1 = a2 | |
65 | a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.5,0) | |
66 | a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(-0.5,-1.5,0) | |
67 | end | |
68 | function the6() | |
69 | local Socket = Instance.new("BallSocketConstraint") | |
70 | local a1 = Instance.new("Attachment") | |
71 | local a2 = Instance.new("Attachment") | |
72 | a1.Parent = owner.Character["Right Leg"] | |
73 | a2.Parent = owner.Character.Torso | |
74 | Socket.Parent = owner.Character["Right Leg"] | |
75 | Socket.Attachment0 = a1 | |
76 | Socket.Attachment1 = a2 | |
77 | a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.5,0) | |
78 | a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(0.5,-1.5,0) | |
79 | local limbcollider = Instance.new("Part", owner.Character:findFirstChild("Right Leg")) | |
80 | limbcollider.Size = Vector3.new(1.4,1,1) | |
81 | limbcollider.Transparency = 1 | |
82 | limbcollider.Name = "LimbCollider" | |
83 | local limbcolliderweld = Instance.new("Weld", limbcollider) | |
84 | limbcolliderweld.Part0 = owner.Character:findFirstChild("Right Leg") | |
85 | limbcolliderweld.Part1 = limbcollider | |
86 | limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
87 | local limbcollider2 = Instance.new("Part", owner.Character:findFirstChild("Left Leg")) | |
88 | limbcollider2.Size = Vector3.new(1.4,1,1) | |
89 | limbcollider2.Transparency = 1 | |
90 | limbcollider2.Name = "LimbCollider" | |
91 | local limbcolliderweld2 = Instance.new("Weld", limbcollider2) | |
92 | limbcolliderweld2.Part0 = owner.Character:findFirstChild("Left Leg") | |
93 | limbcolliderweld2.Part1 = limbcollider2 | |
94 | limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0) | |
95 | end | |
96 | function the4() | |
97 | local Socket = Instance.new("BallSocketConstraint") | |
98 | local a1 = Instance.new("Attachment") | |
99 | local a2 = Instance.new("Attachment") | |
100 | a1.Parent = owner.Character.HumanoidRootPart | |
101 | a2.Parent = owner.Character.Torso | |
102 | Socket.Parent = owner.Character.HumanoidRootPart | |
103 | Socket.Attachment0 = a1 | |
104 | Socket.Attachment1 = a2 | |
105 | a1.WorldCFrame = a1.Parent.CFrame | |
106 | a2.WorldCFrame = a1.Parent.CFrame | |
107 | end | |
108 | function the3() | |
109 | local Socket = Instance.new("BallSocketConstraint") | |
110 | local a1 = Instance.new("Attachment") | |
111 | local a2 = Instance.new("Attachment") | |
112 | a1.Parent = owner.Character.Head | |
113 | a2.Parent = owner.Character.Torso | |
114 | Socket.Parent = owner.Character.Head | |
115 | Socket.Attachment0 = a1 | |
116 | Socket.Attachment1 = a2 | |
117 | a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,-0.5,0) | |
118 | a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(0,1.0625,0) | |
119 | Socket.TwistLimitsEnabled = true | |
120 | Socket.LimitsEnabled = true | |
121 | end | |
122 | function the2() | |
123 | local Socket = Instance.new("BallSocketConstraint") | |
124 | local a1 = Instance.new("Attachment") | |
125 | local a2 = Instance.new("Attachment") | |
126 | a1.Parent = owner.Character["Right Arm"] | |
127 | a2.Parent = owner.Character.Torso | |
128 | Socket.Parent = owner.Character["Right Arm"] | |
129 | Socket.Attachment0 = a1 | |
130 | Socket.Attachment1 = a2 | |
131 | a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.5,0) | |
132 | a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(1.5,0.5,0) | |
133 | end | |
134 | the() | |
135 | the2() | |
136 | the3() | |
137 | the4() | |
138 | the5() | |
139 | the6() | |
140 | owner.Character.Humanoid.RequiresNeck = false | |
141 | owner.Character.Humanoid.PlatformStand = true | |
142 | Up = Instance.new("BodyVelocity",owner.Character.HumanoidRootPart) | |
143 | Up.MaxForce = Vector3.new(math.huge,0,math.huge) | |
144 | Up.Velocity = Vector3.new(0,0,0) | |
145 | ||
146 | while true do | |
147 | wait() | |
148 | Up.Velocity = Vector3.new(owner.Character.Humanoid.MoveDirection.x * 16,0,owner.Character.Humanoid.MoveDirection.z * 16) | |
149 | end |