SHOW:
|
|
- or go back to the newest paste.
1 | -------------------------------------------Made by chc4----------------------------------------------------- | |
2 | - | Name="The_N0rm" |
2 | + | Name="timetodie23232223" |
3 | color=BrickColor.new("Bright orange") | |
4 | ---Magikarp is epik. Dont question it. | |
5 | pcall(function() workspace[Name].SuitTest:remove() end) | |
6 | --pcall(function() game.Players[Name].PlayerGui:children()[1]:remove() end) | |
7 | player = game.Players[Name] | |
8 | player.Character.Humanoid.WalkSpeed = 70 | |
9 | char = player.Character | |
10 | model = Instance.new("Model") | |
11 | model.Parent = char | |
12 | model.Name = "SuitTest" | |
13 | char.Humanoid.MaxHealth = math.huge | |
14 | wait(0.5) | |
15 | char.Humanoid.Health = char.Humanoid.MaxHealth | |
16 | for _,v in pairs(char:children()) do | |
17 | pcall(function() v.Transparency=1 end) | |
18 | end | |
19 | for _,v in pairs(char:children()) do | |
20 | if v:IsA("Hat") then | |
21 | v:remove() | |
22 | end | |
23 | end | |
24 | wait() | |
25 | De=1 | |
26 | w = Instance.new("Weld") | |
27 | w.Parent = char.Head | |
28 | w.Part0 = w.Parent | |
29 | w.Part1 = char.Head | |
30 | w.C0 = CFrame.new(0,0,0) | |
31 | char.Torso.Transparency=1 | |
32 | char.Head.Transparency=1 | |
33 | pcall(function() char.Head.face:remove() end) | |
34 | Tor=Instance.new("Part") | |
35 | Tor.Size=Vector3.new(3,3,3) | |
36 | Tor.Shape="Ball" | |
37 | Tor.BrickColor=color | |
38 | Tor.Reflectance=0.1 | |
39 | Tor.Transparency=0 | |
40 | Tor.Locked=true | |
41 | Tor.Name="Body" | |
42 | Tor.CanCollide=true | |
43 | Tor.Parent=model | |
44 | Tor.TopSurface="Smooth" | |
45 | Tor.BottomSurface="Smooth" | |
46 | Mesh=Instance.new("SpecialMesh") | |
47 | Mesh.MeshType="Sphere" | |
48 | Mesh.Parent=Tor | |
49 | Mesh.Scale=Vector3.new(0.5,0.8,1) | |
50 | w = Instance.new("Weld") | |
51 | w.Parent = char.Torso | |
52 | w.Part0 = w.Parent | |
53 | w.Part1 = Tor | |
54 | w.C0 = CFrame.new(0,0,0) | |
55 | Tor=Instance.new("Part") | |
56 | Tor.Size=Vector3.new(1,1,1) | |
57 | Tor.Shape="Ball" | |
58 | Tor.BrickColor=BrickColor:White() | |
59 | Tor.Reflectance=0 | |
60 | Tor.Transparency=0 | |
61 | Tor.Locked=true | |
62 | Tor.CanCollide=true | |
63 | Tor.Parent=model | |
64 | Tor.TopSurface="Smooth" | |
65 | Tor.BottomSurface="Smooth" | |
66 | Mesh=Instance.new("SpecialMesh") | |
67 | Mesh.MeshType="Sphere" | |
68 | Mesh.Parent=Tor | |
69 | Mesh.Scale=Vector3.new(0.5,0.5,.5) | |
70 | w = Instance.new("Weld") | |
71 | w.Parent = char.Torso | |
72 | w.Part0 = w.Parent | |
73 | w.Part1 = Tor | |
74 | w.C0 = CFrame.new(0.32,0.25,-0.9) | |
75 | Tor=Instance.new("Part") | |
76 | Tor.Size=Vector3.new(1,1,1) | |
77 | Tor.Shape="Ball" | |
78 | Tor.BrickColor=BrickColor:Black() | |
79 | Tor.Reflectance=0 | |
80 | Tor.Transparency=0 | |
81 | Tor.Locked=true | |
82 | Tor.CanCollide=true | |
83 | Tor.Parent=model | |
84 | Tor.TopSurface="Smooth" | |
85 | Tor.BottomSurface="Smooth" | |
86 | Mesh=Instance.new("SpecialMesh") | |
87 | Mesh.MeshType="Sphere" | |
88 | Mesh.Parent=Tor | |
89 | Mesh.Scale=Vector3.new(0.1,0.1,.1) | |
90 | w = Instance.new("Weld") | |
91 | w.Parent = char.Torso | |
92 | w.Part0 = w.Parent | |
93 | w.Part1 = Tor | |
94 | w.C0 = CFrame.new(0.54,0.275,-1) | |
95 | Tor=Instance.new("Part") | |
96 | Tor.Size=Vector3.new(1,1,1) | |
97 | Tor.Shape="Ball" | |
98 | Tor.BrickColor=BrickColor:White() | |
99 | Tor.Reflectance=0 | |
100 | Tor.Transparency=0 | |
101 | Tor.Locked=true | |
102 | Tor.CanCollide=true | |
103 | Tor.Parent=model | |
104 | Tor.TopSurface="Smooth" | |
105 | Tor.BottomSurface="Smooth" | |
106 | Mesh=Instance.new("SpecialMesh") | |
107 | Mesh.MeshType="Sphere" | |
108 | Mesh.Parent=Tor | |
109 | Mesh.Scale=Vector3.new(0.5,0.5,.5) | |
110 | w = Instance.new("Weld") | |
111 | w.Parent = char.Torso | |
112 | w.Part0 = w.Parent | |
113 | w.Part1 = Tor | |
114 | w.C0 = CFrame.new(-0.32,0.25,-0.9) | |
115 | Tor=Instance.new("Part") | |
116 | Tor.Size=Vector3.new(1,1,1) | |
117 | Tor.Shape="Ball" | |
118 | Tor.BrickColor=BrickColor:Black() | |
119 | Tor.Reflectance=0 | |
120 | Tor.Transparency=0 | |
121 | Tor.Locked=true | |
122 | Tor.CanCollide=true | |
123 | Tor.Parent=model | |
124 | Tor.TopSurface="Smooth" | |
125 | Tor.BottomSurface="Smooth" | |
126 | Mesh=Instance.new("SpecialMesh") | |
127 | Mesh.MeshType="Sphere" | |
128 | Mesh.Parent=Tor | |
129 | Mesh.Scale=Vector3.new(0.1,0.1,.1) | |
130 | w = Instance.new("Weld") | |
131 | w.Parent = char.Torso | |
132 | w.Part0 = w.Parent | |
133 | w.Part1 = Tor | |
134 | w.C0 = CFrame.new(-0.54,0.275,-1) | |
135 | Tor=Instance.new("Part") | |
136 | Tor.Size=Vector3.new(1,1,1) | |
137 | Tor.BrickColor=BrickColor:Yellow() | |
138 | Tor.Reflectance=0.1 | |
139 | Tor.Transparency=0 | |
140 | Tor.Locked=true | |
141 | Tor.CanCollide=true | |
142 | Tor.Parent=model | |
143 | Tor.TopSurface="Smooth" | |
144 | Tor.BottomSurface="Smooth" | |
145 | Mesh=Instance.new("SpecialMesh") | |
146 | Mesh.MeshType="Brick" | |
147 | Mesh.Parent=Tor | |
148 | Mesh.Scale=Vector3.new(0.1,.45,.5) | |
149 | w = Instance.new("Weld") | |
150 | w.Parent = char.Torso | |
151 | w.Part0 = w.Parent | |
152 | w.Part1 = Tor | |
153 | w.C0 = CFrame.new(-0.7,0.1,0)*CFrame.Angles(math.rad(45),math.rad(-25),math.rad(25)) | |
154 | Tor=Instance.new("Part") | |
155 | Tor.Size=Vector3.new(1,1,1) | |
156 | Tor.BrickColor=BrickColor:Yellow() | |
157 | Tor.Reflectance=0.1 | |
158 | Tor.Transparency=0 | |
159 | Tor.Locked=true | |
160 | Tor.CanCollide=true | |
161 | Tor.Parent=model | |
162 | Tor.TopSurface="Smooth" | |
163 | Tor.BottomSurface="Smooth" | |
164 | Mesh=Instance.new("SpecialMesh") | |
165 | Mesh.MeshType="Brick" | |
166 | Mesh.Parent=Tor | |
167 | Mesh.Scale=Vector3.new(0.1,.45,.5) | |
168 | w = Instance.new("Weld") | |
169 | w.Parent = char.Torso | |
170 | w.Part0 = w.Parent | |
171 | w.Part1 = Tor | |
172 | w.C0 = CFrame.new(0.7,0.1,0)*CFrame.Angles(math.rad(45),math.rad(25),math.rad(-25)) | |
173 | Tor=Instance.new("Part") | |
174 | Tor.Size=Vector3.new(1,1,1) | |
175 | Tor.BrickColor=BrickColor:Black() | |
176 | Tor.Reflectance=0 | |
177 | Tor.Shape="Ball" | |
178 | Tor.Transparency=0 | |
179 | Tor.Locked=true | |
180 | Tor.CanCollide=true | |
181 | Tor.Parent=model | |
182 | Tor.TopSurface="Smooth" | |
183 | Tor.BottomSurface="Smooth" | |
184 | Mesh=Instance.new("CylinderMesh") | |
185 | Mesh.Parent=Tor | |
186 | Mesh.Scale=Vector3.new(.5,.06,.5) | |
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,-1.27)*CFrame.Angles(0,math.rad(20),0) | |
192 | Tor=Instance.new("Part") | |
193 | Tor.Size=Vector3.new(1,1,1) | |
194 | Tor.BrickColor=BrickColor:Yellow() | |
195 | Tor.Reflectance=0 | |
196 | Tor.Transparency=0 | |
197 | Tor.Locked=true | |
198 | Tor.CanCollide=true | |
199 | Tor.Parent=model | |
200 | Tor.TopSurface="Smooth" | |
201 | Tor.BottomSurface="Smooth" | |
202 | Mesh=Instance.new("CylinderMesh") | |
203 | Mesh.Parent=Tor | |
204 | Mesh.Scale=Vector3.new(.3,1.2,.3) | |
205 | w = Instance.new("Weld") | |
206 | w.Parent = char.Torso | |
207 | w.Part0 = w.Parent | |
208 | w.Part1 = Tor | |
209 | w.C0 = CFrame.new(0,1.3,0) | |
210 | Tor=Instance.new("Part") | |
211 | Tor.Size=Vector3.new(1,1,1) | |
212 | Tor.BrickColor=BrickColor:Yellow() | |
213 | Tor.Reflectance=0 | |
214 | Tor.Transparency=0 | |
215 | Tor.Locked=true | |
216 | Tor.CanCollide=true | |
217 | Tor.Parent=model | |
218 | Tor.TopSurface="Smooth" | |
219 | Tor.BottomSurface="Smooth" | |
220 | Mesh=Instance.new("CylinderMesh") | |
221 | Mesh.Parent=Tor | |
222 | Mesh.Scale=Vector3.new(.27,1.2,.27) | |
223 | w = Instance.new("Weld") | |
224 | w.Parent = char.Torso | |
225 | w.Part0 = w.Parent | |
226 | w.Part1 = Tor | |
227 | w.C0 = CFrame.new(0,1,0.15)*CFrame.Angles(math.rad(20),0,0) | |
228 | Tor=Instance.new("Part") | |
229 | Tor.Size=Vector3.new(1,1,1) | |
230 | Tor.BrickColor=BrickColor:Yellow() | |
231 | Tor.Reflectance=0 | |
232 | Tor.Transparency=0 | |
233 | Tor.Locked=true | |
234 | Tor.CanCollide=true | |
235 | Tor.Parent=model | |
236 | Tor.TopSurface="Smooth" | |
237 | Tor.BottomSurface="Smooth" | |
238 | Mesh=Instance.new("CylinderMesh") | |
239 | Mesh.Parent=Tor | |
240 | Mesh.Scale=Vector3.new(.27,1.2,.27) | |
241 | w = Instance.new("Weld") | |
242 | w.Parent = char.Torso | |
243 | w.Part0 = w.Parent | |
244 | w.Part1 = Tor | |
245 | w.C0 = CFrame.new(0,1,-0.15)*CFrame.Angles(math.rad(-20),0,0) | |
246 | Tor=Instance.new("Part") | |
247 | Tor.Size=Vector3.new(1,1,1) | |
248 | Tor.BrickColor=BrickColor:Yellow() | |
249 | Tor.Reflectance=0 | |
250 | Tor.Transparency=0 | |
251 | Tor.Locked=true | |
252 | Tor.CanCollide=true | |
253 | Tor.Parent=model | |
254 | Tor.TopSurface="Smooth" | |
255 | Tor.BottomSurface="Smooth" | |
256 | Mesh=Instance.new("CylinderMesh") | |
257 | Mesh.Parent=Tor | |
258 | Mesh.Scale=Vector3.new(.3,1.2,.3) | |
259 | w = Instance.new("Weld") | |
260 | w.Parent = char.Torso | |
261 | w.Part0 = w.Parent | |
262 | w.Part1 = Tor | |
263 | w.C0 = CFrame.new(0,-1.1,0) | |
264 | Tor=Instance.new("Part") | |
265 | Tor.Size=Vector3.new(1,1,1) | |
266 | Tor.BrickColor=BrickColor:Yellow() | |
267 | Tor.Reflectance=0 | |
268 | Tor.Transparency=0 | |
269 | Tor.Locked=true | |
270 | Tor.CanCollide=true | |
271 | Tor.Parent=model | |
272 | Tor.TopSurface="Smooth" | |
273 | Tor.BottomSurface="Smooth" | |
274 | Mesh=Instance.new("CylinderMesh") | |
275 | Mesh.Parent=Tor | |
276 | Mesh.Scale=Vector3.new(.27,1.2,.27) | |
277 | w = Instance.new("Weld") | |
278 | w.Parent = char.Torso | |
279 | w.Part0 = w.Parent | |
280 | w.Part1 = Tor | |
281 | w.C0 = CFrame.new(0,-0.8,0.15)*CFrame.Angles(math.rad(-20),0,0) | |
282 | Tor=Instance.new("Part") | |
283 | Tor.Size=Vector3.new(1,1,1) | |
284 | Tor.BrickColor=BrickColor:Yellow() | |
285 | Tor.Reflectance=0 | |
286 | Tor.Transparency=0 | |
287 | Tor.Locked=true | |
288 | Tor.CanCollide=true | |
289 | Tor.Parent=model | |
290 | Tor.TopSurface="Smooth" | |
291 | Tor.BottomSurface="Smooth" | |
292 | Mesh=Instance.new("CylinderMesh") | |
293 | Mesh.Parent=Tor | |
294 | Mesh.Scale=Vector3.new(.27,1.2,.27) | |
295 | w = Instance.new("Weld") | |
296 | w.Parent = char.Torso | |
297 | w.Part0 = w.Parent | |
298 | w.Part1 = Tor | |
299 | w.C0 = CFrame.new(0,-0.8,-0.15)*CFrame.Angles(math.rad(20),0,0) | |
300 | for i=-30,30,10 do | |
301 | Tor=Instance.new("Part") | |
302 | Tor.Size=Vector3.new(1,1,1) | |
303 | Tor.BrickColor=BrickColor:Yellow() | |
304 | Tor.Transparency=0 | |
305 | Tor.Locked=true | |
306 | Tor.CanCollide=true | |
307 | Tor.Parent=model | |
308 | Tor.TopSurface="Smooth" | |
309 | Tor.BottomSurface="Smooth" | |
310 | Mesh=Instance.new("CylinderMesh") | |
311 | Mesh.Parent=Tor | |
312 | if i~=-30 and i~=30 then | |
313 | Mesh.Scale=Vector3.new(.27,1,.27) | |
314 | Tor.Reflectance=0 | |
315 | else | |
316 | Mesh.Scale=Vector3.new(.27,1.2,.27) | |
317 | Tor.Reflectance=0.1 | |
318 | end | |
319 | w = Instance.new("Weld") | |
320 | w.Parent = char.Torso | |
321 | w.Part0 = w.Parent | |
322 | w.Part1 = Tor | |
323 | w.C0 = CFrame.new(0,-i/52,1.1)*CFrame.Angles(math.rad(90+i*1.1),0,0) | |
324 | end | |
325 | function Giga(mouse) | |
326 | local Tu=model.Body.Touched:connect(function(hit) | |
327 | if hit.Parent.Name~=Name and hit.Parent.Parent.Name~=Name and hit.Name~="Base" then | |
328 | hit.Anchored=false | |
329 | hit:BreakJoints() | |
330 | hit.Velocity=(hit.Position-Tor.Position).unit*250 | |
331 | end | |
332 | end) | |
333 | for i=1,10 do | |
334 | wait() | |
335 | local Laz=Instance.new("Part") | |
336 | Laz.Anchored=true | |
337 | Laz.BrickColor=BrickColor:Red() | |
338 | Laz.Reflectance=0 | |
339 | Laz.Shape="Ball" | |
340 | Laz.Transparency=0.85 | |
341 | Laz.TopSurface="Smooth" | |
342 | Laz.BottomSurface="Smooth" | |
343 | Laz.CanCollide=false | |
344 | Laz.Size=Vector3.new(1,1,1) | |
345 | Laz.CFrame=char.Torso.CFrame | |
346 | Laz.Parent=char | |
347 | local Me=Instance.new("SpecialMesh") | |
348 | Me.MeshType="Sphere" | |
349 | Me.Parent=Laz | |
350 | for i=1,7,0.5 do | |
351 | Me.Scale = Vector3.new(i/2,i,i) | |
352 | wait() | |
353 | end | |
354 | Laz:remove() | |
355 | end | |
356 | Tu:disconnect() | |
357 | end | |
358 | function Splash(mouse) | |
359 | if mouse.Target~=nil then | |
360 | local mh=mouse.Hit | |
361 | char.Torso.CFrame=mh*CFrame.new(0,2,0) | |
362 | local Laz=Instance.new("Part") | |
363 | Laz.Anchored=true | |
364 | Laz.BrickColor=BrickColor:Blue() | |
365 | Laz.Reflectance=0 | |
366 | Laz.Transparency=0 | |
367 | Laz.TopSurface="Smooth" | |
368 | Laz.BottomSurface="Smooth" | |
369 | Laz.CanCollide=false | |
370 | Laz.Size=Vector3.new(1,1,1) | |
371 | Laz.CFrame=CFrame.new(char.Torso.CFrame.x,char.Torso.CFrame.y,char.Torso.CFrame.z)*CFrame.new(0,-2,0) | |
372 | Laz.Parent=char | |
373 | local Me=Instance.new("CylinderMesh") | |
374 | Me.Parent=Laz | |
375 | Delay(0,function() | |
376 | for i=1,25,0.5 do | |
377 | Me.Scale = Vector3.new(i,1,i) | |
378 | Laz.Transparency=i/23 | |
379 | wait() | |
380 | end | |
381 | Laz:remove() | |
382 | end) | |
383 | end | |
384 | end | |
385 | function Charg(mouse) | |
386 | local Laz=Instance.new("Part") | |
387 | Laz.Anchored=true | |
388 | Laz.BrickColor=BrickColor:Yellow() | |
389 | Laz.Reflectance=0 | |
390 | Laz.Transparency=0.55 | |
391 | Laz.TopSurface="Smooth" | |
392 | Laz.BottomSurface="Smooth" | |
393 | Laz.CanCollide=false | |
394 | Laz.Size=Vector3.new(4,4,4) | |
395 | Laz.CFrame=char.Torso.CFrame | |
396 | Laz.Parent=char | |
397 | local Me=Instance.new("BlockMesh") | |
398 | Me.Scale=Vector3.new(1,1.2,1) | |
399 | Me.Parent=Laz | |
400 | local Rid=Instance.new("Part") | |
401 | Rid.BrickColor=BrickColor:Yellow() | |
402 | Rid.Reflectance=0.2 | |
403 | Rid.Transparency=0.75 | |
404 | Rid.Anchored=true | |
405 | Rid.Size=Vector3.new(1,1,1) | |
406 | local Me=Instance.new("CylinderMesh") | |
407 | Me.Scale=Vector3.new(3.5,.5,3.5) | |
408 | Me.Parent=Rid | |
409 | for i=1,15,0.5 do | |
410 | Laz.CFrame=char.Torso.CFrame*CFrame.Angles(math.random(1,3)+math.random(),math.random(1,3)+math.random(),math.random(1,3)+math.random()) | |
411 | f=Rid:clone() | |
412 | f.CFrame=char.Torso.CFrame*CFrame.Angles(math.random(1,3)+math.random(),math.random(1,3)+math.random(),math.random(1,3)+math.random()) | |
413 | f.Parent=char | |
414 | wait() | |
415 | f:remove() | |
416 | end | |
417 | Laz:remove() | |
418 | local Laz=Instance.new("Part") | |
419 | Laz.Anchored=true | |
420 | Laz.BrickColor=BrickColor:Yellow() | |
421 | Laz.Reflectance=0.25 | |
422 | Laz.Transparency=0.4 | |
423 | Laz.TopSurface="Smooth" | |
424 | Laz.Name="Lazer" | |
425 | Laz.BottomSurface="Smooth" | |
426 | Laz.CanCollide=false | |
427 | Laz.CFrame=CFrame.new((mouse.Hit.p+char.Torso.Position)/2,char.Torso.Position) | |
428 | Laz.Parent=char | |
429 | Laz.Size=Vector3.new(1,1,2) | |
430 | Laz.Transparency=0.2 | |
431 | Laz.Reflectance=0.3 | |
432 | local Me=Instance.new("BlockMesh") | |
433 | Me.Bevel=0.05 | |
434 | Me.Parent=Laz | |
435 | Me.Scale = Vector3.new(1,1,(mouse.Hit.p - char.Torso.Position).magnitude/2) | |
436 | for i=1,17 do | |
437 | Me.Scale = Vector3.new(i/7,i/7,(mouse.Hit.p - char.Torso.Position).magnitude/2) | |
438 | Laz.CFrame=CFrame.new((mouse.Hit.p+char.Torso.Position)/2,char.Torso.Position) | |
439 | wait(0.05) | |
440 | end | |
441 | for i=1,20,0.5 do | |
442 | wait() | |
443 | x = (16 + i) * math.sin(i) + mouse.Hit.p.x | |
444 | y = mouse.Hit.p.y | |
445 | z = (16 + i)* math.cos (i) + mouse.Hit.p.z | |
446 | brick = Instance.new("Explosion") | |
447 | brick.BlastPressure=0 | |
448 | brick.Hit:connect(function(hit) | |
449 | if hit.Parent.Name~=Name and hit.Name~="Base" and hit.Name~="Handle" and hit.Parent.Parent.Name~=Name then | |
450 | hit:BreakJoints() | |
451 | hit.Anchored=false | |
452 | hit.Velocity=(hit.Position-char.Torso.Position).unit*320 | |
453 | end | |
454 | end) | |
455 | brick.BlastRadius = 20 | |
456 | brick.Parent = workspace | |
457 | brick.Position = Vector3.new(x,y,z) | |
458 | end | |
459 | wait() | |
460 | Laz:remove() | |
461 | end | |
462 | function Tackle(mouse) | |
463 | local Tu=model.Body.Touched:connect(function(hit) | |
464 | if hit.Parent.Name~=Name and hit.Parent.Parent.Name~=Name and hit.Name~="Base" then | |
465 | pcall(function() hit.Parent.Humanoid.PlatformStand=true hit.Parent.Humanoid:TakeDamage(5) hit.Parent.Torso.CFrame=hit.Parent.Torso.CFrame*CFrame.Angles(math.rad(150),0,0) end) | |
466 | end | |
467 | end) | |
468 | for i=1,10 do | |
469 | wait() | |
470 | local Laz=Instance.new("Part") | |
471 | Laz.Anchored=true | |
472 | Laz.BrickColor=BrickColor.new("White") | |
473 | Laz.Reflectance=0 | |
474 | Laz.Shape="Ball" | |
475 | Laz.Transparency=0.95 | |
476 | Laz.TopSurface="Smooth" | |
477 | Laz.BottomSurface="Smooth" | |
478 | Laz.CanCollide=false | |
479 | Laz.Size=Vector3.new(1,1,1) | |
480 | Laz.CFrame=char.Torso.CFrame | |
481 | Laz.Parent=char | |
482 | local Me=Instance.new("SpecialMesh") | |
483 | Me.MeshType="Sphere" | |
484 | Me.Parent=Laz | |
485 | for i=1,7,0.5 do | |
486 | Me.Scale = Vector3.new(i/1.8,i,i) | |
487 | Laz.CFrame=char.Torso.CFrame | |
488 | wait() | |
489 | end | |
490 | Laz:remove() | |
491 | end | |
492 | Tu:disconnect() | |
493 | end | |
494 | --ToDo:AquaTail,Makes a few parts around you,then magnitudeChecks for parts within the part ring | |
495 | wep={Giga,Splash,Charg,Tackle} | |
496 | name={"Giga Impact","Splash","Hyper Beam","Tackle"} | |
497 | Mode=0 | |
498 | if script.Parent.className~="HopperBin" then | |
499 | Hopper=Instance.new("HopperBin") | |
500 | Hopper.Name="Press C" | |
501 | Hopper.Parent=player.Backpack | |
502 | coroutine.resume(coroutine.create(function() while true do | |
503 | local Laz=Instance.new("Part") | |
504 | Laz.Anchored=true | |
505 | Laz.BrickColor=BrickColor:Blue() | |
506 | Laz.Reflectance=0 | |
507 | Laz.Transparency=0.4 | |
508 | Laz.TopSurface="Smooth" | |
509 | Laz.BottomSurface="Smooth" | |
510 | Laz.CanCollide=false | |
511 | Laz.Size=Vector3.new(1,1,1) | |
512 | Laz.CFrame=char.Torso.CFrame*CFrame.new(0,-2.75,0) | |
513 | Laz.Parent=char | |
514 | local Me=Instance.new("CylinderMesh") | |
515 | Me.Parent=Laz | |
516 | for i=1,10,0.5 do | |
517 | Me.Scale = Vector3.new(i,0.5,i) | |
518 | Laz.Transparency=i/9.5 | |
519 | wait() | |
520 | end | |
521 | Laz:remove() | |
522 | end | |
523 | end)) | |
524 | script.Parent=Hopper | |
525 | end | |
526 | wait() | |
527 | Hopper=script.Parent | |
528 | function CheckAdd() | |
529 | if (Mode+1)~=(#wep+1) then | |
530 | Mode=Mode+1 | |
531 | Hopper.Name=name[Mode].."("..Mode..")" | |
532 | elseif (Mode+1)==(#wep+1) then | |
533 | Mode=1 | |
534 | Hopper.Name=name[Mode].."("..Mode..")" | |
535 | end | |
536 | end | |
537 | function CheckSub() | |
538 | if (Mode-1)==0 or (Mode-1)<0 then | |
539 | Mode=#wep | |
540 | Hopper.Name=name[Mode].."("..Mode..")" | |
541 | elseif (Mode-1)~=0 then | |
542 | Mode=Mode-1 | |
543 | Hopper.Name=name[Mode].."("..Mode..")" | |
544 | end | |
545 | end | |
546 | function KeyDown(key) | |
547 | if key=="c" then | |
548 | CheckAdd() | |
549 | elseif key=="x" then | |
550 | Mode=1 | |
551 | Hopper.Name=name[1].."("..Mode..")" | |
552 | elseif key=="z" then | |
553 | CheckSub() | |
554 | end | |
555 | end | |
556 | function Button1down(mouse) | |
557 | pcall(function() coroutine.resume(coroutine.create(function() wep[Mode](mouse) end)) end) | |
558 | end | |
559 | function Mog(mouse) | |
560 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
561 | mouse.Button1Down:connect(function() Button1down(mouse) end) | |
562 | mouse.KeyDown:connect(KeyDown) | |
563 | end | |
564 | Hopper.Selected:connect(Mog) | |
565 | --BLOCKLAND |