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