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