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