SHOW:
|
|
- or go back to the newest paste.
1 | --written by kent911t + help from wiki cuz i'm a noob :( | |
2 | ||
3 | char=game.Players.LocalPlayer.Character | |
4 | player=game.Players.LocalPlayer | |
5 | worked = game.Workspace | |
6 | aaaa=Instance.new("Model") | |
7 | aaaa.Parent=worked | |
8 | aaaa.Name="Explosions" | |
9 | - | local shirt = 722195568 |
9 | + | attacking=false |
10 | - | local pants = 472771345 |
10 | + | |
11 | local gui=Instance.new("ScreenGui") | |
12 | gui.Parent=player.PlayerGui | |
13 | gui.Name="Loaded" | |
14 | ||
15 | local frame=Instance.new("Frame") | |
16 | frame.Parent=gui | |
17 | frame.BackgroundColor3=Color3.fromRGB(190, 27, 188) | |
18 | frame.BackgroundTransparency=1 -- put this to 0.2 :) | |
19 | frame.BorderSizePixel=0 | |
20 | frame.Position=UDim2.new(0,0,0.4,0) | |
21 | frame.Name="PurpleOverlay" | |
22 | frame.Selectable=false | |
23 | frame.Size=UDim2.new(0,1200,0,100) | |
24 | frame.Style="Custom" | |
25 | frame.Visible=true | |
26 | frame.ZIndex=1 | |
27 | frame.Draggable=false | |
28 | frame.Archivable=true | |
29 | ||
30 | local text=Instance.new("TextLabel") | |
31 | text.Parent=frame | |
32 | text.BackgroundTransparency=1 | |
33 | text.Name="NukeInit" | |
34 | text.ZIndex=2 | |
35 | text.Position=UDim2.new(0,450,0.25,0) | |
36 | text.Size=UDim2.new(0,200,0,50) | |
37 | text.Visible=true | |
38 | text.Draggable=false | |
39 | text.Font="SourceSansLight" | |
40 | text.FontSize="Size96" | |
41 | text.Text="AHHHH FOR WAKANDA!!!!!!!" | |
42 | text.TextTransparency=1 --set this to 0 :) oh btw it's a fade | |
43 | text.Selectable=false | |
44 | text.Archivable=true | |
45 | ||
46 | for i = 1, 50 do | |
47 | text.TextTransparency=text.TextTransparency-0.02 | |
48 | frame.BackgroundTransparency=frame.BackgroundTransparency-0.016 | |
49 | wait() | |
50 | end | |
51 | ||
52 | wait(1) | |
53 | ||
54 | for i = 1, 50 do | |
55 | text.TextTransparency=text.TextTransparency+0.02 | |
56 | frame.BackgroundTransparency=frame.BackgroundTransparency+0.016 | |
57 | wait() | |
58 | end | |
59 | ||
60 | script.Parent=player.Backpack | |
61 | ||
62 | function blasted() | |
63 | a=Instance.new("Part") | |
64 | a.Parent=worked | |
65 | a.Name="Blast" | |
66 | a.BrickColor = BrickColor.new("Bright violet") | |
67 | a.Material="Neon" | |
68 | a.Transparency=0.25 | |
69 | a.CFrame = char.Torso.CFrame | |
70 | a.Anchored=true | |
71 | a.CanCollide=false | |
72 | a.Locked=true | |
73 | a.Size=Vector3.new(1,1,1) | |
74 | ||
75 | h=Instance.new("Part") | |
76 | h.Parent=worked | |
77 | h.Name="Blast2" | |
78 | h.BrickColor = BrickColor.new("Bright violet") | |
79 | h.Material="Neon" | |
80 | h.Transparency=0.25 | |
81 | h.CFrame = char.Torso.CFrame | |
82 | h.Anchored=true | |
83 | h.CanCollide=false | |
84 | h.Locked=true | |
85 | h.Size=Vector3.new(1,1,1) | |
86 | ||
87 | i=Instance.new("SpecialMesh") | |
88 | i.Parent=h | |
89 | i.Name="Mesh" | |
90 | i.MeshType="Sphere" | |
91 | i.Scale=Vector3.new(1,1,1) | |
92 | i.VertexColor=Vector3.new(1,1,1) | |
93 | ||
94 | b=Instance.new("SpecialMesh") | |
95 | b.Parent=a | |
96 | b.Name="Mesh" | |
97 | b.MeshType="Sphere" | |
98 | b.Scale=Vector3.new(1,1,1) | |
99 | b.VertexColor=Vector3.new(1,1,1) | |
100 | ||
101 | --RING GENERATOR | |
102 | ||
103 | --[[d=Instance.new("Part") | |
104 | d.Parent=worked | |
105 | d.Name="Ring" | |
106 | d.BrickColor = BrickColor.new("Really black") | |
107 | d.Material="Neon" | |
108 | d.Transparency=0.25 | |
109 | d.Position=char.Torso.Position | |
110 | d.Anchored=true | |
111 | d.CanCollide=false | |
112 | d.Locked=true | |
113 | d.Size=Vector3.new(1,1,1) | |
114 | ||
115 | c=Instance.new("SpecialMesh") | |
116 | c.Parent=d | |
117 | c.MeshType="FileMesh" | |
118 | c.MeshId="http://www.roblox.com/asset/?id=3270017" | |
119 | c.Scale=Vector3.new(1,1,1) | |
120 | c.Name="Ring" | |
121 | ||
122 | e=Instance.new("Part") | |
123 | e.Parent=worked | |
124 | e.Name="Ring2" | |
125 | e.BrickColor = BrickColor.new("Really black") | |
126 | e.Material="Neon" | |
127 | e.Transparency=0.25 | |
128 | e.Position=char.Torso.Position | |
129 | e.Anchored=true | |
130 | e.CanCollide=false | |
131 | e.Locked=true | |
132 | e.Size=Vector3.new(1,1,1) | |
133 | ||
134 | f=Instance.new("SpecialMesh") | |
135 | f.Parent=e | |
136 | f.MeshType="FileMesh" | |
137 | f.MeshId="http://www.roblox.com/asset/?id=3270017" | |
138 | f.Scale=Vector3.new(1,1,1) | |
139 | f.Name="Ring2"--]] | |
140 | ||
141 | blast = worked.Blast | |
142 | blast2 = worked.Blast2 | |
143 | mesh = worked.Blast.Mesh | |
144 | ||
145 | --THIS WILL ADD A SPIN TO THE RINGS | |
146 | ||
147 | --[[local newPos = Instance.new("BodyPosition") -- making a BodyPosition to put in each ring so that the rings will stay in the right place | |
148 | newPos.Parent = d | |
149 | newPos.position = blast.Position | |
150 | newPos.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
151 | local newSpin = Instance.new("BodyAngularVelocity") -- this is to make the rings spin | |
152 | newSpin.Parent = d | |
153 | local spinPower = 10000 | |
154 | newSpin.maxTorque = Vector3.new(spinPower,spinPower,spinPower) | |
155 | newSpin.angularvelocity = Vector3.new(math.random(0,200)/100,math.random(0,200)/100,math.random(0,200)/100) -- making thier spin random | |
156 | d.CFrame = d.CFrame * CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360)) -- starting the ring at a random rotation | |
157 | d.Anchored = false -- unanchoring the ring after it is set up so that it can now spin | |
158 | ||
159 | local newPos = Instance.new("BodyPosition") -- making a BodyPosition to put in each ring so that the rings will stay in the right place | |
160 | newPos.Parent = e | |
161 | newPos.position = blast.Position | |
162 | newPos.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
163 | local newSpin = Instance.new("BodyAngularVelocity") -- this is to make the rings spin | |
164 | newSpin.Parent = e | |
165 | local spinPower = 10000 | |
166 | newSpin.maxTorque = Vector3.new(spinPower,spinPower,spinPower) | |
167 | newSpin.angularvelocity = Vector3.new(math.random(0,200)/100,math.random(0,200)/100,math.random(0,200)/100) -- making thier spin random | |
168 | e.CFrame = e.CFrame * CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360)) -- starting the ring at a random rotation | |
169 | e.Anchored = false -- unanchoring the ring after it is set up so that it can now spin | |
170 | --]] | |
171 | local newPos = Instance.new("BodyPosition") -- making a BodyPosition to put in each ring so that the rings will stay in the right place | |
172 | newPos.Parent = h | |
173 | newPos.position = blast2.Position | |
174 | newPos.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
175 | local newSpin = Instance.new("BodyAngularVelocity") -- this is to make the rings spin | |
176 | newSpin.Parent = h | |
177 | local spinPower = 10000 | |
178 | newSpin.maxTorque = Vector3.new(spinPower,spinPower,spinPower) | |
179 | newSpin.angularvelocity = Vector3.new(math.random(0,200)/100,math.random(0,200)/100,math.random(0,200)/100) -- making thier spin random | |
180 | h.CFrame = h.CFrame * CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360)) -- starting the ring at a random rotation | |
181 | h.Anchored = false -- unanchoring the ring after it is set up so that it can now spin | |
182 | end | |
183 | ||
184 | function huge() | |
185 | chargin2=Instance.new("Sound") | |
186 | chargin2.Parent=char.Torso | |
187 | chargin2.Pitch=0.4 | |
188 | chargin2.Name="chargin2" | |
189 | chargin2.SoundId="rbxassetid://244578827" | |
190 | chargin2.Volume=1 | |
191 | chargin2.PlayOnRemove=true | |
192 | chargin2:Play() | |
193 | ||
194 | for i = 1, 250 do | |
195 | blast.Size=blast.Size+Vector3.new(0.3,0.3,0.3) | |
196 | blast2.Size=blast2.Size+Vector3.new(0.25,0.25,0.25) | |
197 | --c.Scale=c.Scale+Vector3.new(0.3,0.3,0.03) RING SCALER | |
198 | --f.Scale=f.Scale+Vector3.new(0.3,0.3,0.03) | |
199 | wait() | |
200 | end | |
201 | ||
202 | for i = 1, 150 do | |
203 | blast.Size=blast.Size-Vector3.new(0.7,0.7,0.7) | |
204 | blast2.Size=blast2.Size-Vector3.new(0.5,0.5,0.5) | |
205 | wait() | |
206 | end | |
207 | blast:Destroy() | |
208 | blast2:Destroy() | |
209 | end | |
210 | ||
211 | function nuke() | |
212 | local cyl1=Instance.new("Part") | |
213 | cyl1.Parent=worked | |
214 | cyl1.Anchored=true | |
215 | cyl1.CanCollide=false | |
216 | cyl1.Name="Cyl1" | |
217 | cyl1.CFrame = char.Torso.CFrame | |
218 | cyl1.Rotation=Vector3.new(0,0,-90) | |
219 | cyl1.Transparency=0.25 | |
220 | cyl1.BrickColor=BrickColor.new("Bright violet") | |
221 | cyl1.Material="Neon" | |
222 | cyl1.Size=Vector3.new(1,1,1) | |
223 | local cyl2=Instance.new("Part") | |
224 | cyl2.Parent=worked | |
225 | cyl2.Anchored=true | |
226 | cyl2.CanCollide=false | |
227 | cyl2.Name="Cyl2" | |
228 | cyl2.CFrame = char.Torso.CFrame | |
229 | cyl2.Rotation=Vector3.new(0,0,-90) | |
230 | cyl2.Transparency=0.25 | |
231 | cyl2.BrickColor=BrickColor.new("Bright violet") | |
232 | cyl2.Material="Neon" | |
233 | cyl2.Size=Vector3.new(1,1,1) | |
234 | local cyl1mesh=Instance.new("SpecialMesh") | |
235 | cyl1mesh.Parent=cyl1 | |
236 | cyl1mesh.Name="Mesh" | |
237 | cyl1mesh.MeshType="Cylinder" | |
238 | cyl1mesh.Scale=Vector3.new(1,1,1) | |
239 | cyl1mesh.VertexColor=Vector3.new(1,1,1) | |
240 | local cyl2mesh=Instance.new("SpecialMesh") | |
241 | cyl2mesh.Parent=cyl2 | |
242 | cyl2mesh.Name="Mesh" | |
243 | cyl2mesh.MeshType="Cylinder" | |
244 | cyl2mesh.Scale=Vector3.new(1,1,1) | |
245 | cyl2mesh.VertexColor=Vector3.new(1,1,1) | |
246 | local ring1=Instance.new("Part") | |
247 | ring1.Parent=worked | |
248 | ring1.Anchored=true | |
249 | ring1.CanCollide=false | |
250 | ring1.Name="ring1" | |
251 | ring1.CFrame = char.Torso.CFrame+Vector3.new(0, 100, 0) | |
252 | ring1.Rotation=Vector3.new(90,0,0) | |
253 | ring1.Transparency=0 | |
254 | ring1.BrickColor=BrickColor.new("Bright violet") | |
255 | ring1.Material="Neon" | |
256 | ring1.Size=Vector3.new(1,1,1) | |
257 | local ring1mesh=Instance.new("SpecialMesh") | |
258 | ring1mesh.Parent=ring1 | |
259 | ring1mesh.MeshType="FileMesh" | |
260 | ring1mesh.MeshId="http://www.roblox.com/asset/?id=3270017" | |
261 | ring1mesh.Scale=Vector3.new(1,1,1) | |
262 | ring1mesh.Name="Ring" | |
263 | local ring2=Instance.new("Part") | |
264 | ring2.Parent=worked | |
265 | ring2.Anchored=true | |
266 | ring2.CanCollide=false | |
267 | ring2.Name="ring2" | |
268 | ring2.CFrame = char.Torso.CFrame+Vector3.new(0, 250, 0) | |
269 | ring2.Rotation=Vector3.new(90,0,0) | |
270 | ring2.Transparency=0 | |
271 | ring2.BrickColor=BrickColor.new("Bright violet") | |
272 | ring2.Material="Neon" | |
273 | ring2.Size=Vector3.new(1,1,1) | |
274 | local ring2mesh=Instance.new("SpecialMesh") | |
275 | ring2mesh.Parent=ring2 | |
276 | ring2mesh.MeshType="FileMesh" | |
277 | ring2mesh.MeshId="http://www.roblox.com/asset/?id=3270017" | |
278 | ring2mesh.Scale=Vector3.new(1,1,1) | |
279 | ring2mesh.Name="Ring" | |
280 | local ring3=Instance.new("Part") | |
281 | ring3.Parent=worked | |
282 | ring3.Anchored=true | |
283 | ring3.CanCollide=false | |
284 | ring3.Name="ring3" | |
285 | ring3.CFrame = char.Torso.CFrame+Vector3.new(0, 500, 0) | |
286 | ring3.Rotation=Vector3.new(90,0,0) | |
287 | ring3.Transparency=0 | |
288 | ring3.BrickColor=BrickColor.new("Bright violet") | |
289 | ring3.Material="Neon" | |
290 | ring3.Size=Vector3.new(1,1,1) | |
291 | local ring3mesh=Instance.new("SpecialMesh") | |
292 | ring3mesh.Parent=ring3 | |
293 | ring3mesh.MeshType="FileMesh" | |
294 | ring3mesh.MeshId="http://www.roblox.com/asset/?id=3270017" | |
295 | ring3mesh.Scale=Vector3.new(1,1,1) | |
296 | ring3mesh.Name="Ring" | |
297 | local ring4=Instance.new("Part") | |
298 | ring4.Parent=worked | |
299 | ring4.Anchored=true | |
300 | ring4.CanCollide=false | |
301 | ring4.Name="ring4" | |
302 | ring4.CFrame = char.Torso.CFrame+Vector3.new(0, 1000, 0) | |
303 | ring4.Rotation=Vector3.new(90,0,0) | |
304 | ring4.Transparency=0 | |
305 | ring4.BrickColor=BrickColor.new("Bright violet") | |
306 | ring4.Material="Neon" | |
307 | ring4.Size=Vector3.new(1,1,1) | |
308 | local ring4mesh=Instance.new("SpecialMesh") | |
309 | ring4mesh.Parent=ring4 | |
310 | ring4mesh.MeshType="FileMesh" | |
311 | ring4mesh.MeshId="http://www.roblox.com/asset/?id=3270017" | |
312 | ring4mesh.Scale=Vector3.new(1,1,1) | |
313 | ring4mesh.Name="Ring" | |
314 | local ring5=Instance.new("Part") | |
315 | ring5.Parent=worked | |
316 | ring5.Anchored=true | |
317 | ring5.CanCollide=false | |
318 | ring5.Name="ring5" | |
319 | ring5.CFrame = char.Torso.CFrame+Vector3.new(0, 1000, 0) | |
320 | ring5.Rotation=Vector3.new(90,0,0) | |
321 | ring5.Transparency=0 | |
322 | ring5.BrickColor=BrickColor.new("Bright violet") | |
323 | ring5.Material="Neon" | |
324 | ring5.Size=Vector3.new(1,1,1) | |
325 | local ring5mesh=Instance.new("SpecialMesh") | |
326 | ring5mesh.Parent=ring5 | |
327 | ring5mesh.MeshType="FileMesh" | |
328 | ring5mesh.MeshId="http://www.roblox.com/asset/?id=3270017" | |
329 | ring5mesh.Scale=Vector3.new(1,1,1) | |
330 | ring5mesh.Name="Ring" | |
331 | for i = 1, 150 do | |
332 | abc=Instance.new("Part") | |
333 | abc.Parent=aaaa | |
334 | abc.Name="Explosion" | |
335 | abc.Material="Neon" | |
336 | abc.Anchored=true | |
337 | abc.Size = Vector3.new(12,12,12) | |
338 | abc.Transparency=0 | |
339 | abc.CanCollide=false | |
340 | a=math.random(1,2) | |
341 | if a == 1 then | |
342 | abc.BrickColor = BrickColor.new("Bright violet") | |
343 | elseif a == 2 then | |
344 | abc.BrickColor = BrickColor.new("Bright violet") | |
345 | end | |
346 | abc.CFrame=char.Torso.CFrame+Vector3.new(math.random(-50,50),math.random(0,20),math.random(-50,50)) | |
347 | ab=Instance.new("SpecialMesh") | |
348 | ab.Parent=abc | |
349 | ab.MeshType="Sphere" | |
350 | ab.Name="SpecialMesh" | |
351 | ab.Scale=Vector3.new(1,1,1) | |
352 | end | |
353 | ||
354 | ||
355 | chargin=Instance.new("Sound") | |
356 | chargin.Parent=char.Torso | |
357 | chargin.Pitch=1 | |
358 | chargin.Name="chargin" | |
359 | chargin.SoundId="rbxassetid://159490394" | |
360 | chargin.Volume=1 | |
361 | chargin.PlayOnRemove=true | |
362 | chargin:Play() | |
363 | ||
364 | for i = 1, 300 do | |
365 | cyl1.Size=cyl1.Size+Vector3.new(50,0.1,0.1) | |
366 | cyl2.Size=cyl2.Size+Vector3.new(50,0.09,0.06) | |
367 | ring1mesh.Scale=ring1mesh.Scale+Vector3.new(0.2,0.2,0.2) | |
368 | ring2mesh.Scale=ring2mesh.Scale+Vector3.new(0.3,0.3,0.3) | |
369 | ring3mesh.Scale=ring3mesh.Scale+Vector3.new(0.8,0.8,0.8) | |
370 | ring4mesh.Scale=ring4mesh.Scale+Vector3.new(4,4,4) | |
371 | ring5mesh.Scale=ring5mesh.Scale+Vector3.new(2.5,2.5,2.5) | |
372 | for _, player in pairs(game.Workspace.Explosions:GetChildren()) do | |
373 | player.Size=player.Size+Vector3.new(0.2,0.2,0.2) | |
374 | player.Transparency=player.Transparency+0.005 | |
375 | end | |
376 | wait() | |
377 | end | |
378 | ||
379 | for _, player in pairs(game.Workspace.Explosions:GetChildren()) do | |
380 | player:Destroy() | |
381 | end | |
382 | ||
383 | ||
384 | wait(0.2) | |
385 | for i = 1, 250 do | |
386 | cyl1.Transparency=cyl1.Transparency+0.02 | |
387 | cyl2.Transparency=cyl2.Transparency+0.02 | |
388 | ring1.Transparency=ring1.Transparency+0.02 | |
389 | ring2.Transparency=ring2.Transparency+0.02 | |
390 | ring3.Transparency=ring3.Transparency+0.02 | |
391 | ring4.Transparency=ring4.Transparency+0.02 | |
392 | ring5.Transparency=ring5.Transparency+0.02 | |
393 | wait() | |
394 | end | |
395 | ||
396 | cyl1:Destroy() | |
397 | cyl2:Destroy() | |
398 | ring1:Destroy() | |
399 | ring2:Destroy() | |
400 | ring3:Destroy() | |
401 | ring4:Destroy() | |
402 | ring5:Destroy() | |
403 | attacking=false | |
404 | end | |
405 | ||
406 | ||
407 | function shake() | |
408 | local camera = game.Workspace.CurrentCamera | |
409 | for i = 1,1000 do | |
410 | wait() | |
411 | camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(0,2,0) | |
412 | wait() | |
413 | camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(0,-2,0) | |
414 | end | |
415 | end | |
416 | ||
417 | function onKeyPress(inputObject, gameProcessedEvent) | |
418 | if inputObject.KeyCode == Enum.KeyCode.Q and attacking == false then | |
419 | attacking=true | |
420 | blasted() | |
421 | huge() | |
422 | wait(0.5) | |
423 | nuke() | |
424 | shake() | |
425 | elseif inputObject.KeyCode == Enum.KeyCode.Q and attacking == true then | |
426 | end | |
427 | end | |
428 | game:GetService("UserInputService").InputBegan:connect(onKeyPress) | |
429 | ||
430 | ||
431 | --[[soundex=sounds.explosion = "http://www.roblox.com/asset/?id=87784452" | |
432 | soundbewm=sounds.bewm = "rbxassetid://258057783" | |
433 | sounds.slice = "http://www.roblox.com/asset/?id=161006195" | |
434 | sounds.charge = "http://roblox.com/asset/?id=2101137" | |
435 | sounds.sharpblast = "http://roblox.com/asset/?id=2248511" | |
436 | sounds.woosh = "http://roblox.com/asset/?id=147722227" | |
437 | sounds.metalhit = "http://roblox.com/asset/?id=153092348" | |
438 | sounds.mechblast = "http://roblox.com/asset/?id=169380505" | |
439 | sounds.chargepulse = "http://roblox.com/asset/?id=10209296" | |
440 | sounds.heal = "http://roblox.com/asset/?id=2101144" | |
441 | sounds.zap = "http://roblox.com/asset/?id=10756104" | |
442 | sounds.powernote = "http://roblox.com/asset/?id=192603389" | |
443 | sounds.swing = "http://roblox.com/asset/?id=10209640" | |
444 | sounds.hit = "http://roblox.com/asset/?id=10209590"--]] | |
445 | --[[ | |
446 | This script will change your shirt and pants ^-^ | |
447 | Change the shirt and pants ID to the one you like | |
448 | If your using this script, do it as a local script ^-^ | |
449 | ]] | |
450 | ||
451 | local part = game.Players.LocalPlayer.Character | |
452 | local basetemplate = "http://www.roblox.com/asset/?id=" | |
453 | local shirt = 376653028 | |
454 | local pants = 400971537 | |
455 | local h = part:findFirstChild("Shirt") | |
456 | if h ~= nil then | |
457 | h.ShirtTemplate = basetemplate..shirt | |
458 | else | |
459 | local i = Instance.new("Shirt") | |
460 | i.Name = "Shirt" | |
461 | i.ShirtTemplate = basetemplate..shirt | |
462 | i.Parent = part | |
463 | end | |
464 | local p = part:findFirstChild("Pants") | |
465 | if p ~= nil then | |
466 | p.PantsTemplate = basetemplate..pants | |
467 | else | |
468 | local np = Instance.new("Pants") | |
469 | np.PantsTemplate = basetemplate..pants | |
470 | np.Name = "Pants" | |
471 | np.Parent = part | |
472 | game.Workspace.JayTheLionJR.Humanoid.WalkSpeed = 120 | |
473 | end |