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