SHOW:
|
|
- or go back to the newest paste.
1 | - | local plr = game:GetService("Players").LocalPlayer |
1 | + | |
2 | - | local deb = false |
2 | + | |
3 | rightclone.Name = "Right Shoulder" | |
4 | - | while not plr.Character do wait() end |
4 | + | |
5 | - | wait(1) |
5 | + | |
6 | local leftclone = Instance.new('Motor6D') | |
7 | - | local tstab = {} |
7 | + | |
8 | - | local tsstab = {} |
8 | + | |
9 | - | local ignlist = {} |
9 | + | |
10 | - | local stab = {} |
10 | + | |
11 | leftlegclone.Name = "Left Hip" | |
12 | leftlegclone.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
13 | - | function plrIgnore(char) |
13 | + | |
14 | local rightlegclone = Instance.new('Motor6D') | |
15 | - | if #v:GetChildren() >= 1 then |
15 | + | |
16 | - | plrIgnore(v) |
16 | + | |
17 | rightlegclone.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
18 | - | table.insert(ignlist,v) |
18 | + | |
19 | torsoclone.Name = "RootJoint" | |
20 | torsoclone.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
21 | torsoclone.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
22 | - | function timeStop(target) |
22 | + | |
23 | - | for i,v in pairs(target:GetChildren()) do |
23 | + | |
24 | - | if #v:GetChildren() >= 1 then |
24 | + | |
25 | - | timeStop(v) |
25 | + | |
26 | local firsttime2 = true | |
27 | - | local isinign = false |
27 | + | |
28 | - | for i,b in pairs(ignlist) do |
28 | + | |
29 | - | if b == v then |
29 | + | |
30 | - | isinign = true |
30 | + | |
31 | local math1 = math.random(1,5) | |
32 | math1 = math1+(math.random(0,9)/10) | |
33 | - | if isinign == false then |
33 | + | |
34 | - | if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("UnionOperation") then |
34 | + | |
35 | - | if v.Anchored == false then |
35 | + | |
36 | - | table.insert(tstab,v) |
36 | + | |
37 | - | v.Anchored = true |
37 | + | |
38 | math4 = math4+(math.random(0,9)/10) | |
39 | local answer = (math4+(math1*math3))/(math1*math2) | |
40 | - | if v:IsA("Sound") then |
40 | + | |
41 | - | local isintab = false |
41 | + | |
42 | - | for i,b in pairs(stab) do |
42 | + | |
43 | - | if v == b[1] then |
43 | + | |
44 | - | isintab = true |
44 | + | |
45 | - | end |
45 | + | |
46 | - | end |
46 | + | |
47 | - | if isintab == false then |
47 | + | |
48 | - | table.insert(stab,{v,v.Pitch}) |
48 | + | |
49 | - | end |
49 | + | |
50 | ||
51 | - | --[[if v:IsA("Script") or v:IsA("LocalScript") then |
51 | + | |
52 | - | if v.Disabled == false then |
52 | + | |
53 | - | table.insert(tsstab,v) |
53 | + | |
54 | - | v.Disabled = true |
54 | + | |
55 | obj.Text = '___'; | |
56 | - | end]] |
56 | + | |
57 | local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); | |
58 | ||
59 | - | local isinign = false |
59 | + | |
60 | - | for i,b in pairs(ignlist) do |
60 | + | |
61 | - | if b == target then |
61 | + | |
62 | - | isinign = true |
62 | + | |
63 | end; | |
64 | end; | |
65 | - | if isinign == false then |
65 | + | |
66 | - | if target:IsA("Part") or target:IsA("WedgePart") or target:IsA("UnionOperation") then |
66 | + | |
67 | - | if target.Anchored == false then |
67 | + | |
68 | - | table.insert(tstab,target) |
68 | + | |
69 | - | target.Anchored = true |
69 | + | |
70 | new = function (class, parent) | |
71 | local obj = newInstance (class, parent); | |
72 | - | if target:IsA("Sound") then |
72 | + | |
73 | - | table.insert(stab,{target,target.Pitch}) |
73 | + | |
74 | obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end); | |
75 | obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end); | |
76 | end; | |
77 | ||
78 | - | plr:GetMouse().KeyDown:connect(function(key) |
78 | + | |
79 | end; | |
80 | - | if deb == true then |
80 | + | |
81 | - | deb = false |
81 | + | |
82 | plr = game.Players.LocalPlayer | |
83 | - | print("R!") |
83 | + | |
84 | - | deb = true |
84 | + | |
85 | - | |
85 | + | |
86 | - | s = Instance.new("Sound",game:GetService("Workspace")) |
86 | + | |
87 | - | s.SoundId = "rbxassetid://274698941" |
87 | + | |
88 | - | s.Volume = 5 |
88 | + | |
89 | - | s:Play() |
89 | + | |
90 | - | |
90 | + | |
91 | bbgTl.Position = UDim2.new(-4.5,0,0,0) | |
92 | - | |
92 | + | |
93 | - | print("ZA WARUDO!") |
93 | + | |
94 | - | local cc = Instance.new("ColorCorrectionEffect",game:GetService("Lighting")) |
94 | + | |
95 | - | spawn(function() |
95 | + | |
96 | - | plr.Character.Humanoid.WalkSpeed = 0 |
96 | + | |
97 | - | plr.Character.Humanoid.JumpPower = 0 |
97 | + | |
98 | - | local p = Instance.new("Part",plr.Character) |
98 | + | |
99 | - | p.Transparency = 0.5 |
99 | + | |
100 | - | p.BrickColor = BrickColor.new("Institutional white") |
100 | + | |
101 | - | p.Size = Vector3.new(0.2,0.2,0.2) |
101 | + | |
102 | - | p.Anchored = true |
102 | + | |
103 | - | p.CanCollide = false |
103 | + | |
104 | - | p.CFrame = plr.Character.Torso.CFrame |
104 | + | |
105 | - | local m = Instance.new("SpecialMesh",p) |
105 | + | |
106 | - | m.MeshType = Enum.MeshType.Sphere |
106 | + | |
107 | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
108 | - | local r = 255 |
108 | + | |
109 | - | local g = 255 |
109 | + | |
110 | - | local b = 255 |
110 | + | |
111 | - | local contrast = 0 |
111 | + | |
112 | local MainGUI = Instance.new("ScreenGui") | |
113 | - | for i=1,50 do |
113 | + | |
114 | - | m.Scale = m.Scale + Vector3.new(50,50,50) |
114 | + | |
115 | - | p.Transparency = p.Transparency + 0.5/50 |
115 | + | |
116 | - | r = r - ((255-42)/50) |
116 | + | |
117 | - | g = g - ((255-0)/50) |
117 | + | |
118 | - | b = b - ((255-255)/50) |
118 | + | |
119 | - | contrast = contrast - 2/50 |
119 | + | |
120 | - | --cc.TintColor = Color3.fromRGB(r,g,b) |
120 | + | |
121 | - | cc.Contrast = contrast |
121 | + | |
122 | - | for i,v in pairs(stab) do |
122 | + | |
123 | - | v[1].Pitch = v[1].Pitch - (v[2]/50) |
123 | + | |
124 | local TextLabel_4 = Instance.new("TextLabel") | |
125 | local Slider = Instance.new("Frame") | |
126 | local Slidee = Instance.new("ImageButton") | |
127 | - | p:Destroy() |
127 | + | |
128 | - | plr.Character.Humanoid.WalkSpeed = 16 |
128 | + | |
129 | - | plr.Character.Humanoid.JumpPower = 50 |
129 | + | |
130 | local TextBox = Instance.new("TextBox") | |
131 | - | local sHp = plr.Character.Humanoid.Health |
131 | + | |
132 | - | local hplock = plr.Character.Humanoid.HealthChanged:connect(function() |
132 | + | |
133 | - | plr.Character.Humanoid.Health = sHp |
133 | + | |
134 | -- Properties | |
135 | - | |
135 | + | |
136 | - | local aNew = game:GetService("Workspace").ChildAdded:connect(function(c) |
136 | + | |
137 | - | timeStop(c) |
137 | + | |
138 | pcall(function() | |
139 | - | |
139 | + | |
140 | - | for i,v in pairs(ignlist) do |
140 | + | |
141 | - | table.remove(ignlist,1) |
141 | + | |
142 | MainGUI.Parent = game.CoreGui | |
143 | - | plrIgnore(plr.Character) |
143 | + | |
144 | - | timeStop(game:GetService("Workspace")) |
144 | + | |
145 | - | while deb ~= false do wait() end |
145 | + | |
146 | - | --spawn(function() |
146 | + | |
147 | - | local r = 42 |
147 | + | |
148 | - | local g = 0 |
148 | + | |
149 | - | local b = 255 |
149 | + | |
150 | - | local contrast = -2 |
150 | + | |
151 | - | for i=1,50 do |
151 | + | |
152 | - | r = r + ((255-42)/50) |
152 | + | |
153 | - | g = g + ((255-0)/50) |
153 | + | |
154 | - | b = b + ((255-255)/50) |
154 | + | |
155 | - | contrast = contrast + 2/50 |
155 | + | |
156 | - | --cc.TintColor = Color3.fromRGB(r,g,b) |
156 | + | |
157 | - | cc.Contrast = contrast |
157 | + | |
158 | - | for i,v in pairs(stab) do |
158 | + | |
159 | - | v[1].Pitch = v[1].Pitch + (v[2]/50) |
159 | + | |
160 | Customize.TextWrapped = true | |
161 | ||
162 | Frame.Parent = Customize | |
163 | - | cc:Destroy() |
163 | + | |
164 | - | --end) |
164 | + | |
165 | - | for i,v in pairs(tstab) do |
165 | + | |
166 | - | v.Anchored = false |
166 | + | |
167 | ||
168 | - | for i,v in pairs(tstab) do |
168 | + | |
169 | - | table.remove(tstab,1) |
169 | + | |
170 | TextLabel.BackgroundTransparency = 1 | |
171 | - | --table.foreach(stab,print) |
171 | + | |
172 | - | for i,v in pairs(stab) do |
172 | + | |
173 | - | table.remove(stab,1) |
173 | + | |
174 | TextLabel.FontSize = Enum.FontSize.Size14 | |
175 | - | --print("---------") |
175 | + | |
176 | - | --table.foreach(stab,print) |
176 | + | |
177 | - | --[[for i,v in pairs(tsstab) do |
177 | + | |
178 | - | v.Disabled = false |
178 | + | |
179 | TextLabel.TextWrapped = true | |
180 | - | for i,v in pairs(tsstab) do |
180 | + | |
181 | - | table.remove(tsstab,1) |
181 | + | |
182 | - | end]] |
182 | + | |
183 | - | hplock:Disconnect() |
183 | + | |
184 | - | aNew:Disconnect() |
184 | + | |
185 | - | deb = false |
185 | + | |
186 | Frame_2.Size = UDim2.new(1, 0, 1, 0) | |
187 | Frame_2.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
188 | ||
189 | Frame_3.Parent = Frame | |
190 | Frame_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
191 | Frame_3.BackgroundTransparency = 1 | |
192 | Frame_3.BorderSizePixel = 0 | |
193 | Frame_3.Position = UDim2.new(0.0500000007, 0, 0.449999988, 0) | |
194 | Frame_3.Size = UDim2.new(0.5, 0, 0.5, 0) | |
195 | Frame_3.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
196 | ||
197 | ImageLabel.Parent = Frame_3 | |
198 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
199 | ImageLabel.BackgroundTransparency = 1 | |
200 | ImageLabel.Size = UDim2.new(1, 0, 1, 0) | |
201 | ImageLabel.Image = "rbxassetid://328298876" | |
202 | ||
203 | R.Name = "R" | |
204 | R.Parent = Frame_3 | |
205 | R.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
206 | R.BorderSizePixel = 0 | |
207 | R.Position = UDim2.new(1.39999998, 0, 0, 0) | |
208 | R.Size = UDim2.new(0.75, 0, 0.300000012, 0) | |
209 | R.Font = Enum.Font.SourceSans | |
210 | R.FontSize = Enum.FontSize.Size14 | |
211 | R.Text = "Input" | |
212 | R.TextColor3 = Color3.new(1, 1, 1) | |
213 | R.TextScaled = true | |
214 | R.TextSize = 14 | |
215 | R.TextWrapped = true | |
216 | R.TextXAlignment = Enum.TextXAlignment.Left | |
217 | ||
218 | G.Name = "G" | |
219 | G.Parent = Frame_3 | |
220 | G.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
221 | G.BorderSizePixel = 0 | |
222 | G.Position = UDim2.new(1.39999998, 0, 0.349999994, 0) | |
223 | G.Size = UDim2.new(0.75, 0, 0.300000012, 0) | |
224 | G.Font = Enum.Font.SourceSans | |
225 | G.FontSize = Enum.FontSize.Size14 | |
226 | G.Text = "Input" | |
227 | G.TextColor3 = Color3.new(1, 1, 1) | |
228 | G.TextScaled = true | |
229 | G.TextSize = 14 | |
230 | G.TextWrapped = true | |
231 | G.TextXAlignment = Enum.TextXAlignment.Left | |
232 | ||
233 | B.Name = "B" | |
234 | B.Parent = Frame_3 | |
235 | B.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
236 | B.BorderSizePixel = 0 | |
237 | B.Position = UDim2.new(1.39999998, 0, 0.699999988, 0) | |
238 | B.Size = UDim2.new(0.75, 0, 0.300000012, 0) | |
239 | B.Font = Enum.Font.SourceSans | |
240 | B.FontSize = Enum.FontSize.Size14 | |
241 | B.Text = "Input" | |
242 | B.TextColor3 = Color3.new(1, 1, 1) | |
243 | B.TextScaled = true | |
244 | B.TextSize = 14 | |
245 | B.TextWrapped = true | |
246 | B.TextXAlignment = Enum.TextXAlignment.Left | |
247 | ||
248 | TextLabel_2.Parent = Frame_3 | |
249 | TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
250 | TextLabel_2.BackgroundTransparency = 1 | |
251 | TextLabel_2.Position = UDim2.new(1.04999995, 0, 0, 0) | |
252 | TextLabel_2.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
253 | TextLabel_2.Font = Enum.Font.SourceSansLight | |
254 | TextLabel_2.FontSize = Enum.FontSize.Size14 | |
255 | TextLabel_2.Text = "R" | |
256 | TextLabel_2.TextColor3 = Color3.new(1, 1, 1) | |
257 | TextLabel_2.TextScaled = true | |
258 | TextLabel_2.TextSize = 14 | |
259 | TextLabel_2.TextWrapped = true | |
260 | ||
261 | TextLabel_3.Parent = Frame_3 | |
262 | TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
263 | TextLabel_3.BackgroundTransparency = 1 | |
264 | TextLabel_3.Position = UDim2.new(1.04999995, 0, 0.349999994, 0) | |
265 | TextLabel_3.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
266 | TextLabel_3.Font = Enum.Font.SourceSansLight | |
267 | TextLabel_3.FontSize = Enum.FontSize.Size14 | |
268 | TextLabel_3.Text = "G" | |
269 | TextLabel_3.TextColor3 = Color3.new(1, 1, 1) | |
270 | TextLabel_3.TextScaled = true | |
271 | TextLabel_3.TextSize = 14 | |
272 | TextLabel_3.TextWrapped = true | |
273 | ||
274 | TextLabel_4.Parent = Frame_3 | |
275 | TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
276 | TextLabel_4.BackgroundTransparency = 1 | |
277 | TextLabel_4.Position = UDim2.new(1.04999995, 0, 0.699999988, 0) | |
278 | TextLabel_4.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
279 | TextLabel_4.Font = Enum.Font.SourceSansLight | |
280 | TextLabel_4.FontSize = Enum.FontSize.Size14 | |
281 | TextLabel_4.Text = "B" | |
282 | TextLabel_4.TextColor3 = Color3.new(1, 1, 1) | |
283 | TextLabel_4.TextScaled = true | |
284 | TextLabel_4.TextSize = 14 | |
285 | TextLabel_4.TextWrapped = true | |
286 | ||
287 | Slider.Name = "Slider" | |
288 | Slider.Parent = Frame | |
289 | Slider.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
290 | Slider.Position = UDim2.new(0.0500000007, 0, 0.375, 0) | |
291 | Slider.Size = UDim2.new(0.230000004, 0, 0.00999999978, 0) | |
292 | ||
293 | Slidee.Name = "Slidee" | |
294 | Slidee.Parent = Slider | |
295 | Slidee.AnchorPoint = Vector2.new(0.5, 0.5) | |
296 | Slidee.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177) | |
297 | Slidee.BorderSizePixel = 0 | |
298 | Slidee.Size = UDim2.new(0.0299999993, 0, 7, 0) | |
299 | Slidee.ImageTransparency = 1 | |
300 | ||
301 | ChildLock.Name = "ChildLock" | |
302 | ChildLock.Parent = Frame | |
303 | ChildLock.Active = true | |
304 | ChildLock.BackgroundColor3 = Color3.new(0, 0, 0) | |
305 | ChildLock.BackgroundTransparency = 0.60000002384186 | |
306 | ChildLock.BorderSizePixel = 0 | |
307 | ChildLock.Position = UDim2.new(0.600000024, 0, 0, 0) | |
308 | ChildLock.Size = UDim2.new(0.400000006, 0, 1, 0) | |
309 | ChildLock.ZIndex = 2 | |
310 | ||
311 | TextLabel_5.Parent = ChildLock | |
312 | TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
313 | TextLabel_5.BackgroundTransparency = 1 | |
314 | TextLabel_5.BorderSizePixel = 0 | |
315 | TextLabel_5.Position = UDim2.new(0.125, 0, 0.150000006, 0) | |
316 | TextLabel_5.Size = UDim2.new(0.75, 0, 0.200000003, 0) | |
317 | TextLabel_5.ZIndex = 3 | |
318 | TextLabel_5.Font = Enum.Font.SourceSans | |
319 | TextLabel_5.FontSize = Enum.FontSize.Size14 | |
320 | TextLabel_5.Text = "do this math to disable child lock" | |
321 | TextLabel_5.TextColor3 = Color3.new(1, 1, 1) | |
322 | TextLabel_5.TextScaled = true | |
323 | TextLabel_5.TextSize = 14 | |
324 | TextLabel_5.TextWrapped = true | |
325 | ||
326 | mathz.Name = "mathz" | |
327 | mathz.Parent = ChildLock | |
328 | mathz.BackgroundColor3 = Color3.new(1, 1, 1) | |
329 | mathz.BackgroundTransparency = 1 | |
330 | mathz.Position = UDim2.new(0.125, 0, 0.449999988, 0) | |
331 | mathz.Size = UDim2.new(0.75, 0, 0.200000003, 0) | |
332 | mathz.ZIndex = 3 | |
333 | mathz.Font = Enum.Font.SourceSans | |
334 | mathz.FontSize = Enum.FontSize.Size14 | |
335 | mathz.Text = math1.."("..math2.."r - "..math3..") = "..math4 | |
336 | mathz.TextColor3 = Color3.new(1, 1, 1) | |
337 | mathz.TextScaled = true | |
338 | mathz.TextSize = 14 | |
339 | mathz.TextWrapped = true | |
340 | ||
341 | fps.Name = "fps" | |
342 | fps.Parent = Frame | |
343 | fps.BackgroundColor3 = Color3.new(1, 1, 1) | |
344 | fps.BackgroundTransparency = 1 | |
345 | fps.Size = UDim2.new(0.75, 0, 0.05, 0) | |
346 | fps.ZIndex = 3 | |
347 | fps.Font = Enum.Font.SourceSansLight | |
348 | fps.FontSize = Enum.FontSize.Size14 | |
349 | fps.Text = "FPS: N/A" | |
350 | fps.TextColor3 = Color3.new(1, 1, 1) | |
351 | fps.TextScaled = true | |
352 | fps.TextSize = 14 | |
353 | fps.TextWrapped = true | |
354 | fps.TextXAlignment = Enum.TextXAlignment.Left | |
355 | ||
356 | TextBox.Parent = ChildLock | |
357 | TextBox.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
358 | TextBox.BorderSizePixel = 0 | |
359 | TextBox.Position = UDim2.new(0.200000003, 0, 0.699999988, 0) | |
360 | TextBox.Size = UDim2.new(0.600000024, 0, 0.200000003, 0) | |
361 | TextBox.ZIndex = 3 | |
362 | TextBox.Font = Enum.Font.SourceSans | |
363 | TextBox.FontSize = Enum.FontSize.Size14 | |
364 | TextBox.Text = "Answer (rounded to nearest tenth)" | |
365 | TextBox.TextColor3 = Color3.new(1, 1, 1) | |
366 | TextBox.TextScaled = true | |
367 | TextBox.TextSize = 14 | |
368 | TextBox.TextWrapped = true | |
369 | TextBox.TextXAlignment = Enum.TextXAlignment.Left | |
370 | ||
371 | Black.Size = UDim2.new(1,0,1,0) | |
372 | Black.BackgroundTransparency = 1 | |
373 | Black.BorderSizePixel = 0 | |
374 | Black.BackgroundColor3 = Color3.new(0,0,0) | |
375 | Black.Parent = Frame_3 | |
376 | ||
377 | TextBox.FocusLost:connect(function() | |
378 | if TextBox.Text == tostring(answer) or TextBox.Text == "r="..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == "r = "..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == tostring(answer).."=r" or TextBox.Text == tostring(answer).." =r" or TextBox.Text == tostring(answer).."= r" or TextBox.Text == tostring(answer).." = r" then | |
379 | ChildLock:Destroy() | |
380 | childlock = false | |
381 | notify("NOOOOOOOOOOOOOOOOOOOOOOOOO.",true) | |
382 | end | |
383 | end) | |
384 | ||
385 | local mousedown = false | |
386 | mouse.Button1Down:connect(function() | |
387 | mousedown = true | |
388 | end) | |
389 | mouse.Button1Up:connect(function() | |
390 | mousedown = false | |
391 | slidee = false | |
392 | end) | |
393 | ||
394 | Slidee.MouseButton1Down:connect(function() | |
395 | slidee = true | |
396 | end) | |
397 | Slidee.MouseButton1Up:connect(function() | |
398 | slidee = false | |
399 | end) | |
400 | ||
401 | mouse.Move:connect(function() | |
402 | if mousedown then | |
403 | if mouse.X >= ImageLabel.AbsolutePosition.X and mouse.X <= ImageLabel.AbsolutePosition.X+ ImageLabel.AbsoluteSize.X and mouse.Y >= ImageLabel.AbsolutePosition.Y and mouse.Y <= ImageLabel.AbsolutePosition.Y+ ImageLabel.AbsoluteSize.Y then | |
404 | local newX = ImageLabel.AbsoluteSize.X-(mouse.X-ImageLabel.AbsolutePosition.X) | |
405 | local newY = ImageLabel.AbsoluteSize.Y-(mouse.Y-ImageLabel.AbsolutePosition.Y) | |
406 | local newcolor = Color3.fromHSV(newX/ImageLabel.AbsoluteSize.X,newY/ImageLabel.AbsoluteSize.Y,Black.Transparency) | |
407 | Frame_2.BackgroundColor3 = newcolor | |
408 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
409 | end | |
410 | end | |
411 | if slidee then | |
412 | local ree = mouse.X | |
413 | if ree < Slider.AbsolutePosition.X then | |
414 | ree = Slider.AbsolutePosition.X | |
415 | elseif ree > Slider.AbsolutePosition.X+Slider.AbsoluteSize.X then | |
416 | ree = Slider.AbsolutePosition.X+Slider.AbsoluteSize.X | |
417 | end | |
418 | Slidee.Position = UDim2.new(0,ree-Slider.AbsolutePosition.X,0,0) | |
419 | Black.Transparency = 1-(Slidee.Position.X.Offset/Slider.AbsoluteSize.X) | |
420 | end | |
421 | end) | |
422 | ||
423 | R.FocusLost:connect(function() | |
424 | if R.Text ~= "Input" then | |
425 | if tonumber(R.Text) then | |
426 | if tonumber(R.Text) > 255 then | |
427 | R.Text = "255" | |
428 | end | |
429 | local newcolor = Color3.new(tonumber(R.Text/255),Frame_2.BackgroundColor3.g,Frame_2.BackgroundColor3.b) | |
430 | Frame_2.BackgroundColor3 = newcolor | |
431 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
432 | R.Text = "Input" | |
433 | end | |
434 | end | |
435 | end) | |
436 | G.FocusLost:connect(function() | |
437 | if G.Text ~= "Input" then | |
438 | if tonumber(G.Text) then | |
439 | if tonumber(G.Text) > 255 then | |
440 | G.Text = "255" | |
441 | end | |
442 | local newcolor = Color3.new(Frame_2.BackgroundColor3.r,tonumber(G.Text/255),Frame_2.BackgroundColor3.b) | |
443 | Frame_2.BackgroundColor3 = newcolor | |
444 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
445 | G.Text = "Input" | |
446 | end | |
447 | end | |
448 | end) | |
449 | B.FocusLost:connect(function() | |
450 | if B.Text ~= "Input" then | |
451 | if tonumber(B.Text) then | |
452 | if tonumber(B.Text) > 255 then | |
453 | B.Text = "255" | |
454 | end | |
455 | local newcolor = Color3.new(Frame_2.BackgroundColor3.r,Frame_2.BackgroundColor3.g,tonumber(B.Text/255)) | |
456 | Frame_2.BackgroundColor3 = newcolor | |
457 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
458 | B.Text = "Input" | |
459 | end | |
460 | end | |
461 | end) | |
462 | ||
463 | local open = false | |
464 | local opening = false | |
465 | Customize.MouseButton1Click:connect(function() | |
466 | if opening == false then | |
467 | if open == false then | |
468 | open = true | |
469 | opening = true | |
470 | Customize:TweenPosition(UDim2.new(0.15, 0, 0.1, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1) | |
471 | wait(1) | |
472 | opening = false | |
473 | else | |
474 | open = false | |
475 | opening = true | |
476 | Customize:TweenPosition(UDim2.new(0.15, 0, 0.9, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1) | |
477 | wait(1) | |
478 | opening = false | |
479 | end | |
480 | end | |
481 | end) | |
482 | ||
483 | Frame_2.BackgroundColor3 = Color3.fromRGB(117,0,0) | |
484 | ||
485 | function removewelds(part) | |
486 | for i,v in pairs(part:GetChildren()) do | |
487 | if v:IsA('Weld') then v:Destroy() end | |
488 | end | |
489 | end | |
490 | ||
491 | function notify(msg,remove) | |
492 | local coru= coroutine.wrap(function() | |
493 | for i,v in pairs(MainGUI:GetChildren()) do | |
494 | if v:IsA('TextLabel') then v:Destroy() end | |
495 | end | |
496 | if msg then | |
497 | local TextLabel = Instance.new("TextLabel") | |
498 | local Frame = Instance.new("Frame") | |
499 | ||
500 | -- Properties | |
501 | ||
502 | TextLabel.Parent = MainGUI | |
503 | TextLabel.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451) | |
504 | TextLabel.BorderSizePixel = 0 | |
505 | TextLabel.Position = UDim2.new(0.25, 0, 0.05, -10) | |
506 | TextLabel.Size = UDim2.new(0.5, 0, 0.1, 0) | |
507 | TextLabel.Font = Enum.Font.SourceSans | |
508 | TextLabel.FontSize = Enum.FontSize.Size60 | |
509 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
510 | TextLabel.TextSize = 50 | |
511 | TextLabel.Transparency = 1 | |
512 | TextLabel.TextScaled = true | |
513 | TextLabel.TextYAlignment = Enum.TextYAlignment.Top | |
514 | TextLabel.Text = "" | |
515 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
516 | ||
517 | Frame.Parent = TextLabel | |
518 | Frame.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157) | |
519 | Frame.BorderSizePixel = 0 | |
520 | Frame.Transparency = 1 | |
521 | Frame.Position = UDim2.new(0, 0, 1,0) | |
522 | Frame.Size = UDim2.new(1, 0, 0, 5) | |
523 | for i=1,10 do | |
524 | TextLabel.Transparency = TextLabel.Transparency-0.1 | |
525 | TextLabel.Position = TextLabel.Position+UDim2.new(0,0,0,1) | |
526 | Frame.Transparency = Frame.Transparency-0.1 | |
527 | wait() | |
528 | end | |
529 | for i=1,#msg do | |
530 | TextLabel.Text = string.sub(msg,1,i) | |
531 | wait() | |
532 | end | |
533 | wait(1) | |
534 | if remove ~= true then | |
535 | for i=1,10 do | |
536 | TextLabel.Transparency = TextLabel.Transparency+0.1 | |
537 | TextLabel.Position = TextLabel.Position-UDim2.new(0,0,0,1) | |
538 | Frame.Transparency = Frame.Transparency+0.1 | |
539 | wait() | |
540 | end | |
541 | TextLabel:Destroy() | |
542 | end | |
543 | end | |
544 | end) | |
545 | coru() | |
546 | end | |
547 | if workspace.FilteringEnabled == false then | |
548 | if workspace:PGSIsEnabled() then | |
549 | notify('Press Z to equip. Created by mustardfoot and Tollonis. Not By paladinzzz, ok?',true) | |
550 | else | |
551 | notify('(this game is really old or something and has terrible physics so a lot of things wont work sorry) Press Z to equip. Created by mustardfoot and Tollonis.',true) | |
552 | end | |
553 | else | |
554 | notify('LOL this game has filtering enabled so it literally wont work here') | |
555 | end | |
556 | ||
557 | local handProperties = { | |
558 | {"LimitsEnabled", true}; | |
559 | {"UpperAngle",0}; | |
560 | {"LowerAngle",0}; | |
561 | } | |
562 | local shinProperties = { | |
563 | {"LimitsEnabled", true}; | |
564 | {"UpperAngle", 0}; | |
565 | {"LowerAngle", -75}; | |
566 | } | |
567 | local footProperties = { | |
568 | {"LimitsEnabled", true}; | |
569 | {"UpperAngle", 15}; | |
570 | {"LowerAngle", -45}; | |
571 | } | |
572 | ||
573 | function bleed(frick,OwO) | |
574 | while frick.Parent ~= nil and frick.Parent.Parent ~= nil do | |
575 | local reeee = coroutine.wrap(function() | |
576 | local thing = Instance.new('Part',workspace) | |
577 | thing.Size = Vector3.new(0.2,0.2,0.2) | |
578 | thing.CFrame = frick.CFrame | |
579 | thing.Transparency = 1 | |
580 | thing.BrickColor = BrickColor.new(Frame_2.BackgroundColor3) | |
581 | thing.Material = Enum.Material.SmoothPlastic | |
582 | thing.Name = "Blood" | |
583 | thing.CanCollide =false | |
584 | thing:BreakJoints() | |
585 | local rawrxd = Instance.new('BodyForce',thing) | |
586 | rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) | |
587 | local coru = coroutine.wrap(function() | |
588 | wait(0.01) | |
589 | rawrxd:Destroy() | |
590 | end) | |
591 | coru() | |
592 | local ree = Instance.new('ParticleEmitter',thing) | |
593 | if OwO ~= true then | |
594 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Frame_2.BackgroundColor3),ColorSequenceKeypoint.new(1,Frame_2.BackgroundColor3)}) | |
595 | else | |
596 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))}) | |
597 | end | |
598 | ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)}) | |
599 | ree.Texture = 'rbxassetid://867743272' | |
600 | ree.Lifetime = NumberRange.new(0.4) | |
601 | ree.Rate = 50 | |
602 | ree.LockedToPart = true | |
603 | ree.Speed = NumberRange.new(0, 2) | |
604 | ||
605 | thing.Touched:connect(function(tou) | |
606 | if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" and tou.Parent.Name ~= 'handle' and tou.Name ~= "blade" and tou.Name ~= 'handle' and tou.Name ~= "Projectile" and tou.Parent.Name ~= "Projectile" then | |
607 | local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) | |
608 | local Point1 = pos-Vector3.new(0.01,0.01,0.01) | |
609 | local Point2 = pos+Vector3.new(0.01,0.01,0.01) | |
610 | local Region = Region3.new(Point1,Point2) | |
611 | for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do | |
612 | if Part.Name == "BloodPuddle" then | |
613 | tou = Part | |
614 | end | |
615 | end | |
616 | thing:Destroy() | |
617 | if tou.Name == "BloodPuddle" then | |
618 | if tou.Size.X < 1 then | |
619 | pcall(function() | |
620 | tou.Sound:Play() | |
621 | end) | |
622 | end | |
623 | local reee = tou.CFrame | |
624 | if tou.Transparency > -0.2 then | |
625 | tou.Transparency = tou.Transparency -0.1 | |
626 | end | |
627 | if tou.Size.X < 5 then | |
628 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
629 | tou.CFrame = reee | |
630 | end | |
631 | elseif tou.CanCollide == true then | |
632 | local bloodlol = Instance.new('Part',workspace) | |
633 | local sound = Instance.new('Sound',bloodlol) | |
634 | sound.SoundId = 'rbxassetid://685857471' | |
635 | sound.Volume = 0.025 | |
636 | sound:Play() | |
637 | bloodlol.Size=Vector3.new(1,0.2,1) | |
638 | bloodlol.Name = "BloodPuddle" | |
639 | bloodlol.Anchored = true | |
640 | bloodlol.CanCollide = false | |
641 | bloodlol.Material = Enum.Material.SmoothPlastic | |
642 | if OwO ~= true then | |
643 | bloodlol.Color = Frame_2.BackgroundColor3 | |
644 | else | |
645 | bloodlol.Color = Color3.new(1,1,1) | |
646 | end | |
647 | local cyl = Instance.new('CylinderMesh',bloodlol) | |
648 | cyl.Scale = Vector3.new(1,0.1,1) | |
649 | bloodlol.CFrame = CFrame.new(pos) | |
650 | local coru=coroutine.wrap(function() | |
651 | while bloodlol.Parent ~= nil do | |
652 | if bloodlol.Transparency < 1 then | |
653 | bloodlol.Transparency = bloodlol.Transparency+0.05 | |
654 | else | |
655 | bloodlol:Destroy() | |
656 | end | |
657 | wait(0.1) | |
658 | end | |
659 | end) | |
660 | coru() | |
661 | end | |
662 | end | |
663 | end) | |
664 | local coru = coroutine.wrap(function() | |
665 | wait(1) | |
666 | thing:Destroy() | |
667 | end) | |
668 | coru() | |
669 | end) | |
670 | reeee() | |
671 | wait() | |
672 | end | |
673 | end | |
674 | ||
675 | function stun(char) | |
676 | local found = false | |
677 | pcall(function() | |
678 | char:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Physics) | |
679 | end) | |
680 | for i,v in pairs(rekt) do | |
681 | if v == char then | |
682 | found = true | |
683 | end | |
684 | end | |
685 | if found == false then | |
686 | table.insert(rekt,char) | |
687 | end | |
688 | end | |
689 | function unstun(char) | |
690 | for i,v in pairs(rekt) do | |
691 | if v == char then | |
692 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then | |
693 | v:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Running) | |
694 | v:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
695 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
696 | v:FindFirstChildOfClass('Humanoid').Jump = true | |
697 | v:FindFirstChildOfClass('Humanoid').JumpPower = 50 | |
698 | v:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
699 | v:FindFirstChildOfClass('Humanoid').Name = "Humanoid" | |
700 | end | |
701 | table.remove(rekt,i) | |
702 | end | |
703 | end | |
704 | end | |
705 | ||
706 | function recurse(root,callback,i) | |
707 | i= i or 0 | |
708 | for _,v in pairs(root:GetChildren()) do | |
709 | i = i + 1 | |
710 | callback(i,v) | |
711 | ||
712 | if #v:GetChildren() > 0 then | |
713 | i = recurse(v,callback,i) | |
714 | end | |
715 | end | |
716 | ||
717 | return i | |
718 | end | |
719 | ||
720 | function ragdollJoint(character, part0, part1, attachmentName, className, properties) | |
721 | if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then | |
722 | if character:FindFirstChild('HumanoidRootPart')then | |
723 | character.HumanoidRootPart.CanCollide = false | |
724 | end | |
725 | for i,v in pairs(character:GetChildren()) do | |
726 | if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then | |
727 | v.Size = Vector3.new(1,1,1) | |
728 | end | |
729 | end | |
730 | recurse(character, function(_,v) | |
731 | if v:IsA("Attachment") and v.Parent.Name ~= "ayybleed" then | |
732 | v.Axis = Vector3.new(0, 1, 0) | |
733 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
734 | v.Rotation = Vector3.new(0, 0, 0) | |
735 | end | |
736 | end) | |
737 | if part1:FindFirstChildOfClass('Motor6D') then | |
738 | part1:FindFirstChildOfClass('Motor6D'):Destroy() | |
739 | end | |
740 | if attachmentName ~= "NeckAttachment" then | |
741 | attachmentName = attachmentName.."RigAttachment" | |
742 | end | |
743 | local constraint = Instance.new(className.."Constraint") | |
744 | constraint.Attachment0 = part0:FindFirstChild(attachmentName) | |
745 | constraint.Attachment1 = part1:FindFirstChild(attachmentName) | |
746 | constraint.Name = "RagdollConstraint"..part1.Name | |
747 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
748 | local collidepart = Instance.new('Part',part1) | |
749 | collidepart.Size = part1.Size/2 | |
750 | if string.find(string.lower(part1.Name),"upper") then | |
751 | if string.find(string.lower(part1.Name),"leg") then | |
752 | collidepart.Size = part1.Size/3 | |
753 | else | |
754 | collidepart.Size = part1.Size/2.5 | |
755 | end | |
756 | end | |
757 | collidepart.CanCollide = true | |
758 | collidepart.Name = "Collision" | |
759 | collidepart.Anchored = false | |
760 | collidepart.Transparency = 1 | |
761 | collidepart.CFrame = part1.CFrame | |
762 | collidepart:BreakJoints() | |
763 | local attachment0 = Instance.new('Attachment',part1) | |
764 | local attachment1 = Instance.new('Attachment',collidepart) | |
765 | if attachment0 and attachment1 then | |
766 | local constraint = Instance.new("HingeConstraint") | |
767 | constraint.Attachment0 = attachment0 | |
768 | constraint.Attachment1 = attachment1 | |
769 | constraint.LimitsEnabled = true | |
770 | constraint.UpperAngle = 0 | |
771 | constraint.LowerAngle = 0 | |
772 | constraint.Parent = character | |
773 | end | |
774 | if string.find(string.lower(part1.Name),"upper") then | |
775 | if string.find(string.lower(part1.Name),"leg") then | |
776 | attachment0.Position = Vector3.new(0,0.01,0) | |
777 | else | |
778 | attachment0.Position = Vector3.new(0,0.25,0) | |
779 | end | |
780 | else | |
781 | attachment0.Position = Vector3.new(0,-0.1,0) | |
782 | end | |
783 | end | |
784 | for _,propertyData in next,properties or {} do | |
785 | constraint[propertyData[1]] = propertyData[2] | |
786 | end | |
787 | ||
788 | constraint.Parent = character | |
789 | end | |
790 | end | |
791 | ||
792 | function R6ragdollJoint(character,limbname,attached,heded) | |
793 | pcall(function() | |
794 | if limbname == "Right Arm" and character:FindFirstChild("Right Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right ArmRagdollConstraint") == nil then | |
795 | local torsoatt = Instance.new('Attachment',character.Torso) | |
796 | torsoatt.Name = limbname.."RagdollConstraint" | |
797 | torsoatt.Position = Vector3.new(1.45,0.768,-0.009) | |
798 | torsoatt.Axis = Vector3.new(1,0,0) | |
799 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
800 | local limbatt = Instance.new("Attachment",character[limbname]) | |
801 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
802 | limbatt.Name = limbname.."RagdollConstraint" | |
803 | limbatt.Axis = Vector3.new(1,0,0) | |
804 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
805 | local ballc = Instance.new('BallSocketConstraint',character) | |
806 | ballc.Name = "RightArmRagdollRig" | |
807 | ballc.Attachment0 = torsoatt | |
808 | ballc.Attachment1 = limbatt | |
809 | local part1 = character[limbname] | |
810 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
811 | local collidepart = Instance.new('Part',part1) | |
812 | collidepart.Size = part1.Size/1.5 | |
813 | collidepart.CanCollide = true | |
814 | collidepart.Name = "Collision" | |
815 | collidepart.Anchored = false | |
816 | collidepart.Transparency = 1 | |
817 | collidepart.CFrame = part1.CFrame | |
818 | collidepart:BreakJoints() | |
819 | local attachment0 = Instance.new('Attachment',part1) | |
820 | local attachment1 = Instance.new('Attachment',collidepart) | |
821 | if attachment0 and attachment1 then | |
822 | local constraint = Instance.new("HingeConstraint") | |
823 | constraint.Attachment0 = attachment0 | |
824 | constraint.Attachment1 = attachment1 | |
825 | constraint.LimitsEnabled = true | |
826 | constraint.UpperAngle = 0 | |
827 | constraint.LowerAngle = 0 | |
828 | constraint.Parent = character | |
829 | end | |
830 | end | |
831 | if character.Torso:FindFirstChild('Right Shoulder') then | |
832 | character.Torso:FindFirstChild('Right Shoulder'):Destroy() | |
833 | end | |
834 | elseif limbname == "Left Arm" and character:FindFirstChild("Left Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left ArmRagdollConstraint") == nil then | |
835 | local torsoatt = Instance.new('Attachment',character.Torso) | |
836 | torsoatt.Name = limbname.."RagdollConstraint" | |
837 | torsoatt.Position = Vector3.new(-1.45,0.768,-0.009) | |
838 | torsoatt.Axis = Vector3.new(1,0,0) | |
839 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
840 | local limbatt = Instance.new("Attachment",character[limbname]) | |
841 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
842 | limbatt.Name = limbname.."RagdollConstraint" | |
843 | limbatt.Axis = Vector3.new(1,0,0) | |
844 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
845 | local ballc = Instance.new('BallSocketConstraint',character) | |
846 | ballc.Name = "LeftArmRagdollRig" | |
847 | ballc.Attachment0 = torsoatt | |
848 | ballc.Attachment1 = limbatt | |
849 | local part1 = character[limbname] | |
850 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
851 | local collidepart = Instance.new('Part',part1) | |
852 | collidepart.Size = part1.Size/1.5 | |
853 | collidepart.CanCollide = true | |
854 | collidepart.Name = "Collision" | |
855 | collidepart.Anchored = false | |
856 | collidepart.Transparency = 1 | |
857 | collidepart.CFrame = part1.CFrame | |
858 | collidepart:BreakJoints() | |
859 | local attachment0 = Instance.new('Attachment',part1) | |
860 | local attachment1 = Instance.new('Attachment',collidepart) | |
861 | if attachment0 and attachment1 then | |
862 | local constraint = Instance.new("HingeConstraint") | |
863 | constraint.Attachment0 = attachment0 | |
864 | constraint.Attachment1 = attachment1 | |
865 | constraint.LimitsEnabled = true | |
866 | constraint.UpperAngle = 0 | |
867 | constraint.LowerAngle = 0 | |
868 | constraint.Parent = character | |
869 | end | |
870 | end | |
871 | if character.Torso:FindFirstChild('Left Shoulder') then | |
872 | character.Torso:FindFirstChild('Left Shoulder'):Destroy() | |
873 | end | |
874 | elseif limbname == "Right Leg" and character:FindFirstChild("Right Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right LegRagdollConstraint") == nil then | |
875 | stun(character) | |
876 | local torsoatt = Instance.new('Attachment',character.Torso) | |
877 | torsoatt.Name = limbname.."RagdollConstraint" | |
878 | torsoatt.Position = Vector3.new(0.45, -1.242, -0.009) | |
879 | torsoatt.Axis = Vector3.new(1,0,0) | |
880 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
881 | local limbatt = Instance.new("Attachment",character[limbname]) | |
882 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
883 | limbatt.Name = limbname.."RagdollConstraint" | |
884 | limbatt.Axis = Vector3.new(1,0,0) | |
885 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
886 | local ballc = Instance.new('BallSocketConstraint',character) | |
887 | ballc.Name = "RightLegRagdollRig" | |
888 | ballc.Attachment0 = torsoatt | |
889 | ballc.Attachment1 = limbatt | |
890 | local part1 = character[limbname] | |
891 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
892 | local collidepart = Instance.new('Part',part1) | |
893 | collidepart.Size = part1.Size/1.5 | |
894 | collidepart.CanCollide = true | |
895 | collidepart.Name = "Collision" | |
896 | collidepart.Anchored = false | |
897 | collidepart.Transparency = 1 | |
898 | collidepart.CFrame = part1.CFrame | |
899 | collidepart:BreakJoints() | |
900 | local attachment0 = Instance.new('Attachment',part1) | |
901 | local attachment1 = Instance.new('Attachment',collidepart) | |
902 | if attachment0 and attachment1 then | |
903 | local constraint = Instance.new("HingeConstraint") | |
904 | constraint.Attachment0 = attachment0 | |
905 | constraint.Attachment1 = attachment1 | |
906 | constraint.LimitsEnabled = true | |
907 | constraint.UpperAngle = 0 | |
908 | constraint.LowerAngle = 0 | |
909 | constraint.Parent = character | |
910 | end | |
911 | end | |
912 | if character.Torso:FindFirstChild('Right Hip') then | |
913 | character.Torso:FindFirstChild('Right Hip'):Destroy() | |
914 | end | |
915 | elseif limbname == "Left Leg" and character:FindFirstChild("Left Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left LegRagdollConstraint") == nil then | |
916 | stun(character) | |
917 | local torsoatt = Instance.new('Attachment',character.Torso) | |
918 | torsoatt.Name = limbname.."RagdollConstraint" | |
919 | torsoatt.Position = Vector3.new(-0.45, -1.242, -0.009) | |
920 | torsoatt.Axis = Vector3.new(1,0,0) | |
921 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
922 | local limbatt = Instance.new("Attachment",character[limbname]) | |
923 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
924 | limbatt.Name = limbname.."RagdollConstraint" | |
925 | limbatt.Axis = Vector3.new(1,0,0) | |
926 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
927 | local ballc = Instance.new('BallSocketConstraint',character) | |
928 | ballc.Name = "LeftLegRagdollRig" | |
929 | ballc.Attachment0 = torsoatt | |
930 | ballc.Attachment1 = limbatt | |
931 | local part1 = character[limbname] | |
932 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
933 | local collidepart = Instance.new('Part',part1) | |
934 | collidepart.Size = part1.Size/1.5 | |
935 | collidepart.CanCollide = true | |
936 | collidepart.Name = "Collision" | |
937 | collidepart.Anchored = false | |
938 | collidepart.Transparency = 1 | |
939 | collidepart.CFrame = part1.CFrame | |
940 | collidepart:BreakJoints() | |
941 | local attachment0 = Instance.new('Attachment',part1) | |
942 | local attachment1 = Instance.new('Attachment',collidepart) | |
943 | if attachment0 and attachment1 then | |
944 | local constraint = Instance.new("HingeConstraint") | |
945 | constraint.Attachment0 = attachment0 | |
946 | constraint.Attachment1 = attachment1 | |
947 | constraint.LimitsEnabled = true | |
948 | constraint.UpperAngle = 0 | |
949 | constraint.LowerAngle = 0 | |
950 | constraint.Parent = character | |
951 | end | |
952 | end | |
953 | if character.Torso:FindFirstChild('Left Hip') then | |
954 | character.Torso:FindFirstChild('Left Hip'):Destroy() | |
955 | end | |
956 | elseif limbname == "Head" or limbname == "Torso" and character:FindFirstChild("Head") and character:FindFirstChild("Torso") and character.Head:FindFirstChild("Neck") == nil then | |
957 | if character:FindFirstChildOfClass('Humanoid') then | |
958 | character:FindFirstChildOfClass('Humanoid').Health = 0 | |
959 | end | |
960 | while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end | |
961 | if character:FindFirstChild('HumanoidRootPart') then | |
962 | character.HumanoidRootPart:Destroy() | |
963 | end | |
964 | game:GetService('Debris'):AddItem(character,10) | |
965 | for _,child in next,character:GetChildren() do | |
966 | if child:IsA("Accoutrement") then | |
967 | for _,part in next,child:GetChildren() do | |
968 | if part:IsA("BasePart") then | |
969 | for _,c in pairs(part:GetChildren()) do | |
970 | if c:IsA('Weld') then c:Destroy() end | |
971 | end | |
972 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
973 | local attachment0 = getAttachment0(character,attachment1.Name) | |
974 | if attachment0 and attachment1 then | |
975 | local constraint = Instance.new("HingeConstraint") | |
976 | constraint.Attachment0 = attachment0 | |
977 | constraint.Attachment1 = attachment1 | |
978 | constraint.LimitsEnabled = true | |
979 | constraint.UpperAngle = 0 | |
980 | constraint.LowerAngle = 0 | |
981 | constraint.Parent = character | |
982 | end | |
983 | end | |
984 | end | |
985 | end | |
986 | end | |
987 | for i,v in pairs(character:GetChildren()) do | |
988 | if v:IsA('MeshPart') or v:IsA('BasePart') then | |
989 | for _,c in pairs(v:GetChildren()) do | |
990 | if c.Name == "Collision" then c:Destroy() end | |
991 | end | |
992 | end | |
993 | end | |
994 | if character.Torso:FindFirstChild('Neck') then | |
995 | character.Torso.Neck:Destroy() | |
996 | end | |
997 | if character:FindFirstChild('Torso') then | |
998 | local collidepart = Instance.new('Part',character.Torso) | |
999 | collidepart.Size = character.Torso.Size/1.5 | |
1000 | collidepart.CanCollide = true | |
1001 | collidepart.Name = "Collision" | |
1002 | collidepart.Anchored = false | |
1003 | collidepart.Transparency = 1 | |
1004 | collidepart.CFrame = character.Torso.CFrame | |
1005 | collidepart:BreakJoints() | |
1006 | local attachment0 = Instance.new('Attachment',character.Torso) | |
1007 | local attachment1 = Instance.new('Attachment',collidepart) | |
1008 | if attachment0 and attachment1 then | |
1009 | local constraint = Instance.new("HingeConstraint") | |
1010 | constraint.Attachment0 = attachment0 | |
1011 | constraint.Attachment1 = attachment1 | |
1012 | constraint.LimitsEnabled = true | |
1013 | constraint.UpperAngle = 0 | |
1014 | constraint.LowerAngle = 0 | |
1015 | constraint.Parent = character | |
1016 | end | |
1017 | end | |
1018 | if character:FindFirstChild('Torso') and character:FindFirstChild('Head') then | |
1019 | if character.Torso:FindFirstChild('NeckAttachment') == nil then | |
1020 | local neck = Instance.new('Attachment',character.Torso) | |
1021 | neck.Name = "NeckAttachment" | |
1022 | neck.Position = Vector3.new(0, 1, 0) | |
1023 | end | |
1024 | ragdollJoint(character,character.Torso, character.Head, "NeckAttachment", "Hinge", { | |
1025 | {"LimitsEnabled",true}; | |
1026 | {"UpperAngle",50}; | |
1027 | {"LowerAngle",-50}; | |
1028 | }) | |
1029 | end | |
1030 | if attached ~= false then | |
1031 | ragdollpart(character, "Right Leg") | |
1032 | ragdollpart(character, "Left Leg") | |
1033 | else | |
1034 | pcall(function() | |
1035 | local ayybleed = Instance.new('Part',character) | |
1036 | ayybleed.Size = Vector3.new(character.Torso.Size.X,0.1,character.Torso.Size.Z) | |
1037 | ayybleed.Transparency = 1 | |
1038 | ayybleed.CanCollide = false | |
1039 | ayybleed.CFrame = character.Torso.CFrame | |
1040 | ayybleed:BreakJoints() | |
1041 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1042 | attachment1.Position = Vector3.new(0,-character.Torso.Size.Y/2,0) | |
1043 | attachment1.Orientation = Vector3.new(0, 0, -180) | |
1044 | local attachment0 = Instance.new('Attachment',character.Torso) | |
1045 | if attachment0 and attachment1 then | |
1046 | local constraint = Instance.new("HingeConstraint") | |
1047 | constraint.Attachment0 = attachment0 | |
1048 | constraint.Attachment1 = attachment1 | |
1049 | constraint.LimitsEnabled = true | |
1050 | constraint.UpperAngle = 0 | |
1051 | constraint.LowerAngle = 0 | |
1052 | constraint.Parent = character | |
1053 | end | |
1054 | local bleedBLEED= coroutine.wrap(function() | |
1055 | bleed(ayybleed) | |
1056 | end) | |
1057 | bleedBLEED() | |
1058 | end) | |
1059 | end | |
1060 | ragdollpart(character, "Right Arm") | |
1061 | ragdollpart(character, "Left Arm") | |
1062 | end | |
1063 | end) | |
1064 | end | |
1065 | ||
1066 | function getAttachment0(character,attachmentName) | |
1067 | for _,child in next,character:GetChildren() do | |
1068 | local attachment = child:FindFirstChild(attachmentName) | |
1069 | if attachment then | |
1070 | return attachment | |
1071 | end | |
1072 | end | |
1073 | end | |
1074 | ||
1075 | function ragdollpart(character,partname,attached,heded) | |
1076 | if heded ~= false then | |
1077 | local neck = Instance.new('Attachment',character.Head) | |
1078 | neck.Name = "NeckAttachment" | |
1079 | neck.Position = Vector3.new(0,-0.5,0) | |
1080 | else | |
1081 | local force = Instance.new('BodyForce',character.Head) | |
1082 | force.Force = Vector3.new(0,500,0) | |
1083 | game:GetService('Debris'):AddItem(force,0.25) | |
1084 | pcall(function() | |
1085 | local asdf = Instance.new('Attachment',character.Head) | |
1086 | asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0) | |
1087 | local last = asdf | |
1088 | for i=1,14 do | |
1089 | local bONE = Instance.new('Part',character) | |
1090 | bONE.BrickColor = BrickColor.new('Institutional white') | |
1091 | bONE.Size = Vector3.new(0.1,0.1,0.1) | |
1092 | bONE.CFrame = character.Head.CFrame+(character.Head.CFrame.upVector*-(i/10)) | |
1093 | local lole = Instance.new('Attachment',bONE) | |
1094 | local hangurself = Instance.new('RopeConstraint',bONE) | |
1095 | hangurself.Attachment0 = lole | |
1096 | hangurself.Attachment1 = last | |
1097 | hangurself.Visible = true | |
1098 | hangurself.Thickness = 0.05 | |
1099 | hangurself.Color = BrickColor.new('Bright red') | |
1100 | hangurself.Length = 0.2 | |
1101 | last = lole | |
1102 | end | |
1103 | local bleedee = Instance.new('Part',character.Head) | |
1104 | bleedee.Size = Vector3.new(0.75,0.25,0.75) | |
1105 | bleedee.CanCollide = false | |
1106 | bleedee.Color = Frame_2.BackgroundColor3 | |
1107 | bleedee.CFrame = character.Head.CFrame | |
1108 | local mehs = Instance.new('CylinderMesh',bleedee) | |
1109 | bleedee:BreakJoints() | |
1110 | local attachment1 = Instance.new('Attachment',bleedee) | |
1111 | attachment1.Position = Vector3.new(0,character.Head.Size.Y/2,0) | |
1112 | attachment1.Orientation = Vector3.new(0,0,180) | |
1113 | local attachment0 = Instance.new('Attachment',character.Head) | |
1114 | if attachment0 and attachment1 then | |
1115 | local constraint = Instance.new("HingeConstraint") | |
1116 | constraint.Attachment0 = attachment0 | |
1117 | constraint.Attachment1 = attachment1 | |
1118 | constraint.LimitsEnabled = true | |
1119 | constraint.UpperAngle = 0 | |
1120 | constraint.LowerAngle = 0 | |
1121 | constraint.Parent = character | |
1122 | end | |
1123 | spawn(function() | |
1124 | bleed(bleedee) | |
1125 | end) | |
1126 | end) | |
1127 | local thing = "Torso" | |
1128 | if character:FindFirstChild(thing) == nil then | |
1129 | thing = "UpperTorso" | |
1130 | end | |
1131 | pcall(function() | |
1132 | local bleedee = Instance.new('Part',character[thing]) | |
1133 | bleedee.Size = Vector3.new(0.75,0,0.75) | |
1134 | bleedee.CanCollide = false | |
1135 | bleedee.Color = Frame_2.BackgroundColor3 | |
1136 | bleedee.CFrame = character[thing].CFrame | |
1137 | local mehs = Instance.new('CylinderMesh',bleedee) | |
1138 | bleedee:BreakJoints() | |
1139 | local attachment1 = Instance.new('Attachment',bleedee) | |
1140 | attachment1.Position = Vector3.new(0,-character[thing].Size.Y/2,0) | |
1141 | attachment1.Orientation = Vector3.new(0,0,180) | |
1142 | local attachment0 = Instance.new('Attachment',character[thing]) | |
1143 | if attachment0 and attachment1 then | |
1144 | local constraint = Instance.new("HingeConstraint") | |
1145 | constraint.Attachment0 = attachment0 | |
1146 | constraint.Attachment1 = attachment1 | |
1147 | constraint.LimitsEnabled = true | |
1148 | constraint.UpperAngle = 0 | |
1149 | constraint.LowerAngle = 0 | |
1150 | constraint.Parent = character | |
1151 | end | |
1152 | spawn(function() | |
1153 | bleed(bleedee) | |
1154 | end) | |
1155 | end) | |
1156 | end | |
1157 | pcall(function() | |
1158 | if workspace.PGSPhysicsSolverEnabled == false then | |
1159 | workspace.PGSPhysicsSolverEnabled = true | |
1160 | end | |
1161 | end) | |
1162 | if partname == "HumanoidRootPart" then | |
1163 | if character:FindFirstChild('Torso') then | |
1164 | partname = "Torso" | |
1165 | else | |
1166 | partname = "UpperTorso" | |
1167 | end | |
1168 | end | |
1169 | if attached == false then | |
1170 | if character:FindFirstChild('UpperTorso') then | |
1171 | pcall(function() | |
1172 | character.UpperTorso.WaistRigAttachment:Destroy() | |
1173 | end) | |
1174 | pcall(function() | |
1175 | local ayybleed = Instance.new('Part',character) | |
1176 | ayybleed.Size = Vector3.new(character.UpperTorso.Size.X,0,character.UpperTorso.Size.Z) | |
1177 | ayybleed.Transparency = 1 | |
1178 | ayybleed.CanCollide = false | |
1179 | ayybleed.CFrame = character.UpperTorso.CFrame | |
1180 | ayybleed:BreakJoints() | |
1181 | ayybleed.Name = "ayybleed" | |
1182 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1183 | attachment1.Position = Vector3.new(0,-character.UpperTorso.Size.Y/2,0) | |
1184 | attachment1.Orientation = Vector3.new(0,0,180) | |
1185 | local attachment0 = Instance.new('Attachment',character.UpperTorso) | |
1186 | if attachment0 and attachment1 then | |
1187 | local constraint = Instance.new("HingeConstraint") | |
1188 | constraint.Attachment0 = attachment0 | |
1189 | constraint.Attachment1 = attachment1 | |
1190 | constraint.LimitsEnabled = true | |
1191 | constraint.UpperAngle = 0 | |
1192 | constraint.LowerAngle = 0 | |
1193 | constraint.Parent = character | |
1194 | end | |
1195 | local bleedBLEED= coroutine.wrap(function() | |
1196 | bleed(ayybleed) | |
1197 | end) | |
1198 | bleedBLEED() | |
1199 | end) | |
1200 | pcall(function() | |
1201 | local ayybleed = Instance.new('Part',character) | |
1202 | ayybleed.Size = Vector3.new(character.LowerTorso.Size.X-0.1,0.1,character.LowerTorso.Size.Z-0.1) | |
1203 | ayybleed.Transparency = 1 | |
1204 | ayybleed.CanCollide = false | |
1205 | ayybleed.CFrame = character.LowerTorso.CFrame | |
1206 | ayybleed:BreakJoints() | |
1207 | ayybleed.Name = "ayybleed" | |
1208 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1209 | attachment1.Position = Vector3.new(0,-character.LowerTorso.Size.Y/2,0) | |
1210 | attachment1.Orientation = Vector3.new(0,0,0) | |
1211 | local attachment0 = Instance.new('Attachment',character.LowerTorso) | |
1212 | if attachment0 and attachment1 then | |
1213 | local constraint = Instance.new("HingeConstraint") | |
1214 | constraint.Attachment0 = attachment0 | |
1215 | constraint.Attachment1 = attachment1 | |
1216 | constraint.LimitsEnabled = true | |
1217 | constraint.UpperAngle = 0 | |
1218 | constraint.LowerAngle = 0 | |
1219 | constraint.Parent = character | |
1220 | end | |
1221 | local bleedBLEED= coroutine.wrap(function() | |
1222 | bleed(ayybleed) | |
1223 | end) | |
1224 | bleedBLEED() | |
1225 | end) | |
1226 | end | |
1227 | pcall(function() | |
1228 | local thang = "Torso" | |
1229 | if character:FindFirstChild('UpperTorso') then | |
1230 | thang = "UpperTorso" | |
1231 | end | |
1232 | local ayybleed = Instance.new('Part',character) | |
1233 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
1234 | ayybleed.Color = Frame_2.BackgroundColor3 | |
1235 | ayybleed.Material = Enum.Material.SmoothPlastic | |
1236 | ayybleed.Name = "ayybleed" | |
1237 | ayybleed.CanCollide = false | |
1238 | ayybleed.Transparency = 0 | |
1239 | ayybleed.CFrame = character[thang].CFrame | |
1240 | ayybleed:BreakJoints() | |
1241 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1242 | attachment1.Position = Vector3.new(0,(character[thang].Size.Y/2)-0.045,0) | |
1243 | attachment1.Orientation = Vector3.new(0,0,0) | |
1244 | local attachment0 = Instance.new('Attachment',character[thang]) | |
1245 | if attachment0 and attachment1 then | |
1246 | local constraint = Instance.new("HingeConstraint") | |
1247 | constraint.Attachment0 = attachment0 | |
1248 | constraint.Attachment1 = attachment1 | |
1249 | constraint.LimitsEnabled = true | |
1250 | constraint.UpperAngle = 0 | |
1251 | constraint.LowerAngle = 0 | |
1252 | constraint.Parent = character | |
1253 | end | |
1254 | end) | |
1255 | pcall(function() | |
1256 | local ree = character.LowerTorso | |
1257 | local thang = "LowerTorso" | |
1258 | local ayybleed = Instance.new('Part',character) | |
1259 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
1260 | ayybleed.Color = Frame_2.BackgroundColor3 | |
1261 | ayybleed.Material = Enum.Material.SmoothPlastic | |
1262 | ayybleed.Name = "ayybleed" | |
1263 | ayybleed.CanCollide = false | |
1264 | ayybleed.Transparency = 0 | |
1265 | ayybleed.CFrame = character[thang].CFrame | |
1266 | ayybleed:BreakJoints() | |
1267 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1268 | attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) | |
1269 | attachment1.Orientation = Vector3.new(0,0,0) | |
1270 | local attachment0 = Instance.new('Attachment',character[thang]) | |
1271 | if attachment0 and attachment1 then | |
1272 | local constraint = Instance.new("HingeConstraint") | |
1273 | constraint.Attachment0 = attachment0 | |
1274 | constraint.Attachment1 = attachment1 | |
1275 | constraint.LimitsEnabled = true | |
1276 | constraint.UpperAngle = 0 | |
1277 | constraint.LowerAngle = 0 | |
1278 | constraint.Parent = character | |
1279 | end | |
1280 | end) | |
1281 | pcall(function() | |
1282 | local ree = character["Right Leg"] | |
1283 | local thang = "Right Leg" | |
1284 | local ayybleed = Instance.new('Part',character) | |
1285 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
1286 | ayybleed.Color = Frame_2.BackgroundColor3 | |
1287 | ayybleed.Material = Enum.Material.SmoothPlastic | |
1288 | ayybleed.Name = "ayybleed" | |
1289 | ayybleed.CanCollide = false | |
1290 | ayybleed.Transparency = 0 | |
1291 | ayybleed.CFrame = character[thang].CFrame | |
1292 | ayybleed:BreakJoints() | |
1293 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1294 | attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) | |
1295 | attachment1.Orientation = Vector3.new(0,0,0) | |
1296 | local attachment0 = Instance.new('Attachment',character[thang]) | |
1297 | if attachment0 and attachment1 then | |
1298 | local constraint = Instance.new("HingeConstraint") | |
1299 | constraint.Attachment0 = attachment0 | |
1300 | constraint.Attachment1 = attachment1 | |
1301 | constraint.LimitsEnabled = true | |
1302 | constraint.UpperAngle = 0 | |
1303 | constraint.LowerAngle = 0 | |
1304 | constraint.Parent = character | |
1305 | end | |
1306 | end) | |
1307 | pcall(function() | |
1308 | local ree = character["Left Leg"] | |
1309 | local thang = "Left Leg" | |
1310 | local ayybleed = Instance.new('Part',character) | |
1311 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
1312 | ayybleed.Color = Frame_2.BackgroundColor3 | |
1313 | ayybleed.Material = Enum.Material.SmoothPlastic | |
1314 | ayybleed.Name = "ayybleed" | |
1315 | ayybleed.CanCollide = false | |
1316 | ayybleed.Transparency = 0 | |
1317 | ayybleed.CFrame = character[thang].CFrame | |
1318 | ayybleed:BreakJoints() | |
1319 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1320 | attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) | |
1321 | attachment1.Orientation = Vector3.new(0,0,0) | |
1322 | local attachment0 = Instance.new('Attachment',character[thang]) | |
1323 | if attachment0 and attachment1 then | |
1324 | local constraint = Instance.new("HingeConstraint") | |
1325 | constraint.Attachment0 = attachment0 | |
1326 | constraint.Attachment1 = attachment1 | |
1327 | constraint.LimitsEnabled = true | |
1328 | constraint.UpperAngle = 0 | |
1329 | constraint.LowerAngle = 0 | |
1330 | constraint.Parent = character | |
1331 | end | |
1332 | end) | |
1333 | partname="Head" | |
1334 | end | |
1335 | if partname == "RightHand" or partname == "RightLowerArm" or partname == "RightUpperArm" then | |
1336 | if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then | |
1337 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
1338 | end | |
1339 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then | |
1340 | ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket") | |
1341 | end | |
1342 | if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then | |
1343 | ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
1344 | end | |
1345 | elseif partname == "LeftHand" or partname == "LeftLowerArm" or partname == "LeftUpperArm" then | |
1346 | if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then | |
1347 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
1348 | end | |
1349 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then | |
1350 | ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket") | |
1351 | end | |
1352 | if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then | |
1353 | ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
1354 | end | |
1355 | elseif partname == "RightFoot" or partname == "RightUpperLeg" or partname == "RightLowerLeg" then | |
1356 | stun(character) | |
1357 | if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then | |
1358 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
1359 | end | |
1360 | if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then | |
1361 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
1362 | end | |
1363 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then | |
1364 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
1365 | end | |
1366 | elseif partname == "LeftFoot" or partname == "LeftUpperLeg" or partname == "LeftLowerLeg" then | |
1367 | stun(character) | |
1368 | if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then | |
1369 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
1370 | end | |
1371 | if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then | |
1372 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
1373 | end | |
1374 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then | |
1375 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
1376 | end | |
1377 | elseif partname == "Head" or partname == "UpperTorso" or partname == "LowerTorso" then | |
1378 | if character:FindFirstChildOfClass('Humanoid') and character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then | |
1379 | if character:FindFirstChildOfClass('Humanoid') then | |
1380 | character:FindFirstChildOfClass('Humanoid').Health = 0 | |
1381 | end | |
1382 | if character:FindFirstChild('HumanoidRootPart') then | |
1383 | character.HumanoidRootPart:Destroy() | |
1384 | end | |
1385 | while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end | |
1386 | game:GetService('Debris'):AddItem(character,10) | |
1387 | for _,child in next,character:GetChildren() do | |
1388 | if child:IsA("Accoutrement") then | |
1389 | for _,part in next,child:GetChildren() do | |
1390 | if part:IsA("BasePart") then | |
1391 | for _,c in pairs(part:GetChildren()) do | |
1392 | if c:IsA('Weld') then c:Destroy() end | |
1393 | end | |
1394 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
1395 | local attachment0 = getAttachment0(character,attachment1.Name) | |
1396 | if attachment0 and attachment1 then | |
1397 | local constraint = Instance.new("HingeConstraint") | |
1398 | constraint.Attachment0 = attachment0 | |
1399 | constraint.Attachment1 = attachment1 | |
1400 | constraint.LimitsEnabled = true | |
1401 | constraint.UpperAngle = 0 | |
1402 | constraint.LowerAngle = 0 | |
1403 | constraint.Parent = character | |
1404 | end | |
1405 | end | |
1406 | end | |
1407 | end | |
1408 | end | |
1409 | for i,v in pairs(character:GetChildren()) do | |
1410 | if v:IsA('MeshPart') or v:IsA('BasePart') then | |
1411 | for _,c in pairs(v:GetChildren()) do | |
1412 | if c.Name == "Collision" then c:Destroy() end | |
1413 | end | |
1414 | end | |
1415 | end | |
1416 | if heded == false then | |
1417 | pcall(function() | |
1418 | local asdf = Instance.new('Attachment',character.Head) | |
1419 | asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0) | |
1420 | local last = asdf | |
1421 | character.Head.Neck:Destroy() | |
1422 | character.Head.NeckRigAttachment:Destroy() | |
1423 | character.UpperTorso:FindFirstChild('NeckAttachment'):Destroy() | |
1424 | end) | |
1425 | end | |
1426 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then | |
1427 | ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", { | |
1428 | {"LimitsEnabled",true}; | |
1429 | {"UpperAngle",5}; | |
1430 | {"Radius",5}; | |
1431 | }) | |
1432 | end | |
1433 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then | |
1434 | ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", { | |
1435 | {"LimitsEnabled",true}; | |
1436 | {"UpperAngle",50}; | |
1437 | {"LowerAngle",-50}; | |
1438 | }) | |
1439 | end | |
1440 | ||
1441 | local handProperties = { | |
1442 | {"LimitsEnabled", true}; | |
1443 | {"UpperAngle",0}; | |
1444 | {"LowerAngle",0}; | |
1445 | } | |
1446 | if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then | |
1447 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
1448 | end | |
1449 | if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then | |
1450 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
1451 | end | |
1452 | ||
1453 | local shinProperties = { | |
1454 | {"LimitsEnabled", true}; | |
1455 | {"UpperAngle", 0}; | |
1456 | {"LowerAngle", -75}; | |
1457 | } | |
1458 | if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then | |
1459 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
1460 | end | |
1461 | if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then | |
1462 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
1463 | end | |
1464 | ||
1465 | local footProperties = { | |
1466 | {"LimitsEnabled", true}; | |
1467 | {"UpperAngle", 15}; | |
1468 | {"LowerAngle", -45}; | |
1469 | } | |
1470 | if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then | |
1471 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
1472 | end | |
1473 | if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then | |
1474 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
1475 | end | |
1476 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then | |
1477 | ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket") | |
1478 | end | |
1479 | if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftUpperArm') then | |
1480 | ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
1481 | end | |
1482 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then | |
1483 | ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket") | |
1484 | end | |
1485 | if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then | |
1486 | ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
1487 | end | |
1488 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then | |
1489 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
1490 | end | |
1491 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then | |
1492 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
1493 | end | |
1494 | if character:FindFirstChild('HumanoidRootPart') then | |
1495 | character.HumanoidRootPart:Destroy() | |
1496 | end | |
1497 | else | |
1498 | R6ragdollJoint(character,partname,attached,heded) | |
1499 | end | |
1500 | else | |
1501 | R6ragdollJoint(character,partname,attached,heded) | |
1502 | end | |
1503 | end | |
1504 | ||
1505 | function grow(weld,part,endsize,endpos,amntime) | |
1506 | local start = weld.C1 | |
1507 | local parent = weld.Parent | |
1508 | local startsize = part.Size | |
1509 | local particl = Instance.new("ParticleEmitter") | |
1510 | particl.LightEmission = 3 | |
1511 | particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.1, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))}) | |
1512 | particl.LightInfluence = 0.75 | |
1513 | particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
1514 | particl.Lifetime = NumberRange.new(0.1, 1) | |
1515 | particl.Rate = 50 | |
1516 | particl.RotSpeed = NumberRange.new(300, 300) | |
1517 | particl.Speed = NumberRange.new(0, 1) | |
1518 | particl.SpreadAngle = Vector2.new(90, 90) | |
1519 | particl.Parent = part | |
1520 | for i=1,amntime*100 do | |
1521 | weld.C1 = start:lerp(endpos,i/(amntime*100)) | |
1522 | part.Size = startsize:lerp(endsize,i/(amntime*100)) | |
1523 | weld.Parent = parent | |
1524 | wait(0.01) | |
1525 | end | |
1526 | particl.Enabled = false | |
1527 | end | |
1528 | function lerp(weld,startpos,endpos,amntime,longatend) | |
1529 | local waited = 0 | |
1530 | for i=1,amntime*100 do | |
1531 | if longatend == true then | |
1532 | startpos = weld.C0 | |
1533 | end | |
1534 | weld.C0 = startpos:lerp(endpos,i/(amntime*100)) | |
1535 | wait(0.01) | |
1536 | waited=waited+0.01 | |
1537 | end | |
1538 | end | |
1539 | ||
1540 | function spawned() | |
1541 | local usable = true | |
1542 | local working = false | |
1543 | local mode = "kill" | |
1544 | local equipped = false | |
1545 | local char = player.Character | |
1546 | local blademode = "handle" | |
1547 | local swinging = false | |
1548 | local gettingeem = false | |
1549 | local MOAN = false | |
1550 | local sounding = false | |
1551 | local SLESH = false | |
1552 | local goteem = nil | |
1553 | local grabbing = false | |
1554 | local grabbed = nil | |
1555 | local grabweld = nil | |
1556 | local aidsificating = nil | |
1557 | player.CharacterAdded:connect(function() | |
1558 | if usable then | |
1559 | usable = false | |
1560 | end | |
1561 | end) | |
1562 | if char == nil then return end | |
1563 | while char:FindFirstChildOfClass('Humanoid') == nil or char:FindFirstChild('Head') == nil do wait() end | |
1564 | local badass = Instance.new('Sound',char.Head) | |
1565 | badass.Name = 'Badass' | |
1566 | badass.EmitterSize = player.CameraMaxZoomDistance+1 | |
1567 | badass.MaxDistance = player.CameraMaxZoomDistance+1 | |
1568 | badass.Volume = 5 | |
1569 | badass.Looped=true | |
1570 | badass.SoundId = 'rbxassetid://156714215' | |
1571 | local handle = Instance.new("Part", char) | |
1572 | handle.BrickColor = BrickColor.new("Institutional white") | |
1573 | handle.Material = "Metal" | |
1574 | handle.CanCollide = false | |
1575 | handle.Anchored = false | |
1576 | handle.Shape = "Cylinder" | |
1577 | handle.Size = Vector3.new(1.1, 0.3, 0.3) | |
1578 | handle.BackSurface = "SmoothNoOutlines" | |
1579 | handle.BottomSurface = "SmoothNoOutlines" | |
1580 | handle.FrontSurface = "SmoothNoOutlines" | |
1581 | handle.LeftSurface = "SmoothNoOutlines" | |
1582 | handle.RightSurface = "SmoothNoOutlines" | |
1583 | handle.TopSurface = "SmoothNoOutlines" | |
1584 | handle.Name = "handle" | |
1585 | ||
1586 | local hweld = Instance.new("Weld", char.Torso) | |
1587 | hweld.Part0 = char.Torso | |
1588 | hweld.Part1 = handle | |
1589 | hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0) | |
1590 | ||
1591 | local rdd = false | |
1592 | function oogabooga() | |
1593 | if rdd == false then | |
1594 | rdd = true | |
1595 | pcall(function() | |
1596 | ragdollpart(char,"Right Arm") | |
1597 | ragdollpart(char,"Right Leg") | |
1598 | ragdollpart(char,"Left Arm") | |
1599 | ragdollpart(char,"Left Leg") | |
1600 | end) | |
1601 | pcall(function() | |
1602 | ragdollpart(char,"RightUpperArm") | |
1603 | ragdollpart(char,"RightUpperLeg") | |
1604 | ragdollpart(char,"LeftUpperArm") | |
1605 | ragdollpart(char,"LeftUpperLeg") | |
1606 | end) | |
1607 | unstun(char) | |
1608 | for i,v in pairs(char:GetChildren()) do | |
1609 | v.ChildAdded:connect(function(child) | |
1610 | if rdd == true then | |
1611 | if child.Name ~= "Neck" and child.Name ~= "RootJoint" and child.Name ~= "Root" and (child:IsA('Motor6D') or child:IsA('Weld')) then | |
1612 | if child ~= grabweld then | |
1613 | spawn(function() | |
1614 | wait() | |
1615 | child:Destroy() | |
1616 | end) | |
1617 | end | |
1618 | end | |
1619 | end | |
1620 | end) | |
1621 | if string.find(string.lower(v.Name),'leg') then | |
1622 | if v:FindFirstChild('Collision') then | |
1623 | v:FindFirstChild('Collision'):Destroy() | |
1624 | end | |
1625 | end | |
1626 | end | |
1627 | else | |
1628 | rdd = false | |
1629 | for i,v in pairs(char:GetChildren()) do | |
1630 | if v:IsA('HingeConstraint') or v:IsA('BallSocketConstraint') then | |
1631 | v:Destroy() | |
1632 | elseif v:IsA('BasePart') then | |
1633 | if v:FindFirstChild('Collision') then | |
1634 | v.Collision:Destroy() | |
1635 | end | |
1636 | for a,c in pairs(v:GetChildren()) do | |
1637 | if string.find(string.lower(c.Name),"ragdoll") then | |
1638 | c:Destroy() | |
1639 | end | |
1640 | end | |
1641 | end | |
1642 | end | |
1643 | pcall(function() | |
1644 | local ra = rightclone:Clone() | |
1645 | ra.Parent = char.Torso | |
1646 | ra.Part0 = char.Torso | |
1647 | ra.Part1 = char["Right Arm"] | |
1648 | end) | |
1649 | pcall(function() | |
1650 | local la = leftclone:Clone() | |
1651 | la.Parent = char.Torso | |
1652 | la.Part0 = char.Torso | |
1653 | la.Part1 = char["Left Arm"] | |
1654 | end) | |
1655 | pcall(function() | |
1656 | local ll = leftlegclone:Clone() | |
1657 | ll.Parent = char.Torso | |
1658 | ll.Part0 = char.Torso | |
1659 | ll.Part1 = char["Left Leg"] | |
1660 | end) | |
1661 | pcall(function() | |
1662 | local rl = rightlegclone:Clone() | |
1663 | rl.Parent = char.Torso | |
1664 | rl.Part0 = char.Torso | |
1665 | rl.Part1 = char["Right Leg"] | |
1666 | end) | |
1667 | end | |
1668 | end | |
1669 | function getrid() | |
1670 | if grabbed then | |
1671 | release() | |
1672 | end | |
1673 | blademode = "handle" | |
1674 | for _,ree in pairs(handle:GetChildren()) do | |
1675 | if ree:IsA('BasePart') then | |
1676 | local part = Instance.new('Part',workspace) | |
1677 | part.CFrame = ree.CFrame | |
1678 | part.Anchored = true | |
1679 | part.CanCollide = false | |
1680 | part.Size = ree.Size | |
1681 | part.Transparency = 1 | |
1682 | ree:Destroy() | |
1683 | local pe2 = Instance.new("ParticleEmitter") | |
1684 | pe2.Acceleration = Vector3.new(0, 1, 0) | |
1685 | pe2.Lifetime = NumberRange.new(0.1, 0.2) | |
1686 | pe2.Speed = NumberRange.new(0.5) | |
1687 | pe2.Rate = 20000 | |
1688 | pe2.RotSpeed = NumberRange.new(-30, 30) | |
1689 | pe2.Rotation = NumberRange.new(0, 360) | |
1690 | pe2.Size = NumberSequence.new({ | |
1691 | NumberSequenceKeypoint.new(0, part.Size.X*2, 0), | |
1692 | NumberSequenceKeypoint.new(1, part.Size.X*2, 0), | |
1693 | }) | |
1694 | pe2.Texture = "rbxassetid://244221440" | |
1695 | pe2.Transparency = NumberSequence.new({ | |
1696 | NumberSequenceKeypoint.new(0, 0.9, 0), | |
1697 | NumberSequenceKeypoint.new(1, 0.9, 0) | |
1698 | }) | |
1699 | pe2.ZOffset = 5 | |
1700 | pe2.VelocitySpread = 360 | |
1701 | pe2.Parent = part | |
1702 | pe2.Enabled = true | |
1703 | local coru=coroutine.wrap(function() | |
1704 | wait(0.2) | |
1705 | pe2.Enabled = false | |
1706 | game:GetService('Debris'):AddItem(part,0.5) | |
1707 | end) | |
1708 | coru() | |
1709 | else | |
1710 | ree:Remove() | |
1711 | end | |
1712 | end | |
1713 | end | |
1714 | ||
1715 | function equip() | |
1716 | equipped = true | |
1717 | working = true | |
1718 | if char.Torso:FindFirstChild("Right Shoulder") then | |
1719 | char.Torso:FindFirstChild("Right Shoulder"):Destroy() | |
1720 | end | |
1721 | local weld = Instance.new('Weld', char.Torso) | |
1722 | weld.Name = "Lerping" | |
1723 | weld.Part0 = char["Right Arm"] | |
1724 | weld.Part1 = char.Torso | |
1725 | weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0) | |
1726 | ||
1727 | lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true) | |
1728 | ||
1729 | wait(0.1) | |
1730 | ||
1731 | hweld.Part0 = char["Right Arm"] | |
1732 | hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0) | |
1733 | ||
1734 | lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
1735 | ||
1736 | weld:Destroy() | |
1737 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
1738 | local clone = rightclone:Clone() | |
1739 | clone.Part0 = char.Torso | |
1740 | clone.Part1 = char["Right Arm"] | |
1741 | clone.Parent = char.Torso | |
1742 | end | |
1743 | working = false | |
1744 | end | |
1745 | ||
1746 | function unequip() | |
1747 | getrid(handle) | |
1748 | equipped = false | |
1749 | working = true | |
1750 | ||
1751 | if char.Torso:FindFirstChild("Right Shoulder") then | |
1752 | char.Torso:FindFirstChild("Right Shoulder"):Destroy() | |
1753 | end | |
1754 | ||
1755 | local weld = Instance.new('Weld', char.Torso) | |
1756 | weld.Name = "Lerping" | |
1757 | weld.Part0 = char["Right Arm"] | |
1758 | weld.Part1 = char.Torso | |
1759 | weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0) | |
1760 | ||
1761 | ||
1762 | lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true) | |
1763 | ||
1764 | hweld.Part0 = char["Torso"] | |
1765 | hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0) | |
1766 | lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08,true) | |
1767 | weld:Destroy() | |
1768 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
1769 | local clone = rightclone:Clone() | |
1770 | clone.Part0 = char.Torso | |
1771 | clone.Part1 = char["Right Arm"] | |
1772 | clone.Parent = char.Torso | |
1773 | end | |
1774 | working = false | |
1775 | end | |
1776 | ||
1777 | function aaa() | |
1778 | blademode = "aaa" | |
1779 | working = false | |
1780 | -- 1 - pink toy | |
1781 | local obj1 = Instance.new("Model") | |
1782 | obj1.Name = "pink toy" | |
1783 | obj1.Parent = handle | |
1784 | ||
1785 | -- 2 - Model | |
1786 | local obj2 = Instance.new("Model") | |
1787 | obj2.Parent = obj1 | |
1788 | ||
1789 | -- 3 - Part | |
1790 | local obj3 = Instance.new("Part") | |
1791 | obj3.CFrame = CFrame.new(Vector3.new(66.8643951, 3.86435986, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1792 | obj3.CanCollide = false | |
1793 | obj3.TopSurface = Enum.SurfaceType.Smooth | |
1794 | obj3.BottomSurface = Enum.SurfaceType.Smooth | |
1795 | obj3.Material = Enum.Material.SmoothPlastic | |
1796 | obj3.Size = Vector3.new(1.00000024, 1.00000024, 1.00000024) | |
1797 | obj3.BrickColor = BrickColor.new("Really white") | |
1798 | obj3.Friction = 0.30000001192093 | |
1799 | obj3.Shape = Enum.PartType.Ball | |
1800 | obj3.Parent = obj2 | |
1801 | obj3.Name = "tip" | |
1802 | ||
1803 | -- 4 - Part | |
1804 | local obj4 = Instance.new("Part") | |
1805 | obj4.CFrame = CFrame.new(Vector3.new(67.8275909, 2.08898449, 7.50048351)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211) | |
1806 | obj4.CanCollide = false | |
1807 | obj4.TopSurface = Enum.SurfaceType.Smooth | |
1808 | obj4.BottomSurface = Enum.SurfaceType.Smooth | |
1809 | obj4.Material = Enum.Material.SmoothPlastic | |
1810 | obj4.Size = Vector3.new(4.09999943, 1, 1) | |
1811 | obj4.BrickColor = BrickColor.new("Really white") | |
1812 | obj4.Friction = 0.30000001192093 | |
1813 | obj4.Shape = Enum.PartType.Cylinder | |
1814 | obj4.Parent = obj2 | |
1815 | ||
1816 | -- 5 - Part | |
1817 | local obj5 = Instance.new("Part") | |
1818 | obj5.CFrame = CFrame.new(Vector3.new(66.7104797, 3.86435843, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1819 | obj5.CanCollide = false | |
1820 | obj5.TopSurface = Enum.SurfaceType.Smooth | |
1821 | obj5.BottomSurface = Enum.SurfaceType.Smooth | |
1822 | obj5.Material = Enum.Material.SmoothPlastic | |
1823 | obj5.Size = Vector3.new(0.25, 0.25, 0.25) | |
1824 | obj5.BrickColor = BrickColor.new("Really white") | |
1825 | obj5.Friction = 0.30000001192093 | |
1826 | obj5.Shape = Enum.PartType.Ball | |
1827 | obj5.Parent = obj2 | |
1828 | ||
1829 | -- 6 - Part | |
1830 | local obj6 = Instance.new("Part") | |
1831 | obj6.CFrame = CFrame.new(Vector3.new(68.6905365, 0.83212769, 8.29345417)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287) | |
1832 | obj6.CanCollide = false | |
1833 | obj6.TopSurface = Enum.SurfaceType.Smooth | |
1834 | obj6.BottomSurface = Enum.SurfaceType.Smooth | |
1835 | obj6.Material = Enum.Material.SmoothPlastic | |
1836 | obj6.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762) | |
1837 | obj6.BrickColor = BrickColor.new("Really white") | |
1838 | obj6.Friction = 0.30000001192093 | |
1839 | obj6.Shape = Enum.PartType.Ball | |
1840 | obj6.Parent = obj2 | |
1841 | ||
1842 | -- 7 - Part | |
1843 | local obj7 = Instance.new("Part") | |
1844 | obj7.CFrame = CFrame.new(Vector3.new(67.0182953, 3.86435866, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1845 | obj7.CanCollide = false | |
1846 | obj7.TopSurface = Enum.SurfaceType.Smooth | |
1847 | obj7.BottomSurface = Enum.SurfaceType.Smooth | |
1848 | obj7.Material = Enum.Material.SmoothPlastic | |
1849 | obj7.Size = Vector3.new(0.25, 0.25, 0.25) | |
1850 | obj7.BrickColor = BrickColor.new("Really white") | |
1851 | obj7.Friction = 0.30000001192093 | |
1852 | obj7.Shape = Enum.PartType.Ball | |
1853 | obj7.Parent = obj2 | |
1854 | ||
1855 | -- 8 - Part | |
1856 | local obj8 = Instance.new("Part") | |
1857 | obj8.CFrame = CFrame.new(Vector3.new(68.9983597, 0.832128167, 7.44772816)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287) | |
1858 | obj8.CanCollide = false | |
1859 | obj8.TopSurface = Enum.SurfaceType.Smooth | |
1860 | obj8.BottomSurface = Enum.SurfaceType.Smooth | |
1861 | obj8.Material = Enum.Material.SmoothPlastic | |
1862 | obj8.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762) | |
1863 | obj8.BrickColor = BrickColor.new("Really white") | |
1864 | obj8.Friction = 0.30000001192093 | |
1865 | obj8.Shape = Enum.PartType.Ball | |
1866 | obj8.Parent = obj2 | |
1867 | local fiREPART = obj8 | |
1868 | ||
1869 | -- 9 - Part | |
1870 | local obj9 = Instance.new("Part") | |
1871 | obj9.CFrame = CFrame.new(Vector3.new(68.8566208, 0.357954353, 7.87501621)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.2217314243317) | |
1872 | obj9.CanCollide = false | |
1873 | obj9.TopSurface = Enum.SurfaceType.Smooth | |
1874 | obj9.BottomSurface = Enum.SurfaceType.Smooth | |
1875 | obj9.Material = Enum.Material.SmoothPlastic | |
1876 | obj9.Size = Vector3.new(0.0999999791, 1.50000036, 2) | |
1877 | obj9.BrickColor = BrickColor.new("Really white") | |
1878 | obj9.Friction = 0.30000001192093 | |
1879 | obj9.Shape = Enum.PartType.Cylinder | |
1880 | obj9.Parent = obj2 | |
1881 | ||
1882 | -- 10 - Part | |
1883 | local obj10 = Instance.new("Part") | |
1884 | obj10.CFrame = CFrame.new(Vector3.new(66.8069, 3.58244801, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1885 | obj10.CanCollide = false | |
1886 | obj10.TopSurface = Enum.SurfaceType.Smooth | |
1887 | obj10.BottomSurface = Enum.SurfaceType.Smooth | |
1888 | obj10.Material = Enum.Material.SmoothPlastic | |
1889 | obj10.Size = Vector3.new(0.25, 0.25, 0.25) | |
1890 | obj10.BrickColor = BrickColor.new("Really white") | |
1891 | obj10.Friction = 0.30000001192093 | |
1892 | obj10.Shape = Enum.PartType.Ball | |
1893 | obj10.Parent = obj2 | |
1894 | ||
1895 | -- 11 - Part | |
1896 | local obj11 = Instance.new("Part") | |
1897 | obj11.CFrame = CFrame.new(Vector3.new(67.196106, 3.632447, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1898 | obj11.CanCollide = false | |
1899 | obj11.TopSurface = Enum.SurfaceType.Smooth | |
1900 | obj11.BottomSurface = Enum.SurfaceType.Smooth | |
1901 | obj11.Material = Enum.Material.SmoothPlastic | |
1902 | obj11.Size = Vector3.new(0.25, 0.25, 0.25) | |
1903 | obj11.BrickColor = BrickColor.new("Really white") | |
1904 | obj11.Friction = 0.30000001192093 | |
1905 | obj11.Shape = Enum.PartType.Ball | |
1906 | obj11.Parent = obj2 | |
1907 | ||
1908 | -- 12 - Part | |
1909 | local obj12 = Instance.new("Part") | |
1910 | obj12.CFrame = CFrame.new(Vector3.new(67.0756683, 3.77002549, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
1911 | obj12.CanCollide = false | |
1912 | obj12.TopSurface = Enum.SurfaceType.Smooth | |
1913 | obj12.BottomSurface = Enum.SurfaceType.Smooth | |
1914 | obj12.Material = Enum.Material.SmoothPlastic | |
1915 | obj12.Size = Vector3.new(0.25, 0.25, 0.25) | |
1916 | obj12.BrickColor = BrickColor.new("Really white") | |
1917 | obj12.Friction = 0.30000001192093 | |
1918 | obj12.Shape = Enum.PartType.Ball | |
1919 | obj12.Parent = obj2 | |
1920 | ||
1921 | -- 13 - Part | |
1922 | local obj13 = Instance.new("Part") | |
1923 | obj13.CFrame = CFrame.new(Vector3.new(67.4108353, 3.27276325, 6.88037825)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
1924 | obj13.CanCollide = false | |
1925 | obj13.TopSurface = Enum.SurfaceType.Smooth | |
1926 | obj13.BottomSurface = Enum.SurfaceType.Smooth | |
1927 | obj13.Material = Enum.Material.SmoothPlastic | |
1928 | obj13.Size = Vector3.new(0.25, 0.25, 0.25) | |
1929 | obj13.BrickColor = BrickColor.new("Really white") | |
1930 | obj13.Friction = 0.30000001192093 | |
1931 | obj13.Shape = Enum.PartType.Ball | |
1932 | obj13.Parent = obj2 | |
1933 | ||
1934 | -- 14 - Part | |
1935 | local obj14 = Instance.new("Part") | |
1936 | obj14.CFrame = CFrame.new(Vector3.new(66.868927, 3.43238807, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
1937 | obj14.CanCollide = false | |
1938 | obj14.TopSurface = Enum.SurfaceType.Smooth | |
1939 | obj14.BottomSurface = Enum.SurfaceType.Smooth | |
1940 | obj14.Material = Enum.Material.SmoothPlastic | |
1941 | obj14.Size = Vector3.new(0.25, 0.25, 0.25) | |
1942 | obj14.BrickColor = BrickColor.new("Really White") | |
1943 | obj14.Friction = 0.30000001192093 | |
1944 | obj14.Shape = Enum.PartType.Ball | |
1945 | obj14.Parent = obj2 | |
1946 | ||
1947 | -- 15 - Part | |
1948 | local obj15 = Instance.new("Part") | |
1949 | obj15.CFrame = CFrame.new(Vector3.new(67.1951675, 3.383008, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
1950 | obj15.CanCollide = false | |
1951 | obj15.TopSurface = Enum.SurfaceType.Smooth | |
1952 | obj15.BottomSurface = Enum.SurfaceType.Smooth | |
1953 | obj15.Material = Enum.Material.SmoothPlastic | |
1954 | obj15.Size = Vector3.new(0.25, 0.25, 0.25) | |
1955 | obj15.BrickColor = BrickColor.new("Hot pink") | |
1956 | obj15.Friction = 0.30000001192093 | |
1957 | obj15.Shape = Enum.PartType.Ball | |
1958 | obj15.Parent = obj2 | |
1959 | ||
1960 | -- 16 - Part | |
1961 | local obj16 = Instance.new("Part") | |
1962 | obj16.CFrame = CFrame.new(Vector3.new(67.50383, 3.46245813, 7.48069429)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
1963 | obj16.CanCollide = false | |
1964 | obj16.TopSurface = Enum.SurfaceType.Smooth | |
1965 | obj16.BottomSurface = Enum.SurfaceType.Smooth | |
1966 | obj16.Material = Enum.Material.SmoothPlastic | |
1967 | obj16.Size = Vector3.new(0.25, 0.25, 0.25) | |
1968 | obj16.BrickColor = BrickColor.new("Hot pink") | |
1969 | obj16.Friction = 0.30000001192093 | |
1970 | obj16.Shape = Enum.PartType.Ball | |
1971 | obj16.Parent = obj2 | |
1972 | ||
1973 | -- 17 - Part | |
1974 | local obj17 = Instance.new("Part") | |
1975 | obj17.CFrame = CFrame.new(Vector3.new(66.5551376, 3.4628334, 7.33871651)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
1976 | obj17.CanCollide = false | |
1977 | obj17.TopSurface = Enum.SurfaceType.Smooth | |
1978 | obj17.BottomSurface = Enum.SurfaceType.Smooth | |
1979 | obj17.Material = Enum.Material.SmoothPlastic | |
1980 | obj17.Size = Vector3.new(0.25, 0.25, 0.25) | |
1981 | obj17.BrickColor = BrickColor.new("Hot pink") | |
1982 | obj17.Friction = 0.30000001192093 | |
1983 | obj17.Shape = Enum.PartType.Ball | |
1984 | obj17.Parent = obj2 | |
1985 | ||
1986 | -- 18 - Part | |
1987 | local obj18 = Instance.new("Part") | |
1988 | obj18.CFrame = CFrame.new(Vector3.new(67.3677139, 3.83245182, 7.3331027)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1989 | obj18.CanCollide = false | |
1990 | obj18.TopSurface = Enum.SurfaceType.Smooth | |
1991 | obj18.BottomSurface = Enum.SurfaceType.Smooth | |
1992 | obj18.Material = Enum.Material.SmoothPlastic | |
1993 | obj18.Size = Vector3.new(0.25, 0.25, 0.25) | |
1994 | obj18.BrickColor = BrickColor.new("Hot pink") | |
1995 | obj18.Friction = 0.30000001192093 | |
1996 | obj18.Shape = Enum.PartType.Ball | |
1997 | obj18.Parent = obj2 | |
1998 | ||
1999 | -- 19 - Part | |
2000 | local obj19 = Instance.new("Part") | |
2001 | obj19.CFrame = CFrame.new(Vector3.new(67.4115601, 3.71535063, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
2002 | obj19.CanCollide = false | |
2003 | obj19.TopSurface = Enum.SurfaceType.Smooth | |
2004 | obj19.BottomSurface = Enum.SurfaceType.Smooth | |
2005 | obj19.Material = Enum.Material.SmoothPlastic | |
2006 | obj19.Size = Vector3.new(0.25, 0.25, 0.25) | |
2007 | obj19.BrickColor = BrickColor.new("Hot pink") | |
2008 | obj19.Friction = 0.30000001192093 | |
2009 | obj19.Shape = Enum.PartType.Ball | |
2010 | obj19.Parent = obj2 | |
2011 | ||
2012 | -- 20 - Part | |
2013 | local obj20 = Instance.new("Part") | |
2014 | obj20.CFrame = CFrame.new(Vector3.new(67.6487045, 3.39313889, 7.19381428)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2015 | obj20.CanCollide = false | |
2016 | obj20.TopSurface = Enum.SurfaceType.Smooth | |
2017 | obj20.BottomSurface = Enum.SurfaceType.Smooth | |
2018 | obj20.Material = Enum.Material.SmoothPlastic | |
2019 | obj20.Size = Vector3.new(0.25, 0.25, 0.25) | |
2020 | obj20.BrickColor = BrickColor.new("Hot pink") | |
2021 | obj20.Friction = 0.30000001192093 | |
2022 | obj20.Shape = Enum.PartType.Ball | |
2023 | obj20.Parent = obj2 | |
2024 | ||
2025 | -- 21 - Part | |
2026 | local obj21 = Instance.new("Part") | |
2027 | obj21.CFrame = CFrame.new(Vector3.new(66.8260422, 4.12417316, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2028 | obj21.CanCollide = false | |
2029 | obj21.TopSurface = Enum.SurfaceType.Smooth | |
2030 | obj21.BottomSurface = Enum.SurfaceType.Smooth | |
2031 | obj21.Material = Enum.Material.SmoothPlastic | |
2032 | obj21.Size = Vector3.new(0.25, 0.25, 0.25) | |
2033 | obj21.BrickColor = BrickColor.new("Hot pink") | |
2034 | obj21.Friction = 0.30000001192093 | |
2035 | obj21.Shape = Enum.PartType.Ball | |
2036 | obj21.Parent = obj2 | |
2037 | ||
2038 | -- 22 - Part | |
2039 | local obj22 = Instance.new("Part") | |
2040 | obj22.CFrame = CFrame.new(Vector3.new(67.162117, 3.11433029, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2041 | obj22.CanCollide = false | |
2042 | obj22.TopSurface = Enum.SurfaceType.Smooth | |
2043 | obj22.BottomSurface = Enum.SurfaceType.Smooth | |
2044 | obj22.Material = Enum.Material.SmoothPlastic | |
2045 | obj22.Size = Vector3.new(0.25, 0.25, 0.25) | |
2046 | obj22.BrickColor = BrickColor.new("Hot pink") | |
2047 | obj22.Friction = 0.30000001192093 | |
2048 | obj22.Shape = Enum.PartType.Ball | |
2049 | obj22.Parent = obj2 | |
2050 | ||
2051 | -- 23 - Part | |
2052 | local obj23 = Instance.new("Part") | |
2053 | obj23.CFrame = CFrame.new(Vector3.new(66.4981842, 3.63936186, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2054 | obj23.CanCollide = false | |
2055 | obj23.TopSurface = Enum.SurfaceType.Smooth | |
2056 | obj23.BottomSurface = Enum.SurfaceType.Smooth | |
2057 | obj23.Material = Enum.Material.SmoothPlastic | |
2058 | obj23.Size = Vector3.new(0.25, 0.25, 0.25) | |
2059 | obj23.BrickColor = BrickColor.new("Hot pink") | |
2060 | obj23.Friction = 0.30000001192093 | |
2061 | obj23.Shape = Enum.PartType.Ball | |
2062 | obj23.Parent = obj2 | |
2063 | ||
2064 | -- 24 - Part | |
2065 | local obj24 = Instance.new("Part") | |
2066 | obj24.CFrame = CFrame.new(Vector3.new(66.6352844, 3.38244724, 7.06651926)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2067 | obj24.CanCollide = false | |
2068 | obj24.TopSurface = Enum.SurfaceType.Smooth | |
2069 | obj24.BottomSurface = Enum.SurfaceType.Smooth | |
2070 | obj24.Material = Enum.Material.SmoothPlastic | |
2071 | obj24.Size = Vector3.new(0.25, 0.25, 0.25) | |
2072 | obj24.BrickColor = BrickColor.new("Hot pink") | |
2073 | obj24.Friction = 0.30000001192093 | |
2074 | obj24.Shape = Enum.PartType.Ball | |
2075 | obj24.Parent = obj2 | |
2076 | ||
2077 | -- 25 - Part | |
2078 | local obj25 = Instance.new("Part") | |
2079 | obj25.CFrame = CFrame.new(Vector3.new(66.753746, 3.10362744, 7.32704163)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2080 | obj25.CanCollide = false | |
2081 | obj25.TopSurface = Enum.SurfaceType.Smooth | |
2082 | obj25.BottomSurface = Enum.SurfaceType.Smooth | |
2083 | obj25.Material = Enum.Material.SmoothPlastic | |
2084 | obj25.Size = Vector3.new(0.25, 0.25, 0.25) | |
2085 | obj25.BrickColor = BrickColor.new("Hot pink") | |
2086 | obj25.Friction = 0.30000001192093 | |
2087 | obj25.Shape = Enum.PartType.Ball | |
2088 | obj25.Parent = obj2 | |
2089 | ||
2090 | -- 26 - Part | |
2091 | local obj26 = Instance.new("Part") | |
2092 | obj26.CFrame = CFrame.new(Vector3.new(66.851532, 3.01907969, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2093 | obj26.CanCollide = false | |
2094 | obj26.TopSurface = Enum.SurfaceType.Smooth | |
2095 | obj26.BottomSurface = Enum.SurfaceType.Smooth | |
2096 | obj26.Material = Enum.Material.SmoothPlastic | |
2097 | obj26.Size = Vector3.new(0.25, 0.25, 0.25) | |
2098 | obj26.BrickColor = BrickColor.new("Hot pink") | |
2099 | obj26.Friction = 0.30000001192093 | |
2100 | obj26.Shape = Enum.PartType.Ball | |
2101 | obj26.Parent = obj2 | |
2102 | ||
2103 | -- 27 - Part | |
2104 | local obj27 = Instance.new("Part") | |
2105 | obj27.CFrame = CFrame.new(Vector3.new(66.944519, 3.20876789, 7.64748764)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2106 | obj27.CanCollide = false | |
2107 | obj27.TopSurface = Enum.SurfaceType.Smooth | |
2108 | obj27.BottomSurface = Enum.SurfaceType.Smooth | |
2109 | obj27.Material = Enum.Material.SmoothPlastic | |
2110 | obj27.Size = Vector3.new(0.25, 0.25, 0.25) | |
2111 | obj27.BrickColor = BrickColor.new("Hot pink") | |
2112 | obj27.Friction = 0.30000001192093 | |
2113 | obj27.Shape = Enum.PartType.Ball | |
2114 | obj27.Parent = obj2 | |
2115 | ||
2116 | -- 28 - Part | |
2117 | local obj28 = Instance.new("Part") | |
2118 | obj28.CFrame = CFrame.new(Vector3.new(67.2306061, 4.08936405, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2119 | obj28.CanCollide = false | |
2120 | obj28.TopSurface = Enum.SurfaceType.Smooth | |
2121 | obj28.BottomSurface = Enum.SurfaceType.Smooth | |
2122 | obj28.Material = Enum.Material.SmoothPlastic | |
2123 | obj28.Size = Vector3.new(0.25, 0.25, 0.25) | |
2124 | obj28.BrickColor = BrickColor.new("Hot pink") | |
2125 | obj28.Friction = 0.30000001192093 | |
2126 | obj28.Shape = Enum.PartType.Ball | |
2127 | obj28.Parent = obj2 | |
2128 | ||
2129 | -- 29 - Part | |
2130 | local obj29 = Instance.new("Part") | |
2131 | obj29.CFrame = CFrame.new(Vector3.new(66.5712891, 3.99917173, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2132 | obj29.CanCollide = false | |
2133 | obj29.TopSurface = Enum.SurfaceType.Smooth | |
2134 | obj29.BottomSurface = Enum.SurfaceType.Smooth | |
2135 | obj29.Material = Enum.Material.SmoothPlastic | |
2136 | obj29.Size = Vector3.new(0.25, 0.25, 0.25) | |
2137 | obj29.BrickColor = BrickColor.new("Hot pink") | |
2138 | obj29.Friction = 0.30000001192093 | |
2139 | obj29.Shape = Enum.PartType.Ball | |
2140 | obj29.Parent = obj2 | |
2141 | ||
2142 | -- 30 - Part | |
2143 | local obj30 = Instance.new("Part") | |
2144 | obj30.CFrame = CFrame.new(Vector3.new(66.7236328, 4.26077843, 7.20509243)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2145 | obj30.CanCollide = false | |
2146 | obj30.TopSurface = Enum.SurfaceType.Smooth | |
2147 | obj30.BottomSurface = Enum.SurfaceType.Smooth | |
2148 | obj30.Material = Enum.Material.SmoothPlastic | |
2149 | obj30.Size = Vector3.new(0.25, 0.25, 0.25) | |
2150 | obj30.BrickColor = BrickColor.new("Hot pink") | |
2151 | obj30.Friction = 0.30000001192093 | |
2152 | obj30.Shape = Enum.PartType.Ball | |
2153 | obj30.Parent = obj2 | |
2154 | ||
2155 | -- 31 - Part | |
2156 | local obj31 = Instance.new("Part") | |
2157 | obj31.CFrame = CFrame.new(Vector3.new(66.5950623, 4.16077423, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2158 | obj31.CanCollide = false | |
2159 | obj31.TopSurface = Enum.SurfaceType.Smooth | |
2160 | obj31.BottomSurface = Enum.SurfaceType.Smooth | |
2161 | obj31.Material = Enum.Material.SmoothPlastic | |
2162 | obj31.Size = Vector3.new(0.25, 0.25, 0.25) | |
2163 | obj31.BrickColor = BrickColor.new("Hot pink") | |
2164 | obj31.Friction = 0.30000001192093 | |
2165 | obj31.Shape = Enum.PartType.Ball | |
2166 | obj31.Parent = obj2 | |
2167 | ||
2168 | -- 32 - Part | |
2169 | local obj32 = Instance.new("Part") | |
2170 | obj32.CFrame = CFrame.new(Vector3.new(67.0637207, 4.03936481, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2171 | obj32.CanCollide = false | |
2172 | obj32.TopSurface = Enum.SurfaceType.Smooth | |
2173 | obj32.BottomSurface = Enum.SurfaceType.Smooth | |
2174 | obj32.Material = Enum.Material.SmoothPlastic | |
2175 | obj32.Size = Vector3.new(0.25, 0.25, 0.25) | |
2176 | obj32.BrickColor = BrickColor.new("Hot pink") | |
2177 | obj32.Friction = 0.30000001192093 | |
2178 | obj32.Shape = Enum.PartType.Ball | |
2179 | obj32.Parent = obj2 | |
2180 | ||
2181 | -- 33 - Part | |
2182 | local obj33 = Instance.new("Part") | |
2183 | obj33.CFrame = CFrame.new(Vector3.new(66.4686813, 3.99917364, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2184 | obj33.CanCollide = false | |
2185 | obj33.TopSurface = Enum.SurfaceType.Smooth | |
2186 | obj33.BottomSurface = Enum.SurfaceType.Smooth | |
2187 | obj33.Material = Enum.Material.SmoothPlastic | |
2188 | obj33.Size = Vector3.new(0.25, 0.25, 0.25) | |
2189 | obj33.BrickColor = BrickColor.new("Hot pink") | |
2190 | obj33.Friction = 0.30000001192093 | |
2191 | obj33.Shape = Enum.PartType.Ball | |
2192 | obj33.Parent = obj2 | |
2193 | ||
2194 | -- 34 - Part | |
2195 | local obj34 = Instance.new("Part") | |
2196 | obj34.CFrame = CFrame.new(Vector3.new(66.6615219, 4.14917231, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2197 | obj34.CanCollide = false | |
2198 | obj34.TopSurface = Enum.SurfaceType.Smooth | |
2199 | obj34.BottomSurface = Enum.SurfaceType.Smooth | |
2200 | obj34.Material = Enum.Material.SmoothPlastic | |
2201 | obj34.Size = Vector3.new(0.25, 0.25, 0.25) | |
2202 | obj34.BrickColor = BrickColor.new("Hot pink") | |
2203 | obj34.Friction = 0.30000001192093 | |
2204 | obj34.Shape = Enum.PartType.Ball | |
2205 | obj34.Parent = obj2 | |
2206 | ||
2207 | -- 35 - Part | |
2208 | local obj35 = Instance.new("Part") | |
2209 | obj35.CFrame = CFrame.new(Vector3.new(66.8712616, 4.16257238, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2210 | obj35.CanCollide = false | |
2211 | obj35.TopSurface = Enum.SurfaceType.Smooth | |
2212 | obj35.BottomSurface = Enum.SurfaceType.Smooth | |
2213 | obj35.Material = Enum.Material.SmoothPlastic | |
2214 | obj35.Size = Vector3.new(0.25, 0.25, 0.25) | |
2215 | obj35.BrickColor = BrickColor.new("Hot pink") | |
2216 | obj35.Friction = 0.30000001192093 | |
2217 | obj35.Shape = Enum.PartType.Ball | |
2218 | obj35.Parent = obj2 | |
2219 | ||
2220 | -- 36 - Part | |
2221 | local obj36 = Instance.new("Part") | |
2222 | obj36.CFrame = CFrame.new(Vector3.new(66.7165604, 3.82596827, 6.77684546)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2223 | obj36.CanCollide = false | |
2224 | obj36.TopSurface = Enum.SurfaceType.Smooth | |
2225 | obj36.BottomSurface = Enum.SurfaceType.Smooth | |
2226 | obj36.Material = Enum.Material.SmoothPlastic | |
2227 | obj36.Size = Vector3.new(0.25, 0.25, 0.25) | |
2228 | obj36.BrickColor = BrickColor.new("Hot pink") | |
2229 | obj36.Friction = 0.30000001192093 | |
2230 | obj36.Shape = Enum.PartType.Ball | |
2231 | obj36.Parent = obj2 | |
2232 | ||
2233 | -- 37 - Part | |
2234 | local obj37 = Instance.new("Part") | |
2235 | obj37.CFrame = CFrame.new(Vector3.new(66.9846878, 4.27417517, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2236 | obj37.CanCollide = false | |
2237 | obj37.TopSurface = Enum.SurfaceType.Smooth | |
2238 | obj37.BottomSurface = Enum.SurfaceType.Smooth | |
2239 | obj37.Material = Enum.Material.SmoothPlastic | |
2240 | obj37.Size = Vector3.new(0.25, 0.25, 0.25) | |
2241 | obj37.BrickColor = BrickColor.new("Hot pink") | |
2242 | obj37.Friction = 0.30000001192093 | |
2243 | obj37.Shape = Enum.PartType.Ball | |
2244 | obj37.Parent = obj2 | |
2245 | ||
2246 | -- 38 - Part | |
2247 | local obj38 = Instance.new("Part") | |
2248 | obj38.CFrame = CFrame.new(Vector3.new(67.1641541, 4.10096312, 6.93975735)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2249 | obj38.CanCollide = false | |
2250 | obj38.TopSurface = Enum.SurfaceType.Smooth | |
2251 | obj38.BottomSurface = Enum.SurfaceType.Smooth | |
2252 | obj38.Material = Enum.Material.SmoothPlastic | |
2253 | obj38.Size = Vector3.new(0.25, 0.25, 0.25) | |
2254 | obj38.BrickColor = BrickColor.new("Hot pink") | |
2255 | obj38.Friction = 0.30000001192093 | |
2256 | obj38.Shape = Enum.PartType.Ball | |
2257 | obj38.Parent = obj2 | |
2258 | ||
2259 | -- 39 - Part | |
2260 | local obj39 = Instance.new("Part") | |
2261 | obj39.CFrame = CFrame.new(Vector3.new(66.792038, 4.26077843, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2262 | obj39.CanCollide = false | |
2263 | obj39.TopSurface = Enum.SurfaceType.Smooth | |
2264 | obj39.BottomSurface = Enum.SurfaceType.Smooth | |
2265 | obj39.Material = Enum.Material.SmoothPlastic | |
2266 | obj39.Size = Vector3.new(0.25, 0.25, 0.25) | |
2267 | obj39.BrickColor = BrickColor.new("Hot pink") | |
2268 | obj39.Friction = 0.30000001192093 | |
2269 | obj39.Shape = Enum.PartType.Ball | |
2270 | obj39.Parent = obj2 | |
2271 | ||
2272 | -- 40 - Part | |
2273 | local obj40 = Instance.new("Part") | |
2274 | obj40.CFrame = CFrame.new(Vector3.new(66.5005493, 3.71436262, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2275 | obj40.CanCollide = false | |
2276 | obj40.TopSurface = Enum.SurfaceType.Smooth | |
2277 | obj40.BottomSurface = Enum.SurfaceType.Smooth | |
2278 | obj40.Material = Enum.Material.SmoothPlastic | |
2279 | obj40.Size = Vector3.new(0.25, 0.25, 0.25) | |
2280 | obj40.BrickColor = BrickColor.new("Hot pink") | |
2281 | obj40.Friction = 0.30000001192093 | |
2282 | obj40.Shape = Enum.PartType.Ball | |
2283 | obj40.Parent = obj2 | |
2284 | ||
2285 | -- 41 - stretches | |
2286 | local obj41 = Instance.new("Model") | |
2287 | obj41.Name = "stretches" | |
2288 | obj41.Parent = obj1 | |
2289 | ||
2290 | -- 42 - stretchlol | |
2291 | local obj42 = Instance.new("Part") | |
2292 | obj42.CFrame = CFrame.new(Vector3.new(67.162117, 3.13544774, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2293 | obj42.CanCollide = false | |
2294 | obj42.Transparency = 1 | |
2295 | obj42.TopSurface = Enum.SurfaceType.Smooth | |
2296 | obj42.BottomSurface = Enum.SurfaceType.Smooth | |
2297 | obj42.Material = Enum.Material.SmoothPlastic | |
2298 | obj42.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2299 | obj42.BrickColor = BrickColor.new("Pastel brown") | |
2300 | obj42.Friction = 0.30000001192093 | |
2301 | obj42.Shape = Enum.PartType.Ball | |
2302 | obj42.Name = "stretchlol" | |
2303 | obj42.Parent = obj41 | |
2304 | ||
2305 | -- 43 - stretchlol | |
2306 | local obj43 = Instance.new("Part") | |
2307 | obj43.CFrame = CFrame.new(Vector3.new(67.1951675, 3.40412855, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2308 | obj43.CanCollide = false | |
2309 | obj43.Transparency = 1 | |
2310 | obj43.TopSurface = Enum.SurfaceType.Smooth | |
2311 | obj43.BottomSurface = Enum.SurfaceType.Smooth | |
2312 | obj43.Material = Enum.Material.SmoothPlastic | |
2313 | obj43.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2314 | obj43.BrickColor = BrickColor.new("Pastel brown") | |
2315 | obj43.Friction = 0.30000001192093 | |
2316 | obj43.Shape = Enum.PartType.Ball | |
2317 | obj43.Name = "stretchlol" | |
2318 | obj43.Parent = obj41 | |
2319 | ||
2320 | -- 44 - stretchlol | |
2321 | local obj44 = Instance.new("Part") | |
2322 | obj44.CFrame = CFrame.new(Vector3.new(67.5038223, 3.48357916, 7.48069382)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2323 | obj44.CanCollide = false | |
2324 | obj44.Transparency = 1 | |
2325 | obj44.TopSurface = Enum.SurfaceType.Smooth | |
2326 | obj44.BottomSurface = Enum.SurfaceType.Smooth | |
2327 | obj44.Material = Enum.Material.SmoothPlastic | |
2328 | obj44.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2329 | obj44.BrickColor = BrickColor.new("Pastel brown") | |
2330 | obj44.Friction = 0.30000001192093 | |
2331 | obj44.Shape = Enum.PartType.Ball | |
2332 | obj44.Name = "stretchlol" | |
2333 | obj44.Parent = obj41 | |
2334 | ||
2335 | -- 45 - stretchlol | |
2336 | local obj45 = Instance.new("Part") | |
2337 | obj45.CFrame = CFrame.new(Vector3.new(67.1641541, 4.12207699, 6.93975687)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2338 | obj45.CanCollide = false | |
2339 | obj45.Transparency = 1 | |
2340 | obj45.TopSurface = Enum.SurfaceType.Smooth | |
2341 | obj45.BottomSurface = Enum.SurfaceType.Smooth | |
2342 | obj45.Material = Enum.Material.SmoothPlastic | |
2343 | obj45.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2344 | obj45.BrickColor = BrickColor.new("Pastel brown") | |
2345 | obj45.Friction = 0.30000001192093 | |
2346 | obj45.Shape = Enum.PartType.Ball | |
2347 | obj45.Name = "stretchlol" | |
2348 | obj45.Parent = obj41 | |
2349 | ||
2350 | -- 46 - stretchlol | |
2351 | local obj46 = Instance.new("Part") | |
2352 | obj46.CFrame = CFrame.new(Vector3.new(66.8712616, 4.18368626, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2353 | obj46.CanCollide = false | |
2354 | obj46.Transparency = 1 | |
2355 | obj46.TopSurface = Enum.SurfaceType.Smooth | |
2356 | obj46.BottomSurface = Enum.SurfaceType.Smooth | |
2357 | obj46.Material = Enum.Material.SmoothPlastic | |
2358 | obj46.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2359 | obj46.BrickColor = BrickColor.new("Pastel brown") | |
2360 | obj46.Friction = 0.30000001192093 | |
2361 | obj46.Shape = Enum.PartType.Ball | |
2362 | obj46.Name = "stretchlol" | |
2363 | obj46.Parent = obj41 | |
2364 | ||
2365 | -- 47 - stretchlol | |
2366 | local obj47 = Instance.new("Part") | |
2367 | obj47.CFrame = CFrame.new(Vector3.new(66.8260345, 4.14528561, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2368 | obj47.CanCollide = false | |
2369 | obj47.Transparency = 1 | |
2370 | obj47.TopSurface = Enum.SurfaceType.Smooth | |
2371 | obj47.BottomSurface = Enum.SurfaceType.Smooth | |
2372 | obj47.Material = Enum.Material.SmoothPlastic | |
2373 | obj47.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2374 | obj47.BrickColor = BrickColor.new("Pastel brown") | |
2375 | obj47.Friction = 0.30000001192093 | |
2376 | obj47.Shape = Enum.PartType.Ball | |
2377 | obj47.Name = "stretchlol" | |
2378 | obj47.Parent = obj41 | |
2379 | ||
2380 | -- 48 - stretchlol | |
2381 | local obj48 = Instance.new("Part") | |
2382 | obj48.CFrame = CFrame.new(Vector3.new(66.7104797, 3.88547921, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2383 | obj48.CanCollide = false | |
2384 | obj48.Transparency = 1 | |
2385 | obj48.TopSurface = Enum.SurfaceType.Smooth | |
2386 | obj48.BottomSurface = Enum.SurfaceType.Smooth | |
2387 | obj48.Material = Enum.Material.SmoothPlastic | |
2388 | obj48.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2389 | obj48.BrickColor = BrickColor.new("Pastel brown") | |
2390 | obj48.Friction = 0.30000001192093 | |
2391 | obj48.Shape = Enum.PartType.Ball | |
2392 | obj48.Name = "stretchlol" | |
2393 | obj48.Parent = obj41 | |
2394 | ||
2395 | -- 49 - stretchlol | |
2396 | local obj49 = Instance.new("Part") | |
2397 | obj49.CFrame = CFrame.new(Vector3.new(67.0637207, 4.06047773, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2398 | obj49.CanCollide = false | |
2399 | obj49.Transparency = 1 | |
2400 | obj49.TopSurface = Enum.SurfaceType.Smooth | |
2401 | obj49.BottomSurface = Enum.SurfaceType.Smooth | |
2402 | obj49.Material = Enum.Material.SmoothPlastic | |
2403 | obj49.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2404 | obj49.BrickColor = BrickColor.new("Pastel brown") | |
2405 | obj49.Friction = 0.30000001192093 | |
2406 | obj49.Shape = Enum.PartType.Ball | |
2407 | obj49.Name = "stretchlol" | |
2408 | obj49.Parent = obj41 | |
2409 | ||
2410 | -- 50 - stretchlol | |
2411 | local obj50 = Instance.new("Part") | |
2412 | obj50.CFrame = CFrame.new(Vector3.new(66.7165604, 3.84708691, 6.77684498)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2413 | obj50.CanCollide = false | |
2414 | obj50.Transparency = 1 | |
2415 | obj50.TopSurface = Enum.SurfaceType.Smooth | |
2416 | obj50.BottomSurface = Enum.SurfaceType.Smooth | |
2417 | obj50.Material = Enum.Material.SmoothPlastic | |
2418 | obj50.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2419 | obj50.BrickColor = BrickColor.new("Pastel brown") | |
2420 | obj50.Friction = 0.30000001192093 | |
2421 | obj50.Shape = Enum.PartType.Ball | |
2422 | obj50.Name = "stretchlol" | |
2423 | obj50.Parent = obj41 | |
2424 | ||
2425 | -- 51 - stretchlol | |
2426 | local obj51 = Instance.new("Part") | |
2427 | obj51.CFrame = CFrame.new(Vector3.new(66.9846878, 4.29528904, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2428 | obj51.CanCollide = false | |
2429 | obj51.Transparency = 1 | |
2430 | obj51.TopSurface = Enum.SurfaceType.Smooth | |
2431 | obj51.BottomSurface = Enum.SurfaceType.Smooth | |
2432 | obj51.Material = Enum.Material.SmoothPlastic | |
2433 | obj51.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2434 | obj51.BrickColor = BrickColor.new("Pastel brown") | |
2435 | obj51.Friction = 0.30000001192093 | |
2436 | obj51.Shape = Enum.PartType.Ball | |
2437 | obj51.Name = "stretchlol" | |
2438 | obj51.Parent = obj41 | |
2439 | ||
2440 | -- 52 - stretchlol | |
2441 | local obj52 = Instance.new("Part") | |
2442 | obj52.CFrame = CFrame.new(Vector3.new(66.868927, 3.45350599, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
2443 | obj52.CanCollide = false | |
2444 | obj52.Transparency = 1 | |
2445 | obj52.TopSurface = Enum.SurfaceType.Smooth | |
2446 | obj52.BottomSurface = Enum.SurfaceType.Smooth | |
2447 | obj52.Material = Enum.Material.SmoothPlastic | |
2448 | obj52.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2449 | obj52.BrickColor = BrickColor.new("Pastel brown") | |
2450 | obj52.Friction = 0.30000001192093 | |
2451 | obj52.Shape = Enum.PartType.Ball | |
2452 | obj52.Name = "stretchlol" | |
2453 | obj52.Parent = obj41 | |
2454 | ||
2455 | -- 53 - stretchlol | |
2456 | local obj53 = Instance.new("Part") | |
2457 | obj53.CFrame = CFrame.new(Vector3.new(67.287262, 3.10603261, 7.30382156)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211) | |
2458 | obj53.CanCollide = false | |
2459 | obj53.Transparency = 1 | |
2460 | obj53.TopSurface = Enum.SurfaceType.Smooth | |
2461 | obj53.BottomSurface = Enum.SurfaceType.Smooth | |
2462 | obj53.Material = Enum.Material.SmoothPlastic | |
2463 | obj53.Size = Vector3.new(1.79999995, 1.04999995, 1.04999995) | |
2464 | obj53.BrickColor = BrickColor.new("Pastel brown") | |
2465 | obj53.Friction = 0.30000001192093 | |
2466 | obj53.Shape = Enum.PartType.Cylinder | |
2467 | obj53.Name = "stretchlol" | |
2468 | obj53.Parent = obj41 | |
2469 | ||
2470 | -- 54 - stretchlol | |
2471 | local obj54 = Instance.new("Part") | |
2472 | obj54.CFrame = CFrame.new(Vector3.new(66.4686813, 4.02028799, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2473 | obj54.CanCollide = false | |
2474 | obj54.Transparency = 1 | |
2475 | obj54.TopSurface = Enum.SurfaceType.Smooth | |
2476 | obj54.BottomSurface = Enum.SurfaceType.Smooth | |
2477 | obj54.Material = Enum.Material.SmoothPlastic | |
2478 | obj54.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2479 | obj54.BrickColor = BrickColor.new("Pastel brown") | |
2480 | obj54.Friction = 0.30000001192093 | |
2481 | obj54.Shape = Enum.PartType.Ball | |
2482 | obj54.Name = "stretchlol" | |
2483 | obj54.Parent = obj41 | |
2484 | ||
2485 | -- 55 - stretchlol | |
2486 | local obj55 = Instance.new("Part") | |
2487 | obj55.CFrame = CFrame.new(Vector3.new(66.6615219, 4.17028332, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2488 | obj55.CanCollide = false | |
2489 | obj55.Transparency = 1 | |
2490 | obj55.TopSurface = Enum.SurfaceType.Smooth | |
2491 | obj55.BottomSurface = Enum.SurfaceType.Smooth | |
2492 | obj55.Material = Enum.Material.SmoothPlastic | |
2493 | obj55.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2494 | obj55.BrickColor = BrickColor.new("Pastel brown") | |
2495 | obj55.Friction = 0.30000001192093 | |
2496 | obj55.Shape = Enum.PartType.Ball | |
2497 | obj55.Name = "stretchlol" | |
2498 | obj55.Parent = obj41 | |
2499 | ||
2500 | -- 56 - stretchlol | |
2501 | local obj56 = Instance.new("Part") | |
2502 | obj56.CFrame = CFrame.new(Vector3.new(66.753746, 3.12474751, 7.32704115)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2503 | obj56.CanCollide = false | |
2504 | obj56.Transparency = 1 | |
2505 | obj56.TopSurface = Enum.SurfaceType.Smooth | |
2506 | obj56.BottomSurface = Enum.SurfaceType.Smooth | |
2507 | obj56.Material = Enum.Material.SmoothPlastic | |
2508 | obj56.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2509 | obj56.BrickColor = BrickColor.new("Pastel brown") | |
2510 | obj56.Friction = 0.30000001192093 | |
2511 | obj56.Shape = Enum.PartType.Ball | |
2512 | obj56.Name = "stretchlol" | |
2513 | obj56.Parent = obj41 | |
2514 | ||
2515 | -- 57 - stretchlol | |
2516 | local obj57 = Instance.new("Part") | |
2517 | obj57.CFrame = CFrame.new(Vector3.new(67.2306061, 4.11047649, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2518 | obj57.CanCollide = false | |
2519 | obj57.Transparency = 1 | |
2520 | obj57.TopSurface = Enum.SurfaceType.Smooth | |
2521 | obj57.BottomSurface = Enum.SurfaceType.Smooth | |
2522 | obj57.Material = Enum.Material.SmoothPlastic | |
2523 | obj57.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2524 | obj57.BrickColor = BrickColor.new("Pastel brown") | |
2525 | obj57.Friction = 0.30000001192093 | |
2526 | obj57.Shape = Enum.PartType.Ball | |
2527 | obj57.Name = "stretchlol" | |
2528 | obj57.Parent = obj41 | |
2529 | ||
2530 | -- 58 - stretchlol | |
2531 | local obj58 = Instance.new("Part") | |
2532 | obj58.CFrame = CFrame.new(Vector3.new(67.0756683, 3.79114079, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
2533 | obj58.CanCollide = false | |
2534 | obj58.Transparency = 1 | |
2535 | obj58.TopSurface = Enum.SurfaceType.Smooth | |
2536 | obj58.BottomSurface = Enum.SurfaceType.Smooth | |
2537 | obj58.Material = Enum.Material.SmoothPlastic | |
2538 | obj58.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2539 | obj58.BrickColor = BrickColor.new("Pastel brown") | |
2540 | obj58.Friction = 0.30000001192093 | |
2541 | obj58.Shape = Enum.PartType.Ball | |
2542 | obj58.Name = "stretchlol" | |
2543 | obj58.Parent = obj41 | |
2544 | ||
2545 | -- 59 - stretchlol | |
2546 | local obj59 = Instance.new("Part") | |
2547 | obj59.CFrame = CFrame.new(Vector3.new(66.5005493, 3.73548079, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2548 | obj59.CanCollide = false | |
2549 | obj59.Transparency = 1 | |
2550 | obj59.TopSurface = Enum.SurfaceType.Smooth | |
2551 | obj59.BottomSurface = Enum.SurfaceType.Smooth | |
2552 | obj59.Material = Enum.Material.SmoothPlastic | |
2553 | obj59.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2554 | obj59.BrickColor = BrickColor.new("Pastel brown") | |
2555 | obj59.Friction = 0.30000001192093 | |
2556 | obj59.Shape = Enum.PartType.Ball | |
2557 | obj59.Name = "stretchlol" | |
2558 | obj59.Parent = obj41 | |
2559 | ||
2560 | -- 60 - stretchlol | |
2561 | local obj60 = Instance.new("Part") | |
2562 | obj60.CFrame = CFrame.new(Vector3.new(67.6487045, 3.41425848, 7.1938138)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2563 | obj60.CanCollide = false | |
2564 | obj60.Transparency = 1 | |
2565 | obj60.TopSurface = Enum.SurfaceType.Smooth | |
2566 | obj60.BottomSurface = Enum.SurfaceType.Smooth | |
2567 | obj60.Material = Enum.Material.SmoothPlastic | |
2568 | obj60.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2569 | obj60.BrickColor = BrickColor.new("Pastel brown") | |
2570 | obj60.Friction = 0.30000001192093 | |
2571 | obj60.Shape = Enum.PartType.Ball | |
2572 | obj60.Name = "stretchlol" | |
2573 | obj60.Parent = obj41 | |
2574 | ||
2575 | -- 61 - stretchlol | |
2576 | local obj61 = Instance.new("Part") | |
2577 | obj61.CFrame = CFrame.new(Vector3.new(67.3677139, 3.85357118, 7.33310223)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2578 | obj61.CanCollide = false | |
2579 | obj61.Transparency = 1 | |
2580 | obj61.TopSurface = Enum.SurfaceType.Smooth | |
2581 | obj61.BottomSurface = Enum.SurfaceType.Smooth | |
2582 | obj61.Material = Enum.Material.SmoothPlastic | |
2583 | obj61.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2584 | obj61.BrickColor = BrickColor.new("Pastel brown") | |
2585 | obj61.Friction = 0.30000001192093 | |
2586 | obj61.Shape = Enum.PartType.Ball | |
2587 | obj61.Name = "stretchlol" | |
2588 | obj61.Parent = obj41 | |
2589 | ||
2590 | -- 62 - stretchlol | |
2591 | local obj62 = Instance.new("Part") | |
2592 | obj62.CFrame = CFrame.new(Vector3.new(66.6352844, 3.40356588, 7.06651878)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2593 | obj62.CanCollide = false | |
2594 | obj62.Transparency = 1 | |
2595 | obj62.TopSurface = Enum.SurfaceType.Smooth | |
2596 | obj62.BottomSurface = Enum.SurfaceType.Smooth | |
2597 | obj62.Material = Enum.Material.SmoothPlastic | |
2598 | obj62.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2599 | obj62.BrickColor = BrickColor.new("Pastel brown") | |
2600 | obj62.Friction = 0.30000001192093 | |
2601 | obj62.Shape = Enum.PartType.Ball | |
2602 | obj62.Name = "stretchlol" | |
2603 | obj62.Parent = obj41 | |
2604 | ||
2605 | -- 63 - stretchlol | |
2606 | local obj63 = Instance.new("Part") | |
2607 | obj63.CFrame = CFrame.new(Vector3.new(66.7236328, 4.28189754, 7.20509195)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2608 | obj63.CanCollide = false | |
2609 | obj63.Transparency = 1 | |
2610 | obj63.TopSurface = Enum.SurfaceType.Smooth | |
2611 | obj63.BottomSurface = Enum.SurfaceType.Smooth | |
2612 | obj63.Material = Enum.Material.SmoothPlastic | |
2613 | obj63.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2614 | obj63.BrickColor = BrickColor.new("Pastel brown") | |
2615 | obj63.Friction = 0.30000001192093 | |
2616 | obj63.Shape = Enum.PartType.Ball | |
2617 | obj63.Name = "stretchlol" | |
2618 | obj63.Parent = obj41 | |
2619 | ||
2620 | -- 64 - stretchlol | |
2621 | local obj64 = Instance.new("Part") | |
2622 | obj64.CFrame = CFrame.new(Vector3.new(66.5712891, 4.02028799, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2623 | obj64.CanCollide = false | |
2624 | obj64.Transparency = 1 | |
2625 | obj64.TopSurface = Enum.SurfaceType.Smooth | |
2626 | obj64.BottomSurface = Enum.SurfaceType.Smooth | |
2627 | obj64.Material = Enum.Material.SmoothPlastic | |
2628 | obj64.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2629 | obj64.BrickColor = BrickColor.new("Pastel brown") | |
2630 | obj64.Friction = 0.30000001192093 | |
2631 | obj64.Shape = Enum.PartType.Ball | |
2632 | obj64.Name = "stretchlol" | |
2633 | obj64.Parent = obj41 | |
2634 | ||
2635 | -- 65 - stretchlol | |
2636 | local obj65 = Instance.new("Part") | |
2637 | obj65.CFrame = CFrame.new(Vector3.new(66.4981842, 3.66047978, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2638 | obj65.CanCollide = false | |
2639 | obj65.Transparency = 1 | |
2640 | obj65.TopSurface = Enum.SurfaceType.Smooth | |
2641 | obj65.BottomSurface = Enum.SurfaceType.Smooth | |
2642 | obj65.Material = Enum.Material.SmoothPlastic | |
2643 | obj65.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2644 | obj65.BrickColor = BrickColor.new("Pastel brown") | |
2645 | obj65.Friction = 0.30000001192093 | |
2646 | obj65.Shape = Enum.PartType.Ball | |
2647 | obj65.Name = "stretchlol" | |
2648 | obj65.Parent = obj41 | |
2649 | ||
2650 | -- 66 - stretchlol | |
2651 | local obj66 = Instance.new("Part") | |
2652 | obj66.CFrame = CFrame.new(Vector3.new(66.7920303, 4.28189754, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2653 | obj66.CanCollide = false | |
2654 | obj66.Transparency = 1 | |
2655 | obj66.TopSurface = Enum.SurfaceType.Smooth | |
2656 | obj66.BottomSurface = Enum.SurfaceType.Smooth | |
2657 | obj66.Material = Enum.Material.SmoothPlastic | |
2658 | obj66.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2659 | obj66.BrickColor = BrickColor.new("Pastel brown") | |
2660 | obj66.Friction = 0.30000001192093 | |
2661 | obj66.Shape = Enum.PartType.Ball | |
2662 | obj66.Name = "stretchlol" | |
2663 | obj66.Parent = obj41 | |
2664 | ||
2665 | -- 67 - stretchlol | |
2666 | local obj67 = Instance.new("Part") | |
2667 | obj67.CFrame = CFrame.new(Vector3.new(66.5950623, 4.18188763, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2668 | obj67.CanCollide = false | |
2669 | obj67.Transparency = 1 | |
2670 | obj67.TopSurface = Enum.SurfaceType.Smooth | |
2671 | obj67.BottomSurface = Enum.SurfaceType.Smooth | |
2672 | obj67.Material = Enum.Material.SmoothPlastic | |
2673 | obj67.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2674 | obj67.BrickColor = BrickColor.new("Pastel brown") | |
2675 | obj67.Friction = 0.30000001192093 | |
2676 | obj67.Shape = Enum.PartType.Ball | |
2677 | obj67.Name = "stretchlol" | |
2678 | obj67.Parent = obj41 | |
2679 | ||
2680 | -- 68 - stretchlol | |
2681 | local obj68 = Instance.new("Part") | |
2682 | obj68.CFrame = CFrame.new(Vector3.new(67.4115601, 3.73646879, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
2683 | obj68.CanCollide = false | |
2684 | obj68.Transparency = 1 | |
2685 | obj68.TopSurface = Enum.SurfaceType.Smooth | |
2686 | obj68.BottomSurface = Enum.SurfaceType.Smooth | |
2687 | obj68.Material = Enum.Material.SmoothPlastic | |
2688 | obj68.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2689 | obj68.BrickColor = BrickColor.new("Pastel brown") | |
2690 | obj68.Friction = 0.30000001192093 | |
2691 | obj68.Shape = Enum.PartType.Ball | |
2692 | obj68.Name = "stretchlol" | |
2693 | obj68.Parent = obj41 | |
2694 | ||
2695 | -- 69 - stretchlol | |
2696 | local obj69 = Instance.new("Part") | |
2697 | obj69.CFrame = CFrame.new(Vector3.new(66.8643951, 3.88548112, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2698 | obj69.CanCollide = false | |
2699 | obj69.Transparency = 1 | |
2700 | obj69.TopSurface = Enum.SurfaceType.Smooth | |
2701 | obj69.BottomSurface = Enum.SurfaceType.Smooth | |
2702 | obj69.Material = Enum.Material.SmoothPlastic | |
2703 | obj69.Size = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
2704 | obj69.BrickColor = BrickColor.new("Pastel brown") | |
2705 | obj69.Friction = 0.30000001192093 | |
2706 | obj69.Shape = Enum.PartType.Ball | |
2707 | obj69.Name = "stretchlol" | |
2708 | obj69.Parent = obj41 | |
2709 | ||
2710 | -- 70 - stretchlol | |
2711 | local obj70 = Instance.new("Part") | |
2712 | obj70.CFrame = CFrame.new(Vector3.new(67.4108353, 3.29388237, 6.88037777)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2713 | obj70.CanCollide = false | |
2714 | obj70.Transparency = 1 | |
2715 | obj70.TopSurface = Enum.SurfaceType.Smooth | |
2716 | obj70.BottomSurface = Enum.SurfaceType.Smooth | |
2717 | obj70.Material = Enum.Material.SmoothPlastic | |
2718 | obj70.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2719 | obj70.BrickColor = BrickColor.new("Pastel brown") | |
2720 | obj70.Friction = 0.30000001192093 | |
2721 | obj70.Shape = Enum.PartType.Ball | |
2722 | obj70.Name = "stretchlol" | |
2723 | obj70.Parent = obj41 | |
2724 | ||
2725 | -- 71 - stretchlol | |
2726 | local obj71 = Instance.new("Part") | |
2727 | obj71.CFrame = CFrame.new(Vector3.new(67.1960983, 3.65356374, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2728 | obj71.CanCollide = false | |
2729 | obj71.Transparency = 1 | |
2730 | obj71.TopSurface = Enum.SurfaceType.Smooth | |
2731 | obj71.BottomSurface = Enum.SurfaceType.Smooth | |
2732 | obj71.Material = Enum.Material.SmoothPlastic | |
2733 | obj71.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2734 | obj71.BrickColor = BrickColor.new("Pastel brown") | |
2735 | obj71.Friction = 0.30000001192093 | |
2736 | obj71.Shape = Enum.PartType.Ball | |
2737 | obj71.Name = "stretchlol" | |
2738 | obj71.Parent = obj41 | |
2739 | ||
2740 | -- 72 - stretchlol | |
2741 | local obj72 = Instance.new("Part") | |
2742 | obj72.CFrame = CFrame.new(Vector3.new(66.944519, 3.22988653, 7.64748716)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2743 | obj72.CanCollide = false | |
2744 | obj72.Transparency = 1 | |
2745 | obj72.TopSurface = Enum.SurfaceType.Smooth | |
2746 | obj72.BottomSurface = Enum.SurfaceType.Smooth | |
2747 | obj72.Material = Enum.Material.SmoothPlastic | |
2748 | obj72.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2749 | obj72.BrickColor = BrickColor.new("Pastel brown") | |
2750 | obj72.Friction = 0.30000001192093 | |
2751 | obj72.Shape = Enum.PartType.Ball | |
2752 | obj72.Name = "stretchlol" | |
2753 | obj72.Parent = obj41 | |
2754 | ||
2755 | -- 73 - stretchlol | |
2756 | local obj73 = Instance.new("Part") | |
2757 | obj73.CFrame = CFrame.new(Vector3.new(66.851532, 3.04020095, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2758 | obj73.CanCollide = false | |
2759 | obj73.Transparency = 1 | |
2760 | obj73.TopSurface = Enum.SurfaceType.Smooth | |
2761 | obj73.BottomSurface = Enum.SurfaceType.Smooth | |
2762 | obj73.Material = Enum.Material.SmoothPlastic | |
2763 | obj73.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2764 | obj73.BrickColor = BrickColor.new("Pastel brown") | |
2765 | obj73.Friction = 0.30000001192093 | |
2766 | obj73.Shape = Enum.PartType.Ball | |
2767 | obj73.Name = "stretchlol" | |
2768 | obj73.Parent = obj41 | |
2769 | ||
2770 | -- 74 - stretchlol | |
2771 | local obj74 = Instance.new("Part") | |
2772 | obj74.CFrame = CFrame.new(Vector3.new(66.5551376, 3.48395109, 7.33871603)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
2773 | obj74.CanCollide = false | |
2774 | obj74.Transparency = 1 | |
2775 | obj74.TopSurface = Enum.SurfaceType.Smooth | |
2776 | obj74.BottomSurface = Enum.SurfaceType.Smooth | |
2777 | obj74.Material = Enum.Material.SmoothPlastic | |
2778 | obj74.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2779 | obj74.BrickColor = BrickColor.new("Pastel brown") | |
2780 | obj74.Friction = 0.30000001192093 | |
2781 | obj74.Shape = Enum.PartType.Ball | |
2782 | obj74.Name = "stretchlol" | |
2783 | obj74.Parent = obj41 | |
2784 | ||
2785 | -- 75 - stretchlol | |
2786 | local obj75 = Instance.new("Part") | |
2787 | obj75.CFrame = CFrame.new(Vector3.new(66.8069, 3.60357046, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2788 | obj75.CanCollide = false | |
2789 | obj75.Transparency = 1 | |
2790 | obj75.TopSurface = Enum.SurfaceType.Smooth | |
2791 | obj75.BottomSurface = Enum.SurfaceType.Smooth | |
2792 | obj75.Material = Enum.Material.SmoothPlastic | |
2793 | obj75.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2794 | obj75.BrickColor = BrickColor.new("Pastel brown") | |
2795 | obj75.Friction = 0.30000001192093 | |
2796 | obj75.Shape = Enum.PartType.Ball | |
2797 | obj75.Name = "stretchlol" | |
2798 | obj75.Parent = obj41 | |
2799 | ||
2800 | -- 76 - stretchlol | |
2801 | local obj76 = Instance.new("Part") | |
2802 | obj76.CFrame = CFrame.new(Vector3.new(67.0182953, 3.88547921, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2803 | obj76.CanCollide = false | |
2804 | obj76.Transparency = 1 | |
2805 | obj76.TopSurface = Enum.SurfaceType.Smooth | |
2806 | obj76.BottomSurface = Enum.SurfaceType.Smooth | |
2807 | obj76.Material = Enum.Material.SmoothPlastic | |
2808 | obj76.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2809 | obj76.BrickColor = BrickColor.new("Pastel brown") | |
2810 | obj76.Friction = 0.30000001192093 | |
2811 | obj76.Shape = Enum.PartType.Ball | |
2812 | obj76.Name = "stretchlol" | |
2813 | obj76.Parent = obj41 | |
2814 | obj1.PrimaryPart = obj4 | |
2815 | ||
2816 | local stretches = obj41:GetChildren() | |
2817 | for i,v in pairs(stretches) do | |
2818 | v.Anchored = true | |
2819 | v.Parent = obj1 | |
2820 | end | |
2821 | for i,v in pairs(obj2:GetChildren()) do | |
2822 | v.Anchored = true | |
2823 | v.Parent = obj1 | |
2824 | end | |
2825 | obj2:Destroy() | |
2826 | obj41:Destroy() | |
2827 | ||
2828 | local previous = nil | |
2829 | for i,v in pairs(obj1:GetChildren()) do | |
2830 | if v:IsA('BasePart') then | |
2831 | if previous then | |
2832 | local weld = Instance.new('Weld',v) | |
2833 | weld.Part0 = v | |
2834 | weld.Part1 = previous | |
2835 | weld.C0 = v.CFrame:inverse() * previous.CFrame | |
2836 | previous.Anchored = false | |
2837 | previous.CanCollide = false | |
2838 | local vee = v | |
2839 | weld.AncestryChanged:connect(function(mez,par) | |
2840 | wait() | |
2841 | weld.Parent = vee | |
2842 | end) | |
2843 | end | |
2844 | previous = v | |
2845 | end | |
2846 | end | |
2847 | previous.Anchored = false | |
2848 | previous.CanCollide = false | |
2849 | obj1:SetPrimaryPartCFrame(handle.CFrame*CFrame.Angles(0,math.rad(180),0)+Vector3.new(0,100,0)) | |
2850 | -- 2 - Part | |
2851 | local ree = Instance.new("Part") | |
2852 | ree.CFrame = CFrame.new(Vector3.new(50.5, 141, 5.5)) | |
2853 | ree.Transparency = 0.80000001192093 | |
2854 | ree.Material = Enum.Material.Neon | |
2855 | ree.CFrame = CFrame.new(obj4.Position) | |
2856 | ree.Size = Vector3.new(5, math.huge, 5) | |
2857 | ree.BrickColor = BrickColor.new("New Yeller") | |
2858 | ree.Friction = 0.30000001192093 | |
2859 | ree.Shape = Enum.PartType.Block | |
2860 | ree.Parent = handle | |
2861 | ||
2862 | -- 3 - Mesh | |
2863 | local ree2 = Instance.new("CylinderMesh") | |
2864 | ree2.Parent = ree | |
2865 | local thing = Instance.new('BodyPosition',obj9) | |
2866 | local thing2 = Instance.new('BodyPosition',ree) | |
2867 | thing2.P = 100000 | |
2868 | thing2.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2869 | thing.MaxForce = Vector3.new(10000,10000,10000) | |
2870 | for i=1,100 do | |
2871 | thing2.Position = obj4.Position | |
2872 | obj1:SetPrimaryPartCFrame(CFrame.new(obj1.PrimaryPart.Position)*CFrame.Angles(math.rad(handle.Orientation.X),math.rad(handle.Orientation.Y),math.rad(handle.Orientation.Z))*CFrame.Angles(0,math.rad(180),0)) | |
2873 | thing.Position = handle.Position+(handle.CFrame.rightVector*0.5) | |
2874 | wait() | |
2875 | end | |
2876 | thing:Destroy() | |
2877 | local lmfao = Instance.new('Weld',obj4) | |
2878 | lmfao.C0 = CFrame.new(2.5,0.2,0)*CFrame.Angles(0,math.rad(180),0) | |
2879 | lmfao.Part0 = obj4 | |
2880 | lmfao.Part1 = handle | |
2881 | ree:Destroy() | |
2882 | working = false | |
2883 | end | |
2884 | ||
2885 | function katanamode() | |
2886 | blademode = "katana" | |
2887 | -- 1 - weeb shit | |
2888 | local weebshit1 = handle | |
2889 | ||
2890 | -- 16 - top cap | |
2891 | local weebshit16 = Instance.new("Part") | |
2892 | weebshit16.CFrame = CFrame.new(Vector3.new(206.400146, 11.5499945, 5.00058556)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063) | |
2893 | weebshit16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2894 | weebshit16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2895 | weebshit16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2896 | weebshit16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2897 | weebshit16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2898 | weebshit16.Size = Vector3.new(0.1, 0.05,0.05) --0.65, 0.65 | |
2899 | weebshit16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2900 | weebshit16.Anchored = false | |
2901 | weebshit16.BrickColor = BrickColor.new("Institutional white") | |
2902 | weebshit16.Friction = 0.30000001192093 | |
2903 | weebshit16.Shape = Enum.PartType.Cylinder | |
2904 | weebshit16.Name = "top cap" | |
2905 | weebshit16.Parent = weebshit1 | |
2906 | local weld = Instance.new('Weld',weebshit16) | |
2907 | weld.Part0 = weebshit16 | |
2908 | weld.Part1 = handle | |
2909 | weld.C1 = CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048) | |
2910 | --weld,part,endsize,endpos,amntime | |
2911 | grow(weld,weebshit16,Vector3.new(0.1,0.65,0.65),CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048),0.1) | |
2912 | ||
2913 | -- 8 - blade | |
2914 | local weebshit8 = Instance.new("Part") | |
2915 | weebshit8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2916 | weebshit8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2917 | weebshit8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2918 | weebshit8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2919 | weebshit8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2920 | weebshit8.Material = Enum.Material.Metal | |
2921 | weebshit8.Size = Vector3.new(0.23,0.05, 0.1) | |
2922 | weebshit8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2923 | weebshit8.Anchored = false | |
2924 | weebshit8.BrickColor = BrickColor.new("Dark stone grey") | |
2925 | weebshit8.Friction = 0.30000001192093 | |
2926 | weebshit8.Shape = Enum.PartType.Block | |
2927 | weebshit8.Name = "blade" | |
2928 | weebshit8.Parent = weebshit1 | |
2929 | weebshit8:BreakJoints() | |
2930 | local bld1 = weebshit8 | |
2931 | local weld2 = Instance.new('Weld',weebshit8) | |
2932 | weld2.Part0 = weebshit8 | |
2933 | weld2.Part1 = handle | |
2934 | weld2.C1 = CFrame.new(0.75, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90)) | |
2935 | local coru=coroutine.wrap(function() | |
2936 | grow(weld2,weebshit8,Vector3.new(0.23,1.17,0.1),CFrame.new(1.25, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90)),0.05) | |
2937 | end) | |
2938 | coru() | |
2939 | ||
2940 | -- 9 - blade | |
2941 | local weebshit9 = Instance.new("Part") | |
2942 | weebshit9.CFrame = CFrame.new(Vector3.new(206.475388, 13.3372736, 5.00158167)) * CFrame.Angles(-0, 0, 0.052359949797392) | |
2943 | weebshit9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2944 | weebshit9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2945 | weebshit9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2946 | weebshit9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2947 | weebshit9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2948 | weebshit9.Material = Enum.Material.Metal | |
2949 | weebshit9.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
2950 | weebshit9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2951 | weebshit9.Anchored = false | |
2952 | weebshit9.BrickColor = BrickColor.new("Institutional white") | |
2953 | weebshit9.Friction = 0.30000001192093 | |
2954 | weebshit9.Shape = Enum.PartType.Block | |
2955 | weebshit9.Name = "blade" | |
2956 | weebshit9.Parent = weebshit8 | |
2957 | local bld2 = weebshit9 | |
2958 | local weld3 = Instance.new('Weld',weebshit9) | |
2959 | weld3.Part0 = weebshit9 | |
2960 | weld3.Part1 = weebshit8 | |
2961 | weld3.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) | |
2962 | grow(weld3,weebshit9,Vector3.new(0.100000009, 1.17, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.05) | |
2963 | -- 10 - blade | |
2964 | local weebshit10 = Instance.new("Part") | |
2965 | weebshit10.CFrame = CFrame.new(Vector3.new(206.26973, 14.458313, 5)) * CFrame.Angles(-0, 0, 0.10472027212381) | |
2966 | weebshit10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2967 | weebshit10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2968 | weebshit10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2969 | weebshit10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2970 | weebshit10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2971 | weebshit10.Material = Enum.Material.Metal | |
2972 | weebshit10.Size = Vector3.new(0.229999945, 0.05, 0.100000009) | |
2973 | weebshit10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2974 | weebshit10.Anchored = false | |
2975 | weebshit10.BrickColor = BrickColor.new("Dark stone grey") | |
2976 | weebshit10.Friction = 0.30000001192093 | |
2977 | weebshit10.Shape = Enum.PartType.Block | |
2978 | weebshit10.Name = "blade" | |
2979 | weebshit10.Parent = weebshit1 | |
2980 | local weld4 = Instance.new('Weld',weebshit10) | |
2981 | weld4.Part0 = weebshit10 | |
2982 | weld4.Part1 = weebshit8 | |
2983 | weld4.C1 = CFrame.new(-0.01, 0.55, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095) | |
2984 | local coru=coroutine.wrap(function() | |
2985 | grow(weld4,weebshit10,Vector3.new(0.23,1.17,0.1),CFrame.new(-0.0285797119, 1.14634609, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095),0.1) | |
2986 | end) | |
2987 | coru() | |
2988 | -- 11 - blade | |
2989 | local weebshit11 = Instance.new("Part") | |
2990 | weebshit11.CFrame = CFrame.new(Vector3.new(206.384079, 14.4703341, 5.00158167)) * CFrame.Angles(-0, 0, 0.10472027212381) | |
2991 | weebshit11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2992 | weebshit11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2993 | weebshit11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2994 | weebshit11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2995 | weebshit11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2996 | weebshit11.Material = Enum.Material.Metal | |
2997 | weebshit11.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
2998 | weebshit11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2999 | weebshit11.Anchored = false | |
3000 | weebshit11.BrickColor = BrickColor.new("Institutional white") | |
3001 | weebshit11.Friction = 0.30000001192093 | |
3002 | weebshit11.Shape = Enum.PartType.Block | |
3003 | weebshit11.Name = "blade" | |
3004 | weebshit11.Parent = weebshit1 | |
3005 | local weld5 = Instance.new('Weld',weebshit10) | |
3006 | weld5.Part0 = weebshit10 | |
3007 | weld5.Part1 = weebshit11 | |
3008 | weld5.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) | |
3009 | grow(weld5,weebshit11,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(-0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) | |
3010 | ||
3011 | -- 15 - blade | |
3012 | local weebshit15 = Instance.new("Part") | |
3013 | weebshit15.CFrame = CFrame.new(Vector3.new(206.36055, 13.3312511, 5)) * CFrame.Angles(-0, 0, 0.052359949797392) | |
3014 | weebshit15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3015 | weebshit15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3016 | weebshit15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3017 | weebshit15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3018 | weebshit15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3019 | weebshit15.Material = Enum.Material.Metal | |
3020 | weebshit15.Size = Vector3.new(0.229999945, 0.55, 0.100000009) | |
3021 | weebshit15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3022 | weebshit15.Anchored = false | |
3023 | weebshit15.BrickColor = BrickColor.new("Dark stone grey") | |
3024 | weebshit15.Friction = 0.30000001192093 | |
3025 | weebshit15.Shape = Enum.PartType.Block | |
3026 | weebshit15.Name = "blade" | |
3027 | weebshit15.Parent = weebshit1 | |
3028 | local weld6 = Instance.new('Weld',weebshit15) | |
3029 | weld6.Part0 = weebshit15 | |
3030 | weld6.Part1 = weebshit10 | |
3031 | weld6.C1 = CFrame.new(-0.01, -0.55, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006) | |
3032 | local coru=coroutine.wrap(function() | |
3033 | grow(weld6,weebshit15,Vector3.new(0.229999945, 1.17000151, 0.100000009),CFrame.new(-0.0274810791, -1.13038063, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006),0.1) | |
3034 | end) | |
3035 | coru() | |
3036 | ||
3037 | -- 12 - blade | |
3038 | local weebshit12 = Instance.new("Part") | |
3039 | weebshit12.CFrame = CFrame.new(Vector3.new(206.50705, 12.1849957, 5.00158167)) * CFrame.Angles(-0, 0, -0) | |
3040 | weebshit12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3041 | weebshit12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3042 | weebshit12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3043 | weebshit12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3044 | weebshit12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3045 | weebshit12.Material = Enum.Material.Metal | |
3046 | weebshit12.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
3047 | weebshit12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3048 | weebshit12.Anchored = false | |
3049 | weebshit12.BrickColor = BrickColor.new("Institutional white") | |
3050 | weebshit12.Friction = 0.30000001192093 | |
3051 | weebshit12.Shape = Enum.PartType.Block | |
3052 | weebshit12.Name = "blade" | |
3053 | weebshit12.Parent = weebshit1 | |
3054 | local weld7 = Instance.new('Weld',weebshit12) | |
3055 | weld7.Part0 = weebshit12 | |
3056 | weld7.Part1 = weebshit15 | |
3057 | weld7.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) | |
3058 | grow(weld7,weebshit12,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) | |
3059 | ||
3060 | -- 14 - blade | |
3061 | local weebshit14 = Instance.new("Part") | |
3062 | weebshit14.CFrame = CFrame.new(Vector3.new(206.155365, 15.3628922, 5)) * CFrame.Angles(-0, 0, 0.15708021819592) | |
3063 | weebshit14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3064 | weebshit14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3065 | weebshit14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3066 | weebshit14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3067 | weebshit14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3068 | weebshit14.Material = Enum.Material.Metal | |
3069 | weebshit14.Size = Vector3.new(0.229999945, 0.05, 0.100000009) | |
3070 | weebshit14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3071 | weebshit14.Anchored = false | |
3072 | weebshit14.BrickColor = BrickColor.new("Dark stone grey") | |
3073 | weebshit14.Friction = 0.30000001192093 | |
3074 | weebshit14.Shape = Enum.PartType.Block | |
3075 | weebshit14.Name = "blade" | |
3076 | weebshit14.Parent = weebshit1 | |
3077 | local weld8 = Instance.new('Weld',weebshit14) | |
3078 | weld8.Part0 = weebshit14 | |
3079 | weld8.Part1 = weebshit15 | |
3080 | weld8.C1 = CFrame.new(-0.01, 0.45, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1) | |
3081 | local coru=coroutine.wrap(function() | |
3082 | grow(weld8,weebshit14,Vector3.new(0.229999945, 0.700001657, 0.100000009),CFrame.new(-0.0191650391, 0.911635399, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1),0.1) | |
3083 | end) | |
3084 | coru() | |
3085 | ||
3086 | -- 13 - blade | |
3087 | local weebshit13 = Instance.new("Part") | |
3088 | weebshit13.CFrame = CFrame.new(Vector3.new(206.268967, 15.3808832, 5.00158167)) * CFrame.Angles(-0, 0, 0.15708021819592) | |
3089 | weebshit13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3090 | weebshit13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3091 | weebshit13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3092 | weebshit13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3093 | weebshit13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3094 | weebshit13.Material = Enum.Material.Metal | |
3095 | weebshit13.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
3096 | weebshit13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3097 | weebshit13.Anchored = false | |
3098 | weebshit13.BrickColor = BrickColor.new("Institutional white") | |
3099 | weebshit13.Friction = 0.30000001192093 | |
3100 | weebshit13.Shape = Enum.PartType.Block | |
3101 | weebshit13.Name = "blade" | |
3102 | weebshit13.Parent = weebshit1 | |
3103 | local weld9 = Instance.new('Weld',weebshit13) | |
3104 | weld9.Part0 = weebshit13 | |
3105 | weld9.Part1 = weebshit14 | |
3106 | weld9.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
3107 | grow(weld9,weebshit13,Vector3.new(0.100000009, 0.699998796, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) | |
3108 | ||
3109 | -- 18 - blade | |
3110 | local weebshit18 = Instance.new("WedgePart") | |
3111 | weebshit18.CFrame = CFrame.new(Vector3.new(206.077118, 15.85674, 5)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063) | |
3112 | weebshit18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3113 | weebshit18.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3114 | weebshit18.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3115 | weebshit18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3116 | weebshit18.Material = Enum.Material.Metal | |
3117 | weebshit18.Size = Vector3.new(0.100000009, 0.05, 0.230000108) | |
3118 | weebshit18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3119 | weebshit18.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3120 | weebshit18.Anchored = false | |
3121 | weebshit18.BrickColor = BrickColor.new("Dark stone grey") | |
3122 | weebshit18.Friction = 0.30000001192093 | |
3123 | weebshit18.Name = "blade" | |
3124 | weebshit18.Parent = weebshit1 | |
3125 | local weld10 = Instance.new('Weld',weebshit18) | |
3126 | weld10.Part0 = weebshit18 | |
3127 | weld10.Part1 = weebshit14 | |
3128 | weld10.C1 = CFrame.new(-0.015, 0.299937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0) | |
3129 | local coru=coroutine.wrap(function() | |
3130 | grow(weld10,weebshit18,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.499937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0),0.1) | |
3131 | end) | |
3132 | coru() | |
3133 | ||
3134 | -- 19 - blade | |
3135 | local weebshit19 = Instance.new("WedgePart") | |
3136 | weebshit19.CFrame = CFrame.new(Vector3.new(206.096375, 15.8952179, 5.00177383)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063) | |
3137 | weebshit19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3138 | weebshit19.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3139 | weebshit19.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3140 | weebshit19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3141 | weebshit19.Material = Enum.Material.Metal | |
3142 | weebshit19.Size = Vector3.new(0.0500000007, 0.05, 0.280000091) | |
3143 | weebshit19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3144 | weebshit19.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3145 | weebshit19.Anchored = false | |
3146 | weebshit19.BrickColor = BrickColor.new("Institutional white") | |
3147 | weebshit19.Friction = 0.30000001192093 | |
3148 | weebshit19.Name = "blade" | |
3149 | weebshit19.Parent = weebshit1 | |
3150 | local weld11 = Instance.new('Weld',weebshit19) | |
3151 | weld11.Part0 = weebshit19 | |
3152 | weld11.Part1 = weebshit18 | |
3153 | weld11.C1 = CFrame.new(0, 0, -0.029) * CFrame.Angles(0, 0, 0) | |
3154 | local coru=coroutine.wrap(function() | |
3155 | grow(weld11,weebshit19,Vector3.new(0.05, 0.37, 0.28),CFrame.new(0, 0.011, -0.029) * CFrame.Angles(0, 0, 0),0.1) | |
3156 | end) | |
3157 | coru() | |
3158 | end | |
3159 | ||
3160 | function gunmode() | |
3161 | working = false | |
3162 | ||
3163 | working = false | |
3164 | end | |
3165 | ||
3166 | function knifemode() | |
3167 | blademode = "knife" | |
3168 | -- 6 - thicc cap | |
3169 | local obj6 = Instance.new("Part") | |
3170 | obj6.CFrame = CFrame.new(Vector3.new(202.399948, 10.5999813, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07) | |
3171 | obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3172 | obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3173 | obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3174 | obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3175 | obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3176 | obj6.Size = Vector3.new(0.3, 0.3, 0.3) | |
3177 | obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3178 | obj6.Anchored = false | |
3179 | obj6.BrickColor = BrickColor.new("Institutional white") | |
3180 | obj6.Friction = 0.30000001192093 | |
3181 | obj6.Shape = Enum.PartType.Ball | |
3182 | obj6.Name = "thicc cap" | |
3183 | obj6.Parent = handle | |
3184 | local weld2 = Instance.new('Weld',obj6) | |
3185 | weld2.Part0 = obj6 | |
3186 | weld2.Part1 = handle | |
3187 | weld2.C0 = CFrame.new(0.4, 0, 0) | |
3188 | grow(weld2,obj6,Vector3.new(0.3, 0.3, 0.3),CFrame.new(-0.15, 0, 0),0.1) | |
3189 | ||
3190 | -- 8 - thicc top cap | |
3191 | local obj8 = Instance.new("Part") | |
3192 | obj8.CFrame = CFrame.new(Vector3.new(202.399963, 11.3000078, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07) | |
3193 | obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3194 | obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3195 | obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3196 | obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3197 | obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3198 | obj8.Size = Vector3.new(0.3, 0.3, 0.3) | |
3199 | obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3200 | obj8.Anchored = false | |
3201 | obj8.BrickColor = BrickColor.new("Institutional white") | |
3202 | obj8.Friction = 0.30000001192093 | |
3203 | obj8.Shape = Enum.PartType.Ball | |
3204 | obj8.Name = "thicc top cap" | |
3205 | obj8.Parent = handle | |
3206 | local weld1 = Instance.new('Weld',obj8) | |
3207 | weld1.Part0 = obj8 | |
3208 | weld1.Part1 = handle | |
3209 | weld1.C0 = CFrame.new(-0.4, 0, 0) | |
3210 | grow(weld1,obj8,Vector3.new(0.3, 0.3, 0.3),CFrame.new(0.15, 0, 0),0.1) | |
3211 | -- 4 - thicc blade | |
3212 | local obj4 = Instance.new("Part") | |
3213 | obj4.CFrame = CFrame.new(Vector3.new(202.40007, 12.1600046, 5.00099707)) * CFrame.Angles(-0, 0, -0) | |
3214 | obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3215 | obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3216 | obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3217 | obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3218 | obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3219 | obj4.Material = Enum.Material.Metal | |
3220 | obj4.Size = Vector3.new(0.23, 0.1, 0.1) | |
3221 | obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3222 | obj4.Anchored = false | |
3223 | obj4.BrickColor = BrickColor.new("Dark stone grey") | |
3224 | obj4.Friction = 0.30000001192093 | |
3225 | obj4.Shape = Enum.PartType.Block | |
3226 | obj4.Name = "blade" | |
3227 | obj4.Parent = handle | |
3228 | local weld4 = Instance.new('Weld',obj4) | |
3229 | weld4.Part0 = obj4 | |
3230 | weld4.Part1 = handle | |
3231 | weld4.C0 = CFrame.new(0, -0.535, 0)*CFrame.Angles(0,0,math.rad(90)) | |
3232 | local coru=coroutine.wrap(function() | |
3233 | grow(weld4,obj4,Vector3.new(0.23, 1.19, 0.1),CFrame.new(0.5, 0, 0),0.1) | |
3234 | end) | |
3235 | coru() | |
3236 | ||
3237 | -- 5 - thicc blade | |
3238 | local obj5 = Instance.new("Part") | |
3239 | obj5.CFrame = CFrame.new(Vector3.new(202.507141, 12.1749954, 5.00158167)) * CFrame.Angles(-0, 0, -0) | |
3240 | obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3241 | obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3242 | obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3243 | obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3244 | obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3245 | obj5.Material = Enum.Material.Metal | |
3246 | obj5.Size = Vector3.new(0.100000009, 0.1, 0.0500000007) | |
3247 | obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3248 | obj5.Anchored = false | |
3249 | obj5.BrickColor = BrickColor.new("Institutional white") | |
3250 | obj5.Friction = 0.30000001192093 | |
3251 | obj5.Shape = Enum.PartType.Block | |
3252 | obj5.Name = "blade" | |
3253 | obj5.Parent = handle | |
3254 | local weld5 = Instance.new('Weld',obj5) | |
3255 | weld5.Part0 = obj5 | |
3256 | weld5.Part1 = obj4 | |
3257 | weld5.C0 = CFrame.new(0.09, 0, 0)*CFrame.Angles(0,0,0) | |
3258 | grow(weld5,obj5,Vector3.new(0.1, 1.19, 0.05),CFrame.new(0, 0, 0),0.1) | |
3259 | ||
3260 | -- 3 - thicc blade | |
3261 | local obj3 = Instance.new("WedgePart") | |
3262 | obj3.CFrame = CFrame.new(Vector3.new(202.40007, 12.9000006, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0) | |
3263 | obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3264 | obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3265 | obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3266 | obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3267 | obj3.Material = Enum.Material.Metal | |
3268 | obj3.Size = Vector3.new(0.1, 0, 0.23) | |
3269 | obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3270 | obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3271 | obj3.Anchored = false | |
3272 | obj3.BrickColor = BrickColor.new("Dark stone grey") | |
3273 | obj3.Friction = 0.30000001192093 | |
3274 | obj3.Name = "blade" | |
3275 | obj3.Parent = handle | |
3276 | local weld6 = Instance.new('Weld',obj3) | |
3277 | weld6.Part0 = obj3 | |
3278 | weld6.Part1 = obj4 | |
3279 | weld6.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0)) | |
3280 | local coru=coroutine.wrap(function() | |
3281 | grow(weld6,obj3,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.15, 0),0.05) | |
3282 | end) | |
3283 | coru() | |
3284 | ||
3285 | -- 2 - thicc blade | |
3286 | local obj2 = Instance.new("WedgePart") | |
3287 | obj2.CFrame = CFrame.new(Vector3.new(202.423431, 12.9305696, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0) | |
3288 | obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3289 | obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3290 | obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3291 | obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3292 | obj2.Material = Enum.Material.Metal | |
3293 | obj2.Size = Vector3.new(0.05, 0, 0.26) | |
3294 | obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3295 | obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3296 | obj2.Anchored = false | |
3297 | obj2.BrickColor = BrickColor.new("Lily white") | |
3298 | obj2.Friction = 0.30000001192093 | |
3299 | obj2.Name = "blade" | |
3300 | obj2.Parent = handle | |
3301 | local weld7 = Instance.new('Weld',obj2) | |
3302 | weld7.Part0 = obj2 | |
3303 | weld7.Part1 = obj4 | |
3304 | weld7.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0)) | |
3305 | grow(weld7,obj2,Vector3.new(0.05, 0.33, 0.24),CFrame.new(-0.02, 0.165, 0),0.05) | |
3306 | end | |
3307 | ||
3308 | function raep() | |
3309 | working = true | |
3310 | pcall(function() | |
3311 | local holyshit = Instance.new("Sound", handle) | |
3312 | holyshit.SoundId = "rbxassetid://345287845" | |
3313 | holyshit.Volume = 5 | |
3314 | holyshit:Play() | |
3315 | holyshit.TimePosition = 0.6 | |
3316 | --[[local waitwhatthefuck = Instance.new("Sound", handle) | |
3317 | waitwhatthefuck.SoundId = "rbxassetid://864314263" | |
3318 | waitwhatthefuck:Play()]]-- | |
3319 | local coru=coroutine.wrap(function() | |
3320 | wait(1.95) | |
3321 | holyshit.TimePosition = 2.8 | |
3322 | end) | |
3323 | coru() | |
3324 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3325 | tweld.Part0 = char.HumanoidRootPart | |
3326 | tweld.Part1 = char.Torso | |
3327 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
3328 | rweld.Part0 = char["Torso"] | |
3329 | rweld.Part1 = char["Right Arm"] | |
3330 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
3331 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
3332 | lweld.Part0 = char.Torso | |
3333 | lweld.Part1 = char["Left Arm"] | |
3334 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
3335 | ||
3336 | char.Humanoid.WalkSpeed = 16 | |
3337 | ||
3338 | local cor = coroutine.wrap(function() | |
3339 | lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(50)),0.2) | |
3340 | end) | |
3341 | local cor2 = coroutine.wrap(function() | |
3342 | lerp(tweld,tweld.C0,CFrame.new(0, -0.25, 0) * CFrame.Angles(math.rad(-15), math.rad(-45), math.rad(0)),0.2) | |
3343 | end) | |
3344 | cor() | |
3345 | cor2() | |
3346 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, -0.35) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)),0.2) | |
3347 | ||
3348 | local particl = Instance.new("ParticleEmitter") | |
3349 | particl.LightEmission = 3 | |
3350 | particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.25, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))}) | |
3351 | particl.LightInfluence = 0.75 | |
3352 | particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
3353 | particl.Lifetime = NumberRange.new(0.1, 0.5) | |
3354 | particl.Rate = 50 | |
3355 | particl.RotSpeed = NumberRange.new(300, 300) | |
3356 | particl.Speed = NumberRange.new(0, 1) | |
3357 | particl.SpreadAngle = Vector2.new(90, 90) | |
3358 | particl.Parent = handle | |
3359 | ||
3360 | for i, v in pairs(handle["pink toy"]:GetChildren()) do | |
3361 | if v:IsA("Part") then | |
3362 | coolaaa = particl:Clone() | |
3363 | coolaaa.Parent = v | |
3364 | end | |
3365 | end | |
3366 | ||
3367 | particl:Remove() | |
3368 | ||
3369 | wait(1) | |
3370 | MOAN = true | |
3371 | ||
3372 | char.Humanoid.WalkSpeed = 75 | |
3373 | ||
3374 | ||
3375 | local cor = coroutine.wrap(function() | |
3376 | lerp(rweld,rweld.C0,CFrame.new(1.6, 0.5, -0.75) * CFrame.Angles(0, math.rad(55), math.rad(90)),0.06) | |
3377 | end) | |
3378 | local cor2 = coroutine.wrap(function() | |
3379 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),0.06) | |
3380 | end) | |
3381 | local cor3 = coroutine.wrap(function() | |
3382 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.06) | |
3383 | end) | |
3384 | cor() | |
3385 | cor2() | |
3386 | cor3() | |
3387 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.06) | |
3388 | local omgg = 0 | |
3389 | repeat wait(0.05) omgg = omgg+0.05 until aidsificating ~= nil or omgg > 2 | |
3390 | holyshit:Destroy() | |
3391 | char.Humanoid.WalkSpeed = 16 | |
3392 | MOAN = false | |
3393 | if aidsificating == nil then | |
3394 | for i, v in pairs(handle["pink toy"]:GetChildren()) do | |
3395 | if v:IsA("Part") then | |
3396 | v:FindFirstChild("ParticleEmitter"):Destroy() | |
3397 | end | |
3398 | end | |
3399 | local cor = coroutine.wrap(function() | |
3400 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) | |
3401 | end) | |
3402 | local cor2 = coroutine.wrap(function() | |
3403 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) | |
3404 | end) | |
3405 | local cor3 = coroutine.wrap(function() | |
3406 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08) | |
3407 | end) | |
3408 | cor() | |
3409 | cor2() | |
3410 | cor3() | |
3411 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.08) | |
3412 | ||
3413 | lweld:Remove() | |
3414 | rweld:Remove() | |
3415 | tweld:Remove() | |
3416 | ||
3417 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
3418 | local clone = torsoclone:Clone() | |
3419 | clone.Part0 = char.HumanoidRootPart | |
3420 | clone.Part1 = char.Torso | |
3421 | clone.Parent = char.HumanoidRootPart | |
3422 | end | |
3423 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
3424 | local clone = leftclone:Clone() | |
3425 | clone.Part0 = char.Torso | |
3426 | clone.Part1 = char["Left Arm"] | |
3427 | clone.Parent = char.Torso | |
3428 | end | |
3429 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3430 | local clone = rightclone:Clone() | |
3431 | clone.Part0 = char.Torso | |
3432 | clone.Part1 = char["Right Arm"] | |
3433 | clone.Parent = char.Torso | |
3434 | end | |
3435 | else | |
3436 | pcall(function() | |
3437 | aidsificating.HumanoidRootPart:Destroy() | |
3438 | end) | |
3439 | pcall(function() | |
3440 | ragdollpart(aidsificating,"Right Arm") | |
3441 | ragdollpart(aidsificating,"Right Leg") | |
3442 | ragdollpart(aidsificating,"Left Arm") | |
3443 | ragdollpart(aidsificating,"Left Leg") | |
3444 | end) | |
3445 | pcall(function() | |
3446 | ragdollpart(aidsificating,"RightUpperArm") | |
3447 | ragdollpart(aidsificating,"RightUpperLeg") | |
3448 | ragdollpart(aidsificating,"LeftUpperArm") | |
3449 | ragdollpart(aidsificating,"LeftUpperLeg") | |
3450 | end) | |
3451 | pcall(function() | |
3452 | local weld = Instance.new('Weld',aidsificating.Torso) | |
3453 | weld.Part0 = aidsificating.Torso | |
3454 | weld.Part1 = handle | |
3455 | weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90)) | |
3456 | for i,v in pairs(handle["pink toy"]:GetChildren()) do | |
3457 | if v:IsA('BasePart') and v.Name == "stretchlol" then | |
3458 | v.BrickColor = aidsificating.Torso.BrickColor | |
3459 | v.Transparency = 0 | |
3460 | end | |
3461 | end | |
3462 | end) | |
3463 | pcall(function() | |
3464 | local weld = Instance.new('Weld',aidsificating.UpperTorso) | |
3465 | weld.Part0 = aidsificating.UpperTorso | |
3466 | weld.Part1 = handle | |
3467 | weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90)) | |
3468 | for i,v in pairs(handle["pink toy"]:GetChildren()) do | |
3469 | if v:IsA('BasePart') and v.Name == "stretchlol" then | |
3470 | v.BrickColor = aidsificating.UpperTorso.BrickColor | |
3471 | v.Transparency = 0 | |
3472 | end | |
3473 | end | |
3474 | end) | |
3475 | lerp(rweld,rweld.C0,CFrame.new(1.6, 1, -0.5) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.06) | |
3476 | wait(2) | |
3477 | for i,v in pairs(aidsificating:GetDescendants()) do | |
3478 | if v:IsA('Weld') then v:Destroy() end | |
3479 | end | |
3480 | pcall(function() | |
3481 | ragdollpart(aidsificating,"Head") | |
3482 | end) | |
3483 | pcall(function() | |
3484 | local thang = "Torso" | |
3485 | if aidsificating:FindFirstChild('UpperTorso') then | |
3486 | thang = "UpperTorso" | |
3487 | end | |
3488 | local ayybleed = Instance.new('Part',aidsificating) | |
3489 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
3490 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
3491 | ayybleed.Material = Enum.Material.SmoothPlastic | |
3492 | ayybleed.Name = "ayybleed" | |
3493 | ayybleed.CanCollide = false | |
3494 | ayybleed.Transparency = 1 | |
3495 | ayybleed.CFrame = aidsificating[thang].CFrame | |
3496 | ayybleed:BreakJoints() | |
3497 | local attachment1 = Instance.new('Attachment',ayybleed) | |
3498 | attachment1.Position = Vector3.new(0,-1,0) | |
3499 | attachment1.Orientation = Vector3.new(180, 0, 0) | |
3500 | local attachment0 = Instance.new('Attachment',aidsificating[thang]) | |
3501 | if attachment0 and attachment1 then | |
3502 | local constraint = Instance.new("HingeConstraint") | |
3503 | constraint.Attachment0 = attachment0 | |
3504 | constraint.Attachment1 = attachment1 | |
3505 | constraint.LimitsEnabled = true | |
3506 | constraint.UpperAngle = 0 | |
3507 | constraint.LowerAngle = 0 | |
3508 | constraint.Parent = aidsificating | |
3509 | end | |
3510 | local bleedBLEED= coroutine.wrap(function() | |
3511 | bleed(ayybleed,true) | |
3512 | end) | |
3513 | bleedBLEED() | |
3514 | end) | |
3515 | aidsificating = nil | |
3516 | pcall(function() | |
3517 | for i,v in pairs(handle["pink toy"]:GetChildren()) do | |
3518 | if v:IsA('BasePart') and v.Name == "stretchlol" then | |
3519 | v.Transparency = 1 | |
3520 | end | |
3521 | end | |
3522 | end) | |
3523 | local cor = coroutine.wrap(function() | |
3524 | lerp(rweld,rweld.C0,CFrame.new(1.6, -0.25, 0.75) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.04) | |
3525 | end) | |
3526 | local cor2 = coroutine.wrap(function() | |
3527 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.04) | |
3528 | end) | |
3529 | cor() | |
3530 | cor2() | |
3531 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.04) | |
3532 | wait(0.1) | |
3533 | local cor = coroutine.wrap(function() | |
3534 | lerp(rweld,rweld.C0,CFrame.new(1.6, -0.5, 1) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
3535 | end) | |
3536 | local cor2 = coroutine.wrap(function() | |
3537 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.08) | |
3538 | end) | |
3539 | local cor3 = coroutine.wrap(function() | |
3540 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08) | |
3541 | end) | |
3542 | cor() | |
3543 | cor2() | |
3544 | cor3() | |
3545 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) | |
3546 | ||
3547 | lweld:Remove() | |
3548 | rweld:Remove() | |
3549 | tweld:Remove() | |
3550 | ||
3551 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
3552 | local clone = torsoclone:Clone() | |
3553 | clone.Part0 = char.HumanoidRootPart | |
3554 | clone.Part1 = char.Torso | |
3555 | clone.Parent = char.HumanoidRootPart | |
3556 | end | |
3557 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
3558 | local clone = leftclone:Clone() | |
3559 | clone.Part0 = char.Torso | |
3560 | clone.Part1 = char["Left Arm"] | |
3561 | clone.Parent = char.Torso | |
3562 | end | |
3563 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3564 | local clone = rightclone:Clone() | |
3565 | clone.Part0 = char.Torso | |
3566 | clone.Part1 = char["Right Arm"] | |
3567 | clone.Parent = char.Torso | |
3568 | end | |
3569 | end | |
3570 | end) | |
3571 | working = false | |
3572 | end | |
3573 | ||
3574 | function katanaQ() | |
3575 | working = true | |
3576 | swinging = true | |
3577 | gettingeem = true | |
3578 | pcall(function() | |
3579 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
3580 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3581 | pcall(function() | |
3582 | rweld.Part0 = char["Torso"] | |
3583 | rweld.Part1 = char["Right Arm"] | |
3584 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
3585 | tweld.Part0 = char.HumanoidRootPart | |
3586 | tweld.Part1 = char.Torso | |
3587 | end) | |
3588 | ||
3589 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100 | |
3590 | ||
3591 | local at1 = Instance.new("Attachment", handle) | |
3592 | local at2 = Instance.new("Attachment", handle) | |
3593 | at1.Visible = false | |
3594 | at1.Position = Vector3.new(5, 0, 0) | |
3595 | at2.Visible = false | |
3596 | at2.Position = Vector3.new(1, 0, 0) | |
3597 | ||
3598 | local trail = Instance.new("Trail", handle) | |
3599 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
3600 | trail.LightEmission = 0.25 | |
3601 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) | |
3602 | trail.Lifetime = 0.10 | |
3603 | trail.MinLength = 0.05 | |
3604 | trail.Attachment0 = at1 | |
3605 | trail.Attachment1 = at2 | |
3606 | local coru=coroutine.wrap(function() | |
3607 | lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(90), math.rad(90)),0.08) | |
3608 | end) | |
3609 | coru() | |
3610 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.08) | |
3611 | local ree=0 | |
3612 | while goteem == nil and ree < 1 do | |
3613 | wait(0.05) | |
3614 | ree=ree+0.05 | |
3615 | end | |
3616 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
3617 | gettingeem = false | |
3618 | swinging = false | |
3619 | if goteem then | |
3620 | wait(2) | |
3621 | pcall(function() | |
3622 | local sounn = Instance.new("Sound", goteem.Torso) | |
3623 | local lipp = math.random(1, 3) | |
3624 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
3625 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
3626 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
3627 | sounn:Play() | |
3628 | end) | |
3629 | ragdollpart(goteem,"Head") | |
3630 | for i,v in pairs(goteem:GetDescendants()) do | |
3631 | if v:IsA('Weld') then v:Destroy() end | |
3632 | end | |
3633 | goteem = nil | |
3634 | end | |
3635 | trail:Destroy() | |
3636 | at1:Destroy() | |
3637 | at2:Destroy() | |
3638 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05) | |
3639 | local cor = coroutine.wrap(function() | |
3640 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3641 | end) | |
3642 | cor() | |
3643 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
3644 | rweld:Destroy() | |
3645 | tweld:Destroy() | |
3646 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3647 | local clone = rightclone:Clone() | |
3648 | clone.Part0 = char.Torso | |
3649 | clone.Part1 = char["Right Arm"] | |
3650 | clone.Parent = char.Torso | |
3651 | end | |
3652 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
3653 | local clone = torsoclone:Clone() | |
3654 | clone.Part0 = char.HumanoidRootPart | |
3655 | clone.Part1 = char.Torso | |
3656 | clone.Parent = char.HumanoidRootPart | |
3657 | end | |
3658 | end) | |
3659 | swinging = false | |
3660 | gettingeem = false | |
3661 | working = false | |
3662 | end | |
3663 | local function katanaE() | |
3664 | working = true | |
3665 | swinging = true | |
3666 | SLESH = true | |
3667 | pcall(function() | |
3668 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
3669 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3670 | rweld.Part0 = char["Torso"] | |
3671 | rweld.Part1 = char["Right Arm"] | |
3672 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
3673 | tweld.Part0 = char.HumanoidRootPart | |
3674 | tweld.Part1 = char.Torso | |
3675 | ||
3676 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100 | |
3677 | ||
3678 | local at1 = Instance.new("Attachment", handle) | |
3679 | local at2 = Instance.new("Attachment", handle) | |
3680 | at1.Visible = false | |
3681 | at1.Position = Vector3.new(5, 0, 0) | |
3682 | at2.Visible = false | |
3683 | at2.Position = Vector3.new(1, 0, 0) | |
3684 | ||
3685 | local trail = Instance.new("Trail", handle) | |
3686 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
3687 | trail.LightEmission = 0.25 | |
3688 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) | |
3689 | trail.Lifetime = 0.10 | |
3690 | trail.MinLength = 0.05 | |
3691 | trail.Attachment0 = at1 | |
3692 | trail.Attachment1 = at2 | |
3693 | local coru=coroutine.wrap(function() | |
3694 | lerp(rweld,rweld.C0,CFrame.new(2, 1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(60)),0.08) | |
3695 | end) | |
3696 | coru() | |
3697 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-270),math.rad(0)), 0.08) | |
3698 | ||
3699 | wait(1) | |
3700 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
3701 | trail:Destroy() | |
3702 | at1:Destroy() | |
3703 | at2:Destroy() | |
3704 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05) | |
3705 | local cor = coroutine.wrap(function() | |
3706 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3707 | end) | |
3708 | cor() | |
3709 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
3710 | rweld:Destroy() | |
3711 | tweld:Destroy() | |
3712 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3713 | local clone = rightclone:Clone() | |
3714 | clone.Part0 = char.Torso | |
3715 | clone.Part1 = char["Right Arm"] | |
3716 | clone.Parent = char.Torso | |
3717 | end | |
3718 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
3719 | local clone = torsoclone:Clone() | |
3720 | clone.Part0 = char.HumanoidRootPart | |
3721 | clone.Part1 = char.Torso | |
3722 | clone.Parent = char.HumanoidRootPart | |
3723 | end | |
3724 | end) | |
3725 | swinging = false | |
3726 | SLESH = false | |
3727 | working = false | |
3728 | end | |
3729 | ||
3730 | function begoneTHOUGHT() | |
3731 | working = true | |
3732 | pcall(function() | |
3733 | local thott = Instance.new("Sound", char) | |
3734 | thott.SoundId = "rbxassetid://949916584" | |
3735 | thott.Volume = 1 | |
3736 | thott.TimePosition = 0.5 | |
3737 | thott.PlaybackSpeed = 1 | |
3738 | thott.EmitterSize = player.CameraMaxZoomDistance+1 | |
3739 | thott.MaxDistance = player.CameraMaxZoomDistance+1 | |
3740 | thott:Play() | |
3741 | ||
3742 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
3743 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3744 | rweld.Part0 = char["Torso"] | |
3745 | rweld.Part1 = char["Right Arm"] | |
3746 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
3747 | tweld.Part0 = char.HumanoidRootPart | |
3748 | tweld.Part1 = char.Torso | |
3749 | ||
3750 | local coru=coroutine.wrap(function() | |
3751 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)),0.25) | |
3752 | end) | |
3753 | coru() | |
3754 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)), 0.25) | |
3755 | ||
3756 | wait(0.5) | |
3757 | local thote = Instance.new("Sound", char.Head) | |
3758 | thote.SoundId = "rbxassetid://358498516" | |
3759 | thote.Volume = 1 | |
3760 | thote:Play() | |
3761 | ||
3762 | ||
3763 | ||
3764 | local coru=coroutine.wrap(function() | |
3765 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)),0.04) | |
3766 | end) | |
3767 | coru() | |
3768 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.04) | |
3769 | wait(0.04) | |
3770 | local ree = Instance.new('Part',workspace) | |
3771 | ree.Shape = Enum.PartType.Cylinder | |
3772 | ree.CanCollide = false | |
3773 | ree.Anchored = false | |
3774 | ree.Size = Vector3.new(0.5,2,2) | |
3775 | ree.TopSurface = Enum.SurfaceType.Smooth | |
3776 | ree.BottomSurface = Enum.SurfaceType.Smooth | |
3777 | ree.Transparency = 0.8 | |
3778 | ree.Material =Enum.Material.Neon | |
3779 | ree.BrickColor = BrickColor.new('Toothpaste') | |
3780 | ree.CFrame = handle.CFrame*CFrame.Angles(0,0,math.rad(90)) | |
3781 | ree:BreakJoints() | |
3782 | local reee = Instance.new("Sound", ree) | |
3783 | reee.SoundId = "rbxassetid://138677306" | |
3784 | reee:Play() | |
3785 | local heck = Instance.new('BodyVelocity',ree) | |
3786 | heck.Velocity = ree.CFrame.rightVector*50 | |
3787 | heck.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3788 | local coru=coroutine.wrap(function() | |
3789 | for i=1,21 do | |
3790 | local cf = ree.CFrame | |
3791 | ree.Size = ree.Size+Vector3.new(0,2,2) | |
3792 | ree.CFrame = cf | |
3793 | wait() | |
3794 | end | |
3795 | for i=1,4 do | |
3796 | local cf = ree.CFrame | |
3797 | ree.Size = ree.Size+Vector3.new(0,2,2) | |
3798 | ree.CFrame = cf | |
3799 | ree.Transparency = ree.Transparency + 0.05 | |
3800 | wait() | |
3801 | end | |
3802 | ree:Destroy() | |
3803 | end) | |
3804 | coru() | |
3805 | ree.Touched:connect(function(hit) | |
3806 | if hit.Parent and hit.Parent ~= char and hit.Parent:FindFirstChildOfClass('Humanoid') then | |
3807 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 100 | |
3808 | ragdollpart(hit.Parent,"Head") | |
3809 | end | |
3810 | end) | |
3811 | wait(0.5) | |
3812 | local coru=coroutine.wrap(function() | |
3813 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8) | |
3814 | end) | |
3815 | coru() | |
3816 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8) | |
3817 | ||
3818 | rweld:Destroy() | |
3819 | tweld:Destroy() | |
3820 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3821 | local clone = rightclone:Clone() | |
3822 | clone.Part0 = char.Torso | |
3823 | clone.Part1 = char["Right Arm"] | |
3824 | clone.Parent = char.Torso | |
3825 | end | |
3826 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
3827 | local clone = torsoclone:Clone() | |
3828 | clone.Part0 = char.HumanoidRootPart | |
3829 | clone.Part1 = char.Torso | |
3830 | clone.Parent = char.HumanoidRootPart | |
3831 | end | |
3832 | end) | |
3833 | working = false | |
3834 | end | |
3835 | ||
3836 | function katanaswing() | |
3837 | working = true | |
3838 | pcall(function() | |
3839 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
3840 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
3841 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3842 | rweld.Part0 = char["Torso"] | |
3843 | rweld.Part1 = char["Right Arm"] | |
3844 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
3845 | lweld.Part0 = char.Torso | |
3846 | lweld.Part1 = char["Left Arm"] | |
3847 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
3848 | tweld.Part0 = char.HumanoidRootPart | |
3849 | tweld.Part1 = char.Torso | |
3850 | ||
3851 | local cor = coroutine.wrap(function() | |
3852 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), 0),0.08) | |
3853 | end) | |
3854 | cor() | |
3855 | lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(110), math.rad(90)),0.08) | |
3856 | wait(0.2) | |
3857 | local at1 = Instance.new("Attachment", handle) | |
3858 | local at2 = Instance.new("Attachment", handle) | |
3859 | at1.Visible = false | |
3860 | at1.Position = Vector3.new(5, 0, 0) | |
3861 | at2.Visible = false | |
3862 | at2.Position = Vector3.new(1, 0, 0) | |
3863 | ||
3864 | local trail = Instance.new("Trail", handle) | |
3865 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, trail.Parent.Color), ColorSequenceKeypoint.new(1, trail.Parent.Color)}) | |
3866 | trail.LightEmission = 0.25 | |
3867 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) | |
3868 | trail.Lifetime = 0.10 | |
3869 | trail.MinLength = 0.05 | |
3870 | trail.Attachment0 = at1 | |
3871 | trail.Attachment1 = at2 | |
3872 | ||
3873 | swinging = true | |
3874 | ||
3875 | local cor = coroutine.wrap(function() | |
3876 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), 0),0.04) | |
3877 | end) | |
3878 | cor() | |
3879 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04) | |
3880 | wait(0.2) | |
3881 | swinging = false | |
3882 | trail:Destroy() | |
3883 | at1:Destroy() | |
3884 | at2:Destroy() | |
3885 | local cor = coroutine.wrap(function() | |
3886 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3887 | end) | |
3888 | cor() | |
3889 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
3890 | rweld:Destroy() | |
3891 | lweld:Destroy() | |
3892 | tweld:Destroy() | |
3893 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3894 | local clone = rightclone:Clone() | |
3895 | clone.Part0 = char.Torso | |
3896 | clone.Part1 = char["Right Arm"] | |
3897 | clone.Parent = char.Torso | |
3898 | end | |
3899 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
3900 | local clone = leftclone:Clone() | |
3901 | clone.Part0 = char.Torso | |
3902 | clone.Part1 = char["Left Arm"] | |
3903 | clone.Parent = char.Torso | |
3904 | end | |
3905 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
3906 | local clone = torsoclone:Clone() | |
3907 | clone.Part0 = char.HumanoidRootPart | |
3908 | clone.Part1 = char.Torso | |
3909 | clone.Parent = char.HumanoidRootPart | |
3910 | end | |
3911 | end) | |
3912 | working = false | |
3913 | end | |
3914 | ||
3915 | function throw() | |
3916 | working = true | |
3917 | pcall(function() | |
3918 | local rweld = char["Right Arm"]:FindFirstChild("Weld") | |
3919 | local lweld = char["Left Arm"]:FindFirstChild("Weld") | |
3920 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3921 | tweld.Part0 = char.HumanoidRootPart | |
3922 | tweld.Part1 = char.Torso | |
3923 | local throwsound = Instance.new("Sound", char.Head) | |
3924 | throwsound.SoundId = "rbxassetid://711753382" | |
3925 | throwsound.PlaybackSpeed = 0.75 | |
3926 | ||
3927 | local cor = coroutine.wrap(function() | |
3928 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04) | |
3929 | end) | |
3930 | local cor2 = coroutine.wrap(function() | |
3931 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.04) | |
3932 | end) | |
3933 | cor() | |
3934 | cor2() | |
3935 | grabweld:Remove() | |
3936 | throwsound:Play() | |
3937 | ||
3938 | local throwvel = Instance.new("BodyThrust") | |
3939 | throwvel.Force = Vector3.new(0, 3000, -2000) | |
3940 | pcall(function() | |
3941 | throwvel.Parent = grabbed.Torso | |
3942 | end) | |
3943 | pcall(function() | |
3944 | throwvel.Parent = grabbed.UpperTorso | |
3945 | end) | |
3946 | ||
3947 | lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04) | |
3948 | wait(0.15) | |
3949 | throwvel:Remove() | |
3950 | local cor = coroutine.wrap(function() | |
3951 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3952 | end) | |
3953 | local cor2 = coroutine.wrap(function() | |
3954 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3955 | end) | |
3956 | cor() | |
3957 | cor2() | |
3958 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3959 | lweld:Remove() | |
3960 | rweld:Remove() | |
3961 | tweld:Remove() | |
3962 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3963 | local clone = rightclone:Clone() | |
3964 | clone.Part0 = char.Torso | |
3965 | clone.Part1 = char["Right Arm"] | |
3966 | clone.Parent = char.Torso | |
3967 | end | |
3968 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
3969 | local clone = leftclone:Clone() | |
3970 | clone.Part0 = char.Torso | |
3971 | clone.Part1 = char["Left Arm"] | |
3972 | clone.Parent = char.Torso | |
3973 | end | |
3974 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
3975 | local clone = torsoclone:Clone() | |
3976 | clone.Part0 = char.HumanoidRootPart | |
3977 | clone.Part1 = char.Torso | |
3978 | clone.Parent = char.HumanoidRootPart | |
3979 | end | |
3980 | local lolgrabbed = grabbed | |
3981 | spawn(function() | |
3982 | wait(2) | |
3983 | unstun(lolgrabbed) | |
3984 | end) | |
3985 | end) | |
3986 | grabbed = nil | |
3987 | working = false | |
3988 | end | |
3989 | ||
3990 | function whoosh(vroom) | |
3991 | vroom.Parent = workspace | |
3992 | vroom.Name = "Projectile" | |
3993 | vroom.CFrame = CFrame.new(char.Head.CFrame.p,mouse.Hit.p)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)) | |
3994 | vroom.Anchored = true | |
3995 | vroom.Velocity = Vector3.new(0,0,0) | |
3996 | vroom.RotVelocity = Vector3.new(0,0,0) | |
3997 | vroom.Anchored = false | |
3998 | game:GetService('Debris'):AddItem(vroom,10) | |
3999 | local flyy = Instance.new('BodyVelocity',vroom) | |
4000 | flyy.Velocity = vroom.CFrame.rightVector*200 | |
4001 | local touched = false | |
4002 | for i,v in pairs(vroom:GetChildren()) do | |
4003 | if v:IsA('BasePart') then | |
4004 | v.Touched:connect(function(hit) | |
4005 | local pos = vroom.CFrame | |
4006 | if touched == false then | |
4007 | if hit and hit.Parent and hit.Transparency ~= 1 and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent~= char then | |
4008 | touched = true | |
4009 | local before = hit.Anchored | |
4010 | vroom.Anchored = true | |
4011 | vroom.Velocity = Vector3.new(0,0,0) | |
4012 | vroom.RotVelocity = Vector3.new(0,0,0) | |
4013 | vroom.CFrame = vroom.CFrame-(vroom.CFrame.rightVector) | |
4014 | hit.Anchored = true | |
4015 | flyy:Destroy() | |
4016 | pcall(function() | |
4017 | local weld = Instance.new('Weld',hit) | |
4018 | weld.Part0 = hit | |
4019 | weld.Part1 = vroom | |
4020 | weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame) | |
4021 | local ayybleed = Instance.new('Part',hit) | |
4022 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
4023 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
4024 | ayybleed.Material = Enum.Material.SmoothPlastic | |
4025 | ayybleed.Name = "ayybleed" | |
4026 | ayybleed.CanCollide = false | |
4027 | ayybleed.Transparency = 1 | |
4028 | ayybleed.CFrame = hit.CFrame | |
4029 | ayybleed:BreakJoints() | |
4030 | local attachment1 = Instance.new('Attachment',ayybleed) | |
4031 | local attachment0 = Instance.new('Attachment',hit) | |
4032 | for i,v in pairs(vroom:GetChildren()) do | |
4033 | if v.Name == "blade" and v.Size == Vector3.new(0.23, 1.19, 0.1) then | |
4034 | v.Name = "REEEE" | |
4035 | end | |
4036 | end | |
4037 | attachment1.Orientation = vroom["REEEE"].Orientation+Vector3.new(90,0,0) | |
4038 | attachment0.Position = hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).p-(hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).upVector) | |
4039 | if attachment0 and attachment1 then | |
4040 | local constraint = Instance.new("HingeConstraint") | |
4041 | constraint.Attachment0 = attachment0 | |
4042 | constraint.Attachment1 = attachment1 | |
4043 | constraint.LimitsEnabled = true | |
4044 | constraint.UpperAngle = 0 | |
4045 | constraint.LowerAngle = 0 | |
4046 | constraint.Parent = attachment0 | |
4047 | end | |
4048 | local bleedBLEED= coroutine.wrap(function() | |
4049 | bleed(ayybleed) | |
4050 | end) | |
4051 | bleedBLEED() | |
4052 | if hit.Name ~= "Head" and hit.Name ~= "UpperTorso" and hit.Name ~= "Torso" and hit.Name ~= "LowerTorso" then | |
4053 | game:GetService('Debris'):AddItem(ayybleed,7.5) | |
4054 | end | |
4055 | end) | |
4056 | hit.Anchored = before | |
4057 | vroom.Anchored = false | |
4058 | vroom.CanCollide = true | |
4059 | pcall(function() | |
4060 | vroom:FindFirstChildOfClass('Trail'):Destroy() | |
4061 | end) | |
4062 | for i,v in pairs(vroom:GetChildren()) do | |
4063 | if v:IsA('BasePart') then | |
4064 | v.CanCollide = true | |
4065 | end | |
4066 | end | |
4067 | if hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Torso" or hit.Name == "LowerTorso" then | |
4068 | pcall(function() | |
4069 | hit.Parent.HumanoidRootPart:Destroy() | |
4070 | end) | |
4071 | pcall(function() | |
4072 | ragdollpart(hit.Parent,"Left Arm") | |
4073 | ragdollpart(hit.Parent,"Left Leg") | |
4074 | ragdollpart(hit.Parent,"Right Arm") | |
4075 | ragdollpart(hit.Parent,"Right Leg") | |
4076 | end) | |
4077 | pcall(function() | |
4078 | ragdollpart(hit.Parent,"LeftUpperLeg") | |
4079 | ragdollpart(hit.Parent,"RightUpperLeg") | |
4080 | ragdollpart(hit.Parent,"LeftUpperArm") | |
4081 | ragdollpart(hit.Parent,"RightUpperArm") | |
4082 | end) | |
4083 | spawn(function() | |
4084 | wait(5) | |
4085 | ragdollpart(hit.Parent,"Head") | |
4086 | end) | |
4087 | else | |
4088 | pcall(function() | |
4089 | ragdollpart(hit.Parent,hit.Name) | |
4090 | end) | |
4091 | end | |
4092 | elseif hit and hit.CanCollide == true and hit.Parent and hit.Parent ~= char then | |
4093 | touched = true | |
4094 | local before = hit.Anchored | |
4095 | vroom.Anchored = true | |
4096 | vroom.Velocity = Vector3.new(0,0,0) | |
4097 | vroom.RotVelocity = Vector3.new(0,0,0) | |
4098 | hit.Anchored = true | |
4099 | flyy:Destroy() | |
4100 | vroom.CFrame = vroom.CFrame-vroom.CFrame.rightVector | |
4101 | pcall(function() | |
4102 | local weld = Instance.new('Weld',hit) | |
4103 | weld.Part0 = hit | |
4104 | weld.Part1 = vroom | |
4105 | weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame) | |
4106 | end) | |
4107 | pcall(function() | |
4108 | vroom:FindFirstChildOfClass('Trail'):Destroy() | |
4109 | end) | |
4110 | hit.Anchored = before | |
4111 | vroom.Anchored = false | |
4112 | end | |
4113 | end | |
4114 | end) | |
4115 | end | |
4116 | end | |
4117 | end | |
4118 | ||
4119 | function fling() | |
4120 | working = true | |
4121 | pcall(function() | |
4122 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
4123 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
4124 | rweld.Part0 = char["Torso"] | |
4125 | rweld.Part1 = char["Right Arm"] | |
4126 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
4127 | lweld.Part0 = char.Torso | |
4128 | lweld.Part1 = char["Left Arm"] | |
4129 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
4130 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
4131 | tweld.Part0 = char.HumanoidRootPart | |
4132 | tweld.Part1 = char.Torso | |
4133 | ||
4134 | local at1 = Instance.new("Attachment", handle) | |
4135 | local at2 = Instance.new("Attachment", handle) | |
4136 | at1.Visible = false | |
4137 | at1.Position = Vector3.new(2, 0, 0) | |
4138 | at2.Visible = false | |
4139 | at2.Position = Vector3.new(-0.3, 0, 0) | |
4140 | ||
4141 | local trail = Instance.new("Trail", handle) | |
4142 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
4143 | trail.LightEmission = 0.25 | |
4144 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) | |
4145 | trail.Lifetime = 0.10 | |
4146 | trail.MinLength = 0.05 | |
4147 | trail.Attachment0 = at1 | |
4148 | trail.Attachment1 = at2 | |
4149 | ||
4150 | local cor = coroutine.wrap(function() | |
4151 | lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(45)),0.07) | |
4152 | end) | |
4153 | cor() | |
4154 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, -0.5) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.07) | |
4155 | ||
4156 | local cor = coroutine.wrap(function() | |
4157 | lerp(rweld,rweld.C0,CFrame.new(1.75, 1, 0.25) * CFrame.Angles(math.rad(35), math.rad(0), math.rad(150)),0.07) | |
4158 | end) | |
4159 | local cor2 = coroutine.wrap(function() | |
4160 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), math.rad(0)),0.07) | |
4161 | end) | |
4162 | local cor3 = coroutine.wrap(function() | |
4163 | lerp(hweld,hweld.C0,CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90),math.rad(90), 0),0.12) | |
4164 | end) | |
4165 | cor() | |
4166 | cor2() | |
4167 | cor3() | |
4168 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45)),0.07) | |
4169 | wait(0.2) | |
4170 | ||
4171 | local cor = coroutine.wrap(function() | |
4172 | lerp(rweld,rweld.C0,CFrame.new(1.5, 1, 0.25) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(170)),0.03) | |
4173 | end) | |
4174 | local cor2 = coroutine.wrap(function() | |
4175 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.03) | |
4176 | end) | |
4177 | cor() | |
4178 | cor2() | |
4179 | lerp(lweld,lweld.C0,CFrame.new(-1, 0, -0.45) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(45)),0.03) | |
4180 | ||
4181 | local cor = coroutine.wrap(function() | |
4182 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(90)),0.03) | |
4183 | end) | |
4184 | local cor2 = coroutine.wrap(function() | |
4185 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), math.rad(0)),0.01) | |
4186 | end) | |
4187 | cor() | |
4188 | cor2() | |
4189 | whoosh(handle:Clone()) | |
4190 | for i, v in pairs(handle:GetChildren()) do | |
4191 | if v:IsA("Part") then | |
4192 | v.Transparency = 1 | |
4193 | end | |
4194 | end | |
4195 | handle.Transparency = 1 | |
4196 | trail:Remove() | |
4197 | at1:Remove() | |
4198 | at2:Remove() | |
4199 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.01) | |
4200 | local cor = coroutine.wrap(function() | |
4201 | lerp(rweld,rweld.C0,CFrame.new(0.5, 0.4, -1) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(75)),0.04) | |
4202 | end) | |
4203 | local cor2 = coroutine.wrap(function() | |
4204 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(55), math.rad(0)),0.04) | |
4205 | end) | |
4206 | cor() | |
4207 | cor2() | |
4208 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.04) | |
4209 | wait(0.2) | |
4210 | ||
4211 | local cor = coroutine.wrap(function() | |
4212 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07) | |
4213 | end) | |
4214 | local cor2 = coroutine.wrap(function() | |
4215 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.07) | |
4216 | end) | |
4217 | cor() | |
4218 | cor2() | |
4219 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07) | |
4220 | ||
4221 | for i, v in pairs(handle:GetChildren()) do | |
4222 | if v:IsA("Part") then | |
4223 | v.Transparency = 0 | |
4224 | end | |
4225 | end | |
4226 | handle.Transparency = 0 | |
4227 | hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0) | |
4228 | ||
4229 | lweld:Remove() | |
4230 | rweld:Remove() | |
4231 | tweld:Remove() | |
4232 | ||
4233 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
4234 | local clone = torsoclone:Clone() | |
4235 | clone.Part0 = char.HumanoidRootPart | |
4236 | clone.Part1 = char.Torso | |
4237 | clone.Parent = char.HumanoidRootPart | |
4238 | end | |
4239 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
4240 | local clone = leftclone:Clone() | |
4241 | clone.Part0 = char.Torso | |
4242 | clone.Part1 = char["Left Arm"] | |
4243 | clone.Parent = char.Torso | |
4244 | end | |
4245 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
4246 | local clone = rightclone:Clone() | |
4247 | clone.Part0 = char.Torso | |
4248 | clone.Part1 = char["Right Arm"] | |
4249 | clone.Parent = char.Torso | |
4250 | end | |
4251 | end) | |
4252 | working = false | |
4253 | end | |
4254 | ||
4255 | function kill() | |
4256 | working = true | |
4257 | pcall(function() | |
4258 | local rweld = char["Right Arm"]:FindFirstChild("Weld") | |
4259 | local lweld = char["Left Arm"]:FindFirstChild("Weld") | |
4260 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
4261 | tweld.Part0 = char.HumanoidRootPart | |
4262 | tweld.Part1 = char.Torso | |
4263 | local killsound = Instance.new("Sound", grabbed.Head) | |
4264 | killsound.SoundId = "rbxassetid://150315649" | |
4265 | killsound.PlaybackSpeed = 1.2 | |
4266 | local killsoundac = Instance.new("Sound", grabbed.Head) | |
4267 | killsoundac.SoundId = "rbxassetid://162194585" | |
4268 | killsoundac.PlaybackSpeed = 1 | |
4269 | killsoundac.Volume = 1 | |
4270 | local throwsound = Instance.new("Sound", char.Head) | |
4271 | throwsound.SoundId = "rbxassetid://711753382" | |
4272 | throwsound.PlaybackSpeed = 0.75 | |
4273 | local chokesound = Instance.new("Sound", grabbed.Head) | |
4274 | chokesound.SoundId = "rbxassetid://2801263" | |
4275 | chokesound.TimePosition = 3 | |
4276 | chokesound.PlaybackSpeed = 1 | |
4277 | local bleedsound = Instance.new("Sound", grabbed.Head) | |
4278 | bleedsound.SoundId = "rbxassetid://2801263" | |
4279 | bleedsound.PlaybackSpeed = 1.5 | |
4280 | bleedsound.Volume = 1.5 | |
4281 | ||
4282 | pitchun = math.random(9, 12)/10 | |
4283 | pitchdos = math.random(9, 13)/10 | |
4284 | ||
4285 | killsound.PlaybackSpeed = pitchun | |
4286 | killsoundac.PlaybackSpeed = pitchdos | |
4287 | chokesound.PlaybackSpeed = pitchun | |
4288 | ||
4289 | pcall(function() | |
4290 | grabbed.HumanoidRootPart:Destroy() | |
4291 | end) | |
4292 | ||
4293 | lerp(rweld,rweld.C0,CFrame.new(0.5, 0.7, -0.70) * CFrame.Angles(0, math.rad(100), math.rad(105)),0.1) | |
4294 | wait(0.2) | |
4295 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04) | |
4296 | ||
4297 | killsound:Play() | |
4298 | killsoundac:Play() | |
4299 | chokesound:Play() | |
4300 | bleedsound:Play() | |
4301 | ||
4302 | local ayybleed = Instance.new('Part',grabbed) | |
4303 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
4304 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
4305 | ayybleed.Material = Enum.Material.SmoothPlastic | |
4306 | ayybleed.Name = "ayybleed" | |
4307 | ayybleed.CanCollide = false | |
4308 | ayybleed.Transparency = 0.5 | |
4309 | ayybleed.CFrame = grabbed.Head.CFrame | |
4310 | ayybleed:BreakJoints() | |
4311 | local attachment1 = Instance.new('Attachment',ayybleed) | |
4312 | attachment1.Position = Vector3.new(-0.55,0,0) | |
4313 | attachment1.Orientation = Vector3.new(90, 0, -90) | |
4314 | local attachment0 = Instance.new('Attachment') | |
4315 | pcall(function() | |
4316 | attachment0.Parent = grabbed.Torso | |
4317 | end) | |
4318 | pcall(function() | |
4319 | attachment0.Parent = grabbed.UpperTorso | |
4320 | end) | |
4321 | if attachment0 and attachment1 then | |
4322 | local constraint = Instance.new("HingeConstraint") | |
4323 | constraint.Attachment0 = attachment0 | |
4324 | constraint.Attachment1 = attachment1 | |
4325 | constraint.LimitsEnabled = true | |
4326 | constraint.UpperAngle = 0 | |
4327 | constraint.LowerAngle = 0 | |
4328 | pcall(function() | |
4329 | constraint.Parent = grabbed.Torso | |
4330 | end) | |
4331 | pcall(function() | |
4332 | constraint.Parent = grabbed.UpperTorso | |
4333 | end) | |
4334 | end | |
4335 | local bleedBLEED= coroutine.wrap(function() | |
4336 | bleed(ayybleed) | |
4337 | end) | |
4338 | bleedBLEED() | |
4339 | ||
4340 | wait(0.2) | |
4341 | ||
4342 | local at1 = Instance.new("Attachment", handle) | |
4343 | local at2 = Instance.new("Attachment", handle) | |
4344 | at1.Visible = false | |
4345 | at1.Position = Vector3.new(2, 0, 0) | |
4346 | at2.Visible = false | |
4347 | at2.Position = Vector3.new(-0.3, 0, 0) | |
4348 | ||
4349 | local trail = Instance.new("Trail", handle) | |
4350 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
4351 | trail.LightEmission = 0.25 | |
4352 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) | |
4353 | trail.Lifetime = 0.10 | |
4354 | trail.MinLength = 0.05 | |
4355 | trail.Attachment0 = at1 | |
4356 | trail.Attachment1 = at2 | |
4357 | ||
4358 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-40), math.rad(15)),0.08) | |
4359 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.1) | |
4360 | local coru=coroutine.wrap(function() | |
4361 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07) | |
4362 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.09) | |
4363 | end) | |
4364 | coru() | |
4365 | local cor = coroutine.wrap(function() | |
4366 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04) | |
4367 | end) | |
4368 | cor() | |
4369 | grabweld:Remove() | |
4370 | throwsound:Play() | |
4371 | ||
4372 | local throwvel = Instance.new("BodyThrust") | |
4373 | throwvel.Force = Vector3.new(0, 3000, -1000) | |
4374 | pcall(function() | |
4375 | throwvel.Parent = grabbed.Torso | |
4376 | end) | |
4377 | pcall(function() | |
4378 | throwvel.Parent = grabbed.UpperTorso | |
4379 | end) | |
4380 | ||
4381 | trail:Remove() | |
4382 | at1:Remove() | |
4383 | at2:Remove() | |
4384 | lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04) | |
4385 | pcall(function() | |
4386 | ragdollpart(grabbed,"Left Arm") | |
4387 | ragdollpart(grabbed,"Left Leg") | |
4388 | ragdollpart(grabbed,"Right Arm") | |
4389 | ragdollpart(grabbed,"Right Leg") | |
4390 | end) | |
4391 | pcall(function() | |
4392 | ragdollpart(grabbed,"LeftUpperLeg") | |
4393 | ragdollpart(grabbed,"RightUpperLeg") | |
4394 | ragdollpart(grabbed,"LeftUpperArm") | |
4395 | ragdollpart(grabbed,"RightUpperArm") | |
4396 | end) | |
4397 | wait(0.15) | |
4398 | throwvel:Remove() | |
4399 | local cor = coroutine.wrap(function() | |
4400 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
4401 | end) | |
4402 | local cor2 = coroutine.wrap(function() | |
4403 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
4404 | end) | |
4405 | cor() | |
4406 | cor2() | |
4407 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
4408 | ||
4409 | lweld:Remove() | |
4410 | rweld:Remove() | |
4411 | tweld:Remove() | |
4412 | ||
4413 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
4414 | local clone = torsoclone:Clone() | |
4415 | clone.Part0 = char.HumanoidRootPart | |
4416 | clone.Part1 = char.Torso | |
4417 | clone.Parent = char.HumanoidRootPart | |
4418 | end | |
4419 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
4420 | local clone = leftclone:Clone() | |
4421 | clone.Part0 = char.Torso | |
4422 | clone.Part1 = char["Left Arm"] | |
4423 | clone.Parent = char.Torso | |
4424 | end | |
4425 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
4426 | local clone = rightclone:Clone() | |
4427 | clone.Part0 = char.Torso | |
4428 | clone.Part1 = char["Right Arm"] | |
4429 | clone.Parent = char.Torso | |
4430 | end | |
4431 | local coru2=coroutine.wrap(function() | |
4432 | local whyy = grabbed | |
4433 | local continue = true | |
4434 | local repeats = 0 | |
4435 | while continue == true do | |
4436 | local ree = pcall(function() | |
4437 | if repeats < 20 then | |
4438 | whyy:FindFirstChildOfClass('Humanoid').Health = whyy:FindFirstChildOfClass('Humanoid').Health-4.9 | |
4439 | repeats = repeats+1 | |
4440 | if whyy:FindFirstChildOfClass('Humanoid').Health <= 0 then | |
4441 | continue = false | |
4442 | end | |
4443 | else | |
4444 | continue = false | |
4445 | end | |
4446 | end) | |
4447 | if ree == false then | |
4448 | continue = false | |
4449 | end | |
4450 | if continue == true then | |
4451 | wait(0.2) | |
4452 | end | |
4453 | end | |
4454 | ragdollpart(whyy,"Head") | |
4455 | end) | |
4456 | coru2() | |
4457 | throwsound:Remove() | |
4458 | killsound:Remove() | |
4459 | end) | |
4460 | grabbed = nil | |
4461 | working = false | |
4462 | end | |
4463 | ||
4464 | function release() | |
4465 | working = true | |
4466 | pcall(function() | |
4467 | unstun(grabbed) | |
4468 | grabbed = nil | |
4469 | grabweld:Destroy() | |
4470 | removewelds(char["Right Arm"]) | |
4471 | removewelds(char["Left Arm"]) | |
4472 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
4473 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
4474 | rweld.Part0 = char["Torso"] | |
4475 | rweld.Part1 = char["Right Arm"] | |
4476 | rweld.C0 = CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105)) | |
4477 | lweld.Part0 = char.Torso | |
4478 | lweld.Part1 = char["Left Arm"] | |
4479 | lweld.C0 = CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105)) | |
4480 | local cor = coroutine.wrap(function() | |
4481 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
4482 | end) | |
4483 | local cor2 = coroutine.wrap(function() | |
4484 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08) | |
4485 | end) | |
4486 | cor() | |
4487 | cor2() | |
4488 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
4489 | lweld:Remove() | |
4490 | rweld:Remove() | |
4491 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
4492 | local clone = leftclone:Clone() | |
4493 | clone.Part0 = char.Torso | |
4494 | clone.Part1 = char["Left Arm"] | |
4495 | clone.Parent = char.Torso | |
4496 | end | |
4497 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
4498 | local clone = rightclone:Clone() | |
4499 | clone.Part0 = char.Torso | |
4500 | clone.Part1 = char["Right Arm"] | |
4501 | clone.Parent = char.Torso | |
4502 | end | |
4503 | end) | |
4504 | working = false | |
4505 | end | |
4506 | ||
4507 | function grab() | |
4508 | working = true | |
4509 | pcall(function() | |
4510 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
4511 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
4512 | rweld.Part0 = char["Torso"] | |
4513 | rweld.Part1 = char["Right Arm"] | |
4514 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
4515 | lweld.Part0 = char.Torso | |
4516 | lweld.Part1 = char["Left Arm"] | |
4517 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
4518 | ||
4519 | local at1 = Instance.new("Attachment", handle) | |
4520 | local at2 = Instance.new("Attachment", handle) | |
4521 | at1.Visible = false | |
4522 | at1.Position = Vector3.new(2, 0, 0) | |
4523 | at2.Visible = false | |
4524 | at2.Position = Vector3.new(-0.3, 0, 0) | |
4525 | ||
4526 | local trail = Instance.new("Trail", handle) | |
4527 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
4528 | trail.LightEmission = 0.25 | |
4529 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) | |
4530 | trail.Lifetime = 0.10 | |
4531 | trail.MinLength = 0.05 | |
4532 | trail.Attachment0 = at1 | |
4533 | trail.Attachment1 = at2 | |
4534 | ||
4535 | local spinnyshit = coroutine.wrap(function() | |
4536 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07) | |
4537 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(90), 0), 0.07) | |
4538 | end) | |
4539 | spinnyshit() | |
4540 | local cor = coroutine.wrap(function() | |
4541 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.08) | |
4542 | end) | |
4543 | cor() | |
4544 | lerp(lweld,lweld.C0,CFrame.new(-2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(-90)),0.08) | |
4545 | wait(0.15) | |
4546 | grabbing = true | |
4547 | local cor = coroutine.wrap(function() | |
4548 | lerp(rweld,rweld.C0,CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105)),0.08) | |
4549 | end) | |
4550 | cor() | |
4551 | lerp(lweld,lweld.C0,CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105)),0.08) | |
4552 | at1:Remove() | |
4553 | at2:Remove() | |
4554 | trail:Remove() | |
4555 | wait(0.3) | |
4556 | grabbing = false | |
4557 | ||
4558 | if grabbed == nil then | |
4559 | local cor = coroutine.wrap(function() | |
4560 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
4561 | end) | |
4562 | local cor2 = coroutine.wrap(function() | |
4563 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08) | |
4564 | end) | |
4565 | cor() | |
4566 | cor2() | |
4567 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
4568 | lweld:Remove() | |
4569 | rweld:Remove() | |
4570 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
4571 | local clone = leftclone:Clone() | |
4572 | clone.Part0 = char.Torso | |
4573 | clone.Part1 = char["Left Arm"] | |
4574 | clone.Parent = char.Torso | |
4575 | end | |
4576 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
4577 | local clone = rightclone:Clone() | |
4578 | clone.Part0 = char.Torso | |
4579 | clone.Part1 = char["Right Arm"] | |
4580 | clone.Parent = char.Torso | |
4581 | end | |
4582 | end | |
4583 | end) | |
4584 | working = false | |
4585 | end | |
4586 | ||
4587 | mouse.KeyDown:connect(function(kkk) | |
4588 | local key = kkk:lower() | |
4589 | if usable and working == false then | |
4590 | if key == "z" then | |
4591 | if equipped == false then | |
4592 | if firsttime then | |
4593 | firsttime = false | |
4594 | notify("Equipped || Press X or C to equip one of two weapons",true) | |
4595 | else | |
4596 | notify("Equipped") | |
4597 | end | |
4598 | equip() | |
4599 | else | |
4600 | notify("Unequipped") | |
4601 | unequip() | |
4602 | end | |
4603 | elseif key == "x" then | |
4604 | if blademode ~= "katana" and equipped == true then | |
4605 | getrid(handle) | |
4606 | if firsttime2 then | |
4607 | firsttime2 = false | |
4608 | notify("Katana mode enabled || Press Q, E, or click to perform an action",true) | |
4609 | else | |
4610 | notify("Katana mode enabled") | |
4611 | end | |
4612 | katanamode() | |
4613 | elseif blademode == "katana" then | |
4614 | getrid(handle) | |
4615 | notify("Katana mode disabled") | |
4616 | end | |
4617 | elseif key == "v" then | |
4618 | if blademode ~= "gun" and equipped == true then | |
4619 | getrid(handle) | |
4620 | if firsttime5 then | |
4621 | firsttime5 = false | |
4622 | notify("Gun mode enabled || this mode doesnt work, dont use this",true) | |
4623 | else | |
4624 | notify("Gun mode enabled") | |
4625 | end | |
4626 | gunmode() | |
4627 | elseif blademode == "gun" then | |
4628 | getrid(handle) | |
4629 | notify("Gun mode disabled") | |
4630 | end | |
4631 | elseif key == "9887455" then | |
4632 | if childlock == false then | |
4633 | if blademode ~= "aaa" and equipped == true then | |
4634 | getrid(handle) | |
4635 | if firsttime4 then | |
4636 | firsttime4 = false | |
4637 | notify("aaaaaa mode enabled || TURN THIS OFF",true) | |
4638 | else | |
4639 | notify("aaaaa mode enabled") | |
4640 | end | |
4641 | aaa() | |
4642 | elseif blademode == "aaa" then | |
4643 | notify("aaa mode disabled") | |
4644 | getrid(handle) | |
4645 | end | |
4646 | end | |
4647 | elseif key == "c" then | |
4648 | if blademode ~= "knife" and equipped == true then | |
4649 | getrid(handle) | |
4650 | if firsttime3 then | |
4651 | firsttime3 = false | |
4652 | notify("Knife mode enabled || Press F, E, T, or Q to set modes; Click to perform an action",true) | |
4653 | else | |
4654 | notify("Knife mode enabled") | |
4655 | end | |
4656 | knifemode() | |
4657 | elseif blademode == "knife" then | |
4658 | notify("Knife mode disabled") | |
4659 | getrid(handle) | |
4660 | end | |
4661 | elseif key == "q" then | |
4662 | if blademode == "katana" then | |
4663 | notify() | |
4664 | katanaQ() | |
4665 | elseif blademode == "knife" then | |
4666 | mode = "release" | |
4667 | notify("Mode changed to "..mode) | |
4668 | end | |
4669 | elseif key == "e" then | |
4670 | if blademode == "katana" then | |
4671 | notify() | |
4672 | katanaE() | |
4673 | elseif blademode == "knife" then | |
4674 | mode = "throw" | |
4675 | notify("Mode changed to "..mode) | |
4676 | end | |
4677 | elseif key == "f" then | |
4678 | if blademode == "handle" then | |
4679 | notify([[BEGONE | |
4680 | THOT]]) | |
4681 | begoneTHOUGHT() | |
4682 | elseif blademode == "knife" then | |
4683 | mode = "kill" | |
4684 | notify("Mode changed to "..mode) | |
4685 | end | |
4686 | elseif key == "t" then | |
4687 | if blademode == "knife" then | |
4688 | mode = "fling" | |
4689 | notify("Mode changed to "..mode) | |
4690 | end | |
4691 | end | |
4692 | end | |
4693 | if key == "m" and sounding == false then | |
4694 | --badass mode | |
4695 | pcall(function() | |
4696 | if badass.Playing == false then | |
4697 | sounding = true | |
4698 | for i,v in pairs(workspace:GetDescendants()) do | |
4699 | if v:IsA('Sound') and v~=player.Character.Head.Badass then | |
4700 | v:Stop() | |
4701 | end | |
4702 | end | |
4703 | badass:Play() | |
4704 | badass.Volume = 10 | |
4705 | sounding = false | |
4706 | else | |
4707 | sounding = true | |
4708 | for i=1,100 do | |
4709 | badass.Volume = badass.Volume-0.1 | |
4710 | wait() | |
4711 | end | |
4712 | badass.Volume = 0 | |
4713 | badass:Stop() | |
4714 | sounding = false | |
4715 | end | |
4716 | end) | |
4717 | end | |
4718 | if key == "r" then | |
4719 | rag1 = true | |
4720 | if rag1 == true and rag2 == true then | |
4721 | oogabooga() | |
4722 | end | |
4723 | end | |
4724 | if key == "g" then | |
4725 | rag2 = true | |
4726 | if rag1 == true and rag2 == true then | |
4727 | oogabooga() | |
4728 | end | |
4729 | end | |
4730 | end) | |
4731 | mouse.KeyUp:connect(function(key) | |
4732 | if key == "r" then | |
4733 | rag1 = false | |
4734 | end | |
4735 | if key == "g" then | |
4736 | rag2 = false | |
4737 | end | |
4738 | end) | |
4739 | ||
4740 | handle.ChildAdded:connect(function(child) | |
4741 | if child:IsA('BasePart') then | |
4742 | child.CanCollide = false | |
4743 | if child.Name == "blade" then | |
4744 | child.Touched:connect(function(hit) | |
4745 | if blademode == "katana" and swinging then | |
4746 | if gettingeem then | |
4747 | if goteem == nil then | |
4748 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
4749 | local sounn = Instance.new("Sound", char.Torso) | |
4750 | local lipp = math.random(1, 3) | |
4751 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
4752 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
4753 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
4754 | sounn:Play() | |
4755 | goteem = hit.Parent | |
4756 | pcall(function() | |
4757 | goteem.HumanoidRootPart:Destroy() | |
4758 | end) | |
4759 | pcall(function() | |
4760 | ragdollpart(goteem,"Right Arm") | |
4761 | ragdollpart(goteem,"Right Leg") | |
4762 | ragdollpart(goteem,"Left Arm") | |
4763 | ragdollpart(goteem,"Left Leg") | |
4764 | end) | |
4765 | pcall(function() | |
4766 | ragdollpart(goteem,"RightUpperArm") | |
4767 | ragdollpart(goteem,"RightUpperLeg") | |
4768 | ragdollpart(goteem,"LeftUpperArm") | |
4769 | ragdollpart(goteem,"LeftUpperLeg") | |
4770 | end) | |
4771 | pcall(function() | |
4772 | local weld = Instance.new('Weld',goteem.Torso) | |
4773 | weld.Part0 = goteem.Torso | |
4774 | weld.Part1 = handle | |
4775 | weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
4776 | end) | |
4777 | pcall(function() | |
4778 | local weld = Instance.new('Weld',goteem.UpperTorso) | |
4779 | weld.Part0 = goteem.UpperTorso | |
4780 | weld.Part1 = handle | |
4781 | weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
4782 | end) | |
4783 | pcall(function() | |
4784 | local thang = "Torso" | |
4785 | if goteem:FindFirstChild('UpperTorso') then | |
4786 | thang = "UpperTorso" | |
4787 | end | |
4788 | local ayybleed = Instance.new('Part',goteem) | |
4789 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
4790 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
4791 | ayybleed.Material = Enum.Material.SmoothPlastic | |
4792 | ayybleed.Name = "ayybleed" | |
4793 | ayybleed.CanCollide = false | |
4794 | ayybleed.Transparency = 1 | |
4795 | ayybleed.CFrame = goteem[thang].CFrame | |
4796 | ayybleed:BreakJoints() | |
4797 | local attachment1 = Instance.new('Attachment',ayybleed) | |
4798 | attachment1.Position = Vector3.new(0,0,0) | |
4799 | attachment1.Orientation = Vector3.new(-90, 0, -90) | |
4800 | local attachment0 = Instance.new('Attachment',goteem[thang]) | |
4801 | if attachment0 and attachment1 then | |
4802 | local constraint = Instance.new("HingeConstraint") | |
4803 | constraint.Attachment0 = attachment0 | |
4804 | constraint.Attachment1 = attachment1 | |
4805 | constraint.LimitsEnabled = true | |
4806 | constraint.UpperAngle = 0 | |
4807 | constraint.LowerAngle = 0 | |
4808 | constraint.Parent = goteem | |
4809 | end | |
4810 | local bleedBLEED= coroutine.wrap(function() | |
4811 | bleed(ayybleed) | |
4812 | end) | |
4813 | bleedBLEED() | |
4814 | end) | |
4815 | end | |
4816 | end | |
4817 | elseif SLESH then | |
4818 | ||
4819 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
4820 | local sounn = Instance.new("Sound", char.Torso) | |
4821 | local lipp = math.random(1, 3) | |
4822 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
4823 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
4824 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
4825 | sounn:Play() | |
4826 | ragdollpart(hit.Parent,hit.Name,false) | |
4827 | end | |
4828 | else | |
4829 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
4830 | local sounn = Instance.new("Sound", char.Torso) | |
4831 | local lipp = math.random(1, 3) | |
4832 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
4833 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
4834 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
4835 | sounn:Play() | |
4836 | swinging = false | |
4837 | ragdollpart(hit.Parent,"Head",true,false) | |
4838 | end | |
4839 | end | |
4840 | elseif blademode == "knife" then | |
4841 | if grabbing == true and grabbed == nil then | |
4842 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
4843 | grabbed = hit.Parent | |
4844 | ||
4845 | stun(grabbed) | |
4846 | ||
4847 | local grabwelds = Instance.new("Weld", char.Torso) | |
4848 | grabwelds.Part0 = char.Torso | |
4849 | pcall(function() | |
4850 | grabwelds.Part1 = grabbed.Torso | |
4851 | end) | |
4852 | pcall(function() | |
4853 | grabwelds.Part1 = grabbed.UpperTorso | |
4854 | end) | |
4855 | grabwelds.C0 = CFrame.new(-0.45, 0, -1) | |
4856 | grabweld = grabwelds | |
4857 | end | |
4858 | end | |
4859 | end | |
4860 | end) | |
4861 | end | |
4862 | elseif child:IsA("Model") then | |
4863 | child.ChildAdded:connect(function(aaatip) | |
4864 | if aaatip:IsA('BasePart') then | |
4865 | aaatip.Touched:connect(function(hit) | |
4866 | if MOAN == true then | |
4867 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
4868 | local sound = Instance.new('Sound',hit.Parent.Head) | |
4869 | sound.SoundId = 'rbxassetid://959679286' | |
4870 | sound.Volume = 0 | |
4871 | sound:Play() | |
4872 | local sound3 = Instance.new("Sound",hit.Parent.Head) | |
4873 | sound3.Volume = 0 | |
4874 | sound3.SoundId = "rbxassetid://702631545" | |
4875 | sound3:Play() | |
4876 | pcall(function() | |
4877 | for i,v in pairs(hit.Parent.Head:GetChildren()) do | |
4878 | if v:IsA('Decal') then v:Destroy() end | |
4879 | end | |
4880 | end) | |
4881 | pcall(function() | |
4882 | local ree=Instance.new('Decal',hit.Parent.Head) | |
4883 | ree.Name = "face" | |
4884 | ree.Texture = "rbxassetid://996521543" | |
4885 | end) | |
4886 | MOAN = false | |
4887 | aidsificating = hit.Parent | |
4888 | for i, v in pairs(handle["pink toy"]:GetChildren()) do | |
4889 | if v:IsA("Part") then | |
4890 | v:FindFirstChild("ParticleEmitter"):Destroy() | |
4891 | end | |
4892 | end | |
4893 | end | |
4894 | end | |
4895 | end) | |
4896 | end | |
4897 | end) | |
4898 | end | |
4899 | end) | |
4900 | ||
4901 | mouse.Button1Down:connect(function(jew) | |
4902 | if usable and working == false and equipped then | |
4903 | if blademode == "katana" then | |
4904 | notify() | |
4905 | katanaswing() | |
4906 | elseif blademode == "knife" then | |
4907 | notify() | |
4908 | if grabbed == nil then | |
4909 | if mode == "fling" then | |
4910 | fling() | |
4911 | else | |
4912 | grab() | |
4913 | end | |
4914 | elseif grabbed ~= nil then | |
4915 | if mode == "kill" then | |
4916 | kill() | |
4917 | elseif mode == "throw" then | |
4918 | throw() | |
4919 | elseif mode == "release" then | |
4920 | release() | |
4921 | end | |
4922 | end | |
4923 | elseif blademode == "aaa" then | |
4924 | raep() | |
4925 | end | |
4926 | end | |
4927 | end) | |
4928 | ||
4929 | end | |
4930 | spawned() | |
4931 | ||
4932 | player.CharacterAdded:connect(function() | |
4933 | spawned() | |
4934 | end) | |
4935 | local avgs = {} | |
4936 | ||
4937 | game:GetService('RunService').Heartbeat:connect(function(step) | |
4938 | local ofps = math.floor((60/(step*60))*10)/10 | |
4939 | if #avgs > 100 then | |
4940 | table.remove(avgs,1) | |
4941 | end | |
4942 | table.insert(avgs,#avgs+1,ofps) | |
4943 | local fpsa = 0 | |
4944 | for i,v in pairs(avgs) do | |
4945 | fpsa = fpsa+v | |
4946 | end | |
4947 | fpsa = math.floor(fpsa/#avgs) | |
4948 | fps.Text = 'FPS: '..tostring(fpsa) | |
4949 | end) | |
4950 | ||
4951 | while true do | |
4952 | for i,v in pairs(rekt) do | |
4953 | if v.Parent ~= nil then | |
4954 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then | |
4955 | for a,c in pairs(v:GetChildren()) do | |
4956 | if c:IsA('Tool') then | |
4957 | c.ManualActivationOnly = true | |
4958 | wait() | |
4959 | if game:GetService('Players'):GetPlayerFromCharacter(v) then | |
4960 | c.Parent = game:GetService('Players'):GetPlayerFromCharacter(v).Backpack | |
4961 | c.ManualActivationOnly = false | |
4962 | end | |
4963 | end | |
4964 | end | |
4965 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4966 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
4967 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4968 | v:FindFirstChildOfClass('Humanoid').WalkSpeed = 0 | |
4969 | v:FindFirstChildOfClass('Humanoid').Name = "hecc" | |
4970 | else | |
4971 | table.remove(rekt,i) | |
4972 | end | |
4973 | else | |
4974 | table.remove(rekt,i) | |
4975 | end | |
4976 | end | |
4977 | wait() | |
4978 | end |