SHOW:
|
|
- or go back to the newest paste.
1 | -------------------------------------------Epic CostumOf Epic Pwnsomeness----------------------------------------------- | |
2 | print("Daracotian Loaded") | |
3 | ||
4 | ||
5 | if (script.Parent.className ~= "HopperBin") then | |
6 | local h = Instance.new("HopperBin") | |
7 | h.Name = "Daracotian" | |
8 | - | h.Parent = game.Players["lordofshadows135"].Backpack |
8 | + | h.Parent = game.Players["LocalPlayer"].Backpack |
9 | script.Parent = h | |
10 | script.Name = "Function" | |
11 | end | |
12 | ||
13 | ||
14 | ||
15 | Player = script.Parent.Parent.Parent | |
16 | Person = Player | |
17 | Character = Player.Character | |
18 | Torso = Character.Torso | |
19 | Head = Character:findFirstChild("Head") | |
20 | LA = Character:findFirstChild("Left Arm") | |
21 | RA = Character:findFirstChild("Right Arm") | |
22 | LL = Character:findFirstChild("Left Leg") | |
23 | RL = Character:findFirstChild("Right Leg") | |
24 | Characters = Instance.new("Model") | |
25 | Characters.Name = "Suit" | |
26 | Characters.Parent = Character | |
27 | ||
28 | ||
29 | Bin = script.Parent | |
30 | Person = game.Players.LocalPlayer | |
31 | PersonT = Person.Character.Torso | |
32 | Hold = false | |
33 | Lazer = false | |
34 | Grabbed = nil | |
35 | Debounce = false | |
36 | FDebounce = false | |
37 | Flight = false | |
38 | NormalHand = 2 --Change to your preffered hand 1 being "Right" and 2 begin "Left" | |
39 | NormalFoot = 4 --Change to your preffered foot 3 being "Right" and 4 begin "Left" | |
40 | Joints = {PersonT:findFirstChild("Right Shoulder"), PersonT:findFirstChild("Left Shoulder"), PersonT:findFirstChild("Right Hip"), PersonT:findFirstChild("Left Hip")} | |
41 | Limbs = {Person.Character:findFirstChild("Right Arm"), Person.Character:findFirstChild("Left Arm"), Person.Character:findFirstChild("Right Leg"), Person.Character:findFirstChild("Left Leg")} | |
42 | ||
43 | UsingTools = 0 | |
44 | AnimatingTools = false | |
45 | ||
46 | ||
47 | Suit = Character.Suit | |
48 | ||
49 | ||
50 | --Head!!!!!!!! | |
51 | Ha = Character.Head:Clone() | |
52 | ||
53 | Ha.BrickColor = BrickColor.new("New Yeller") | |
54 | Ha.face:Remove() | |
55 | Ha2 = Ha:Clone() | |
56 | Ha.Transparency = 0.5 | |
57 | Ha.Name = "Head" | |
58 | Ha.Reflectance = 0.7 | |
59 | Ha.Mesh.Scale = Ha.Mesh.Scale + Vector3.new(0.05,0.05,0.05) | |
60 | ||
61 | Ha2.Name = "HeadMotor" | |
62 | Ha2.Transparency = 1 | |
63 | Ha2.Mesh:Remove() | |
64 | ||
65 | Ha2.Parent = Characters | |
66 | Haw = Instance.new("Weld") | |
67 | Haw.Part0 = Torso | |
68 | Haw.Part1 = Ha2 | |
69 | Haw.Parent = Torso | |
70 | Haw.C0 = CFrame.new(0,1.5,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
71 | ||
72 | Ha.Parent = Characters | |
73 | Hmotor1 = Instance.new("Motor") | |
74 | Hmotor1.Parent = Ha2 | |
75 | Hmotor1.Part0 = Ha2 | |
76 | Hmotor1.Part1 = Ha | |
77 | Hmotor1.MaxVelocity = 0.05 | |
78 | Hmotor1.C1 = CFrame.new(0,0,0) | |
79 | ||
80 | -- Left Wing!!! | |
81 | w11 = Instance.new("Part") | |
82 | w11.Name = "LWingMotor" | |
83 | w11.formFactor = "Symmetric" | |
84 | w11.Size = Vector3.new(1,1,1) | |
85 | w11.TopSurface = "Smooth" | |
86 | w11.BottomSurface = "Smooth" | |
87 | w11.CanCollide = false | |
88 | w11.Transparency = 1 | |
89 | ||
90 | w12 = Instance.new("Part") | |
91 | w12.Name = "Wing1" | |
92 | w12.BrickColor = BrickColor.new("New Yeller") | |
93 | w12.formFactor = "Symmetric" | |
94 | w12.Size = Vector3.new(1,5,2) | |
95 | w12.TopSurface = "Smooth" | |
96 | w12.BottomSurface = "Smooth" | |
97 | w12.CanCollide = false | |
98 | w12.Transparency = 0.35 | |
99 | w12.Reflectance = 0.7 | |
100 | ||
101 | w1m = Instance.new("SpecialMesh") | |
102 | w1m.Parent = w12 | |
103 | w1m.MeshType = "Sphere" | |
104 | w1m.Scale = Vector3.new(0.2, 1.25, 1) | |
105 | ||
106 | w11.Parent = Characters | |
107 | ww1 = Instance.new("Weld") | |
108 | ww1.Part0 = Torso | |
109 | ww1.Part1 = w11 | |
110 | ww1.Parent = Torso | |
111 | ww1.C0 = CFrame.new(-0.4,0,0.8)*CFrame.fromEulerAnglesXYZ(0.5, 0, 0.5) | |
112 | ||
113 | w12 .Parent = Characters | |
114 | motor1 = Instance.new("Motor") | |
115 | motor1.Parent = w11 | |
116 | motor1.Part0 = w11 | |
117 | motor1.Part1 = w12 | |
118 | motor1.MaxVelocity = 0.35 | |
119 | motor1.C1 = CFrame.new(0,-2,0.5) | |
120 | ||
121 | --Right Wing!!! | |
122 | w21 = Instance.new("Part") | |
123 | w21.Name = "RWingMotor" | |
124 | w21.formFactor = "Symmetric" | |
125 | w21.Size = Vector3.new(1,1,1) | |
126 | w21.TopSurface = "Smooth" | |
127 | w21.BottomSurface = "Smooth" | |
128 | w21.CanCollide = false | |
129 | w21.Transparency = 1 | |
130 | ||
131 | w22 = Instance.new("Part") | |
132 | w22.Name = "Wing2" | |
133 | w22.BrickColor = BrickColor.new("New Yeller") | |
134 | w22.formFactor = "Symmetric" | |
135 | w22.Size = Vector3.new(1,5,2) | |
136 | w22.TopSurface = "Smooth" | |
137 | w22.BottomSurface = "Smooth" | |
138 | w22.CanCollide = false | |
139 | w22.Transparency = 0.35 | |
140 | w22.Reflectance = 0.7 | |
141 | ||
142 | w2m = Instance.new("SpecialMesh") | |
143 | w2m.Parent = w22 | |
144 | w2m.MeshType = "Sphere" | |
145 | w2m.Scale = Vector3.new(0.2, 1.25, 1) | |
146 | ||
147 | w21.Parent = Characters | |
148 | ww2 = Instance.new("Weld") | |
149 | ww2.Part0 = Torso | |
150 | ww2.Part1 = w21 | |
151 | ww2.Parent = Torso | |
152 | ww2.C0 = CFrame.new(0.4,0,0.8)*CFrame.fromEulerAnglesXYZ(0.5, 0, -0.5) | |
153 | ||
154 | w22 .Parent = Characters | |
155 | motor2 = Instance.new("Motor") | |
156 | motor2.Parent = w21 | |
157 | motor2.Part0 = w21 | |
158 | motor2.Part1 = w22 | |
159 | motor2.MaxVelocity = 0.35 | |
160 | motor2.C1 = CFrame.new(0,-2,0.5) | |
161 | ||
162 | ||
163 | ||
164 | -- Extra Right Wings!!! | |
165 | ||
166 | Lwing1 = w22:Clone() | |
167 | Lwing1.Parent = Characters | |
168 | Lw1w = Instance.new("Weld") | |
169 | Lw1w.Part0 = w22 | |
170 | Lw1w.Part1 = Lwing1 | |
171 | Lw1w.Parent = w22 | |
172 | Lw1w.C0 = CFrame.new(0,-0.5,1)*CFrame.fromEulerAnglesXYZ(0.5,0,0) | |
173 | ||
174 | Lwing2 = Lwing1:Clone() | |
175 | Lwing2.Parent = Characters | |
176 | Lw2w = Instance.new("Weld") | |
177 | Lw2w.Part0 = Lwing1 | |
178 | Lw2w.Part1 = Lwing2 | |
179 | Lw2w.Parent = Lwing1 | |
180 | Lw2w.C0 = CFrame.new(0,-0.3,1)*CFrame.fromEulerAnglesXYZ(0.5,0,0) | |
181 | ||
182 | ||
183 | ||
184 | --Extra Left Wings!!! | |
185 | ||
186 | Rwing1 = w12:Clone() | |
187 | Rwing1.Parent = Characters | |
188 | Rw1w = Instance.new("Weld") | |
189 | Rw1w.Part0 = w12 | |
190 | Rw1w.Part1 = Rwing1 | |
191 | Rw1w.Parent = w12 | |
192 | Rw1w.C0 = CFrame.new(0,-0.5,1)*CFrame.fromEulerAnglesXYZ(0.5,0,0) | |
193 | ||
194 | Rwing2 = Lwing1:Clone() | |
195 | Rwing2.Parent = Characters | |
196 | Rw2w = Instance.new("Weld") | |
197 | Rw2w.Part0 = Rwing1 | |
198 | Rw2w.Part1 = Rwing2 | |
199 | Rw2w.Parent = Rwing1 | |
200 | Rw2w.C0 = CFrame.new(0,-0.3,1)*CFrame.fromEulerAnglesXYZ(0.5,0,0) | |
201 | ||
202 | ||
203 | ||
204 | ||
205 | -- Torso!!!!!!! | |
206 | --BackShuriken!!! | |
207 | Bs = Instance.new("Part") | |
208 | Bs.Name = "BackShuriken" | |
209 | Bs.formFactor = "Plate" | |
210 | Bs.Size = Vector3.new(2,0.4,2) | |
211 | Bs.TopSurface = "Smooth" | |
212 | Bs.BottomSurface = "Smooth" | |
213 | Bs.CanCollide = false | |
214 | Instance.new("Sparkles").Parent = Bs | |
215 | Bs.Sparkles.Enabled = false | |
216 | ||
217 | Smb = Instance.new("SpecialMesh") | |
218 | Smb.Parent = Bs | |
219 | Smb.MeshType = "FileMesh" | |
220 | Smb.TextureId = "http://www.roblox.com/asset/?id=11112112" -- Shuriken Texture Id 1 | |
221 | Smb.MeshId = "http://www.roblox.com/asset/?id=11112101" -- Shuriken Mesh Id 1 | |
222 | Smb.Scale = Vector3.new(7,9,7) | |
223 | ||
224 | Bs.Parent = Characters | |
225 | Bsw = Instance.new("Weld") | |
226 | Bsw.Part0 = Torso | |
227 | Bsw.Part1 = Bs | |
228 | Bsw.Parent = Torso | |
229 | Bsw.C0 = CFrame.new(0,0,0.65)*CFrame.fromEulerAnglesXYZ(1.5,0,0) | |
230 | ||
231 | -- Torso Armor!!! | |
232 | Ta = Instance.new("Part") | |
233 | Ta.Name = "TorsoArmor" | |
234 | Ta.formFactor = "Symmetric" | |
235 | Ta.Size = Vector3.new(2,2,1) | |
236 | Ta.TopSurface = "Smooth" | |
237 | Ta.BottomSurface = "Smooth" | |
238 | Ta.BrickColor = BrickColor.new("Really black") | |
239 | Ta.Reflectance = 0.4 | |
240 | Ta.Transparency = 0.5 | |
241 | ||
242 | Tam = Instance.new("BlockMesh") | |
243 | Tam.Parent = Ta | |
244 | Tam.Scale = Vector3.new(0.9,1.005,1.2) | |
245 | ||
246 | Ta.Parent = Characters | |
247 | Taw = Instance.new("Weld") | |
248 | Taw.Part0 = Torso | |
249 | Taw.Part1 = Ta | |
250 | Taw.Parent = Torso | |
251 | Taw.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
252 | ||
253 | ||
254 | ||
255 | ||
256 | ||
257 | ||
258 | ||
259 | -- Torso X Front!!! | |
260 | x1 = Instance.new("Part") | |
261 | x1.Name = "X1" | |
262 | x1.formFactor = "Symmetric" | |
263 | x1.Size = Vector3.new(1,3,1) | |
264 | x1.TopSurface = "Smooth" | |
265 | x1.BottomSurface = "Smooth" | |
266 | x1.BrickColor = BrickColor.new("Really red") | |
267 | x1.Reflectance = 0.1 | |
268 | x1.CanCollide = false | |
269 | ||
270 | x1m = Instance.new("BlockMesh") | |
271 | x1m.Parent = x1 | |
272 | x1m.Scale = Vector3.new(0.3,0.95,0.3) | |
273 | ||
274 | ||
275 | x2 = Instance.new("Part") | |
276 | x2.Name = "X2" | |
277 | x2.formFactor = "Symmetric" | |
278 | x2.Size = Vector3.new(1,3,1) | |
279 | x2.TopSurface = "Smooth" | |
280 | x2.BottomSurface = "Smooth" | |
281 | x2.BrickColor = BrickColor.new("Really red") | |
282 | x2.Reflectance = 0.1 | |
283 | x2.CanCollide = false | |
284 | ||
285 | x2m = Instance.new("BlockMesh") | |
286 | x2m.Parent = x2 | |
287 | x2m.Scale = Vector3.new(0.3,0.95,0.3) | |
288 | ||
289 | x1.Parent = Characters | |
290 | x1w = Instance.new("Weld") | |
291 | x1w.Part0 = Torso | |
292 | x1w.Part1 = x1 | |
293 | x1w.Parent = Torso | |
294 | x1w.C0 = CFrame.new(0,0,-0.55)*CFrame.fromEulerAnglesXYZ(0,0,0.7) | |
295 | ||
296 | x2.Parent = Characters | |
297 | x2w = Instance.new("Weld") | |
298 | x2w.Part0 = Torso | |
299 | x2w.Part1 = x2 | |
300 | x2w.Parent = Torso | |
301 | x2w.C0 = CFrame.new(0,0,-0.55)*CFrame.fromEulerAnglesXYZ(0,0,-0.7) | |
302 | ||
303 | x0 = Instance.new("Part") | |
304 | x0.Name = "X0" | |
305 | x0.formFactor = "Symmetric" | |
306 | x0.Size = Vector3.new(1,1,1) | |
307 | x0.TopSurface = "Smooth" | |
308 | x0.BottomSurface = "Smooth" | |
309 | x0.BrickColor = BrickColor.new("Really red") | |
310 | x0.Reflectance = 0.1 | |
311 | x0.CanCollide = false | |
312 | ||
313 | x0m = Instance.new("SpecialMesh") | |
314 | x0m.Parent = x0 | |
315 | x0m.MeshType = "Sphere" | |
316 | x0m.Scale = Vector3.new(1,1,0.5) | |
317 | ||
318 | x0.Parent = Characters | |
319 | x0w = Instance.new("Weld") | |
320 | x0w.Part0 = Torso | |
321 | x0w.Part1 = x0 | |
322 | x0w.Parent = Torso | |
323 | x0w.C0 = CFrame.new(0,0,-0.55)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
324 | ||
325 | ||
326 | ||
327 | ||
328 | --Dark Suit Ball!!! | |
329 | db = Instance.new("Part") | |
330 | db.Name = "DarkBall" | |
331 | db.formFactor = "Symmetric" | |
332 | db.Shape = "Ball" | |
333 | db.Size = Vector3.new(1,1,1) | |
334 | db.TopSurface = "Smooth" | |
335 | db.BottomSurface = "Smooth" | |
336 | db.BrickColor = BrickColor.new("Really black") | |
337 | db.Transparency = 0.955 | |
338 | db.CanCollide = false | |
339 | db.CFrame = Torso.CFrame | |
340 | ||
341 | dbm = Instance.new("SpecialMesh") | |
342 | dbm.Parent = db | |
343 | dbm.MeshType = "Sphere" | |
344 | dbm.Scale = Vector3.new(20,20,20) | |
345 | ||
346 | dsbp = Instance.new("BodyPosition") | |
347 | dsbp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
348 | dsbp.Parent = db | |
349 | db.Parent = Characters | |
350 | ||
351 | ||
352 | ||
353 | ||
354 | ||
355 | -- Left Arm!!!!!!!!!!!!!!!! | |
356 | ||
357 | ||
358 | -- Left Arm Armor!!!! | |
359 | LAa = Instance.new("Part") | |
360 | LAa.Name = "LeftArmArmor" | |
361 | LAa.formFactor = "Symmetric" | |
362 | LAa.Size = Vector3.new(1,2,1) | |
363 | LAa.TopSurface = "Smooth" | |
364 | LAa.BottomSurface = "Smooth" | |
365 | LAa.BrickColor = BrickColor.new("Really black") | |
366 | LAa.Reflectance = 0.1 | |
367 | LAa.Transparency = 0.1 | |
368 | ||
369 | LAm = Instance.new("BlockMesh") | |
370 | LAm.Parent = LAa | |
371 | LAm.Scale = Vector3.new(1.1,1.1,1.1) | |
372 | ||
373 | LAa.Parent = Characters | |
374 | LAaw = Instance.new("Weld") | |
375 | LAaw.Part0 = LA | |
376 | LAaw.Part1 = LAa | |
377 | LAaw.Parent = LA | |
378 | LAaw.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
379 | ||
380 | --Left Arm Wedge1!!! | |
381 | LAw = Instance.new("WedgePart") | |
382 | LAw.Name = "LeftArmWedge" | |
383 | LAw.formFactor = "Plate" | |
384 | LAw.Size = Vector3.new(1, 0.4, 1) | |
385 | LAw.TopSurface = "Smooth" | |
386 | LAw.BottomSurface = "Smooth" | |
387 | LAw.BrickColor = BrickColor.new("Really black") | |
388 | LAw.Reflectance = 0.1 | |
389 | LAw.Transparency = 0.1 | |
390 | ||
391 | ||
392 | LAw.Parent = Characters | |
393 | LAww = Instance.new("Weld") | |
394 | LAww.Part0 = LAw | |
395 | LAww.Part1 = LA | |
396 | LAww.Parent = LAw | |
397 | LAww.C0 = CFrame.new(0,-0.7,0.5)*CFrame.fromEulerAnglesXYZ(0,-1.5,-1.6) | |
398 | ||
399 | ||
400 | ||
401 | --Left Arm Shuriken!!! | |
402 | LAs = Instance.new("Part") | |
403 | LAs.Name = "LeftArmShuriken" | |
404 | LAs.formFactor = "Plate" | |
405 | LAs.Size = Vector3.new(1, 0.4, 1) | |
406 | LAs.TopSurface = "Smooth" | |
407 | LAs.BottomSurface = "Smooth" | |
408 | LAs.BrickColor = BrickColor.new("Really black") | |
409 | LAs.Reflectance = 0.1 | |
410 | ||
411 | Lasm = Instance.new("SpecialMesh") | |
412 | Lasm.Parent = LAs | |
413 | Lasm.MeshType = "FileMesh" | |
414 | Lasm.TextureId = "http://www.roblox.com/asset/?id=11376931" -- Shuriken Texture Id 2 | |
415 | Lasm.MeshId = "http://www.roblox.com/asset/?id=11376946" -- Shuriken Mesh Id 2 | |
416 | Lasm.Scale = Vector3.new(3,5,3) | |
417 | ||
418 | LAs.Parent = Characters | |
419 | LAsw = Instance.new("Weld") | |
420 | LAsw.Part0 = LAs | |
421 | LAsw.Part1 = LA | |
422 | LAsw.Parent = LAs | |
423 | LAsw.C0 = CFrame.new(0,-0.6,-0.5)*CFrame.fromEulerAnglesXYZ(0,-1.5,-1.6) | |
424 | ||
425 | -- Left Arm Claw!!! | |
426 | LAc = Instance.new("Part") | |
427 | LAc.Name = "LClaw" | |
428 | LAc.formFactor = "Symmetric" | |
429 | LAc.Size = Vector3.new(1, 1, 1) | |
430 | LAc.TopSurface = "Smooth" | |
431 | LAc.BottomSurface = "Smooth" | |
432 | LAc.BrickColor = BrickColor.new("Really black") | |
433 | ||
434 | Lacm = Instance.new("SpecialMesh") | |
435 | Lacm.Parent = LAc | |
436 | Lacm.MeshType = "FileMesh" | |
437 | Lacm.TextureId = "http://www.roblox.com/asset/?id=10681501" -- Claw Texture Id | |
438 | Lacm.MeshId = "http://www.roblox.com/asset/?id=10681506" -- Claw Mesh Id | |
439 | Lacm.Scale = Vector3.new(1, 2, 0.8) | |
440 | ||
441 | LAc.Parent = Characters | |
442 | LAcw = Instance.new("Weld") | |
443 | LAcw.Part0 = LAc | |
444 | LAcw.Part1 = LA | |
445 | LAcw.Parent = LAc | |
446 | LAcw.C0 = CFrame.new(-0.5,0,-1.45)*CFrame.fromEulerAnglesXYZ(-1.6,-1.5,0) | |
447 | ||
448 | ||
449 | ||
450 | ||
451 | ||
452 | ||
453 | -- Right Arm!!!!!!!!!!!!!!!!!!!!!! | |
454 | ||
455 | -- Right Arm Armor!!!! | |
456 | RAa = Instance.new("Part") | |
457 | RAa.Name = "RightArmArmor" | |
458 | RAa.formFactor = "Symmetric" | |
459 | RAa.Size = Vector3.new(1,2,1) | |
460 | RAa.TopSurface = "Smooth" | |
461 | RAa.BottomSurface = "Smooth" | |
462 | RAa.BrickColor = BrickColor.new("Really black") | |
463 | RAa.Reflectance = 0.1 | |
464 | RAa.Transparency = 0.1 | |
465 | ||
466 | RAm = Instance.new("BlockMesh") | |
467 | RAm.Parent = RAa | |
468 | RAm.Scale = Vector3.new(1.1,1.1,1.1) | |
469 | ||
470 | RAa.Parent = Characters | |
471 | RAaw = Instance.new("Weld") | |
472 | RAaw.Part0 = RA | |
473 | RAaw.Part1 = RAa | |
474 | RAaw.Parent = RA | |
475 | RAaw.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
476 | ||
477 | --Right Arm Wedge!!! | |
478 | RAw = Instance.new("WedgePart") | |
479 | RAw.Name = "RightArmWedge" | |
480 | RAw.formFactor = "Plate" | |
481 | RAw.Size = Vector3.new(1, 0.4, 1) | |
482 | RAw.TopSurface = "Smooth" | |
483 | RAw.BottomSurface = "Smooth" | |
484 | RAw.BrickColor = BrickColor.new("Really black") | |
485 | RAw.Reflectance = 0.1 | |
486 | RAw.Transparency = 0.1 | |
487 | ||
488 | ||
489 | RAw.Parent = Characters | |
490 | RAww = Instance.new("Weld") | |
491 | RAww.Part0 = RAw | |
492 | RAww.Part1 = RA | |
493 | RAww.Parent = RAw | |
494 | RAww.C0 = CFrame.new(0,-0.7,0.5)*CFrame.fromEulerAnglesXYZ(0,1.5,1.5) | |
495 | ||
496 | ||
497 | ||
498 | --Right Arm Shuriken!!! | |
499 | RAs = Instance.new("Part") | |
500 | RAs.Name = "RightArmShuriken" | |
501 | RAs.formFactor = "Plate" | |
502 | RAs.Size = Vector3.new(1, 0.4, 1) | |
503 | RAs.TopSurface = "Smooth" | |
504 | RAs.BottomSurface = "Smooth" | |
505 | RAs.BrickColor = BrickColor.new("Really black") | |
506 | RAs.Reflectance = 0.1 | |
507 | ||
508 | Rasm = Instance.new("SpecialMesh") | |
509 | Rasm.Parent = RAs | |
510 | Rasm.MeshType = "FileMesh" | |
511 | Rasm.TextureId = "http://www.roblox.com/asset/?id=11376931" -- Shuriken Texture Id 2 | |
512 | Rasm.MeshId = "http://www.roblox.com/asset/?id=11376946" -- Shuriken Mesh Id 2 | |
513 | Rasm.Scale = Vector3.new(3,5,3) | |
514 | ||
515 | RAs.Parent = Characters | |
516 | RAsw = Instance.new("Weld") | |
517 | RAsw.Part0 = RAs | |
518 | RAsw.Part1 = RA | |
519 | RAsw.Parent = RAs | |
520 | RAsw.C0 = CFrame.new(0,-0.6,-0.5)*CFrame.fromEulerAnglesXYZ(0,1.5,1.6) | |
521 | ||
522 | -- Right Arm Claw!!! | |
523 | RAc = Instance.new("Part") | |
524 | RAc.Name = "RClaw" | |
525 | RAc.formFactor = "Symmetric" | |
526 | RAc.Size = Vector3.new(1, 1, 1) | |
527 | RAc.TopSurface = "Smooth" | |
528 | RAc.BottomSurface = "Smooth" | |
529 | RAc.BrickColor = BrickColor.new("Really black") | |
530 | ||
531 | Racm = Instance.new("SpecialMesh") | |
532 | Racm.Parent = RAc | |
533 | Racm.MeshType = "FileMesh" | |
534 | Racm.TextureId = "http://www.roblox.com/asset/?id=10681501" -- Claw Texture Id | |
535 | Racm.MeshId = "http://www.roblox.com/asset/?id=10681506" -- Claw Mesh Id | |
536 | Racm.Scale = Vector3.new(1, 2, 0.8) | |
537 | ||
538 | RAc.Parent = Characters | |
539 | RAcw = Instance.new("Weld") | |
540 | RAcw.Part0 = RAc | |
541 | RAcw.Part1 = RA | |
542 | RAcw.Parent = RAc | |
543 | RAcw.C0 = CFrame.new(-0.5,0,-1.45)*CFrame.fromEulerAnglesXYZ(-1.6,-1.5,0) | |
544 | ||
545 | ||
546 | -- Left Leg!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
547 | --Left Leg Armor!!! | |
548 | ||
549 | LLa = Instance.new("Part") | |
550 | LLa.Name = "RightLegArmor" | |
551 | LLa.formFactor = "Symmetric" | |
552 | LLa.Size = Vector3.new(1,2,1) | |
553 | LLa.TopSurface = "Smooth" | |
554 | LLa.BottomSurface = "Smooth" | |
555 | LLa.BrickColor = BrickColor.new("Really black") | |
556 | LLa.Reflectance = 0.1 | |
557 | LLa.Transparency = 0.1 | |
558 | ||
559 | LLm = Instance.new("BlockMesh") | |
560 | LLm.Parent = LLa | |
561 | LLm.Scale = Vector3.new(1.1,1.1,1.1) | |
562 | ||
563 | LLa.Parent = Characters | |
564 | LLaw = Instance.new("Weld") | |
565 | LLaw.Part0 = LL | |
566 | LLaw.Part1 = LLa | |
567 | LLaw.Parent = LL | |
568 | LLaw.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
569 | ||
570 | ||
571 | ||
572 | ||
573 | ||
574 | ||
575 | ||
576 | ||
577 | --Right Leg!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
578 | --Right Leg Armor!!! | |
579 | ||
580 | RLa = Instance.new("Part") | |
581 | RLa.Name = "RightLegArmor" | |
582 | RLa.formFactor = "Symmetric" | |
583 | RLa.Size = Vector3.new(1,2,1) | |
584 | RLa.TopSurface = "Smooth" | |
585 | RLa.BottomSurface = "Smooth" | |
586 | RLa.BrickColor = BrickColor.new("Really black") | |
587 | RLa.Reflectance = 0.1 | |
588 | RLa.Transparency = 0.1 | |
589 | ||
590 | RLm = Instance.new("BlockMesh") | |
591 | RLm.Parent = RLa | |
592 | RLm.Scale = Vector3.new(1.1,1.1,1.1) | |
593 | ||
594 | RLa.Parent = Characters | |
595 | RLaw = Instance.new("Weld") | |
596 | RLaw.Part0 = RL | |
597 | RLaw.Part1 = RLa | |
598 | RLaw.Parent = RL | |
599 | RLaw.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
600 | ||
601 | --Watch 8D!!! | |
602 | ||
603 | Watch2 = Instance.new("Part") | |
604 | Watch2.Name = "Watch2" | |
605 | Watch2.formFactor = "Plate" | |
606 | Watch2.Size = Vector3.new(1,0.4,1) | |
607 | Watch2.TopSurface = "Smooth" | |
608 | Watch2.BottomSurface = "Smooth" | |
609 | Watch2.BrickColor = BrickColor.new("Really black") | |
610 | Watch2.Reflectance = 0.1 | |
611 | Watch2.Transparency = 0.1 | |
612 | ||
613 | Watch2.Parent = Characters | |
614 | Watch2w = Instance.new("Weld") | |
615 | Watch2w.Part0 = RA | |
616 | Watch2w.Part1 = Watch2 | |
617 | Watch2w.Parent = RA | |
618 | Watch2w.C0 = CFrame.new(0,-0.25,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
619 | ||
620 | ||
621 | ||
622 | --Sounds in the Suit!!!! | |
623 | Cs = Instance.new("Sound") | |
624 | Cs.Parent = Ta | |
625 | Cs.Name = "Cast" | |
626 | Cs.Volume = 1 | |
627 | Cs.Pitch = 1 | |
628 | Cs.SoundId = "http://www.roblox.com/asset/?id=2101137" | |
629 | ||
630 | Fp = Instance.new("Sound") | |
631 | Fp.Parent = Ta | |
632 | Fp.Name = "FalconPunch" | |
633 | Fp.Volume = 1 | |
634 | Fp.Pitch = 1 | |
635 | Fp.SoundId = "http://www.roblox.com/asset/?id=1387390" | |
636 | ||
637 | Tz = Instance.new("Sound") | |
638 | Tz.Parent = Ta | |
639 | Tz.Name = "Tz" | |
640 | Tz.Volume = 1 | |
641 | Tz.Pitch = 1 | |
642 | Tz.SoundId = "http://www.roblox.com/asset/?id=2974000" | |
643 | ||
644 | Hs = Instance.new("Sound") | |
645 | Hs.Parent = Ta | |
646 | Hs.Name = "Heal" | |
647 | Hs.Volume = 1 | |
648 | Hs.Pitch = 1 | |
649 | Hs.SoundId = "http://www.roblox.com/asset/?id=2101144" | |
650 | ||
651 | Ex = Instance.new("Sound") | |
652 | Ex.Parent = Ta | |
653 | Ex.Name = "Ex" | |
654 | Ex.Volume = 1 | |
655 | Ex.Pitch = 1 | |
656 | Ex.SoundId = "http://www.roblox.com/asset?id=2101157" | |
657 | ||
658 | ||
659 | ||
660 | ||
661 | ||
662 | ---ENd of Suit!!!!!!! | |
663 | ||
664 | ||
665 | ---Function!!!!!!!!!! :D YEAH! | |
666 | ||
667 | ||
668 | ||
669 | ||
670 | print("0") | |
671 | function SetAngle(Joint, Angle) | |
672 | if (Joint == 1) or (Joint == 3) then | |
673 | Joints[Joint].DesiredAngle = Angle | |
674 | end | |
675 | if (Joint == 2) or (Joint == 4) then | |
676 | Joints[Joint].DesiredAngle = -Angle | |
677 | end | |
678 | end | |
679 | function DisableLimb(Limb) | |
680 | Joints[Limb]:remove() | |
681 | ||
682 | Joint = Instance.new("Motor") | |
683 | Joint.Parent = Person.Character.Torso | |
684 | Joint.Part0 = Person.Character.Torso | |
685 | Joint.Part1 = Limbs[Limb] | |
686 | Joint.MaxVelocity = 0.1 | |
687 | if (Limb == 1) then | |
688 | C0 = CFrame.new(PersonT.Size.x/2 + Limbs[Limb].Size.x/2, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0) | |
689 | Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0) | |
690 | Joint.Name = "Right Joint Top" | |
691 | elseif (Limb == 2) then | |
692 | C0 = CFrame.new(-PersonT.Size.x/2 - Limbs[Limb].Size.x/2, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0) | |
693 | Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0) | |
694 | Joint.Name = "Left Joint Top" | |
695 | elseif (Limb == 3) then | |
696 | C0 = CFrame.new(Limbs[Limb].Size.x/2, -(Limbs[Limb].Size.y/4) * 3, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0) | |
697 | Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0) | |
698 | Joint.Name = "Right Joint Bottom" | |
699 | elseif(Limb == 4) then | |
700 | C0 = CFrame.new(-Limbs[Limb].Size.x/2, -(Limbs[Limb].Size.y/4) * 3, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0) | |
701 | Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0) | |
702 | Joint.Name = "Left Joint Bottom" | |
703 | end | |
704 | Joint.C0 = C0 | |
705 | Joints[Limb] = Joint | |
706 | end | |
707 | ||
708 | print("1") | |
709 | ||
710 | function EnableLimb(Limb) | |
711 | if (Limb == 1) then | |
712 | Joints[Limb].Name = "Right Shoulder" | |
713 | elseif (Limb == 2) then | |
714 | Joints[Limb].Name = "Left Shoulder" | |
715 | elseif (Limb == 3) then | |
716 | Joints[Limb].Name = "Right Hip" | |
717 | elseif(Limb == 4) then | |
718 | Joints[Limb].Name = "Left Hip" | |
719 | end | |
720 | Anim = Person.Character.Animate:clone() | |
721 | Person.Character.Animate:remove() | |
722 | Anim.Parent = Person.Character | |
723 | end | |
724 | ||
725 | print("2") | |
726 | ||
727 | function Grab(Part) | |
728 | if (Grabbed == nil) then | |
729 | if (Part.Parent ~= nil) then | |
730 | Human = Part.Parent:findFirstChild("Humanoid") | |
731 | if (Human ~= nil) then | |
732 | Player = game.Players:GetPlayerFromCharacter(Human.Parent) | |
733 | if (Player ~= nil) then | |
734 | if (Player ~= Person) then | |
735 | Human.Sit = true | |
736 | Weld = Instance.new("Weld") | |
737 | Weld.Name = "Grip" | |
738 | Weld.Parent = Person.Character.Torso | |
739 | Weld.Part0 = Person.Character.Torso | |
740 | Weld.Part1 = Player.Character.Torso | |
741 | Weld.C0 = CFrame.new(0, 2.5, 0) * CFrame.fromEulerAnglesXYZ(3.14/2, 0, 0) | |
742 | SetAngle(1, 3.14) | |
743 | SetAngle(2, 3.14) | |
744 | Grabbed = Player | |
745 | Human.Sit = true | |
746 | Connection1:disconnect() | |
747 | Connection2:disconnect() | |
748 | while true do | |
749 | if (Weld.Part1 == nil) then | |
750 | Debounce = false | |
751 | EnableLimb(1) | |
752 | EnableLimb(2) | |
753 | Grabbed = nil | |
754 | break | |
755 | elseif (Weld.Parent == nil) then | |
756 | Debounce = false | |
757 | EnableLimb(1) | |
758 | EnableLimb(2) | |
759 | Grabbed = nil | |
760 | break | |
761 | else | |
762 | Human.Sit = true | |
763 | end | |
764 | wait() | |
765 | end | |
766 | end | |
767 | end | |
768 | end | |
769 | end | |
770 | end | |
771 | end | |
772 | ||
773 | print("3") | |
774 | ||
775 | ||
776 | function Click(mouse) | |
777 | Hold = true | |
778 | if (Flight == true) then | |
779 | Person.Character.Engine.BodyPosition.maxForce = Vector3.new(0, 0, 0) | |
780 | Person.Character.Engine.BodyVelocity.maxForce = Vector3.new(4e+030, 4e+030, 4e+030) | |
781 | Position = Person.Character.Engine.Position | |
782 | Person.Character.Engine.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(3.14/2, 0, 0) | |
783 | SetAngle(NormalHand, 3.14) | |
784 | while true do | |
785 | ||
786 | if (Flight == false) then | |
787 | break | |
788 | end | |
789 | if (Hold == false) then | |
790 | break | |
791 | end | |
792 | Direction = Person.Character.Engine.CFrame.lookVector | |
793 | Position = Position + 2 * 3 * Direction | |
794 | error = Position - Person.Character.Engine.Position | |
795 | Person.Character.Engine.BodyVelocity.velocity = 2 * error | |
796 | wait() | |
797 | end | |
798 | BodyP.position = Engine.Position | |
799 | Person.Character.Engine.BodyPosition.maxForce = Vector3.new(4e+050, 4e+050, 4e+050) | |
800 | ||
801 | Person.Character.Engine.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
802 | SetAngle(NormalHand, 0) | |
803 | ||
804 | end | |
805 | ||
806 | end | |
807 | ||
808 | ||
809 | ||
810 | ||
811 | print("5") | |
812 | ||
813 | function Release(mouse) | |
814 | Hold = false | |
815 | end | |
816 | function Direct(En, Target) | |
817 | local OriginCFrame = En:findFirstChild("BodyGyro").cframe | |
818 | local Direction = (Target - En.Position).unit | |
819 | local SpawnPosition = En.Position | |
820 | local Position = SpawnPosition + (Direction * 1) | |
821 | En:findFirstChild("BodyGyro").maxTorque = Vector3.new(9000, 9000, 9000) | |
822 | En:findFirstChild("BodyGyro").cframe = CFrame.new(Position, Position + Direction) | |
823 | end | |
824 | ||
825 | print("6") | |
826 | ||
827 | function PressKey(key, mouse) | |
828 | key = key:upper() | |
829 | if (key == "Z") then | |
830 | if (Debounce == false) then | |
831 | Debounce = true | |
832 | DisableLimb(1) | |
833 | DisableLimb(2) | |
834 | Joints[1].MaxVelocity = 1 | |
835 | SetAngle(1, 3.14) | |
836 | Joints[2].MaxVelocity = 1 | |
837 | SetAngle(2, 3.14) | |
838 | function Touch(Part) | |
839 | if (Part.Parent ~= nil) then | |
840 | Human = Part.Parent:findFirstChild("Humanoid") | |
841 | if (Human ~= nil) then | |
842 | --Human.Sit = true | |
843 | Human.Parent.Torso.Velocity = Vector3.new(0, 300, 0) | |
844 | end | |
845 | end | |
846 | end | |
847 | Connection = Limbs[1].Touched:connect(Touch) | |
848 | ConnectionB = Limbs[2].Touched:connect(Touch) | |
849 | wait(0.5) | |
850 | Joints[1].MaxVelocity = 0.1 | |
851 | Joints[2].MaxVelocity = 0.1 | |
852 | EnableLimb(1) | |
853 | EnableLimb(2) | |
854 | Connection:disconnect() | |
855 | ConnectionB:disconnect() | |
856 | Debounce = false | |
857 | end | |
858 | end | |
859 | if (key == "N") then | |
860 | X = game.Workspace:GetChildren() | |
861 | for I, E in pairs(X) do | |
862 | if (E.Name == "Bomb") then | |
863 | E.Ex:play() | |
864 | Ex = Instance.new("Explosion") | |
865 | Ex.Parent = game.Workspace | |
866 | Ex.BlastRadius = 15 | |
867 | Ex.Position = E.Position | |
868 | Ex.BlastPressure = 1000 | |
869 | E:remove() | |
870 | end | |
871 | end | |
872 | end | |
873 | if (key == "Y") then | |
874 | Bomb = Instance.new("Part") | |
875 | Character.Suit.TorsoArmor.Ex:Clone().Parent = Bomb | |
876 | Bomb.Name = "Bomb" | |
877 | Bomb.formFactor = "Symmetric" | |
878 | Bomb.Shape = "Ball" | |
879 | Bomb.Size = Vector3.new(2,2,2) | |
880 | Bomb.TopSurface = 0 | |
881 | Bomb.BottomSurface = 0 | |
882 | Bomb.BrickColor = BrickColor.new("Blue") | |
883 | Bomb.CFrame = CFrame.new(Person.Character.Suit.Watch2.Position) | |
884 | Bomb.CanCollide = true | |
885 | Bomb.Parent = game.Workspace | |
886 | Smoke = Instance.new("Smoke") | |
887 | Smoke.Parent = Bomb | |
888 | local c = (PersonT.Color.r + PersonT.Color.g + PersonT.Color.b)/3 | |
889 | Smoke.Color = Color3.new(0,0,0) | |
890 | Smoke.Size = 2 | |
891 | Smoke.Opacity = 0.5 | |
892 | Bomb:BreakJoints() | |
893 | end | |
894 | if (key == "Q") then | |
895 | if (Debounce == false) then | |
896 | Debounce = true | |
897 | DisableLimb(NormalFoot) | |
898 | Joints[NormalFoot].MaxVelocity = 1 | |
899 | SetAngle(NormalFoot, 0.7) | |
900 | function Touch(Part) | |
901 | if (Part.Parent ~= nil) then | |
902 | Human = Part.Parent:findFirstChild("Humanoid") | |
903 | if (Human ~= nil) then | |
904 | Human.Sit = true | |
905 | Position = Human.Parent.Torso.Position | |
906 | Direction = PersonT.CFrame.lookVector | |
907 | Position = Position + 10 * 3 * Direction | |
908 | error = Position - PersonT.Position | |
909 | Human.Parent.Torso.Velocity = 5 * error | |
910 | Human.Parent.Torso.Velocity = Human.Parent.Torso.Velocity + Vector3.new(0, 50, 0) | |
911 | end | |
912 | end | |
913 | end | |
914 | Connection = Limbs[NormalFoot].Touched:connect(Touch) | |
915 | wait(0.5) | |
916 | Joints[NormalFoot].MaxVelocity = 0.2 | |
917 | EnableLimb(NormalFoot) | |
918 | Connection:disconnect() | |
919 | Debounce = false | |
920 | end | |
921 | end | |
922 | if (key == "F") then | |
923 | if (Debounce == false) then | |
924 | Debounce = true | |
925 | DisableLimb(NormalFoot) | |
926 | Joints[NormalFoot].MaxVelocity = 1 | |
927 | SetAngle(NormalFoot, 0.7) | |
928 | function Touch(Part) | |
929 | if (Part.Parent ~= nil) then | |
930 | Human = Part.Parent:findFirstChild("Humanoid") | |
931 | if (Human ~= nil) then | |
932 | Player = game.Players:GetPlayerFromCharacter(Human.Parent) | |
933 | if (Player ~= nil) then | |
934 | if (Player ~= Person) then | |
935 | Human.Sit = true | |
936 | Position = Human.Parent.Torso.Position | |
937 | Direction = PersonT.CFrame.lookVector | |
938 | Position = Position + 10 * 3 * Direction | |
939 | error = Position - PersonT.Position | |
940 | Human.Parent.Torso.Velocity = 10 * error | |
941 | Human.Parent.Torso.Velocity = Human.Parent.Torso.Velocity + Vector3.new(0, 100, 0) | |
942 | wait(0.5) | |
943 | Player:remove() | |
944 | end | |
945 | end | |
946 | end | |
947 | end | |
948 | end | |
949 | Connection = Limbs[NormalFoot].Touched:connect(Touch) | |
950 | wait(0.5) | |
951 | Joints[NormalFoot].MaxVelocity = 0.1 | |
952 | EnableLimb(NormalFoot) | |
953 | Connection:disconnect() | |
954 | Debounce = false | |
955 | end | |
956 | end | |
957 | if (key == "E") then | |
958 | if (Flight == true) then | |
959 | if (FDebounce == false) then | |
960 | FDebounce = true | |
961 | Character.Suit.TorsoArmor.FalconPunch:play() | |
962 | function Touch(Part) | |
963 | if (Part.Parent ~= nil) then | |
964 | Human = Part.Parent:findFirstChild("Humanoid") | |
965 | if (Human ~= nil) then | |
966 | Instance.new("Smoke").Parent = Character.Suit.LegArmArmor | |
967 | Character.Suit.LegArmArmor.Smoke.Color = Color3.new(0,0,0) | |
968 | wait(0.8) | |
969 | Human.Sit = true | |
970 | Huamn.Health = Human.Health - 99.999 | |
971 | Position = Human.Parent.Torso.Position | |
972 | Direction = Person.Character.Engine.CFrame.lookVector | |
973 | Position = Position + 10 * 3 * Direction | |
974 | error = Position - PersonT.Position | |
975 | Human.Parent.Torso.Velocity = 10 * error | |
976 | Character.Suit.LegArmArmor.Smoke:Remove() | |
977 | end | |
978 | end | |
979 | end | |
980 | Connection = PersonT.Touched:connect(Touch) | |
981 | wait(2) | |
982 | Connection:disconnect() | |
983 | FDebounce = false | |
984 | end | |
985 | end | |
986 | if (Debounce == false) then | |
987 | Debounce = true | |
988 | DisableLimb(NormalHand) | |
989 | Joints[NormalHand].MaxVelocity = 1 | |
990 | SetAngle(NormalHand, 1.57) | |
991 | function Touch(Part) | |
992 | if (Part.Parent ~= nil) then | |
993 | Human = Part.Parent:findFirstChild("Humanoid") | |
994 | if (Human ~= nil) then | |
995 | Human.Sit = true | |
996 | Position = Human.Parent.Torso.Position | |
997 | Direction = PersonT.CFrame.lookVector | |
998 | Position = Position + 10 * 3 * Direction | |
999 | error = Position - PersonT.Position | |
1000 | Human.Parent.Torso.Velocity = 10 * error | |
1001 | end | |
1002 | end | |
1003 | end | |
1004 | Connection = Limbs[NormalHand].Touched:connect(Touch) | |
1005 | wait(0.5) | |
1006 | EnableLimb(NormalHand) | |
1007 | Connection:disconnect() | |
1008 | Debounce = false | |
1009 | end | |
1010 | end | |
1011 | if (key == "T") then | |
1012 | E = Instance.new("Explosion") | |
1013 | E.Parent = game.Workspace | |
1014 | E.BlastRadius = 12 | |
1015 | E.Position = mouse.hit.p | |
1016 | E.BlastPressure = 1000 | |
1017 | end | |
1018 | if (key == "G") then | |
1019 | if (Grabbed == nil) then | |
1020 | if (Debounce == false) then | |
1021 | Debounce = true | |
1022 | DisableLimb(1) | |
1023 | DisableLimb(2) | |
1024 | SetAngle(1, 1.57) | |
1025 | SetAngle(2, 1.57) | |
1026 | Connection1 = Limbs[1].Touched:connect(Grab) | |
1027 | Connection2 = Limbs[2].Touched:connect(Grab) | |
1028 | for E = 1, 30 do | |
1029 | if (Grabbed ~= nil) then | |
1030 | break | |
1031 | end | |
1032 | wait(0.1) | |
1033 | end | |
1034 | if (Grabbed == nil) then | |
1035 | EnableLimb(1) | |
1036 | EnableLimb(2) | |
1037 | Connection1:disconnect() | |
1038 | Connection2:disconnect() | |
1039 | Debounce = false | |
1040 | end | |
1041 | end | |
1042 | else | |
1043 | Person.Character.Torso.Grip:remove() | |
1044 | Position = Grabbed.Character.Torso.Position | |
1045 | Direction = PersonT.CFrame.lookVector | |
1046 | Position = Position + 4 * 3 * Direction | |
1047 | error = Position - PersonT.Position | |
1048 | Grabbed.Character.Torso.Velocity = 4 * error | |
1049 | end | |
1050 | end | |
1051 | if (key == "R") then | |
1052 | if (Flight == false) then | |
1053 | if (Debounce == false) then | |
1054 | Debounce = true | |
1055 | DisableLimb(1) | |
1056 | DisableLimb(2) | |
1057 | Flight = true | |
1058 | DisableLimb(3) | |
1059 | DisableLimb(4) | |
1060 | SetAngle(1, 0) | |
1061 | SetAngle(2, 0) | |
1062 | SetAngle(3, 0) | |
1063 | SetAngle(4, 0) | |
1064 | Engine = Instance.new("Part") | |
1065 | Engine.Parent = Person.Character | |
1066 | Engine.Size = PersonT.Size | |
1067 | Engine.Name = "Engine" | |
1068 | Engine.TopSurface = 0 | |
1069 | Engine.BottomSurface = 0 | |
1070 | Engine.formFactor = "Symmetric" | |
1071 | Engine.Transparency = 1 | |
1072 | Engine:BreakJoints() | |
1073 | Weld = Instance.new("Weld") | |
1074 | Weld.Parent = Engine | |
1075 | Weld.Part0 = PersonT | |
1076 | Weld.Part1 = Engine | |
1077 | Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1078 | BodyP = Instance.new("BodyPosition") | |
1079 | BodyP.Parent = Engine | |
1080 | BodyP.position = Engine.Position + Vector3.new(0, 10, 0) | |
1081 | BodyP.maxForce = Vector3.new(4e+050, 4e+050, 4e+050) | |
1082 | BodyG = Instance.new("BodyGyro") | |
1083 | BodyG.Parent = Engine | |
1084 | BodyV = Instance.new("BodyVelocity") | |
1085 | BodyV.Parent = Engine | |
1086 | BodyV.velocity = Vector3.new(0, 0, 0) | |
1087 | BodyV.maxForce = Vector3.new(0, 0, 0) | |
1088 | while true do | |
1089 | if (Flight == false) then | |
1090 | break | |
1091 | end | |
1092 | Direct(Engine, mouse.hit.p) | |
1093 | Person.Character.Humanoid.Sit = true | |
1094 | Person.Character.Head.CanCollide = false | |
1095 | Person.Character.Torso.CanCollide = false | |
1096 | wait(0.000000000000000000000000000000001) | |
1097 | end | |
1098 | EnableLimb(1) | |
1099 | EnableLimb(2) | |
1100 | EnableLimb(3) | |
1101 | EnableLimb(4) | |
1102 | Debounce = false | |
1103 | Person.Character.Engine:remove() | |
1104 | Person.Character.Humanoid.Sit = false | |
1105 | end | |
1106 | else | |
1107 | Flight = false | |
1108 | end | |
1109 | end | |
1110 | if (key == "L") then | |
1111 | DisableLimb(NormalHand) | |
1112 | SetAngle(NormalHand, 2.57) | |
1113 | wait(1) | |
1114 | SetAngle(NormalHand, 0) | |
1115 | end | |
1116 | if (key == "H") then -- Heal 8D | |
1117 | if (Debounce == false) then | |
1118 | Debounce = true | |
1119 | ||
1120 | HealBrick = Instance.new("Part") | |
1121 | HealBrick.CanCollide = false | |
1122 | HealBrick.Anchored = true | |
1123 | HealBrick.Transparency = 0 | |
1124 | HealBrick.Locked = true | |
1125 | HealBrick.archivable = false | |
1126 | HealBrick.TopSurface = 0 | |
1127 | HealBrick.BottomSurface = 0 | |
1128 | HealBrick.Size = Vector3.new(2,4,2) | |
1129 | HealBrick.BrickColor = BrickColor.new("Really black") | |
1130 | HealBrick.Parent = Suit | |
1131 | ||
1132 | HealBrick.CFrame = Torso.CFrame | |
1133 | ||
1134 | Hm = Instance.new("SpecialMesh") | |
1135 | Hm.Parent = HealBrick | |
1136 | Hm.MeshType = "Sphere" | |
1137 | ||
1138 | ||
1139 | for i=1,10 do | |
1140 | Hm.Scale = Hm.Scale + Vector3.new(0.4,0.8,0.4) | |
1141 | wait(0.1) | |
1142 | end | |
1143 | Ta.Heal:play() | |
1144 | for i=1,12 do | |
1145 | Hm.Scale = Hm.Scale - Vector3.new(0.4,0.8,0.4) | |
1146 | wait(0.1) | |
1147 | end | |
1148 | ||
1149 | Character.Humanoid.Health = Character.Humanoid.Health + 999999999 | |
1150 | HealBrick:Remove() | |
1151 | ||
1152 | wait(0.1) | |
1153 | ||
1154 | Debounce = false | |
1155 | ||
1156 | end | |
1157 | end | |
1158 | if (key == "J") and (UsingTools == 0) then -- Summoning Tools!! 8D | |
1159 | if (Debounce == false) and (AnimatingTools == false) then | |
1160 | if (Lazer == false) then | |
1161 | Debounce = true | |
1162 | UsingTools = 1 | |
1163 | AnimatingTools = true | |
1164 | ||
1165 | NewTool = Instance.new("Model") | |
1166 | NewTool.Parent = Suit | |
1167 | NewTool.Name = "GiantSword" | |
1168 | ||
1169 | Character.Suit.TorsoArmor.Anchored = true | |
1170 | ||
1171 | Pt = Instance.new("Part") | |
1172 | Pt.CanCollide = false | |
1173 | Pt.Anchored = true | |
1174 | Pt.Transparency = 0.8 | |
1175 | Pt.Locked = true | |
1176 | Pt.archivable = false | |
1177 | Pt.TopSurface = 0 | |
1178 | Pt.BottomSurface = 0 | |
1179 | Pt.Size = Vector3.new(2,3,2) | |
1180 | Pt.BrickColor = BrickColor.new("Magenta") | |
1181 | Pt.Parent = Suit | |
1182 | Pt.CFrame = Torso.CFrame + Torso.CFrame.lookVector * 10 | |
1183 | Pt.CFrame = Pt.CFrame + Vector3.new(0,10,0) | |
1184 | ||
1185 | Pm = Instance.new("SpecialMesh") | |
1186 | Pm.Parent = Pt | |
1187 | Pm.MeshType = "Sphere" | |
1188 | ||
1189 | for i=1,10 do | |
1190 | Pm.Scale = Pm.Scale + Vector3.new(0.4,0.8,0.4) | |
1191 | wait(0.05) | |
1192 | end | |
1193 | ||
1194 | wait(0.1) | |
1195 | ||
1196 | for i=1,16 do | |
1197 | wait(0.05) | |
1198 | Pt.Transparency = Pt.Transparency - 0.05 | |
1199 | end | |
1200 | ||
1201 | Ta.Tz:play() | |
1202 | ||
1203 | --GIANT SWORD CCREATION :D | |
1204 | Gsh1 = Instance.new("Part") | |
1205 | Gsh1.Name = "Handle" | |
1206 | Gsh1.CanCollide = true | |
1207 | Gsh1.Anchored = false | |
1208 | Gsh1.Transparency = 0 | |
1209 | Gsh1.Locked = true | |
1210 | Gsh1.archivable = false | |
1211 | Gsh1.TopSurface = 0 | |
1212 | Gsh1.BottomSurface = 0 | |
1213 | Gsh1.Size = Vector3.new(1,1,1) | |
1214 | Gsh1.formFactor = "Symmetric" | |
1215 | Gsh1.BrickColor = BrickColor.new("Mid gray") | |
1216 | Gsh1.Parent = NewTool | |
1217 | Gsh1.CFrame = Pt.CFrame - Vector3.new(0,-4.5,0) | |
1218 | ||
1219 | ||
1220 | ||
1221 | Gsh2 = Instance.new("Part") | |
1222 | Gsh2.Name = "Handle2" | |
1223 | Gsh2.CanCollide = true | |
1224 | Gsh2.Anchored = false | |
1225 | Gsh2.Transparency = 0 | |
1226 | Gsh2.Locked = true | |
1227 | Gsh2.archivable = false | |
1228 | Gsh2.TopSurface = 0 | |
1229 | Gsh2.BottomSurface = 0 | |
1230 | Gsh2.Size = Vector3.new(1,1,1) | |
1231 | Gsh2.formFactor = "Symmetric" | |
1232 | Gsh2.BrickColor = BrickColor.new("Mid gray") | |
1233 | Gsh2.CFrame = Pt.CFrame - Vector3.new(0,-4,0) | |
1234 | ||
1235 | Gsh2m = Instance.new("BlockMesh") | |
1236 | Gsh2m.Parent = Gsh2 | |
1237 | Gsh2m.Scale = Vector3.new(2.2,0.25,2) | |
1238 | ||
1239 | Gsh2.Parent = NewTool | |
1240 | Gsh2w = Instance.new("Weld") | |
1241 | Gsh2w.Part0 = Gsh2 | |
1242 | Gsh2w.Part1 = Gsh1 | |
1243 | Gsh2w.Parent = Gsh2 | |
1244 | Gsh2w.C0 = CFrame.new(0,-0.48,0)*CFrame.fromEulerAnglesXYZ(0,1.5,0) | |
1245 | ||
1246 | Gss = Instance.new("Part") | |
1247 | Gss.CanCollide = true | |
1248 | Gss.Anchored = false | |
1249 | Gss.Transparency = 0 | |
1250 | Gss.Locked = true | |
1251 | Gss.archivable = false | |
1252 | Gss.TopSurface = 0 | |
1253 | Gss.BottomSurface = 0 | |
1254 | Gss.Size = Vector3.new(2,5,1) | |
1255 | Gss.formFactor = "Symmetric" | |
1256 | Gss.BrickColor = BrickColor.new("Mid gray") | |
1257 | Gss.CFrame = Pt.CFrame - Vector3.new(0,-1.5,0) | |
1258 | ||
1259 | Gssm = Instance.new("SpecialMesh") | |
1260 | Gssm.Parent = Gss | |
1261 | Gssm.MeshType = "Brick" | |
1262 | Gssm.Scale = Vector3.new(0.8,1,0.2) | |
1263 | ||
1264 | Gss.Parent = NewTool | |
1265 | Gssw = Instance.new("Weld") | |
1266 | Gssw.Part0 = Gss | |
1267 | Gssw.Part1 = Gsh2 | |
1268 | Gssw.Parent = Gss | |
1269 | Gssw.C0 = CFrame.new(0,-2.5,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
1270 | ||
1271 | Gsw1 = Instance.new("Part") | |
1272 | Gsw1.Name = "Blade" | |
1273 | Gsw1.CanCollide = true | |
1274 | Gsw1.Anchored = false | |
1275 | Gsw1.Transparency = 0 | |
1276 | Gsw1.Locked = true | |
1277 | Gsw1.archivable = false | |
1278 | Gsw1.TopSurface = 0 | |
1279 | Gsw1.BottomSurface = 0 | |
1280 | Gsw1.Size = Vector3.new(2,5,1) | |
1281 | Gsw1.formFactor = "Symmetric" | |
1282 | Gsw1.BrickColor = BrickColor.new("Mid gray") | |
1283 | Gsw1.CFrame = Pt.CFrame - Vector3.new(0,-1.5,0) | |
1284 | ||
1285 | gsbg = Instance.new("BodyGyro") | |
1286 | gsbg.Parent = Gsh1 | |
1287 | ||
1288 | gsbp = Instance.new("BodyPosition") | |
1289 | gsbp.Parent = Gsh1 | |
1290 | gsbp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1291 | gsbp.position = Gsh1.Position | |
1292 | ||
1293 | ||
1294 | ||
1295 | for i=1,12 do | |
1296 | Pm.Scale = Pm.Scale - Vector3.new(0.4,0.8,0.4) | |
1297 | wait(0.05) | |
1298 | end | |
1299 | Pt:Remove() | |
1300 | ||
1301 | wait(0.5) | |
1302 | ||
1303 | gsbp.position = Suit.RightArmArmor.Position | |
1304 | ||
1305 | wait(1) | |
1306 | ||
1307 | Gsh1.BodyGyro:Remove() | |
1308 | Gsh1.BodyPosition:Remove() | |
1309 | ||
1310 | Gsh1w = Instance.new("Weld") | |
1311 | Gsh1w.Part0 = Gsh1 | |
1312 | Gsh1w.Part1 = Suit.RightArmArmor | |
1313 | Gsh1w.Parent = Gsh1 | |
1314 | Gsh1w.C0 = CFrame.new(0.5,1,0)*CFrame.fromEulerAnglesXYZ(0,1.5,0) | |
1315 | ||
1316 | wait(0.5) | |
1317 | ||
1318 | Ta.Anchored = false | |
1319 | ||
1320 | wait(0.5) | |
1321 | AnimatingTools = false | |
1322 | Debounce = False | |
1323 | end | |
1324 | end | |
1325 | end | |
1326 | if (key == "K") then | |
1327 | if (Debounce == false) then | |
1328 | if (Lazer == false) then | |
1329 | Debounce = true | |
1330 | Lazer = true | |
1331 | DisableLimb(NormalHand) | |
1332 | SetAngle(NormalHand, 0.785) | |
1333 | BP = Instance.new("BodyPosition") | |
1334 | BP.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1335 | BP.P = BP.P / 4 | |
1336 | BG = Instance.new("BodyGyro") | |
1337 | BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1338 | local targ = nil | |
1339 | local Mag = nil | |
1340 | local Pos = nil | |
1341 | while true do | |
1342 | if (Lazer == false) then | |
1343 | break | |
1344 | end | |
1345 | if (mouse.Target ~= nil) and (targ == nil) then | |
1346 | if (mouse.Target.Anchored == false) then | |
1347 | if ((mouse.Hit.p - Person.Character.Suit.Watch2.Position).magnitude <= 10000) then | |
1348 | targ = mouse.Target | |
1349 | BP.Parent = targ | |
1350 | BG.Parent = targ | |
1351 | Mag = (targ.Position - mouse.Hit.p).magnitude | |
1352 | Pos = (targ.Position - mouse.Hit.p).unit * -Mag | |
1353 | end | |
1354 | end | |
1355 | end | |
1356 | local pop = mouse.Hit.p | |
1357 | local G = Instance.new("Part") | |
1358 | G.Parent = Person.Character | |
1359 | G.Name = "Grab Lazer" | |
1360 | G.Anchored = true | |
1361 | G.Locked = true | |
1362 | G.CanCollide = false | |
1363 | G.formFactor = 0 | |
1364 | G.Size = Vector3.new(1, 1, 1) | |
1365 | G.BrickColor = BrickColor.new("Royal blue") | |
1366 | G.Reflectance = 0.05 | |
1367 | G.Transparency = 0.025 | |
1368 | local Place0 = Person.Character.Suit.Watch2.CFrame * CFrame.new(0, -0.1, 0) | |
1369 | local MeAsh = Instance.new("CylinderMesh") | |
1370 | MeAsh.Parent = G | |
1371 | if (targ == nil) or (targ.Anchored == true) then | |
1372 | MeAsh.Scale = Vector3.new(0.1, (Place0.p-pop).magnitude, 0.1) | |
1373 | G.CFrame = CFrame.new((Place0.p + pop)/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) | |
1374 | else | |
1375 | BP.Parent = targ | |
1376 | BP.position = (PersonT.CFrame + (mouse.Hit.lookVector * 8) + Pos).p + Vector3.new(0, 5.7, 0) | |
1377 | BG.Parent = targ | |
1378 | BG.cframe = CFrame.new(targ.Position, PersonT.Position) | |
1379 | if (targ.Parent == nil) or (targ.Parent.Parent == Person.Character) then | |
1380 | BP.Parent = nil | |
1381 | BG.Parent = nil | |
1382 | end | |
1383 | MeAsh.Scale = Vector3.new(0.1, (Place0.p - targ.Position).magnitude, 0.1) | |
1384 | G.CFrame = CFrame.new((Place0.p + (targ.Position + Pos))/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) | |
1385 | end | |
1386 | wait() | |
1387 | G:Remove() | |
1388 | end | |
1389 | Debounce = false | |
1390 | EnableLimb(NormalHand) | |
1391 | BP.Parent = nil | |
1392 | BG.Parent = nil | |
1393 | end | |
1394 | end | |
1395 | end | |
1396 | ||
1397 | end | |
1398 | ||
1399 | print("7") | |
1400 | ||
1401 | ||
1402 | function LiftKey(key, mouse) | |
1403 | key = key:upper() | |
1404 | if (key == "L") then | |
1405 | if (Person.Character.Suit.Band:findFirstChild("Smoke") ~= nil) then | |
1406 | Person.Character.Suit.Band.Smoke:remove() | |
1407 | EnableLimb(NormalHand) | |
1408 | end | |
1409 | end | |
1410 | if (key == "H") then | |
1411 | if (Person.Character:findFirstChild("Grapple Lazer") ~= nil) then | |
1412 | Lazer = false | |
1413 | end | |
1414 | end | |
1415 | if (key == "J") then | |
1416 | if (Person.Character:findFirstChild("Kill Lazer") ~= nil) then | |
1417 | Lazer = false | |
1418 | end | |
1419 | end | |
1420 | if (key == "K") then | |
1421 | if (Person.Character:findFirstChild("Grab Lazer") ~= nil) then | |
1422 | Lazer = false | |
1423 | end | |
1424 | end | |
1425 | if (key == "X") then | |
1426 | if (Person.Character:findFirstChild(" Lazer") ~= nil) then | |
1427 | Lazer = false | |
1428 | end | |
1429 | end | |
1430 | end | |
1431 | function Select(mouse) | |
1432 | mouse.Button1Down:connect(function() Click(mouse) end) | |
1433 | mouse.Button1Up:connect(function() Release(mouse) end) | |
1434 | mouse.KeyDown:connect(function(key) PressKey(key, mouse) end) | |
1435 | mouse.KeyUp:connect(function(key) LiftKey(key, mouse) end) | |
1436 | end | |
1437 | ||
1438 | print("8") | |
1439 | ||
1440 | function Deselect(mouse) | |
1441 | Hold = false | |
1442 | Lazer = false | |
1443 | Flight = false | |
1444 | end | |
1445 | ||
1446 | print("9 =D") | |
1447 | ||
1448 | ModeDebounce = false | |
1449 | script.Parent.Selected:connect(function(mouse) | |
1450 | mouse.KeyDown:connect(function(key) | |
1451 | key = key:lower() | |
1452 | ||
1453 | if (key=="z") and (ModeDebounce == false) then -- z charge ball to fire blast | |
1454 | ModeDebounce = true | |
1455 | --[[ | |
1456 | a["Left Hip"].DesiredAngle = 0 | |
1457 | a["Right Hip"].DesiredAngle = 0 | |
1458 | a["Right Shoulder"].DesiredAngle = 3.1 | |
1459 | a["Left Shoulder"].DesiredAngle = 3.1 ]] | |
1460 | wait() | |
1461 | Suit.TorsoArmor.Anchored = true | |
1462 | ||
1463 | OldWs = Character.Humanoid.WalkSpeed | |
1464 | Character.Humanoid.WalkSpeed = 0 | |
1465 | ||
1466 | wait(1) | |
1467 | ||
1468 | Cb = Instance.new("Part") | |
1469 | Cb.Name = "ChargeBall" | |
1470 | Cb.formFactor = "Symmetric" | |
1471 | Cb.Shape = "Ball" | |
1472 | Cb.Size = Vector3.new(1,1,1) | |
1473 | Cb.Anchored = true | |
1474 | Cb.TopSurface = "Smooth" | |
1475 | Cb.BottomSurface = "Smooth" | |
1476 | Cb.Locked = true | |
1477 | Cb.BrickColor = BrickColor.new("Really black") | |
1478 | Cb.Transparency = 0.5 | |
1479 | Cb.Parent = Character | |
1480 | Cb.CFrame = Character.Head.CFrame + Vector3.new(0,2,0) | |
1481 | ||
1482 | for i=1,20 do | |
1483 | Suit.TorsoArmor.Cast:play() | |
1484 | Cb.Size = Cb.Size + Vector3.new(1,1,1) | |
1485 | Cb.CFrame = Cb.CFrame + Vector3.new(0,0.5,0) | |
1486 | wait(0.05) | |
1487 | end | |
1488 | ||
1489 | Cb1 = Instance.new("Part") | |
1490 | Cb1.Name = "ChargeBall" | |
1491 | Cb1.formFactor = "Symmetric" | |
1492 | Cb1.Shape = "Ball" | |
1493 | Cb1.Size = Vector3.new(1,1,1) | |
1494 | Cb1.Anchored = true | |
1495 | Cb1.TopSurface = "Smooth" | |
1496 | Cb1.BottomSurface = "Smooth" | |
1497 | Cb1.Locked = true | |
1498 | Cb1.BrickColor = BrickColor.new("Really black") | |
1499 | Cb1.Transparency = 0.5 | |
1500 | Cb1.Parent = Character | |
1501 | Cb1.CFrame = Cb.CFrame | |
1502 | ||
1503 | Cb:Remove() | |
1504 | ||
1505 | Cb = Cb1 | |
1506 | ||
1507 | Instance.new("ForceField").Parent = Character | |
1508 | ||
1509 | Cb.Size = Vector3.new(1,1,1) | |
1510 | ||
1511 | Range = 0 | |
1512 | ||
1513 | Suit.TorsoArmor.Anchored = false | |
1514 | Character.Humanoid.WalkSpeed = OldWs | |
1515 | ||
1516 | ||
1517 | for i=1,5 do | |
1518 | wait() | |
1519 | Suit.TorsoArmor.Ex:play() | |
1520 | ex1 = Instance.new("Explosion") | |
1521 | ex1.BlastPressure = 2500 | |
1522 | ex1.BlastRadius = 25 | |
1523 | ex1.Position = Cb.Position + Cb.CFrame.lookVector * Range | |
1524 | ex1.Parent = game.Workspace | |
1525 | Range = Range + 50 | |
1526 | wait(0.1) | |
1527 | end | |
1528 | ||
1529 | Character.ForceField:Remove() | |
1530 | ||
1531 | ||
1532 | ||
1533 | for i=1,5 do | |
1534 | wait() | |
1535 | Suit.TorsoArmor.Ex:play() | |
1536 | ex1 = Instance.new("Explosion") | |
1537 | ex1.BlastPressure = 5000 | |
1538 | ex1.BlastRadius = 100 | |
1539 | ex1.Position = Cb.Position + Cb.CFrame.lookVector * 250 | |
1540 | wait() | |
1541 | --ex1.Position = ex1.Position + Vector3.new(-100,100,-100,100,-100,100) | |
1542 | ex1.Parent = game.Workspace | |
1543 | wait(0.1) | |
1544 | end | |
1545 | ||
1546 | Cb:Remove() | |
1547 | ||
1548 | wait(0.5) | |
1549 | ||
1550 | ||
1551 | ModeDebounce = false | |
1552 | ||
1553 | ||
1554 | ||
1555 | elseif (key=="m") and (ModeDebounce == false) then -- Spiral BaleFiraz :D | |
1556 | ModeDebounce = true | |
1557 | Instance.new("ForceField").Parent = Character | |
1558 | Instance.new("BodyAngularVelocity").Parent = Torso | |
1559 | Torso.BodyAngularVelocity.Name = "Bav" | |
1560 | Torso.Bav.maxTorque = Vector3.new(0,math.huge,0) | |
1561 | Torso.Bav.angularvelocity = Vector3.new(0,100,0) | |
1562 | ||
1563 | Range = 10 | |
1564 | ||
1565 | for i=1,10 do | |
1566 | wait() | |
1567 | Suit.TorsoArmor.Ex:play() | |
1568 | ex1 = Instance.new("Explosion") | |
1569 | ex1.BlastPressure = 5000 | |
1570 | ex1.BlastRadius = 10 | |
1571 | ex1.Position = Torso.Position + Torso.CFrame.lookVector * Range | |
1572 | ex1.Parent = game.Workspace | |
1573 | ||
1574 | ex2 = Instance.new("Explosion") | |
1575 | ex2.BlastPressure = 5000 | |
1576 | ex2.BlastRadius = 10 | |
1577 | ex2.Position = Torso.Position + Torso.CFrame.lookVector * -Range | |
1578 | ex2.Parent = game.Workspace | |
1579 | ||
1580 | Range = Range + 10 | |
1581 | wait(0.1) | |
1582 | end | |
1583 | ||
1584 | Character.ForceField:Remove() | |
1585 | Torso.Bav:Remove() | |
1586 | ||
1587 | wait(0.5) | |
1588 | ||
1589 | ModeDebounce = false | |
1590 | ||
1591 | ||
1592 | else | |
1593 | end | |
1594 | ||
1595 | ||
1596 | end) | |
1597 | end) | |
1598 | -- End Keys | |
1599 | ||
1600 | print("End") | |
1601 | ||
1602 | ||
1603 | Bin.Selected:connect(Select) | |
1604 | Bin.Deselected:connect(Deselect) | |
1605 | ||
1606 | print("Scripting Rocks!") | |
1607 | ||
1608 | Character.Humanoid.MaxHealth = 999999999 | |
1609 | Character.Humanoid.Health = 999999999 | |
1610 | ||
1611 | while true do | |
1612 | wait() | |
1613 | dsbp.position = Torso.Position | |
1614 | if (Flight == true) then | |
1615 | Bs.Sparkles.Enabled = true | |
1616 | w11.Motor.DesiredAngle = -0.5 | |
1617 | w21.Motor.DesiredAngle = 0.5 | |
1618 | wait(0.15) | |
1619 | w11.Motor.DesiredAngle = 0.5 | |
1620 | w21.Motor.DesiredAngle = -0.5 | |
1621 | wait(0.15) | |
1622 | elseif (Flight == false) then | |
1623 | Bs.Sparkles.Enabled = false | |
1624 | w11.Motor.DesiredAngle = 0 | |
1625 | w21.Motor.DesiredAngle = 0 | |
1626 | wait() | |
1627 | else | |
1628 | end | |
1629 | end | |
1630 | ||
1631 | print("11 8D") -- this line fails but doesnt 8D |