SHOW:
|
|
- or go back to the newest paste.
1 | - | local Name="yfc" |
1 | + | local Name="Webooz" |
2 | local char=workspace[Name] | |
3 | color2=BrickColor:Black() | |
4 | color=BrickColor:White() | |
5 | ||
6 | pcall(function() workspace[Name].Suit:remove() end) | |
7 | pcall(function() char.Eye:remove() end) | |
8 | pcall(function() game.Players[Name].PlayerGui:children()[1]:remove() end) | |
9 | player = game.Players[Name] | |
10 | player.Character.Humanoid.WalkSpeed = 30 | |
11 | model = Instance.new("Model") | |
12 | model.Parent = char | |
13 | model.Name = "Suit" | |
14 | Eye=Instance.new("Model") | |
15 | Eye.Name="Eye" | |
16 | Eye.Parent=char | |
17 | char.Humanoid.MaxHealth = math.huge | |
18 | wait(0.5) | |
19 | char.Humanoid.Health = char.Humanoid.MaxHealth | |
20 | ||
21 | for _,v in pairs(char:children()) do | |
22 | if v:IsA("Hat") then | |
23 | v:remove() | |
24 | end | |
25 | end | |
26 | ||
27 | Tor=Instance.new("Part") | |
28 | Tor.Size=char.Torso.Size | |
29 | Tor.BrickColor=color | |
30 | Tor.Reflectance=0 | |
31 | Tor.Transparency=0 | |
32 | Tor.CanCollide=false | |
33 | Tor.Parent=model | |
34 | Mesh=Instance.new("BlockMesh") | |
35 | Mesh.Parent=Tor | |
36 | Mesh.Scale=Vector3.new(1.01,0.9,1.01) | |
37 | w = Instance.new("Weld") | |
38 | w.Parent = char.Torso | |
39 | w.Part0 = w.Parent | |
40 | w.Part1 = Tor | |
41 | w.C0 = CFrame.new(0,0,0) | |
42 | ||
43 | Sm=Instance.new("Smoke") | |
44 | Sm.Size=2 | |
45 | Sm.RiseVelocity=0 | |
46 | Sm.Color=color2.Color | |
47 | --Sm.Parent=Tor | |
48 | ||
49 | for _,v in pairs(char:children()) do | |
50 | if string.sub(v.Name,1,4)=="Left" or string.sub(v.Name,1,4)=='Righ' then | |
51 | Tor=Instance.new("Part") | |
52 | Tor.Size=v.Size | |
53 | Tor.BrickColor=color | |
54 | Tor.Reflectance=0 | |
55 | Tor.Transparency=0 | |
56 | Tor.CanCollide=false | |
57 | Tor.Parent=model | |
58 | Mesh=Instance.new("BlockMesh") | |
59 | Mesh.Parent=Tor | |
60 | Mesh.Scale=Vector3.new(1.01,0.9,1.01) | |
61 | w = Instance.new("Weld") | |
62 | w.Parent = v | |
63 | w.Part0 = w.Parent | |
64 | w.Part1 = Tor | |
65 | w.C0 = CFrame.new(0,0,0) | |
66 | end | |
67 | end | |
68 | ||
69 | char.Head.BrickColor=color | |
70 | pcall(function() char.Head.face:remove() end) | |
71 | ||
72 | ----Eye---- | |
73 | Tor=Instance.new("Part") | |
74 | Tor.Size=Vector3.new(1,1,1) | |
75 | Tor.Shape="Ball" | |
76 | Tor.BrickColor=color | |
77 | Tor.Reflectance=0 | |
78 | Tor.Transparency=0 | |
79 | Tor.Locked=true | |
80 | Tor.CanCollide=true | |
81 | Tor.Parent=Eye | |
82 | Tor.TopSurface="Smooth" | |
83 | Tor.BottomSurface="Smooth" | |
84 | Mesh=Instance.new("SpecialMesh") | |
85 | Mesh.MeshType="Sphere" | |
86 | Mesh.Parent=Tor | |
87 | Mesh.Scale=Vector3.new(1.65,1.65,1.65) | |
88 | w = Instance.new("Weld") | |
89 | w.Parent = char.Head | |
90 | w.Part0 = w.Parent | |
91 | w.Part1 = Tor | |
92 | w.C0 = CFrame.new(0,0,0) | |
93 | ||
94 | Tor=Instance.new("Part") | |
95 | Tor.Size=Vector3.new(1,1,1) | |
96 | Tor.BrickColor=color2 | |
97 | Tor.Reflectance=0 | |
98 | Tor.Transparency=0 | |
99 | Tor.CanCollide=false | |
100 | Tor.Parent=Eye | |
101 | Mesh=Instance.new("SpecialMesh") | |
102 | Mesh.MeshType="Sphere" | |
103 | Mesh.Parent=Tor | |
104 | Mesh.Scale=Vector3.new(.27,0.27,0.27) | |
105 | w = Instance.new("Weld") | |
106 | w.Parent = char.Head | |
107 | w.Part0 = w.Parent | |
108 | w.Part1 = Tor | |
109 | w.C0 = CFrame.new(0,0,-0.75) | |
110 | ||
111 | Tor=Instance.new("Part") | |
112 | Tor.Size=Vector3.new(1,1,1) | |
113 | Tor.BrickColor=color2 | |
114 | Tor.Reflectance=0 | |
115 | Tor.Transparency=0.2 | |
116 | Tor.CanCollide=false | |
117 | Tor.Parent=Eye | |
118 | Mesh=Instance.new("BlockMesh") | |
119 | Mesh.Parent=Tor | |
120 | Mesh.Scale=Vector3.new(.3,0.35,0.01) | |
121 | w = Instance.new("Weld") | |
122 | w.Parent = char.Head | |
123 | w.Part0 = w.Parent | |
124 | w.Part1 = Tor | |
125 | w.C0 = CFrame.new(0,0,-0.78) | |
126 | ||
127 | Tor=Instance.new("Part") | |
128 | Tor.Size=Vector3.new(1,1,1) | |
129 | Tor.BrickColor=color2 | |
130 | Tor.Reflectance=0 | |
131 | Tor.Transparency=0.2 | |
132 | Tor.CanCollide=false | |
133 | Tor.Parent=Eye | |
134 | Mesh=Instance.new("BlockMesh") | |
135 | Mesh.Parent=Tor | |
136 | Mesh.Scale=Vector3.new(.3,0.35,0.01) | |
137 | w = Instance.new("Weld") | |
138 | w.Parent = char.Head | |
139 | w.Part0 = w.Parent | |
140 | w.Part1 = Tor | |
141 | w.C0 = CFrame.new(0,0,-0.78)*CFrame.Angles(0,0,math.rad(90)) | |
142 | ----/Eye---- | |
143 | ||
144 | ----Design 1---- | |
145 | Tor=Instance.new("Part") | |
146 | Tor.Size=Vector3.new(1,1,1) | |
147 | Tor.BrickColor=color2 | |
148 | Tor.Reflectance=0 | |
149 | Tor.Transparency=0 | |
150 | Tor.CanCollide=false | |
151 | Tor.Parent=model | |
152 | Mesh=Instance.new("BlockMesh") | |
153 | Mesh.Parent=Tor | |
154 | Mesh.Scale=Vector3.new(.4,0.4,0.01) | |
155 | w = Instance.new("Weld") | |
156 | w.Parent = char.Torso | |
157 | w.Part0 = w.Parent | |
158 | w.Part1 = Tor | |
159 | w.C0 = CFrame.new(0,0,-0.51) | |
160 | ||
161 | Tor=Instance.new("Part") | |
162 | Tor.Size=Vector3.new(1,1,1) | |
163 | Tor.BrickColor=color2 | |
164 | Tor.Reflectance=0 | |
165 | Tor.Transparency=0 | |
166 | Tor.CanCollide=false | |
167 | Tor.Parent=model | |
168 | Mesh=Instance.new("CylinderMesh") | |
169 | Mesh.Parent=Tor | |
170 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
171 | w = Instance.new("Weld") | |
172 | w.Parent = char.Torso | |
173 | w.Part0 = w.Parent | |
174 | w.Part1 = Tor | |
175 | w.C0 = CFrame.new(0,0,-0.49)*CFrame.Angles(0,0,math.rad(90)) | |
176 | ||
177 | Tor=Instance.new("Part") | |
178 | Tor.Size=Vector3.new(1,1,1) | |
179 | Tor.BrickColor=color2 | |
180 | Tor.Reflectance=0 | |
181 | Tor.Transparency=0 | |
182 | Tor.CanCollide=false | |
183 | Tor.Parent=model | |
184 | Mesh=Instance.new("CylinderMesh") | |
185 | Mesh.Parent=Tor | |
186 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
187 | w = Instance.new("Weld") | |
188 | w.Parent = char.Torso | |
189 | w.Part0 = w.Parent | |
190 | w.Part1 = Tor | |
191 | w.C0 = CFrame.new(0,0,-0.49) | |
192 | ||
193 | Tor=Instance.new("Part") | |
194 | Tor.Size=Vector3.new(1,1,1) | |
195 | Tor.BrickColor=color | |
196 | Tor.Reflectance=0 | |
197 | Tor.Transparency=0 | |
198 | Tor.CanCollide=false | |
199 | Tor.Parent=model | |
200 | Mesh=Instance.new("SpecialMesh") | |
201 | Mesh.MeshType="Sphere" | |
202 | Mesh.Parent=Tor | |
203 | Mesh.Scale=Vector3.new(.25,.25,.25) | |
204 | w = Instance.new("Weld") | |
205 | w.Parent = char.Torso | |
206 | w.Part0 = w.Parent | |
207 | w.Part1 = Tor | |
208 | w.C0 = CFrame.new(0,0,-0.49) | |
209 | ||
210 | ||
211 | Tor=Instance.new("Part") | |
212 | Tor.Size=Vector3.new(1,1,1) | |
213 | Tor.BrickColor=color2 | |
214 | Tor.Reflectance=0 | |
215 | Tor.Transparency=0 | |
216 | Tor.CanCollide=false | |
217 | Tor.Parent=model | |
218 | Mesh=Instance.new("CylinderMesh") | |
219 | Mesh.Parent=Tor | |
220 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
221 | w = Instance.new("Weld") | |
222 | w.Parent = char.Torso | |
223 | w.Part0 = w.Parent | |
224 | w.Part1 = Tor | |
225 | w.C0 = CFrame.new(0.27,0,-0.49) | |
226 | ||
227 | Tor=Instance.new("Part") | |
228 | Tor.Size=Vector3.new(1,1,1) | |
229 | Tor.BrickColor=color2 | |
230 | Tor.Reflectance=0 | |
231 | Tor.Transparency=0 | |
232 | Tor.CanCollide=false | |
233 | Tor.Parent=model | |
234 | Mesh=Instance.new("CylinderMesh") | |
235 | Mesh.Parent=Tor | |
236 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
237 | w = Instance.new("Weld") | |
238 | w.Parent = char.Torso | |
239 | w.Part0 = w.Parent | |
240 | w.Part1 = Tor | |
241 | w.C0 = CFrame.new(-0.27,0,-0.49) | |
242 | ||
243 | Tor=Instance.new("Part") | |
244 | Tor.Size=Vector3.new(1,1,1) | |
245 | Tor.BrickColor=color2 | |
246 | Tor.Reflectance=0 | |
247 | Tor.Transparency=0 | |
248 | Tor.CanCollide=false | |
249 | Tor.Parent=model | |
250 | Mesh=Instance.new("CylinderMesh") | |
251 | Mesh.Parent=Tor | |
252 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
253 | w = Instance.new("Weld") | |
254 | w.Parent = char.Torso | |
255 | w.Part0 = w.Parent | |
256 | w.Part1 = Tor | |
257 | w.C0 = CFrame.new(0,0.295,-0.49)*CFrame.Angles(0,0,math.rad(90)) | |
258 | ||
259 | Tor=Instance.new("Part") | |
260 | Tor.Size=Vector3.new(1,1,1) | |
261 | Tor.BrickColor=color2 | |
262 | Tor.Reflectance=0 | |
263 | Tor.Transparency=0 | |
264 | Tor.CanCollide=false | |
265 | Tor.Parent=model | |
266 | Mesh=Instance.new("CylinderMesh") | |
267 | Mesh.Parent=Tor | |
268 | Mesh.Scale=Vector3.new(.5,0.5,0.049) | |
269 | w = Instance.new("Weld") | |
270 | w.Parent = char.Torso | |
271 | w.Part0 = w.Parent | |
272 | w.Part1 = Tor | |
273 | w.C0 = CFrame.new(0,-0.295,-0.49)*CFrame.Angles(0,0,math.rad(90)) | |
274 | ----/Design 1---- | |
275 | ||
276 | ----Design 2---- | |
277 | Tor=Instance.new("Part") | |
278 | Tor.Size=Vector3.new(1,1,1) | |
279 | Tor.BrickColor=color2 | |
280 | Tor.Reflectance=0 | |
281 | Tor.Transparency=0 | |
282 | Tor.CanCollide=false | |
283 | Tor.Parent=model | |
284 | Mesh=Instance.new("BlockMesh") | |
285 | Mesh.Parent=Tor | |
286 | Mesh.Scale=Vector3.new(.72,.05,1.1) | |
287 | w = Instance.new("Weld") | |
288 | w.Parent = char["Left Arm"] | |
289 | w.Part0 = w.Parent | |
290 | w.Part1 = Tor | |
291 | w.C0 = CFrame.new(-0.17,-0.275,0) | |
292 | ||
293 | Tor=Instance.new("Part") | |
294 | Tor.Size=Vector3.new(1,1,1) | |
295 | Tor.BrickColor=color2 | |
296 | Tor.Reflectance=0 | |
297 | Tor.Transparency=0 | |
298 | Tor.CanCollide=false | |
299 | Tor.Parent=model | |
300 | Mesh=Instance.new("BlockMesh") | |
301 | Mesh.Parent=Tor | |
302 | Mesh.Scale=Vector3.new(.72,.05,1.1) | |
303 | w = Instance.new("Weld") | |
304 | w.Parent = char["Right Arm"] | |
305 | w.Part0 = w.Parent | |
306 | w.Part1 = Tor | |
307 | w.C0 = CFrame.new(0.17,-0.275,0) | |
308 | ||
309 | ||
310 | ||
311 | Tor=Instance.new("Part") | |
312 | Tor.Size=Vector3.new(1,1,1) | |
313 | Tor.BrickColor=color2 | |
314 | Tor.Reflectance=0 | |
315 | Tor.Transparency=0 | |
316 | Tor.CanCollide=false | |
317 | Tor.Parent=model | |
318 | Mesh=Instance.new("BlockMesh") | |
319 | Mesh.Parent=Tor | |
320 | Mesh.Scale=Vector3.new(.72,.05,1.1) | |
321 | w = Instance.new("Weld") | |
322 | w.Parent = char["Left Arm"] | |
323 | w.Part0 = w.Parent | |
324 | w.Part1 = Tor | |
325 | w.C0 = CFrame.new(-0.17,0.3,0) | |
326 | ||
327 | Tor=Instance.new("Part") | |
328 | Tor.Size=Vector3.new(1,1,1) | |
329 | Tor.BrickColor=color2 | |
330 | Tor.Reflectance=0 | |
331 | Tor.Transparency=0 | |
332 | Tor.CanCollide=false | |
333 | Tor.Parent=model | |
334 | Mesh=Instance.new("BlockMesh") | |
335 | Mesh.Parent=Tor | |
336 | Mesh.Scale=Vector3.new(.72,.05,1.1) | |
337 | w = Instance.new("Weld") | |
338 | w.Parent = char["Right Arm"] | |
339 | w.Part0 = w.Parent | |
340 | w.Part1 = Tor | |
341 | w.C0 = CFrame.new(0.17,0.3,0) | |
342 | ----/Design2---- | |
343 | ||
344 | ----Design 3---- | |
345 | Tor=Instance.new("Part") | |
346 | Tor.Size=Vector3.new(1,1,1) | |
347 | Tor.BrickColor=color2 | |
348 | Tor.Reflectance=0 | |
349 | Tor.Transparency=0 | |
350 | Tor.CanCollide=false | |
351 | Tor.Parent=model | |
352 | Mesh=Instance.new("BlockMesh") | |
353 | Mesh.Parent=Tor | |
354 | Mesh.Scale=Vector3.new(.72,.05,1.1) | |
355 | w = Instance.new("Weld") | |
356 | w.Parent = char["Left Leg"] | |
357 | w.Part0 = w.Parent | |
358 | w.Part1 = Tor | |
359 | w.C0 = CFrame.new(-0.17,-0.275,0) | |
360 | ||
361 | Tor=Instance.new("Part") | |
362 | Tor.Size=Vector3.new(1,1,1) | |
363 | Tor.BrickColor=color2 | |
364 | Tor.Reflectance=0 | |
365 | Tor.Transparency=0 | |
366 | Tor.CanCollide=false | |
367 | Tor.Parent=model | |
368 | Mesh=Instance.new("BlockMesh") | |
369 | Mesh.Parent=Tor | |
370 | Mesh.Scale=Vector3.new(.72,.05,1.1) | |
371 | w = Instance.new("Weld") | |
372 | w.Parent = char["Right Leg"] | |
373 | w.Part0 = w.Parent | |
374 | w.Part1 = Tor | |
375 | w.C0 = CFrame.new(0.17,-0.275,0) | |
376 | ||
377 | ||
378 | ||
379 | Tor=Instance.new("Part") | |
380 | Tor.Size=Vector3.new(1,1,1) | |
381 | Tor.BrickColor=color2 | |
382 | Tor.Reflectance=0 | |
383 | Tor.Transparency=0 | |
384 | Tor.CanCollide=false | |
385 | Tor.Parent=model | |
386 | Mesh=Instance.new("BlockMesh") | |
387 | Mesh.Parent=Tor | |
388 | Mesh.Scale=Vector3.new(.72,.05,1.1) | |
389 | w = Instance.new("Weld") | |
390 | w.Parent = char["Left Leg"] | |
391 | w.Part0 = w.Parent | |
392 | w.Part1 = Tor | |
393 | w.C0 = CFrame.new(-0.17,0.3,0) | |
394 | ||
395 | Tor=Instance.new("Part") | |
396 | Tor.Size=Vector3.new(1,1,1) | |
397 | Tor.BrickColor=color2 | |
398 | Tor.Reflectance=0 | |
399 | Tor.Transparency=0 | |
400 | Tor.CanCollide=false | |
401 | Tor.Parent=model | |
402 | Mesh=Instance.new("BlockMesh") | |
403 | Mesh.Parent=Tor | |
404 | Mesh.Scale=Vector3.new(.72,.05,1.1) | |
405 | w = Instance.new("Weld") | |
406 | w.Parent = char["Right Leg"] | |
407 | w.Part0 = w.Parent | |
408 | w.Part1 = Tor | |
409 | w.C0 = CFrame.new(0.17,0.3,0) | |
410 | ----Design3---- | |
411 | ||
412 | ----Eye Tool---- | |
413 | function tras(...) | |
414 | for _,v in pairs(...) do | |
415 | pcall(function() v.Transparency=1 v.CanCollide=false end) | |
416 | end | |
417 | end | |
418 | ||
419 | function nontras(...) | |
420 | for _,v in pairs(...) do | |
421 | pcall(function() v.Transparency=0 v.CanCollide=true end) | |
422 | end | |
423 | end | |
424 | ||
425 | if script.Parent.className~="HopperBin" then | |
426 | Hopper=Instance.new("HopperBin") | |
427 | Hopper.Name="Fly" | |
428 | Hopper.Parent=player.Backpack | |
429 | ||
430 | LA=Instance.new("HopperBin") | |
431 | LA.Name="Laser" | |
432 | LA.Parent=game.Players[Name].Backpack | |
433 | script.Parent=Hopper | |
434 | ||
435 | Sw=Instance.new("Tool") | |
436 | Sw.Name="Sword" | |
437 | Sw.Parent=game.Players[Name].Backpack | |
438 | end | |
439 | Hopper=script.Parent | |
440 | LA=player.Backpack.Laser | |
441 | Sw=player.Backpack.Sword | |
442 | Up=1 | |
443 | ||
444 | function Button1own(mouse) | |
445 | BodyP.Parent=nil | |
446 | local eye=Eye:children()[1] | |
447 | BodyV=Instance.new("BodyVelocity") | |
448 | BodyV.Name="BodyV" | |
449 | BodyV.Parent=char.Head | |
450 | BodyV.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
451 | BodyGyro=Instance.new("BodyGyro") | |
452 | BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
453 | BodyGyro.Parent=char.Head | |
454 | Up=0 | |
455 | local spd = 35 | |
456 | repeat | |
457 | wait(0.2) | |
458 | BodyGyro.cframe=CFrame.new(char.Head.Position,mouse.Hit.p) | |
459 | BodyV.velocity=mouse.Hit.lookVector*spd | |
460 | until Up==1 | |
461 | pcall(function() char.Head.BodyV:remove() end) | |
462 | pcall(function() char.Head.BodyGyro:remove() end) | |
463 | pcall(function() char.Head.BodyV:remove() end) | |
464 | pcall(function() char.Head.BodyGyro:remove() end) | |
465 | char.Head.Velocity=Vector3.new(0,0,0) | |
466 | BodyP.position=char.Head.Position | |
467 | BodyP.Parent=char.Head | |
468 | end | |
469 | ||
470 | function Button1up(mouse) | |
471 | Up=1 | |
472 | end | |
473 | ||
474 | function Key(key) | |
475 | if key=="g" then | |
476 | local ex = Instance.new("Explosion") | |
477 | ex.Position = char.Head.Position | |
478 | ex.Hit:connect(function(hit) | |
479 | if hit.Parent.Name~=Name and hit.Parent.Name~="Suit" and hit.Parent.Name~="Eye" and hit.Name~="Base" then | |
480 | hit.Anchored=false | |
481 | hit:BreakJoints() | |
482 | hit.Velocity=(hit.Position-ex.Position).unit*-250 | |
483 | end | |
484 | end) | |
485 | ex.BlastRadius = 8 | |
486 | ex.BlastPressure = 0 | |
487 | ex.Parent = game.Workspace | |
488 | end | |
489 | end | |
490 | ||
491 | Hopper.Selected:connect(function(mouse) | |
492 | tras(model:children()) | |
493 | tras(char:children()) | |
494 | BodyP=Instance.new('BodyPosition') | |
495 | BodyP.Name="DroidForce" | |
496 | BodyP.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
497 | BodyP.position=char.Head.Position | |
498 | BodyP.Parent=char.Head | |
499 | mouse.Button1Down:connect(function() Button1own(mouse) end) | |
500 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
501 | mouse.KeyDown:connect(function(key) Key(key) end) | |
502 | mouse.Button1Up:connect(function() Button1up(mouse) end) | |
503 | end) | |
504 | ||
505 | Hopper.Deselected:connect(function() | |
506 | nontras(model:children()) | |
507 | nontras(char:children()) | |
508 | pcall(function() char.Head.BodyV:remove() end) | |
509 | pcall(function() char.Head.BodyGyro:remove() end) | |
510 | pcall(function() char.Head.DroidForce:remove() end) | |
511 | end) | |
512 | ----/Flying---- | |
513 | ----Laser---- | |
514 | de=1 | |
515 | eye=Eye:children()[1] | |
516 | ||
517 | function BLAG(mouse) | |
518 | if de==1 then | |
519 | de=2 | |
520 | BodyGyro=Instance.new("BodyGyro") | |
521 | BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
522 | BodyGyro.Parent=eye | |
523 | local Laz=Instance.new("Part") | |
524 | Laz.Anchored=true | |
525 | Laz.BrickColor=BrickColor:Red() | |
526 | Laz.Reflectance=0 | |
527 | Laz.TopSurface="Smooth" | |
528 | Laz.BottomSurface="Smooth" | |
529 | Laz.CanCollide=false | |
530 | Laz.CFrame=CFrame.new((eye.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
531 | Laz.Parent=eye | |
532 | Laz.Size=Vector3.new(1,1,2) | |
533 | Laz.Transparency=0 | |
534 | local Me=Instance.new("BlockMesh") | |
535 | Me.Parent=Laz | |
536 | for i=1,15 do | |
537 | Me.Scale = Vector3.new(i/65,i/65,(eye.Position - mouse.Hit.p).magnitude/2) | |
538 | Laz.CFrame=CFrame.new((eye.Position+mouse.Hit.p)/2,mouse.Hit.p) | |
539 | BodyGyro.cframe=CFrame.new(eye.Position,mouse.Hit.p) | |
540 | wait() | |
541 | end | |
542 | ex=Instance.new("Explosion") | |
543 | ex.Position=mouse.Hit.p | |
544 | ex.BlastPressure=200000 | |
545 | ex.BlastRadius=5 | |
546 | ex.Parent=char | |
547 | wait() | |
548 | for i=1,3 do | |
549 | wait(0.15) | |
550 | Laz.Transparency=Laz.Transparency+0.3 | |
551 | end | |
552 | Laz:remove() | |
553 | BodyGyro:remove() | |
554 | wait(0.2) | |
555 | de=1 | |
556 | end | |
557 | end | |
558 | ||
559 | function BOOM(mouse) | |
560 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
561 | mouse.Button1Down:connect(function() BLAG(mouse) end) | |
562 | end | |
563 | ||
564 | LA.Selected:connect(BOOM) | |
565 | ----/Laser---- | |
566 | ||
567 | ----Swords On Back---- | |
568 | Tor=Instance.new("Part") | |
569 | Tor.Size=Vector3.new(1,3,1) | |
570 | Tor.BrickColor=color2 | |
571 | Tor.Reflectance=0 | |
572 | Tor.Transparency=0 | |
573 | Tor.CanCollide=false | |
574 | Tor.Parent=model | |
575 | Tor.Name="Sword" | |
576 | Mesh=Instance.new("SpecialMesh") | |
577 | Mesh.MeshType="FileMesh" | |
578 | Mesh.MeshId="http://www.roblox.com/asset/?id=20719463" | |
579 | Mesh.Parent=Tor | |
580 | Mesh.Scale=Vector3.new(1,.9,1) | |
581 | w = Instance.new("Weld") | |
582 | w.Parent = char["Torso"] | |
583 | w.Part0 = w.Parent | |
584 | w.Part1 = Tor | |
585 | w.C0 = CFrame.new(0,0,.6)*CFrame.Angles(3.14*1.5,1.6*1.5,3.14) | |
586 | ----/Sword On Back---- | |
587 | ||
588 | ----Sword---- | |
589 | Tor=Instance.new("Part") | |
590 | Tor.Size=Vector3.new(1,1,4) | |
591 | Tor.BrickColor=color2 | |
592 | Tor.Reflectance=0 | |
593 | Tor.Transparency=0 | |
594 | Tor.CanCollide=True | |
595 | Tor.Parent=Sw | |
596 | Tor.Name="Handle" | |
597 | Mesh=Instance.new("SpecialMesh") | |
598 | Mesh.MeshType="FileMesh" | |
599 | Mesh.MeshId="http://www.roblox.com/asset/?id=20719463" | |
600 | Mesh.Parent=Tor | |
601 | Mesh.Scale=Vector3.new(1,.9,1) | |
602 | ----------------- | |
603 | Sword=Sw | |
604 | Sword.GripForward=Vector3.new(-1, -0, -0) | |
605 | Sword.GripPos=Vector3.new(0, 0, -1.75) | |
606 | Sword.GripRight=Vector3.new(0,1,0) | |
607 | Sword.GripUp=Vector3.new(0,0,1) | |
608 | grip=Sword.GripUp | |
609 | De=1 | |
610 | ||
611 | function Hit(h) | |
612 | if h.Parent~=nil and h.Parent.Name~=Name then | |
613 | pcall(function() h.Parent.Humanoid:TakeDamage(2000) end) | |
614 | end | |
615 | end | |
616 | ||
617 | function swordOut() | |
618 | if De==1 then | |
619 | De=0 | |
620 | for i=1,9 do | |
621 | Sword.GripUp=Sword.GripUp+Vector3.new((8/36),0,0) | |
622 | wait() | |
623 | end | |
624 | wait(0.25) | |
625 | for i=1,8 do | |
626 | Sword.GripUp=Sword.GripUp+Vector3.new((-8/36),0,0) | |
627 | wait() | |
628 | end | |
629 | Sword.GripUp=grip | |
630 | wait() | |
631 | De=1 | |
632 | end | |
633 | end | |
634 | ||
635 | Tor.Touched:connect(Hit) | |
636 | Sword.Equipped:connect(function() pcall(function() model.Sword.Transparency=1 end) end) | |
637 | Sword.Unequipped:connect(function() pcall(function() model.Sword.Transparency=0 end) end) | |
638 | Sword.Activated:connect(swordOut) | |
639 | ----/Sword---- | |
640 | ||
641 | for _,v in pairs(model:children()) do | |
642 | pcall(function() v.Locked=true end) | |
643 | end | |
644 | for _,v in pairs(Eye:children()) do | |
645 | pcall(function() v.Locked=true end) | |
646 | end | |
647 | --[[By chc4. Copyright Chc4 inc., 2009-2010,All rights reserved. | |
648 | Any destribution of this supersuit will result in absolutly nothing, but will make me really mad.]] |