SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | --original edit: https://pastebin.com/qwHTZUiW | |
3 | --Edited by GForcebit aka GForcebot | |
4 | --Edited by TheDevilPro1234 | |
5 | ---NO TOOLS | |
6 | plr = game.Players.LocalPlayer | |
7 | repeat | |
8 | wait(0.4) | |
9 | until plr.Character | |
10 | chr = plr.Character | |
11 | human = chr:FindFirstChild("Humanoid") | |
12 | chr.Humanoid.MaxHealth = math.huge | |
13 | mouse = plr:GetMouse() | |
14 | equipd = false | |
15 | tors = chr.Torso | |
16 | rarm = chr["Right Arm"] | |
17 | - | chr.Head.face.Texture = "rbxassetid://126198982" |
17 | + | |
18 | rleg = chr["Right Leg"] | |
19 | lleg = chr["Left Leg"] | |
20 | chr.Head.face.Texture = "http://www.roblox.com/asset/?id=988802990" | |
21 | local txt = Instance.new("BillboardGui", chr) | |
22 | CV="Lime green" | |
23 | txt.Adornee = chr .Head | |
24 | txt.Name = "_status" | |
25 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
26 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
27 | local text = Instance.new("TextLabel", txt) | |
28 | text.Size = UDim2.new(10, 0, 7, 0) | |
29 | text.FontSize = "Size24" | |
30 | text.TextScaled = true | |
31 | text.TextTransparency = 0 | |
32 | text.BackgroundTransparency = 1 | |
33 | text.TextTransparency = 0 | |
34 | text.TextStrokeTransparency = 0 | |
35 | - | text.Text = "Izuku Midoriya" |
35 | + | |
36 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
37 | text.TextColor3 = Color3.new(0,1,0) | |
38 | text.Text = "Midoriya" | |
39 | v=Instance.new("Part") | |
40 | v.Name = "ColorBrick" | |
41 | v.Parent= plr.Character | |
42 | v.FormFactor="Symmetric" | |
43 | v.Anchored=true | |
44 | v.CanCollide=false | |
45 | v.BottomSurface="Smooth" | |
46 | v.TopSurface="Smooth" | |
47 | v.Size=Vector3.new(10,5,3) | |
48 | v.Transparency=1 | |
49 | v.CFrame=chr.Torso.CFrame | |
50 | v.BrickColor=BrickColor.new("Lime green") | |
51 | v.Transparency=1 | |
52 | v.Shape="Block" | |
53 | chr.Shirt.ShirtTemplate = "rbxassetid://846519063" | |
54 | chr.Pants.PantsTemplate = "rbxassetid://848613245" | |
55 | z = Instance.new("Sound", tors) | |
56 | z.SoundId = "rbxassetid://513429715" | |
57 | z.Looped = true | |
58 | z.Volume = 3 | |
59 | wait(.1) | |
60 | z:Play() | |
61 | for i,v in pairs(chr:children()) do | |
62 | if v:IsA("Hat") then | |
63 | v:Destroy() | |
64 | end | |
65 | end | |
66 | for i,v in pairs(chr:children()) do | |
67 | if v:IsA("Accessory") then | |
68 | v:Destroy() | |
69 | end | |
70 | end | |
71 | for i,v in pairs(chr:children()) do | |
72 | if v:IsA("Hair") then | |
73 | v:Destroy() | |
74 | end | |
75 | end | |
76 | local Part = Instance.new("Part",chr) | |
77 | Part.BrickColor = BrickColor.new("Royal blue") | |
78 | Part.Size = Vector3.new(1,1,1) | |
79 | Part.CanCollide = false | |
80 | Part.Material = "Neon" | |
81 | local M = Instance.new("SpecialMesh",Part) | |
82 | M.MeshId = "rbxassetid://212966179" | |
83 | M.Scale = Vector3.new(1.2,1.2,1.2) | |
84 | M.TextureId = "rbxassetid://431984628" | |
85 | local Part2 = Instance.new("Weld",Part) | |
86 | Part2.Part0 = chr.Head | |
87 | Part2.Part1 = Part | |
88 | Part2.C0 = CFrame.new(0,0.2,0)*CFrame.Angles(0,0,0) | |
89 | local Part1 = Instance.new("Part",chr) | |
90 | Part1.BrickColor = BrickColor.new("Really black") | |
91 | Part1.Size = Vector3.new(1,1,1) | |
92 | Part1.CanCollide = false | |
93 | Part1.Material = "Neon" | |
94 | local M1 = Instance.new("SpecialMesh",Part1) | |
95 | M1.MeshId = "rbxassetid://212966179" | |
96 | M1.Scale = Vector3.new(1.1,1.1,1.1) | |
97 | local Part21 = Instance.new("Weld",Part1) | |
98 | Part21.Part0 = chr.Head | |
99 | Part21.Part1 = Part1 | |
100 | Part21.C0 = CFrame.new(0,0.1,0)*CFrame.Angles(0,0,0) | |
101 | hrp = chr.HumanoidRootPart | |
102 | head = chr.Head | |
103 | anim = human.Animator | |
104 | activu = false | |
105 | Heartbeat = Instance.new("BindableEvent") | |
106 | Heartbeat.Name = "Heartbeat" | |
107 | Heartbeat.Parent = script | |
108 | frame = 0.03333333333333333 | |
109 | tf = 0 | |
110 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
111 | tf = tf + s | |
112 | if tf >= frame then | |
113 | for i = 1, math.floor(tf / frame) do | |
114 | Heartbeat:Fire() | |
115 | end | |
116 | tf = tf - frame * math.floor(tf / frame) | |
117 | end | |
118 | end) | |
119 | function swait(num) | |
120 | if num == 0 or num == nil then | |
121 | Heartbeat.Event:wait() | |
122 | else | |
123 | for i = 1, num do | |
124 | Heartbeat.Event:wait() | |
125 | end | |
126 | end | |
127 | end | |
128 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
129 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
130 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
131 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
132 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
133 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
134 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
135 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
136 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
137 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
138 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
139 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
140 | RS = tors:FindFirstChild("Right Shoulder") | |
141 | LS = tors:FindFirstChild("Left Shoulder") | |
142 | RH = tors:FindFirstChild("Right Hip") | |
143 | LH = tors:FindFirstChild("Left Hip") | |
144 | RJ = hrp:FindFirstChild("RootJoint") | |
145 | N = tors:FindFirstChild("Neck") | |
146 | cf = CFrame.new | |
147 | ang = CFrame.Angles | |
148 | rd = math.rad | |
149 | rd2 = math.random | |
150 | function nooutline(p) | |
151 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
152 | end | |
153 | function makepart(color, name, reflec, mater, parnt, cfram) | |
154 | local port = Instance.new("Part") | |
155 | port.BrickColor = BrickColor.new(color) | |
156 | port.Name = name | |
157 | nooutline(port) | |
158 | port.Reflectance = reflec | |
159 | port.Material = mater | |
160 | port.Anchored = false | |
161 | port.CanCollide = false | |
162 | port.Locked = true | |
163 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
164 | port.Parent = parnt | |
165 | return port | |
166 | end | |
167 | function makemesh(meshtype, scale, meshid, parent) | |
168 | local mes = Instance.new("SpecialMesh") | |
169 | mes.MeshType = meshtype | |
170 | mes.Scale = scale | |
171 | if meshtype == "FileMesh" then | |
172 | mes.MeshId = meshid | |
173 | end | |
174 | mes.Parent = parent | |
175 | return mes | |
176 | end | |
177 | function makeweld(parent, p0, p1, c0, c1) | |
178 | local wel = Instance.new("Weld") | |
179 | wel.Part0 = p0 | |
180 | wel.Part1 = p1 | |
181 | wel.C0 = c0 | |
182 | if c1 ~= nil then | |
183 | wel.C1 = c1 | |
184 | end | |
185 | wel.Parent = parent | |
186 | return wel | |
187 | end | |
188 | function smokz(prnt) | |
189 | s = Instance.new("Smoke") | |
190 | s.Color = Color3.new(1, 1, 1) | |
191 | s.Enabled = false | |
192 | s.Name = "smok" | |
193 | s.Opacity = 0.5 | |
194 | s.RiseVelocity = 0.2 | |
195 | s.Size = 0.1 | |
196 | s.Parent = prnt | |
197 | end | |
198 | function lerpz(joint, prop, cfrmz, alp) | |
199 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
200 | end | |
201 | function resetlerp() | |
202 | RJ.C0 = RJC0 | |
203 | RJ.C1 = RJC1 | |
204 | N.C0 = NC0 | |
205 | N.C1 = NC1 | |
206 | RS.C0 = RSC0 | |
207 | RS.C1 = RSC1 | |
208 | LS.C0 = LSC0 | |
209 | LS.C1 = LSC1 | |
210 | RH.C0 = RHC0 | |
211 | RH.C1 = RHC1 | |
212 | LH.C0 = LHC0 | |
213 | end | |
214 | ||
215 | ||
216 | ||
217 | ||
218 | ||
219 | ||
220 | ||
221 | ||
222 | ||
223 | ||
224 | ||
225 | function RFistDamage() | |
226 | ||
227 | end | |
228 | function rsmash() | |
229 | if activu == true then | |
230 | return | |
231 | end | |
232 | activu = true | |
233 | ||
234 | human.WalkSpeed = human.WalkSpeed - 13 | |
235 | animo(false) | |
236 | for _ = 1, 45 do | |
237 | swait() | |
238 | lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2) | |
239 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2) | |
240 | lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2) | |
241 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
242 | lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2) | |
243 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2) | |
244 | lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2) | |
245 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
246 | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2) | |
247 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
248 | end | |
249 | for _ = 1, 30 do | |
250 | swait() | |
251 | lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2) | |
252 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2) | |
253 | lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(10, 20)), rd(rd2(-25, -15)), rd(rd2(100, 110))), 0.2) | |
254 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2) | |
255 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2) | |
256 | lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2) | |
257 | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2) | |
258 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2) | |
259 | ||
260 | end | |
261 | for l = 1, 3 do | |
262 | swait() | |
263 | lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4) | |
264 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4) | |
265 | lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4) | |
266 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4) | |
267 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4) | |
268 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4) | |
269 | lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4) | |
270 | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4) | |
271 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4) | |
272 | end | |
273 | KABOOMZ() | |
274 | rarm.BrickColor = BrickColor.new("Cocoa") | |
275 | for _ = 1, 8 do | |
276 | swait() | |
277 | lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8) | |
278 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8) | |
279 | lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8) | |
280 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8) | |
281 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8) | |
282 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8) | |
283 | lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8) | |
284 | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8) | |
285 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8) | |
286 | end | |
287 | wait(1.5) | |
288 | animo(true) | |
289 | human.WalkSpeed = human.WalkSpeed + 13 | |
290 | for _ = 1, 24 do | |
291 | swait() | |
292 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
293 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
294 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
295 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
296 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
297 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
298 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
299 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
300 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
301 | end | |
302 | resetlerp() | |
303 | activu = false | |
304 | wait(5) | |
305 | rarm.BrickColor = BrickColor.new("Institutional white") | |
306 | end | |
307 | ||
308 | ||
309 | ||
310 | ||
311 | local debris=game:service"Debris" | |
312 | vt = Vector3.new | |
313 | bc = BrickColor.new | |
314 | ||
315 | ||
316 | ||
317 | ||
318 | ||
319 | ||
320 | ||
321 | ||
322 | ||
323 | ||
324 | ||
325 | ||
326 | function Ring() | |
327 | ||
328 | ||
329 | local effspwn = Instance.new("Part") | |
330 | local model = Instance.new("Model") | |
331 | game.Debris:AddItem(model, 20) | |
332 | model.Name = "smasheffects" | |
333 | model.Parent = workspace | |
334 | effspwn.Name = "spwnr" | |
335 | effspwn.Size = Vector3.new(1, 1, 1) | |
336 | effspwn.Anchored = true | |
337 | effspwn.CanCollide = false | |
338 | effspwn.Transparency = 1 | |
339 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
340 | effspwn.Parent = model | |
341 | ||
342 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
343 | if v:FindFirstChild('Humanoid') then | |
344 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
345 | v.Humanoid.PlatformStand = true | |
346 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200 | |
347 | end | |
348 | end | |
349 | coroutine.resume(coroutine.create(function() | |
350 | local shok = Instance.new("Part") | |
351 | shok.Name = "wring1" | |
352 | shok.BrickColor = BrickColor.new("Institutional white") | |
353 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
354 | shok.Size = Vector3.new(1, 1, 1) | |
355 | shok.Anchored = true | |
356 | shok.Material = "Neon" | |
357 | shok.Transparency = 0.25 | |
358 | shok.CanCollide = false | |
359 | shok.Parent = model | |
360 | game.Debris:AddItem(shok, 12) | |
361 | local mesh = Instance.new("SpecialMesh") | |
362 | mesh.MeshType = "FileMesh" | |
363 | mesh.MeshId = "rbxassetid://3270017" | |
364 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
365 | mesh.Parent = shok | |
366 | for e = 1, 30 do | |
367 | wait() | |
368 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
369 | shok.Transparency = shok.Transparency + 0.002 | |
370 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
371 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
372 | end | |
373 | for e = 1, 38 do | |
374 | wait() | |
375 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
376 | shok.Transparency = shok.Transparency + 0.002 | |
377 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
378 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
379 | end | |
380 | for e = 1, 24 do | |
381 | wait() | |
382 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
383 | shok.Transparency = shok.Transparency + 0.03 | |
384 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
385 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
386 | end | |
387 | end)) | |
388 | coroutine.resume(coroutine.create(function() | |
389 | local shok = Instance.new("Part") | |
390 | shok.Name = "wring2" | |
391 | shok.BrickColor = BrickColor.new("Institutional white") | |
392 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
393 | shok.Size = Vector3.new(1, 1, 1) | |
394 | shok.Anchored = true | |
395 | shok.Material = "Neon" | |
396 | shok.Transparency = 0.25 | |
397 | shok.CanCollide = false | |
398 | shok.Parent = model | |
399 | game.Debris:AddItem(shok, 12) | |
400 | local mesh = Instance.new("SpecialMesh") | |
401 | mesh.MeshType = "FileMesh" | |
402 | mesh.MeshId = "rbxassetid://3270017" | |
403 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
404 | mesh.Parent = shok | |
405 | for e = 1, 30 do | |
406 | wait() | |
407 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
408 | shok.Transparency = shok.Transparency + 0.002 | |
409 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
410 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
411 | end | |
412 | for e = 1, 38 do | |
413 | wait() | |
414 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
415 | shok.Transparency = shok.Transparency + 0.002 | |
416 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
417 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
418 | end | |
419 | for e = 1, 24 do | |
420 | wait() | |
421 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
422 | shok.Transparency = shok.Transparency + 0.03 | |
423 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
424 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
425 | end | |
426 | end)) | |
427 | ||
428 | coroutine.resume(coroutine.create(function() | |
429 | local shok = Instance.new("Part") | |
430 | shok.Name = "shokwve" | |
431 | shok.BrickColor = BrickColor.new("Institutional white") | |
432 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
433 | shok.Size = Vector3.new(1, 1, 1) | |
434 | shok.Anchored = true | |
435 | shok.Material = "Neon" | |
436 | shok.Transparency = 0.6 | |
437 | shok.CanCollide = false | |
438 | shok.Parent = model | |
439 | game.Debris:AddItem(shok, 12) | |
440 | local mesh = Instance.new("SpecialMesh") | |
441 | mesh.MeshType = "FileMesh" | |
442 | mesh.MeshId = "rbxassetid://489415447" | |
443 | mesh.Scale = Vector3.new(1, 1, 1) | |
444 | mesh.Parent = shok | |
445 | for e = 1, 12 do | |
446 | wait() | |
447 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
448 | shok.Transparency = shok.Transparency + 0.002 | |
449 | end | |
450 | for e = 1, 32 do | |
451 | wait() | |
452 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
453 | shok.Transparency = shok.Transparency + 0.002 | |
454 | end | |
455 | for e = 1, 24 do | |
456 | wait() | |
457 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
458 | shok.Transparency = shok.Transparency + 0.03 | |
459 | end | |
460 | end)) | |
461 | coroutine.resume(coroutine.create(function() | |
462 | local shok = Instance.new("Part") | |
463 | shok.Name = "shock2" | |
464 | shok.BrickColor = BrickColor.new("Institutional white") | |
465 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
466 | shok.Size = Vector3.new(1, 1, 1) | |
467 | shok.Anchored = true | |
468 | shok.Material = "Neon" | |
469 | shok.Transparency = 0.35 | |
470 | shok.CanCollide = false | |
471 | shok.Parent = model | |
472 | game.Debris:AddItem(shok, 12) | |
473 | local mesh = Instance.new("SpecialMesh") | |
474 | mesh.MeshType = "FileMesh" | |
475 | mesh.MeshId = "rbxassetid://489415447" | |
476 | mesh.Scale = Vector3.new(12, 12, 12) | |
477 | mesh.Parent = shok | |
478 | for e = 1, 15 do | |
479 | wait() | |
480 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
481 | shok.Transparency = shok.Transparency + 0.004 | |
482 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
483 | end | |
484 | for e = 1, 16 do | |
485 | wait() | |
486 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
487 | shok.Transparency = shok.Transparency + 0.004 | |
488 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
489 | end | |
490 | for e = 1, 12 do | |
491 | wait() | |
492 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
493 | shok.Transparency = shok.Transparency + 0.06 | |
494 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
495 | end | |
496 | end)) | |
497 | coroutine.resume(coroutine.create(function() | |
498 | local shok = Instance.new("Part") | |
499 | shok.Name = "shock3" | |
500 | shok.BrickColor = BrickColor.new("Institutional white") | |
501 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
502 | shok.Size = Vector3.new(1, 1, 1) | |
503 | shok.Anchored = true | |
504 | shok.Material = "Neon" | |
505 | shok.Transparency = 0.35 | |
506 | shok.CanCollide = false | |
507 | shok.Parent = model | |
508 | game.Debris:AddItem(shok, 12) | |
509 | local mesh = Instance.new("SpecialMesh") | |
510 | mesh.MeshType = "FileMesh" | |
511 | mesh.MeshId = "rbxassetid://489415447" | |
512 | mesh.Scale = Vector3.new(12, 12, 12) | |
513 | mesh.Parent = shok | |
514 | for e = 1, 15 do | |
515 | wait() | |
516 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
517 | shok.Transparency = shok.Transparency + 0.004 | |
518 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
519 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
520 | end | |
521 | for e = 1, 16 do | |
522 | wait() | |
523 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
524 | shok.Transparency = shok.Transparency + 0.004 | |
525 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
526 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
527 | end | |
528 | for e = 1, 12 do | |
529 | wait() | |
530 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
531 | shok.Transparency = shok.Transparency + 0.06 | |
532 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
533 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
534 | end | |
535 | end)) | |
536 | ||
537 | end | |
538 | function Landing() | |
539 | ||
540 | ||
541 | ||
542 | ||
543 | ||
544 | ||
545 | ROW = function(out, trans, s, wt, t, ang, plus) | |
546 | for i = 1, 360, 360/t do | |
547 | local c = Instance.new("Part", game.Workspace) | |
548 | c.FormFactor = 3 | |
549 | c.TopSurface = 0 | |
550 | c.BottomSurface = 0 | |
551 | c.Size = s | |
552 | c.Anchored = true | |
553 | c.CanCollide = wt | |
554 | c.Material=workspace.Base.Material | |
555 | c.Transparency = trans | |
556 | c.BrickColor = workspace.Base.BrickColor | |
557 | c.CFrame = CFrame.new(tors.CFrame.x,0,tors.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
558 | c.Locked=true | |
559 | game.Debris:AddItem(c,15) | |
560 | end | |
561 | end | |
562 | ||
563 | ||
564 | ||
565 | ||
566 | ||
567 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
568 | Ring() | |
569 | ||
570 | ||
571 | ||
572 | ||
573 | ||
574 | end | |
575 | ||
576 | ||
577 | ||
578 | ||
579 | ||
580 | ||
581 | ||
582 | function newRay(start,face,range,wat) | |
583 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
584 | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
585 | return rey,hit,pos | |
586 | end | |
587 | ||
588 | ||
589 | ||
590 | ||
591 | function jum() | |
592 | if activu == true then | |
593 | return | |
594 | end | |
595 | activu = true | |
596 | human.WalkSpeed = human.WalkSpeed - 13 | |
597 | for l = 1, 30 do | |
598 | swait() | |
599 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) | |
600 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) | |
601 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) | |
602 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
603 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) | |
604 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
605 | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) | |
606 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
607 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
608 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
609 | end | |
610 | human.WalkSpeed = 50 | |
611 | BV = Instance.new("BodyVelocity", tors) | |
612 | BV.maxForce = Vector3.new(0,100000,0) | |
613 | BV.P = 100000 | |
614 | BV.velocity = Vector3.new(0,800,0) | |
615 | KABOOMZ2() | |
616 | coroutine.resume(coroutine.create(function() | |
617 | swait(3) | |
618 | BV:Destroy() | |
619 | end)) | |
620 | for _ = 1, 18 do | |
621 | swait() | |
622 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6) | |
623 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6) | |
624 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6) | |
625 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
626 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6) | |
627 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
628 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6) | |
629 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
630 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6) | |
631 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
632 | end | |
633 | for _ = 1, 18 do | |
634 | swait() | |
635 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
636 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
637 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
638 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
639 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
640 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
641 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
642 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
643 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
644 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
645 | end | |
646 | resetlerp() | |
647 | local ry,ht,ps=nil,nil,nil | |
648 | while ht==nil do | |
649 | ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr}) | |
650 | wait() | |
651 | end | |
652 | human.WalkSpeed = 0 | |
653 | Landing() | |
654 | z = Instance.new("Sound",tors) | |
655 | z.SoundId = "rbxassetid://142070127" | |
656 | z.Volume = 2 | |
657 | wait(.1) | |
658 | z:Play() | |
659 | ||
660 | for l = 1, 30 do | |
661 | swait() | |
662 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) | |
663 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) | |
664 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) | |
665 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
666 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) | |
667 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
668 | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) | |
669 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
670 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
671 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
672 | end | |
673 | resetlerp() | |
674 | human.WalkSpeed = 16 | |
675 | ||
676 | activu = false | |
677 | end | |
678 | ||
679 | ||
680 | ||
681 | local acos = math.acos | |
682 | local sqrt = math.sqrt | |
683 | local Vec3 = Vector3.new | |
684 | local fromAxisAngle = CFrame.fromAxisAngle | |
685 | ||
686 | local function toAxisAngle(CFr) | |
687 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
688 | local Angle = math.acos((R00+R11+R22-1)/2) | |
689 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
690 | A = A == 0 and 0.00001 or A | |
691 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
692 | B = B == 0 and 0.00001 or B | |
693 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
694 | C = C == 0 and 0.00001 or C | |
695 | local x = (R21-R12)/sqrt(A) | |
696 | local y = (R02-R20)/sqrt(B) | |
697 | local z = (R10-R01)/sqrt(C) | |
698 | return Vec3(x,y,z),Angle | |
699 | end | |
700 | ||
701 | function ApplyTrig(Num,Func) | |
702 | local Min,Max = Func(0),Func(1) | |
703 | local i = Func(Num) | |
704 | return (i-Min)/(Max-Min) | |
705 | --[[if Func == "sin" then | |
706 | return (math.sin((1-Num)*math.pi)+1)/2 | |
707 | elseif Func == "cos" then | |
708 | return (math.cos((1-Num)*math.pi)+1)/2 | |
709 | end]] | |
710 | end | |
711 | ||
712 | function LerpCFrame(CFrame1,CFrame2,Num) | |
713 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
714 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
715 | end | |
716 | ||
717 | function Crater(Torso,Radius) | |
718 | spawn(function() | |
719 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
720 | local Ignore = {} | |
721 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
722 | if v.Character ~= nil then | |
723 | Ignore[#Ignore+1] = v.Character | |
724 | end | |
725 | end | |
726 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
727 | if Hit == nil then return end | |
728 | local Parts = {} | |
729 | for i = 1,360,10 do | |
730 | local P = Instance.new("Part",Torso.Parent) | |
731 | P.Anchored = true | |
732 | P.FormFactor = "Custom" | |
733 | P.BrickColor = Hit.BrickColor | |
734 | P.Material = Hit.Material | |
735 | P.TopSurface = "Smooth" | |
736 | P.BottomSurface = "Smooth" | |
737 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
738 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
739 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
740 | if math.random(0,5) == 0 then -- rubble | |
741 | local P = Instance.new("Part",Torso.Parent) | |
742 | P.Anchored = true | |
743 | P.FormFactor = "Custom" | |
744 | P.BrickColor = Hit.BrickColor | |
745 | P.Material = Hit.Material | |
746 | P.TopSurface = "Smooth" | |
747 | P.BottomSurface = "Smooth" | |
748 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
749 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
750 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
751 | end | |
752 | end | |
753 | for i = 0,1,0.05 do | |
754 | for i2,v in pairs(Parts) do | |
755 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
756 | end | |
757 | wait(0.02) | |
758 | end | |
759 | for i,v in pairs(Parts) do | |
760 | if v[1].Size.X > 2.1 then | |
761 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
762 | end | |
763 | v[1].Anchored = false | |
764 | end | |
765 | for i = 0,1,0.05 do | |
766 | for i2,v in pairs(Parts) do | |
767 | v[1].Transparency = i | |
768 | if i == 1 then | |
769 | v[1]:Destroy() | |
770 | elseif i >= 0.25 then | |
771 | v[1].CanCollide = false | |
772 | end | |
773 | end | |
774 | wait(0.02) | |
775 | end | |
776 | Parts = nil | |
777 | end) | |
778 | end | |
779 | ||
780 | ||
781 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
782 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
783 | local List = {} | |
784 | for i,v in pairs(workspace:GetChildren())do | |
785 | if v:IsA("Model")then | |
786 | if v:findFirstChild("Torso")then | |
787 | if v ~= chr then | |
788 | if(v.Torso.Position -Position).magnitude <= Distance then | |
789 | table.insert(List,v) | |
790 | end | |
791 | end | |
792 | end | |
793 | end | |
794 | end | |
795 | return List | |
796 | end | |
797 | ||
798 | function KABOOMZ() | |
799 | local effspwn = Instance.new("Part") | |
800 | coroutine.resume(coroutine.create(function() | |
801 | local sound1 = Instance.new("Sound") | |
802 | sound1.SoundId = "rbxassetid://138137702" | |
803 | sound1.MaxDistance = 300 | |
804 | sound1.EmitterSize = 20 | |
805 | sound1.Volume = 5 | |
806 | sound1.Pitch = 0.95 | |
807 | sound1.Parent = effspwn | |
808 | local sound2 = Instance.new("Sound") | |
809 | sound2.SoundId = "rbxassetid://157878578" | |
810 | sound2.MaxDistance = 300 | |
811 | sound2.EmitterSize = 20 | |
812 | sound2.Volume = 2 | |
813 | sound2.Pitch = 0.9 | |
814 | sound2.Parent = effspwn | |
815 | local sound3 = Instance.new("Sound") | |
816 | sound3.SoundId = "rbxassetid://138250406" | |
817 | sound2.MaxDistance = 400 | |
818 | sound2.EmitterSize = 30 | |
819 | sound2.Volume = 1.5 | |
820 | sound2.Pitch = 0.6 | |
821 | sound2.Parent = effspwn | |
822 | sound2:Play() | |
823 | wait() | |
824 | sound1:Play() | |
825 | sound3:Play() | |
826 | end)) | |
827 | local model = Instance.new("Model") | |
828 | game.Debris:AddItem(model, 20) | |
829 | model.Name = "smasheffects" | |
830 | model.Parent = workspace | |
831 | effspwn.Name = "spwnr" | |
832 | effspwn.Size = Vector3.new(1, 1, 1) | |
833 | effspwn.Anchored = true | |
834 | effspwn.CanCollide = false | |
835 | effspwn.Transparency = 1 | |
836 | effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0) | |
837 | effspwn.Parent = model | |
838 | ||
839 | Crater(head,60) | |
840 | ||
841 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
842 | if v:FindFirstChild('Humanoid') then | |
843 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
844 | v.Humanoid.PlatformStand = true | |
845 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200 | |
846 | end | |
847 | end | |
848 | coroutine.resume(coroutine.create(function() | |
849 | local shok = Instance.new("Part") | |
850 | shok.Name = "whoosh" | |
851 | shok.BrickColor = BrickColor.new("Institutional white") | |
852 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
853 | shok.Size = Vector3.new(1, 1, 1) | |
854 | shok.Anchored = true | |
855 | shok.Material = "Neon" | |
856 | shok.Transparency = 0.1 | |
857 | shok.CanCollide = false | |
858 | shok.Parent = model | |
859 | game.Debris:AddItem(shok, 12) | |
860 | local mesh = Instance.new("SpecialMesh") | |
861 | mesh.MeshType = "FileMesh" | |
862 | mesh.MeshId = "rbxassetid://437347603" | |
863 | mesh.Scale = Vector3.new(0.8, 0.8, 0.3) | |
864 | mesh.Parent = shok | |
865 | for e = 1, 8 do | |
866 | wait() | |
867 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
868 | shok.Transparency = shok.Transparency + 0.035 | |
869 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4) | |
870 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
871 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
872 | end | |
873 | for e = 1, 16 do | |
874 | wait() | |
875 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
876 | shok.Transparency = shok.Transparency + 0.11 | |
877 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4) | |
878 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
879 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
880 | end | |
881 | end)) | |
882 | coroutine.resume(coroutine.create(function() | |
883 | local shok = Instance.new("Part") | |
884 | shok.Name = "wring1" | |
885 | shok.BrickColor = BrickColor.new("Institutional white") | |
886 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
887 | shok.Size = Vector3.new(1, 1, 1) | |
888 | shok.Anchored = true | |
889 | shok.Material = "Neon" | |
890 | shok.Transparency = 0.25 | |
891 | shok.CanCollide = false | |
892 | shok.Parent = model | |
893 | game.Debris:AddItem(shok, 12) | |
894 | local mesh = Instance.new("SpecialMesh") | |
895 | mesh.MeshType = "FileMesh" | |
896 | mesh.MeshId = "rbxassetid://3270017" | |
897 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
898 | mesh.Parent = shok | |
899 | for e = 1, 30 do | |
900 | wait() | |
901 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
902 | shok.Transparency = shok.Transparency + 0.002 | |
903 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
904 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
905 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
906 | ||
907 | end | |
908 | for e = 1, 38 do | |
909 | wait() | |
910 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
911 | shok.Transparency = shok.Transparency + 0.002 | |
912 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
913 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
914 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
915 | ||
916 | end | |
917 | for e = 1, 24 do | |
918 | wait() | |
919 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
920 | shok.Transparency = shok.Transparency + 0.03 | |
921 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
922 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
923 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
924 | ||
925 | end | |
926 | end)) | |
927 | coroutine.resume(coroutine.create(function() | |
928 | local shok = Instance.new("Part") | |
929 | shok.Name = "wring2" | |
930 | shok.BrickColor = BrickColor.new("Institutional white") | |
931 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
932 | shok.Size = Vector3.new(1, 1, 1) | |
933 | shok.Anchored = true | |
934 | shok.Material = "Neon" | |
935 | shok.Transparency = 0.25 | |
936 | shok.CanCollide = false | |
937 | shok.Parent = model | |
938 | game.Debris:AddItem(shok, 12) | |
939 | local mesh = Instance.new("SpecialMesh") | |
940 | mesh.MeshType = "FileMesh" | |
941 | mesh.MeshId = "rbxassetid://3270017" | |
942 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
943 | mesh.Parent = shok | |
944 | for e = 1, 30 do | |
945 | wait() | |
946 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
947 | shok.Transparency = shok.Transparency + 0.002 | |
948 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
949 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
950 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
951 | ||
952 | end | |
953 | for e = 1, 38 do | |
954 | wait() | |
955 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
956 | shok.Transparency = shok.Transparency + 0.002 | |
957 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
958 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
959 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
960 | ||
961 | end | |
962 | for e = 1, 24 do | |
963 | wait() | |
964 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
965 | shok.Transparency = shok.Transparency + 0.03 | |
966 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
967 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
968 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
969 | ||
970 | end | |
971 | end)) | |
972 | coroutine.resume(coroutine.create(function() | |
973 | local shok = Instance.new("Part") | |
974 | shok.Name = "coil1" | |
975 | shok.BrickColor = BrickColor.new("Institutional white") | |
976 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
977 | shok.Size = Vector3.new(1, 1, 1) | |
978 | shok.Anchored = true | |
979 | shok.Material = "Neon" | |
980 | shok.Transparency = 0.25 | |
981 | shok.CanCollide = false | |
982 | shok.Parent = model | |
983 | game.Debris:AddItem(shok, 12) | |
984 | local mesh = Instance.new("SpecialMesh") | |
985 | mesh.MeshType = "FileMesh" | |
986 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
987 | mesh.Scale = Vector3.new(12, 12, 12) | |
988 | mesh.Parent = shok | |
989 | for e = 1, 15 do | |
990 | wait() | |
991 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
992 | shok.Transparency = shok.Transparency + 0.004 | |
993 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
994 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
995 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
996 | ||
997 | end | |
998 | for e = 1, 16 do | |
999 | wait() | |
1000 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1001 | shok.Transparency = shok.Transparency + 0.004 | |
1002 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1003 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1004 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1005 | ||
1006 | end | |
1007 | for e = 1, 12 do | |
1008 | wait() | |
1009 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1010 | shok.Transparency = shok.Transparency + 0.06 | |
1011 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1012 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1013 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1014 | ||
1015 | end | |
1016 | end)) | |
1017 | coroutine.resume(coroutine.create(function() | |
1018 | local shok = Instance.new("Part") | |
1019 | shok.Name = "coil2" | |
1020 | shok.BrickColor = BrickColor.new("Institutional white") | |
1021 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1022 | shok.Size = Vector3.new(1, 1, 1) | |
1023 | shok.Anchored = true | |
1024 | shok.Material = "Neon" | |
1025 | shok.Transparency = 0.25 | |
1026 | shok.CanCollide = false | |
1027 | shok.Parent = model | |
1028 | game.Debris:AddItem(shok, 12) | |
1029 | local mesh = Instance.new("SpecialMesh") | |
1030 | mesh.MeshType = "FileMesh" | |
1031 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
1032 | mesh.Scale = Vector3.new(6, 12, 6) | |
1033 | mesh.Parent = shok | |
1034 | for e = 1, 15 do | |
1035 | wait() | |
1036 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
1037 | shok.Transparency = shok.Transparency + 0.005 | |
1038 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
1039 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
1040 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1041 | ||
1042 | end | |
1043 | for e = 1, 16 do | |
1044 | wait() | |
1045 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
1046 | shok.Transparency = shok.Transparency + 0.005 | |
1047 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1048 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
1049 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1050 | ||
1051 | end | |
1052 | for e = 1, 12 do | |
1053 | wait() | |
1054 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
1055 | shok.Transparency = shok.Transparency + 0.09 | |
1056 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1057 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
1058 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1059 | ||
1060 | end | |
1061 | end)) | |
1062 | coroutine.resume(coroutine.create(function() | |
1063 | local shok = Instance.new("Part") | |
1064 | shok.Name = "shokwve" | |
1065 | shok.BrickColor = BrickColor.new("Institutional white") | |
1066 | shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0) | |
1067 | shok.Size = Vector3.new(1, 1, 1) | |
1068 | shok.Anchored = true | |
1069 | shok.Material = "Neon" | |
1070 | shok.Transparency = 0.6 | |
1071 | shok.CanCollide = false | |
1072 | shok.Parent = model | |
1073 | game.Debris:AddItem(shok, 12) | |
1074 | local mesh = Instance.new("SpecialMesh") | |
1075 | mesh.MeshType = "FileMesh" | |
1076 | mesh.MeshId = "rbxassetid://489415447" | |
1077 | mesh.Scale = Vector3.new(1, 1, 1) | |
1078 | mesh.Parent = shok | |
1079 | for e = 1, 12 do | |
1080 | wait() | |
1081 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
1082 | shok.Transparency = shok.Transparency + 0.002 | |
1083 | end | |
1084 | for e = 1, 32 do | |
1085 | wait() | |
1086 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
1087 | shok.Transparency = shok.Transparency + 0.002 | |
1088 | end | |
1089 | for e = 1, 24 do | |
1090 | wait() | |
1091 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
1092 | shok.Transparency = shok.Transparency + 0.03 | |
1093 | end | |
1094 | end)) | |
1095 | coroutine.resume(coroutine.create(function() | |
1096 | local shok = Instance.new("Part") | |
1097 | shok.Name = "shock2" | |
1098 | shok.BrickColor = BrickColor.new("Institutional white") | |
1099 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1100 | shok.Size = Vector3.new(1, 1, 1) | |
1101 | shok.Anchored = true | |
1102 | shok.Material = "Neon" | |
1103 | shok.Transparency = 0.35 | |
1104 | shok.CanCollide = false | |
1105 | shok.Parent = model | |
1106 | game.Debris:AddItem(shok, 12) | |
1107 | local mesh = Instance.new("SpecialMesh") | |
1108 | mesh.MeshType = "FileMesh" | |
1109 | mesh.MeshId = "rbxassetid://489415447" | |
1110 | mesh.Scale = Vector3.new(12, 12, 12) | |
1111 | mesh.Parent = shok | |
1112 | for e = 1, 15 do | |
1113 | wait() | |
1114 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1115 | shok.Transparency = shok.Transparency + 0.004 | |
1116 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1117 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1118 | ||
1119 | end | |
1120 | for e = 1, 16 do | |
1121 | wait() | |
1122 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1123 | shok.Transparency = shok.Transparency + 0.004 | |
1124 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1125 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1126 | ||
1127 | end | |
1128 | for e = 1, 12 do | |
1129 | wait() | |
1130 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1131 | shok.Transparency = shok.Transparency + 0.06 | |
1132 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1133 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1134 | ||
1135 | end | |
1136 | end)) | |
1137 | coroutine.resume(coroutine.create(function() | |
1138 | local shok = Instance.new("Part") | |
1139 | shok.Name = "shock3" | |
1140 | shok.BrickColor = BrickColor.new("Institutional white") | |
1141 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1142 | shok.Size = Vector3.new(1, 1, 1) | |
1143 | shok.Anchored = true | |
1144 | shok.Material = "Neon" | |
1145 | shok.Transparency = 0.35 | |
1146 | shok.CanCollide = false | |
1147 | shok.Parent = model | |
1148 | game.Debris:AddItem(shok, 12) | |
1149 | local mesh = Instance.new("SpecialMesh") | |
1150 | mesh.MeshType = "FileMesh" | |
1151 | mesh.MeshId = "rbxassetid://489415447" | |
1152 | mesh.Scale = Vector3.new(12, 12, 12) | |
1153 | mesh.Parent = shok | |
1154 | for e = 1, 15 do | |
1155 | wait() | |
1156 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1157 | shok.Transparency = shok.Transparency + 0.004 | |
1158 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1159 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1160 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1161 | ||
1162 | end | |
1163 | for e = 1, 16 do | |
1164 | wait() | |
1165 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1166 | shok.Transparency = shok.Transparency + 0.004 | |
1167 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1168 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1169 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1170 | ||
1171 | end | |
1172 | for e = 1, 12 do | |
1173 | wait() | |
1174 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
1175 | shok.Transparency = shok.Transparency + 0.06 | |
1176 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1177 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1178 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1179 | ||
1180 | end | |
1181 | end)) | |
1182 | end | |
1183 | function KABOOMZ2() | |
1184 | local effspwn = Instance.new("Part") | |
1185 | coroutine.resume(coroutine.create(function() | |
1186 | local sound1 = Instance.new("Sound") | |
1187 | sound1.SoundId = "rbxassetid://138137702" | |
1188 | sound1.MaxDistance = 300 | |
1189 | sound1.EmitterSize = 20 | |
1190 | sound1.Volume = 2.5 | |
1191 | sound1.Pitch = 0.65 | |
1192 | sound1.Parent = effspwn | |
1193 | local sound2 = Instance.new("Sound") | |
1194 | sound2.SoundId = "rbxassetid://157878578" | |
1195 | sound2.MaxDistance = 300 | |
1196 | sound2.EmitterSize = 20 | |
1197 | sound2.Volume = 1 | |
1198 | sound2.Pitch = 0.7 | |
1199 | sound2.Parent = effspwn | |
1200 | local sound3 = Instance.new("Sound") | |
1201 | sound3.SoundId = "rbxassetid://138250406" | |
1202 | sound2.MaxDistance = 400 | |
1203 | sound2.EmitterSize = 30 | |
1204 | sound2.Volume = 0.5 | |
1205 | sound2.Pitch = 0.5 | |
1206 | sound2.Parent = effspwn | |
1207 | sound2:Play() | |
1208 | wait() | |
1209 | sound1:Play() | |
1210 | sound3:Play() | |
1211 | end)) | |
1212 | local model = Instance.new("Model") | |
1213 | game.Debris:AddItem(model, 20) | |
1214 | model.Name = "smasheffects" | |
1215 | model.Parent = workspace | |
1216 | effspwn.Name = "spwnr" | |
1217 | effspwn.Size = Vector3.new(1, 1, 1) | |
1218 | effspwn.Anchored = true | |
1219 | effspwn.CanCollide = false | |
1220 | effspwn.Transparency = 1 | |
1221 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
1222 | effspwn.Parent = model | |
1223 | ||
1224 | ||
1225 | ||
1226 | ||
1227 | ||
1228 | Crater(head,60) | |
1229 | Crater(head,120) | |
1230 | ||
1231 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
1232 | if v:FindFirstChild('Humanoid') then | |
1233 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
1234 | v.Humanoid.PlatformStand = true | |
1235 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200 | |
1236 | end | |
1237 | end | |
1238 | ||
1239 | coroutine.resume(coroutine.create(function() | |
1240 | local shok = Instance.new("Part") | |
1241 | shok.Name = "whoosh" | |
1242 | shok.BrickColor = BrickColor.new("Institutional white") | |
1243 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
1244 | shok.Size = Vector3.new(1, 1, 1) | |
1245 | shok.Anchored = true | |
1246 | shok.Material = "Neon" | |
1247 | shok.Transparency = 0.1 | |
1248 | shok.CanCollide = false | |
1249 | shok.Parent = model | |
1250 | game.Debris:AddItem(shok, 12) | |
1251 | local mesh = Instance.new("SpecialMesh") | |
1252 | mesh.MeshType = "FileMesh" | |
1253 | mesh.MeshId = "rbxassetid://437347603" | |
1254 | mesh.Scale = Vector3.new(0.8, 0.8, 0.3) | |
1255 | mesh.Parent = shok | |
1256 | ||
1257 | ||
1258 | ||
1259 | ||
1260 | ||
1261 | for e = 1, 8 do | |
1262 | wait() | |
1263 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
1264 | shok.Transparency = shok.Transparency + 0.035 | |
1265 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4) | |
1266 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
1267 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1268 | ||
1269 | end | |
1270 | for e = 1, 16 do | |
1271 | wait() | |
1272 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
1273 | shok.Transparency = shok.Transparency + 0.11 | |
1274 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4) | |
1275 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
1276 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
1277 | ||
1278 | end | |
1279 | end)) | |
1280 | coroutine.resume(coroutine.create(function() | |
1281 | local shok = Instance.new("Part") | |
1282 | shok.Name = "wring1" | |
1283 | shok.BrickColor = BrickColor.new("Institutional white") | |
1284 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
1285 | shok.Size = Vector3.new(1, 1, 1) | |
1286 | shok.Anchored = true | |
1287 | shok.Material = "Neon" | |
1288 | shok.Transparency = 0.25 | |
1289 | shok.CanCollide = false | |
1290 | shok.Parent = model | |
1291 | game.Debris:AddItem(shok, 12) | |
1292 | local mesh = Instance.new("SpecialMesh") | |
1293 | mesh.MeshType = "FileMesh" | |
1294 | mesh.MeshId = "rbxassetid://3270017" | |
1295 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
1296 | mesh.Parent = shok | |
1297 | for e = 1, 30 do | |
1298 | wait() | |
1299 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
1300 | shok.Transparency = shok.Transparency + 0.002 | |
1301 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
1302 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
1303 | end | |
1304 | for e = 1, 38 do | |
1305 | wait() | |
1306 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
1307 | shok.Transparency = shok.Transparency + 0.002 | |
1308 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1309 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
1310 | end | |
1311 | for e = 1, 24 do | |
1312 | wait() | |
1313 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
1314 | shok.Transparency = shok.Transparency + 0.03 | |
1315 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1316 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
1317 | end | |
1318 | end)) | |
1319 | coroutine.resume(coroutine.create(function() | |
1320 | local shok = Instance.new("Part") | |
1321 | shok.Name = "wring2" | |
1322 | shok.BrickColor = BrickColor.new("Institutional white") | |
1323 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
1324 | shok.Size = Vector3.new(1, 1, 1) | |
1325 | shok.Anchored = true | |
1326 | shok.Material = "Neon" | |
1327 | shok.Transparency = 0.25 | |
1328 | shok.CanCollide = false | |
1329 | shok.Parent = model | |
1330 | game.Debris:AddItem(shok, 12) | |
1331 | local mesh = Instance.new("SpecialMesh") | |
1332 | mesh.MeshType = "FileMesh" | |
1333 | mesh.MeshId = "rbxassetid://3270017" | |
1334 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
1335 | mesh.Parent = shok | |
1336 | for e = 1, 30 do | |
1337 | wait() | |
1338 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
1339 | shok.Transparency = shok.Transparency + 0.002 | |
1340 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
1341 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
1342 | end | |
1343 | for e = 1, 38 do | |
1344 | wait() | |
1345 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
1346 | shok.Transparency = shok.Transparency + 0.002 | |
1347 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1348 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
1349 | end | |
1350 | for e = 1, 24 do | |
1351 | wait() | |
1352 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
1353 | shok.Transparency = shok.Transparency + 0.03 | |
1354 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1355 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
1356 | end | |
1357 | end)) | |
1358 | coroutine.resume(coroutine.create(function() | |
1359 | local shok = Instance.new("Part") | |
1360 | shok.Name = "coil1" | |
1361 | shok.BrickColor = BrickColor.new("Institutional white") | |
1362 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1363 | shok.Size = Vector3.new(1, 1, 1) | |
1364 | shok.Anchored = true | |
1365 | shok.Material = "Neon" | |
1366 | shok.Transparency = 0.25 | |
1367 | shok.CanCollide = false | |
1368 | shok.Parent = model | |
1369 | game.Debris:AddItem(shok, 12) | |
1370 | local mesh = Instance.new("SpecialMesh") | |
1371 | mesh.MeshType = "FileMesh" | |
1372 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
1373 | mesh.Scale = Vector3.new(12, 12, 12) | |
1374 | mesh.Parent = shok | |
1375 | for e = 1, 15 do | |
1376 | wait() | |
1377 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1378 | shok.Transparency = shok.Transparency + 0.004 | |
1379 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
1380 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1381 | end | |
1382 | for e = 1, 16 do | |
1383 | wait() | |
1384 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1385 | shok.Transparency = shok.Transparency + 0.004 | |
1386 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1387 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1388 | end | |
1389 | for e = 1, 12 do | |
1390 | wait() | |
1391 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1392 | shok.Transparency = shok.Transparency + 0.06 | |
1393 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1394 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1395 | end | |
1396 | end)) | |
1397 | coroutine.resume(coroutine.create(function() | |
1398 | local shok = Instance.new("Part") | |
1399 | shok.Name = "coil2" | |
1400 | shok.BrickColor = BrickColor.new("Institutional white") | |
1401 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1402 | shok.Size = Vector3.new(1, 1, 1) | |
1403 | shok.Anchored = true | |
1404 | shok.Material = "Neon" | |
1405 | shok.Transparency = 0.25 | |
1406 | shok.CanCollide = false | |
1407 | shok.Parent = model | |
1408 | game.Debris:AddItem(shok, 12) | |
1409 | local mesh = Instance.new("SpecialMesh") | |
1410 | mesh.MeshType = "FileMesh" | |
1411 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
1412 | mesh.Scale = Vector3.new(6, 12, 6) | |
1413 | mesh.Parent = shok | |
1414 | for e = 1, 15 do | |
1415 | wait() | |
1416 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
1417 | shok.Transparency = shok.Transparency + 0.005 | |
1418 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
1419 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
1420 | end | |
1421 | for e = 1, 16 do | |
1422 | wait() | |
1423 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
1424 | shok.Transparency = shok.Transparency + 0.005 | |
1425 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1426 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
1427 | end | |
1428 | for e = 1, 12 do | |
1429 | wait() | |
1430 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
1431 | shok.Transparency = shok.Transparency + 0.09 | |
1432 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
1433 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
1434 | end | |
1435 | end)) | |
1436 | coroutine.resume(coroutine.create(function() | |
1437 | local shok = Instance.new("Part") | |
1438 | shok.Name = "shokwve" | |
1439 | shok.BrickColor = BrickColor.new("Institutional white") | |
1440 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
1441 | shok.Size = Vector3.new(1, 1, 1) | |
1442 | shok.Anchored = true | |
1443 | shok.Material = "Neon" | |
1444 | shok.Transparency = 0.6 | |
1445 | shok.CanCollide = false | |
1446 | shok.Parent = model | |
1447 | game.Debris:AddItem(shok, 12) | |
1448 | local mesh = Instance.new("SpecialMesh") | |
1449 | mesh.MeshType = "FileMesh" | |
1450 | mesh.MeshId = "rbxassetid://489415447" | |
1451 | mesh.Scale = Vector3.new(1, 1, 1) | |
1452 | mesh.Parent = shok | |
1453 | for e = 1, 12 do | |
1454 | wait() | |
1455 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
1456 | shok.Transparency = shok.Transparency + 0.002 | |
1457 | end | |
1458 | for e = 1, 32 do | |
1459 | wait() | |
1460 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
1461 | shok.Transparency = shok.Transparency + 0.002 | |
1462 | end | |
1463 | for e = 1, 24 do | |
1464 | wait() | |
1465 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
1466 | shok.Transparency = shok.Transparency + 0.03 | |
1467 | end | |
1468 | end)) | |
1469 | coroutine.resume(coroutine.create(function() | |
1470 | local shok = Instance.new("Part") | |
1471 | shok.Name = "shock2" | |
1472 | shok.BrickColor = BrickColor.new("Institutional white") | |
1473 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1474 | shok.Size = Vector3.new(1, 1, 1) | |
1475 | shok.Anchored = true | |
1476 | shok.Material = "Neon" | |
1477 | shok.Transparency = 0.35 | |
1478 | shok.CanCollide = false | |
1479 | shok.Parent = model | |
1480 | game.Debris:AddItem(shok, 12) | |
1481 | local mesh = Instance.new("SpecialMesh") | |
1482 | mesh.MeshType = "FileMesh" | |
1483 | mesh.MeshId = "rbxassetid://489415447" | |
1484 | mesh.Scale = Vector3.new(12, 12, 12) | |
1485 | mesh.Parent = shok | |
1486 | for e = 1, 15 do | |
1487 | wait() | |
1488 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1489 | shok.Transparency = shok.Transparency + 0.004 | |
1490 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1491 | end | |
1492 | for e = 1, 16 do | |
1493 | wait() | |
1494 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1495 | shok.Transparency = shok.Transparency + 0.004 | |
1496 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1497 | end | |
1498 | for e = 1, 12 do | |
1499 | wait() | |
1500 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
1501 | shok.Transparency = shok.Transparency + 0.06 | |
1502 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
1503 | end | |
1504 | end)) | |
1505 | coroutine.resume(coroutine.create(function() | |
1506 | local shok = Instance.new("Part") | |
1507 | shok.Name = "shock3" | |
1508 | shok.BrickColor = BrickColor.new("Institutional white") | |
1509 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1510 | shok.Size = Vector3.new(1, 1, 1) | |
1511 | shok.Anchored = true | |
1512 | shok.Material = "Neon" | |
1513 | shok.Transparency = 0.35 | |
1514 | shok.CanCollide = false | |
1515 | shok.Parent = model | |
1516 | game.Debris:AddItem(shok, 12) | |
1517 | local mesh = Instance.new("SpecialMesh") | |
1518 | mesh.MeshType = "FileMesh" | |
1519 | mesh.MeshId = "rbxassetid://489415447" | |
1520 | mesh.Scale = Vector3.new(12, 12, 12) | |
1521 | mesh.Parent = shok | |
1522 | for e = 1, 15 do | |
1523 | wait() | |
1524 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1525 | shok.Transparency = shok.Transparency + 0.004 | |
1526 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1527 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1528 | end | |
1529 | for e = 1, 16 do | |
1530 | wait() | |
1531 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1532 | shok.Transparency = shok.Transparency + 0.004 | |
1533 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1534 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1535 | end | |
1536 | for e = 1, 12 do | |
1537 | wait() | |
1538 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
1539 | shok.Transparency = shok.Transparency + 0.06 | |
1540 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1541 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1542 | end | |
1543 | end)) | |
1544 | end | |
1545 | ||
1546 | ||
1547 | ||
1548 | tor = chr.Torso | |
1549 | Debounce = false | |
1550 | ||
1551 | Invis = function() | |
1552 | for i = 1,20 do | |
1553 | chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05 | |
1554 | chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05 | |
1555 | chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05 | |
1556 | chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05 | |
1557 | chr['Head'].Transparency = chr['Head'].Transparency + .05 | |
1558 | chr['Torso'].Transparency = chr['Torso'].Transparency + .05 | |
1559 | chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05 | |
1560 | game["Run Service"].RenderStepped:wait() | |
1561 | end | |
1562 | end | |
1563 | ||
1564 | Vis = function() | |
1565 | for i = 1,20 do | |
1566 | chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05 | |
1567 | chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05 | |
1568 | chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05 | |
1569 | chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05 | |
1570 | chr['Head'].Transparency = chr['Head'].Transparency - .05 | |
1571 | chr['Torso'].Transparency = chr['Torso'].Transparency - .05 | |
1572 | chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05 | |
1573 | game["Run Service"].RenderStepped:wait() | |
1574 | end | |
1575 | end | |
1576 | ||
1577 | Fade = function(Part) | |
1578 | if Part:IsA'Part' then | |
1579 | for i = 1,20 do | |
1580 | Part.Transparency = Part.Transparency + .05 | |
1581 | Part.Size = Part.Size - Vector3.new(.04,.04,.04) | |
1582 | Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0) | |
1583 | wait() | |
1584 | end | |
1585 | Part:Destroy() | |
1586 | end | |
1587 | end | |
1588 | ||
1589 | Teleport = function(cx,cy,cz) | |
1590 | Debounce = true | |
1591 | tor.Anchored = true | |
1592 | Invis() | |
1593 | --MakeTpPart() | |
1594 | tor.Anchored = false | |
1595 | tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0) | |
1596 | tor.Anchored = true | |
1597 | Vis() | |
1598 | tor.Anchored = false | |
1599 | Debounce = false | |
1600 | end; | |
1601 | ||
1602 | ||
1603 | ||
1604 | tps = Instance.new("Sound",chr) | |
1605 | tps.SoundId = "http://www.roblox.com/asset/?id = 449860746" | |
1606 | tps.Volume = 30 | |
1607 | ||
1608 | ||
1609 | function Tele() | |
1610 | human.WalkSpeed = 0 | |
1611 | if activu == true then | |
1612 | return | |
1613 | end | |
1614 | activu = true | |
1615 | ||
1616 | for l = 1, 30 do | |
1617 | swait() | |
1618 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) | |
1619 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) | |
1620 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) | |
1621 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
1622 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) | |
1623 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
1624 | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) | |
1625 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
1626 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
1627 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
1628 | end | |
1629 | local rng = Instance.new("Part", chr) | |
1630 | rng.Anchored = true | |
1631 | rng.BrickColor = BrickColor.new("Institutional white") | |
1632 | rng.CanCollide = false | |
1633 | rng.FormFactor = 3 | |
1634 | rng.Name = "Ring" | |
1635 | rng.Size = Vector3.new(1, 1, 1) | |
1636 | rng.Transparency = 0.5 | |
1637 | rng.TopSurface = 0 | |
1638 | rng.BottomSurface = 0 | |
1639 | rng.Position = tors.Position - Vector3.new(0,2,0) | |
1640 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1641 | local rngm = Instance.new("SpecialMesh", rng) | |
1642 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1643 | rngm.Scale = Vector3.new(1, 1, 2) | |
1644 | lleg.BrickColor = BrickColor.new("Cocoa") | |
1645 | rleg.BrickColor = BrickColor.new("Cocoa") | |
1646 | coroutine.wrap(function() | |
1647 | for i = 1, 60, 8 do | |
1648 | rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1) | |
1649 | rng.Transparency = i/60 | |
1650 | wait() | |
1651 | end | |
1652 | wait() | |
1653 | rng:Destroy() | |
1654 | end)() | |
1655 | tps:Play() | |
1656 | Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z) | |
1657 | resetlerp() | |
1658 | human.WalkSpeed = 16 | |
1659 | activu = false | |
1660 | wait(5) | |
1661 | lleg.BrickColor = BrickColor.new("Institutional white") | |
1662 | rleg.BrickColor = BrickColor.new("Institutional white") | |
1663 | end | |
1664 | ||
1665 | ||
1666 | ||
1667 | ||
1668 | boom3 = Instance.new("Sound",chr) | |
1669 | boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019" | |
1670 | boom3.Volume = 50 | |
1671 | ||
1672 | ||
1673 | ||
1674 | ||
1675 | ||
1676 | gprop = {} | |
1677 | function materialhit(hit) | |
1678 | if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then | |
1679 | gprop = {hit.BrickColor,hit.Material} | |
1680 | end | |
1681 | end | |
1682 | chr["Left Leg"].Touched:connect(materialhit) | |
1683 | chr["Right Leg"].Touched:connect(materialhit) | |
1684 | ||
1685 | ||
1686 | function KickBoom() | |
1687 | local effspwn = Instance.new("Part") | |
1688 | local model = Instance.new("Model") | |
1689 | game.Debris:AddItem(model, 20) | |
1690 | model.Name = "smasheffects" | |
1691 | model.Parent = chr | |
1692 | effspwn.Name = "spwnr" | |
1693 | effspwn.Size = Vector3.new(1, 1, 1) | |
1694 | effspwn.Anchored = true | |
1695 | effspwn.CanCollide = false | |
1696 | effspwn.Transparency = 1 | |
1697 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
1698 | effspwn.Parent = model | |
1699 | ||
1700 | for i = 1, 15 do | |
1701 | local gtrace = Instance.new("Part",game.Workspace) | |
1702 | gtrace.BrickColor = gprop[1] | |
1703 | gtrace.Material = gprop[2] | |
1704 | gtrace.Size = Vector3.new(16,16,16) | |
1705 | gtrace.Anchored = true | |
1706 | gtrace.CanCollide = false | |
1707 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
1708 | local gdisp = coroutine.wrap(function() | |
1709 | wait(3) | |
1710 | for i = 1, 9 do | |
1711 | wait(.1) | |
1712 | gtrace.Transparency = gtrace.Transparency + .1 | |
1713 | end | |
1714 | gtrace:Destroy() | |
1715 | end) | |
1716 | gdisp() | |
1717 | end | |
1718 | ||
1719 | Crater(head,67) | |
1720 | ||
1721 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
1722 | if v:FindFirstChild('Humanoid') then | |
1723 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
1724 | v.Humanoid.PlatformStand = true | |
1725 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250 | |
1726 | end | |
1727 | end | |
1728 | ||
1729 | coroutine.resume(coroutine.create(function() | |
1730 | local shok = Instance.new("Part") | |
1731 | shok.Name = "shock3" | |
1732 | shok.BrickColor = BrickColor.new("Institutional white") | |
1733 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1734 | shok.Size = Vector3.new(1, 1, 1) | |
1735 | shok.Anchored = true | |
1736 | shok.Material = "Neon" | |
1737 | shok.Transparency = 0.35 | |
1738 | shok.CanCollide = false | |
1739 | shok.Parent = model | |
1740 | game.Debris:AddItem(shok, 12) | |
1741 | local mesh = Instance.new("SpecialMesh") | |
1742 | mesh.MeshType = "FileMesh" | |
1743 | mesh.MeshId = "rbxassetid://489415447" | |
1744 | mesh.Scale = Vector3.new(19, 19, 19) | |
1745 | mesh.Parent = shok | |
1746 | for e = 1, 15 do | |
1747 | wait() | |
1748 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1749 | shok.Transparency = shok.Transparency + 0.004 | |
1750 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1751 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1752 | end | |
1753 | for e = 1, 16 do | |
1754 | wait() | |
1755 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1756 | shok.Transparency = shok.Transparency + 0.004 | |
1757 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1758 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1759 | end | |
1760 | for e = 1, 12 do | |
1761 | wait() | |
1762 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
1763 | shok.Transparency = shok.Transparency + 0.06 | |
1764 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1765 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1766 | end | |
1767 | end)) | |
1768 | ||
1769 | ||
1770 | coroutine.resume(coroutine.create(function() | |
1771 | local shok = Instance.new("Part") | |
1772 | shok.Name = "shock3" | |
1773 | shok.BrickColor = BrickColor.new("Institutional white") | |
1774 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1775 | shok.Size = Vector3.new(1, 1, 1) | |
1776 | shok.Anchored = true | |
1777 | shok.Material = "Neon" | |
1778 | shok.Transparency = 0.35 | |
1779 | shok.CanCollide = false | |
1780 | shok.Parent = model | |
1781 | game.Debris:AddItem(shok, 12) | |
1782 | local mesh = Instance.new("SpecialMesh") | |
1783 | mesh.MeshType = "FileMesh" | |
1784 | mesh.MeshId = "rbxassetid://489415447" | |
1785 | mesh.Scale = Vector3.new(47, 47, 47) | |
1786 | mesh.Parent = shok | |
1787 | for e = 1, 15 do | |
1788 | wait() | |
1789 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1790 | shok.Transparency = shok.Transparency + 0.004 | |
1791 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1792 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1793 | end | |
1794 | for e = 1, 16 do | |
1795 | wait() | |
1796 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1797 | shok.Transparency = shok.Transparency + 0.004 | |
1798 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1799 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1800 | end | |
1801 | for e = 1, 12 do | |
1802 | wait() | |
1803 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
1804 | shok.Transparency = shok.Transparency + 0.06 | |
1805 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1806 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1807 | end | |
1808 | end)) | |
1809 | ||
1810 | coroutine.resume(coroutine.create(function() | |
1811 | local shok = Instance.new("Part") | |
1812 | shok.Name = "shock3" | |
1813 | shok.BrickColor = BrickColor.new("Institutional white") | |
1814 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1815 | shok.Size = Vector3.new(1, 1, 1) | |
1816 | shok.Anchored = true | |
1817 | shok.Material = "Neon" | |
1818 | shok.Transparency = 0.35 | |
1819 | shok.CanCollide = false | |
1820 | shok.Parent = model | |
1821 | game.Debris:AddItem(shok, 12) | |
1822 | local mesh = Instance.new("SpecialMesh") | |
1823 | mesh.MeshType = "FileMesh" | |
1824 | mesh.MeshId = "rbxassetid://489415447" | |
1825 | mesh.Scale = Vector3.new(79, 79, 79) | |
1826 | mesh.Parent = shok | |
1827 | for e = 1, 15 do | |
1828 | wait() | |
1829 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1830 | shok.Transparency = shok.Transparency + 0.004 | |
1831 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1832 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1833 | end | |
1834 | for e = 1, 16 do | |
1835 | wait() | |
1836 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
1837 | shok.Transparency = shok.Transparency + 0.004 | |
1838 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1839 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1840 | end | |
1841 | for e = 1, 12 do | |
1842 | wait() | |
1843 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
1844 | shok.Transparency = shok.Transparency + 0.06 | |
1845 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
1846 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
1847 | end | |
1848 | end)) | |
1849 | end | |
1850 | ||
1851 | ||
1852 | ||
1853 | ||
1854 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1855 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1856 | end | |
1857 | cam = workspace.CurrentCamera | |
1858 | ||
1859 | ||
1860 | ||
1861 | ||
1862 | ||
1863 | ||
1864 | ||
1865 | ||
1866 | function NoOutline(Part) | |
1867 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1868 | end | |
1869 | ||
1870 | ||
1871 | ||
1872 | ||
1873 | it = Instance.new | |
1874 | ||
1875 | ||
1876 | ||
1877 | ||
1878 | ||
1879 | ||
1880 | ||
1881 | ||
1882 | ||
1883 | ||
1884 | so = function(id,par,vol,pit) | |
1885 | coroutine.resume(coroutine.create(function() | |
1886 | local sou = Instance.new("Sound",par or workspace) | |
1887 | sou.Volume=vol | |
1888 | sou.Pitch=pit or 1 | |
1889 | sou.SoundId=id | |
1890 | swait() | |
1891 | sou:play() | |
1892 | game:GetService("Debris"):AddItem(sou,6) | |
1893 | end)) | |
1894 | end | |
1895 | ||
1896 | ||
1897 | function Stom() | |
1898 | ||
1899 | cf=CFrame.new | |
1900 | angles=CFrame.Angles | |
1901 | euler=CFrame.fromEulerAnglesXYZ | |
1902 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1903 | RootPart=chr.HumanoidRootPart | |
1904 | RootJoint=RootPart.RootJoint | |
1905 | RootCF=euler(-1.57,0,3.14) | |
1906 | ||
1907 | function QuaternionFromCFrame(cf) | |
1908 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
1909 | local trace = m00 + m11 + m22 | |
1910 | if trace > 0 then | |
1911 | local s = math.sqrt(1 + trace) | |
1912 | local recip = 0.5/s | |
1913 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
1914 | else | |
1915 | local i = 0 | |
1916 | if m11 > m00 then | |
1917 | i = 1 | |
1918 | end | |
1919 | if m22 > (i == 0 and m00 or m11) then | |
1920 | i = 2 | |
1921 | end | |
1922 | if i == 0 then | |
1923 | local s = math.sqrt(m00-m11-m22+1) | |
1924 | local recip = 0.5/s | |
1925 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
1926 | elseif i == 1 then | |
1927 | local s = math.sqrt(m11-m22-m00+1) | |
1928 | local recip = 0.5/s | |
1929 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
1930 | elseif i == 2 then | |
1931 | local s = math.sqrt(m22-m00-m11+1) | |
1932 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
1933 | end | |
1934 | end | |
1935 | end | |
1936 | ||
1937 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
1938 | local xs, ys, zs = x + x, y + y, z + z | |
1939 | local wx, wy, wz = w*xs, w*ys, w*zs | |
1940 | local xx = x*xs | |
1941 | local xy = x*ys | |
1942 | local xz = x*zs | |
1943 | local yy = y*ys | |
1944 | local yz = y*zs | |
1945 | local zz = z*zs | |
1946 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
1947 | end | |
1948 | ||
1949 | function QuaternionSlerp(a, b, t) | |
1950 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
1951 | local startInterp, finishInterp; | |
1952 | if cosTheta >= 0.0001 then | |
1953 | if (1 - cosTheta) > 0.0001 then | |
1954 | local theta = math.acos(cosTheta) | |
1955 | local invSinTheta = 1/math.sin(theta) | |
1956 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
1957 | finishInterp = math.sin(t*theta)*invSinTheta | |
1958 | else | |
1959 | startInterp = 1-t | |
1960 | finishInterp = t | |
1961 | end | |
1962 | else | |
1963 | if (1+cosTheta) > 0.0001 then | |
1964 | local theta = math.acos(-cosTheta) | |
1965 | local invSinTheta = 1/math.sin(theta) | |
1966 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
1967 | finishInterp = math.sin(t*theta)*invSinTheta | |
1968 | else | |
1969 | startInterp = t-1 | |
1970 | finishInterp = t | |
1971 | end | |
1972 | end | |
1973 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
1974 | end | |
1975 | ||
1976 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1977 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1978 | end | |
1979 | ||
1980 | function clerp(a,b,t) | |
1981 | local qa = {QuaternionFromCFrame(a)} | |
1982 | local qb = {QuaternionFromCFrame(b)} | |
1983 | local ax, ay, az = a.x, a.y, a.z | |
1984 | local bx, by, bz = b.x, b.y, b.z | |
1985 | local _t = 1-t | |
1986 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
1987 | end | |
1988 | ||
1989 | ||
1990 | ||
1991 | if activu == true then | |
1992 | return | |
1993 | end | |
1994 | activu = true | |
1995 | ||
1996 | ||
1997 | ||
1998 | human.WalkSpeed = 0 | |
1999 | for i = 0,1,0.1 do | |
2000 | swait() | |
2001 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2002 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
2003 | RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3) | |
2004 | LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
2005 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
2006 | LH.C0=clerp(LH.C0,cf(-1,-.1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2007 | end | |
2008 | wait(1) | |
2009 | for i = 0,1,0.1 do | |
2010 | swait() | |
2011 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
2012 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
2013 | RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3) | |
2014 | LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
2015 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
2016 | LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
2017 | end | |
2018 | KickBoom() | |
2019 | so("http://roblox.com/asset/?id=144699494",lleg,2,1.1) | |
2020 | so("http://roblox.com/asset/?id=321321137",lleg,1,1) | |
2021 | so("http://roblox.com/asset/?id=506384002",lleg,1,1) | |
2022 | so("http://roblox.com/asset/?id=157878578",lleg,25,1) | |
2023 | so("http://roblox.com/asset/?id=165970126",lleg,25,1) | |
2024 | ||
2025 | wait(3) | |
2026 | human.WalkSpeed = 16 | |
2027 | resetlerp() | |
2028 | activu = false | |
2029 | end | |
2030 | ||
2031 | ||
2032 | ||
2033 | ||
2034 | ||
2035 | function Smash() | |
2036 | for i = 1, 15 do | |
2037 | local gtrace = Instance.new("Part",game.Workspace) | |
2038 | gtrace.BrickColor = gprop[1] | |
2039 | gtrace.Material = gprop[2] | |
2040 | gtrace.Size = Vector3.new(19,19,19) | |
2041 | gtrace.Anchored = true | |
2042 | gtrace.CanCollide = false | |
2043 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-60,60),-6,math.random(-60,60))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2044 | local gdisp = coroutine.wrap(function() | |
2045 | wait(7) | |
2046 | for i = 1, 9 do | |
2047 | wait(.1) | |
2048 | gtrace.Transparency = gtrace.Transparency + .1 | |
2049 | end | |
2050 | gtrace:Destroy() | |
2051 | end) | |
2052 | gdisp() | |
2053 | end | |
2054 | ||
2055 | Crater(head,67) | |
2056 | end | |
2057 | ||
2058 | function Smash2() | |
2059 | for i = 1, 15 do | |
2060 | local gtrace = Instance.new("Part",game.Workspace) | |
2061 | gtrace.BrickColor = gprop[1] | |
2062 | gtrace.Material = gprop[2] | |
2063 | gtrace.Size = Vector3.new(19,19,19) | |
2064 | gtrace.Anchored = true | |
2065 | gtrace.CanCollide = false | |
2066 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2067 | local gdisp = coroutine.wrap(function() | |
2068 | wait(7) | |
2069 | for i = 1, 9 do | |
2070 | wait(.1) | |
2071 | gtrace.Transparency = gtrace.Transparency + .1 | |
2072 | end | |
2073 | gtrace:Destroy() | |
2074 | end) | |
2075 | gdisp() | |
2076 | end | |
2077 | ||
2078 | end | |
2079 | ||
2080 | function Smash3() | |
2081 | for i = 1, 15 do | |
2082 | local gtrace = Instance.new("Part",game.Workspace) | |
2083 | gtrace.BrickColor = gprop[1] | |
2084 | gtrace.Material = gprop[2] | |
2085 | gtrace.Size = Vector3.new(19,19,19) | |
2086 | gtrace.Anchored = true | |
2087 | gtrace.CanCollide = false | |
2088 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-6,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2089 | local gdisp = coroutine.wrap(function() | |
2090 | wait(7) | |
2091 | for i = 1, 9 do | |
2092 | wait(.1) | |
2093 | gtrace.Transparency = gtrace.Transparency + .1 | |
2094 | end | |
2095 | gtrace:Destroy() | |
2096 | end) | |
2097 | gdisp() | |
2098 | end | |
2099 | ||
2100 | end | |
2101 | ||
2102 | ||
2103 | function Smash4() | |
2104 | for i = 1, 15 do | |
2105 | local gtrace = Instance.new("Part",game.Workspace) | |
2106 | gtrace.BrickColor = gprop[1] | |
2107 | gtrace.Material = gprop[2] | |
2108 | gtrace.Size = Vector3.new(19,19,19) | |
2109 | gtrace.Anchored = true | |
2110 | gtrace.CanCollide = false | |
2111 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-40,40),-6,math.random(-40,40))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2112 | local gdisp = coroutine.wrap(function() | |
2113 | wait(7) | |
2114 | for i = 1, 9 do | |
2115 | wait(.1) | |
2116 | gtrace.Transparency = gtrace.Transparency + .1 | |
2117 | end | |
2118 | gtrace:Destroy() | |
2119 | end) | |
2120 | gdisp() | |
2121 | end | |
2122 | ||
2123 | end | |
2124 | ||
2125 | function Smash5() | |
2126 | for i = 1, 15 do | |
2127 | local gtrace = Instance.new("Part",game.Workspace) | |
2128 | gtrace.BrickColor = gprop[1] | |
2129 | gtrace.Material = gprop[2] | |
2130 | gtrace.Size = Vector3.new(19,19,19) | |
2131 | gtrace.Anchored = true | |
2132 | gtrace.CanCollide = false | |
2133 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-30,30),-6,math.random(-30,30))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2134 | local gdisp = coroutine.wrap(function() | |
2135 | wait(7) | |
2136 | for i = 1, 9 do | |
2137 | wait(.1) | |
2138 | gtrace.Transparency = gtrace.Transparency + .1 | |
2139 | end | |
2140 | gtrace:Destroy() | |
2141 | end) | |
2142 | gdisp() | |
2143 | end | |
2144 | ||
2145 | end | |
2146 | ||
2147 | function Smash6() | |
2148 | for i = 1, 15 do | |
2149 | local gtrace = Instance.new("Part",game.Workspace) | |
2150 | gtrace.BrickColor = gprop[1] | |
2151 | gtrace.Material = gprop[2] | |
2152 | gtrace.Size = Vector3.new(19,19,19) | |
2153 | gtrace.Anchored = true | |
2154 | gtrace.CanCollide = false | |
2155 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-20,20),-6,math.random(-20,20))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2156 | local gdisp = coroutine.wrap(function() | |
2157 | wait(7) | |
2158 | for i = 1, 9 do | |
2159 | wait(.1) | |
2160 | gtrace.Transparency = gtrace.Transparency + .1 | |
2161 | end | |
2162 | gtrace:Destroy() | |
2163 | end) | |
2164 | gdisp() | |
2165 | end | |
2166 | ||
2167 | end | |
2168 | ||
2169 | ||
2170 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do | |
2171 | if v:FindFirstChild('Humanoid') then | |
2172 | v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)) | |
2173 | v.Humanoid.PlatformStand = true | |
2174 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600 | |
2175 | end | |
2176 | end | |
2177 | ||
2178 | ||
2179 | function HeavenSmash() | |
2180 | ||
2181 | ||
2182 | if activu == true then | |
2183 | return | |
2184 | end | |
2185 | activu = true | |
2186 | human.WalkSpeed = 0 | |
2187 | so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5) | |
2188 | so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5) | |
2189 | for l = 1, 30 do | |
2190 | swait() | |
2191 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) | |
2192 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) | |
2193 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) | |
2194 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
2195 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) | |
2196 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
2197 | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) | |
2198 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
2199 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
2200 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
2201 | end | |
2202 | ||
2203 | ||
2204 | resetlerp() | |
2205 | ||
2206 | BV = Instance.new("BodyVelocity", tors) | |
2207 | BV.maxForce = Vector3.new(0,200000,0) | |
2208 | BV.P = 100000 | |
2209 | BV.velocity = Vector3.new(0,150,0) | |
2210 | local rng = Instance.new("Part", chr) | |
2211 | rng.Anchored = true | |
2212 | rng.BrickColor = BrickColor.new("Institutional white") | |
2213 | rng.CanCollide = false | |
2214 | rng.FormFactor = 3 | |
2215 | rng.Name = "Ring" | |
2216 | rng.Size = Vector3.new(1, 1, 1) | |
2217 | rng.Transparency = 0.5 | |
2218 | rng.TopSurface = 0 | |
2219 | rng.BottomSurface = 0 | |
2220 | rng.Position = tors.Position - Vector3.new(0,2,0) | |
2221 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2222 | local rngm = Instance.new("SpecialMesh", rng) | |
2223 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2224 | rngm.Scale = Vector3.new(10, 10, 20) | |
2225 | x = Instance.new("Sound",tors) | |
2226 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
2227 | x.Looped = false | |
2228 | x.Pitch = .7 | |
2229 | x.Volume = 30 | |
2230 | x:Play() | |
2231 | coroutine.wrap(function() | |
2232 | for i = 1, 60, 8 do | |
2233 | rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10) | |
2234 | rng.Transparency = i/60 | |
2235 | wait() | |
2236 | end | |
2237 | wait() | |
2238 | rng:Destroy() | |
2239 | end)() | |
2240 | wait(2.6) | |
2241 | BV:Destroy() | |
2242 | tors.Anchored = true | |
2243 | wait(3.2) | |
2244 | tors.Anchored = false | |
2245 | BV = Instance.new("BodyVelocity", tors) | |
2246 | BV.maxForce = Vector3.new(0,-20000,0) | |
2247 | BV.P = 1000 | |
2248 | BV.velocity = Vector3.new(0,-150,0) | |
2249 | wait(1) | |
2250 | BV:Destroy() | |
2251 | wait(0.01) | |
2252 | ||
2253 | human.WalkSpeed = 0 | |
2254 | boom3:Play() | |
2255 | ||
2256 | Smash() | |
2257 | Smash2() | |
2258 | Smash3() | |
2259 | Ring() | |
2260 | wait(2) | |
2261 | human.WalkSpeed = 16 | |
2262 | activu = false | |
2263 | end | |
2264 | ||
2265 | ||
2266 | ||
2267 | sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"]) | |
2268 | sound.SoundId = "rbxassetid://220025776" | |
2269 | sound.Volume = 6 | |
2270 | ||
2271 | sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"]) | |
2272 | sound2.SoundId = "rbxassetid://386946017" | |
2273 | sound2.Volume = 6 | |
2274 | ||
2275 | sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character) | |
2276 | sound3.SoundId = "rbxassetid://165969964" | |
2277 | sound3.Volume = 6 | |
2278 | ||
2279 | function rip() | |
2280 | activu = true | |
2281 | local detect = Instance.new("Part", game.Players.LocalPlayer.Character) | |
2282 | detect.Size = Vector3.new(1,1,1) | |
2283 | detect:BreakJoints() | |
2284 | detect.CanCollide = false | |
2285 | local weld = Instance.new("Weld", detect) | |
2286 | weld.Part0 = game.Players.LocalPlayer.Character["Torso"] | |
2287 | weld.Part1 = detect | |
2288 | weld.C0 = weld.C0 * CFrame.new(0,-1,0) | |
2289 | ||
2290 | ||
2291 | ||
2292 | local function attack(prt) | |
2293 | local humanoid = prt.Parent:findFirstChild("Humanoid") | |
2294 | if humanoid ~= nil then | |
2295 | local torso = prt.Parent:findFirstChild("Torso") | |
2296 | ||
2297 | ||
2298 | ||
2299 | ||
2300 | ||
2301 | ||
2302 | ||
2303 | function KABOOMZ3() | |
2304 | local effspwn = Instance.new("Part") | |
2305 | coroutine.resume(coroutine.create(function() | |
2306 | local sound1 = Instance.new("Sound") | |
2307 | sound1.SoundId = "rbxassetid://138137702" | |
2308 | sound1.MaxDistance = 300 | |
2309 | sound1.EmitterSize = 20 | |
2310 | sound1.Volume = 2.5 | |
2311 | sound1.Pitch = 0.65 | |
2312 | sound1.Parent = effspwn | |
2313 | local sound2 = Instance.new("Sound") | |
2314 | sound2.SoundId = "rbxassetid://157878578" | |
2315 | sound2.MaxDistance = 300 | |
2316 | sound2.EmitterSize = 20 | |
2317 | sound2.Volume = 1 | |
2318 | sound2.Pitch = 0.7 | |
2319 | sound2.Parent = effspwn | |
2320 | local sound3 = Instance.new("Sound") | |
2321 | sound3.SoundId = "rbxassetid://138250406" | |
2322 | sound2.MaxDistance = 400 | |
2323 | sound2.EmitterSize = 30 | |
2324 | sound2.Volume = 0.5 | |
2325 | sound2.Pitch = 0.5 | |
2326 | sound2.Parent = effspwn | |
2327 | sound2:Play() | |
2328 | wait() | |
2329 | sound1:Play() | |
2330 | sound3:Play() | |
2331 | end)) | |
2332 | local model = Instance.new("Model") | |
2333 | game.Debris:AddItem(model, 20) | |
2334 | model.Name = "smasheffects" | |
2335 | model.Parent = workspace | |
2336 | effspwn.Name = "spwnr" | |
2337 | effspwn.Size = Vector3.new(1, 1, 1) | |
2338 | effspwn.Anchored = true | |
2339 | effspwn.CanCollide = false | |
2340 | effspwn.Transparency = 1 | |
2341 | effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
2342 | effspwn.Parent = model | |
2343 | ||
2344 | ||
2345 | ||
2346 | ||
2347 | ||
2348 | Crater(head,60) | |
2349 | Crater(head,120) | |
2350 | ||
2351 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
2352 | if v:FindFirstChild('Humanoid') then | |
2353 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
2354 | v.Humanoid.PlatformStand = true | |
2355 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200 | |
2356 | end | |
2357 | end | |
2358 | ||
2359 | coroutine.resume(coroutine.create(function() | |
2360 | local shok = Instance.new("Part") | |
2361 | shok.Name = "whoosh" | |
2362 | shok.BrickColor = BrickColor.new("Institutional white") | |
2363 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2364 | shok.Size = Vector3.new(1, 1, 1) | |
2365 | shok.Anchored = true | |
2366 | shok.Material = "Neon" | |
2367 | shok.Transparency = 0.1 | |
2368 | shok.CanCollide = false | |
2369 | shok.Parent = model | |
2370 | game.Debris:AddItem(shok, 12) | |
2371 | local mesh = Instance.new("SpecialMesh") | |
2372 | mesh.MeshType = "FileMesh" | |
2373 | mesh.MeshId = "rbxassetid://437347603" | |
2374 | mesh.Scale = Vector3.new(0.8, 0.8, 0.3) | |
2375 | mesh.Parent = shok | |
2376 | ||
2377 | ||
2378 | ||
2379 | ||
2380 | ||
2381 | for e = 1, 8 do | |
2382 | wait() | |
2383 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
2384 | shok.Transparency = shok.Transparency + 0.035 | |
2385 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4) | |
2386 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
2387 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
2388 | ||
2389 | end | |
2390 | for e = 1, 16 do | |
2391 | wait() | |
2392 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
2393 | shok.Transparency = shok.Transparency + 0.11 | |
2394 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4) | |
2395 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
2396 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
2397 | ||
2398 | end | |
2399 | end)) | |
2400 | coroutine.resume(coroutine.create(function() | |
2401 | local shok = Instance.new("Part") | |
2402 | shok.Name = "wring1" | |
2403 | shok.BrickColor = BrickColor.new("Institutional white") | |
2404 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2405 | shok.Size = Vector3.new(1, 1, 1) | |
2406 | shok.Anchored = true | |
2407 | shok.Material = "Neon" | |
2408 | shok.Transparency = 0.25 | |
2409 | shok.CanCollide = false | |
2410 | shok.Parent = model | |
2411 | game.Debris:AddItem(shok, 12) | |
2412 | local mesh = Instance.new("SpecialMesh") | |
2413 | mesh.MeshType = "FileMesh" | |
2414 | mesh.MeshId = "rbxassetid://3270017" | |
2415 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
2416 | mesh.Parent = shok | |
2417 | for e = 1, 30 do | |
2418 | wait() | |
2419 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
2420 | shok.Transparency = shok.Transparency + 0.002 | |
2421 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
2422 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
2423 | end | |
2424 | for e = 1, 38 do | |
2425 | wait() | |
2426 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
2427 | shok.Transparency = shok.Transparency + 0.002 | |
2428 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2429 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
2430 | end | |
2431 | for e = 1, 24 do | |
2432 | wait() | |
2433 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
2434 | shok.Transparency = shok.Transparency + 0.03 | |
2435 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2436 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
2437 | end | |
2438 | end)) | |
2439 | coroutine.resume(coroutine.create(function() | |
2440 | local shok = Instance.new("Part") | |
2441 | shok.Name = "wring2" | |
2442 | shok.BrickColor = BrickColor.new("Institutional white") | |
2443 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2444 | shok.Size = Vector3.new(1, 1, 1) | |
2445 | shok.Anchored = true | |
2446 | shok.Material = "Neon" | |
2447 | shok.Transparency = 0.25 | |
2448 | shok.CanCollide = false | |
2449 | shok.Parent = model | |
2450 | game.Debris:AddItem(shok, 12) | |
2451 | local mesh = Instance.new("SpecialMesh") | |
2452 | mesh.MeshType = "FileMesh" | |
2453 | mesh.MeshId = "rbxassetid://3270017" | |
2454 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
2455 | mesh.Parent = shok | |
2456 | for e = 1, 30 do | |
2457 | wait() | |
2458 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
2459 | shok.Transparency = shok.Transparency + 0.002 | |
2460 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
2461 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
2462 | end | |
2463 | for e = 1, 38 do | |
2464 | wait() | |
2465 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
2466 | shok.Transparency = shok.Transparency + 0.002 | |
2467 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2468 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
2469 | end | |
2470 | for e = 1, 24 do | |
2471 | wait() | |
2472 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
2473 | shok.Transparency = shok.Transparency + 0.03 | |
2474 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2475 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
2476 | end | |
2477 | end)) | |
2478 | coroutine.resume(coroutine.create(function() | |
2479 | local shok = Instance.new("Part") | |
2480 | shok.Name = "coil1" | |
2481 | shok.BrickColor = BrickColor.new("Institutional white") | |
2482 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2483 | shok.Size = Vector3.new(1, 1, 1) | |
2484 | shok.Anchored = true | |
2485 | shok.Material = "Neon" | |
2486 | shok.Transparency = 0.25 | |
2487 | shok.CanCollide = false | |
2488 | shok.Parent = model | |
2489 | game.Debris:AddItem(shok, 12) | |
2490 | local mesh = Instance.new("SpecialMesh") | |
2491 | mesh.MeshType = "FileMesh" | |
2492 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2493 | mesh.Scale = Vector3.new(12, 12, 12) | |
2494 | mesh.Parent = shok | |
2495 | for e = 1, 15 do | |
2496 | wait() | |
2497 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2498 | shok.Transparency = shok.Transparency + 0.004 | |
2499 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
2500 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2501 | end | |
2502 | for e = 1, 16 do | |
2503 | wait() | |
2504 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2505 | shok.Transparency = shok.Transparency + 0.004 | |
2506 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2507 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2508 | end | |
2509 | for e = 1, 12 do | |
2510 | wait() | |
2511 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2512 | shok.Transparency = shok.Transparency + 0.06 | |
2513 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2514 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2515 | end | |
2516 | end)) | |
2517 | coroutine.resume(coroutine.create(function() | |
2518 | local shok = Instance.new("Part") | |
2519 | shok.Name = "coil2" | |
2520 | shok.BrickColor = BrickColor.new("Institutional white") | |
2521 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2522 | shok.Size = Vector3.new(1, 1, 1) | |
2523 | shok.Anchored = true | |
2524 | shok.Material = "Neon" | |
2525 | shok.Transparency = 0.25 | |
2526 | shok.CanCollide = false | |
2527 | shok.Parent = model | |
2528 | game.Debris:AddItem(shok, 12) | |
2529 | local mesh = Instance.new("SpecialMesh") | |
2530 | mesh.MeshType = "FileMesh" | |
2531 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2532 | mesh.Scale = Vector3.new(6, 12, 6) | |
2533 | mesh.Parent = shok | |
2534 | for e = 1, 15 do | |
2535 | wait() | |
2536 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
2537 | shok.Transparency = shok.Transparency + 0.005 | |
2538 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
2539 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
2540 | end | |
2541 | for e = 1, 16 do | |
2542 | wait() | |
2543 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
2544 | shok.Transparency = shok.Transparency + 0.005 | |
2545 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2546 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
2547 | end | |
2548 | for e = 1, 12 do | |
2549 | wait() | |
2550 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
2551 | shok.Transparency = shok.Transparency + 0.09 | |
2552 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
2553 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
2554 | end | |
2555 | end)) | |
2556 | coroutine.resume(coroutine.create(function() | |
2557 | local shok = Instance.new("Part") | |
2558 | shok.Name = "shokwve" | |
2559 | shok.BrickColor = BrickColor.new("Institutional white") | |
2560 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
2561 | shok.Size = Vector3.new(1, 1, 1) | |
2562 | shok.Anchored = true | |
2563 | shok.Material = "Neon" | |
2564 | shok.Transparency = 0.6 | |
2565 | shok.CanCollide = false | |
2566 | shok.Parent = model | |
2567 | game.Debris:AddItem(shok, 12) | |
2568 | local mesh = Instance.new("SpecialMesh") | |
2569 | mesh.MeshType = "FileMesh" | |
2570 | mesh.MeshId = "rbxassetid://489415447" | |
2571 | mesh.Scale = Vector3.new(1, 1, 1) | |
2572 | mesh.Parent = shok | |
2573 | for e = 1, 12 do | |
2574 | wait() | |
2575 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
2576 | shok.Transparency = shok.Transparency + 0.002 | |
2577 | end | |
2578 | for e = 1, 32 do | |
2579 | wait() | |
2580 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
2581 | shok.Transparency = shok.Transparency + 0.002 | |
2582 | end | |
2583 | for e = 1, 24 do | |
2584 | wait() | |
2585 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
2586 | shok.Transparency = shok.Transparency + 0.03 | |
2587 | end | |
2588 | end)) | |
2589 | coroutine.resume(coroutine.create(function() | |
2590 | local shok = Instance.new("Part") | |
2591 | shok.Name = "shock2" | |
2592 | shok.BrickColor = BrickColor.new("Institutional white") | |
2593 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2594 | shok.Size = Vector3.new(1, 1, 1) | |
2595 | shok.Anchored = true | |
2596 | shok.Material = "Neon" | |
2597 | shok.Transparency = 0.35 | |
2598 | shok.CanCollide = false | |
2599 | shok.Parent = model | |
2600 | game.Debris:AddItem(shok, 12) | |
2601 | local mesh = Instance.new("SpecialMesh") | |
2602 | mesh.MeshType = "FileMesh" | |
2603 | mesh.MeshId = "rbxassetid://489415447" | |
2604 | mesh.Scale = Vector3.new(12, 12, 12) | |
2605 | mesh.Parent = shok | |
2606 | for e = 1, 15 do | |
2607 | wait() | |
2608 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2609 | shok.Transparency = shok.Transparency + 0.004 | |
2610 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2611 | end | |
2612 | for e = 1, 16 do | |
2613 | wait() | |
2614 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2615 | shok.Transparency = shok.Transparency + 0.004 | |
2616 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2617 | end | |
2618 | for e = 1, 12 do | |
2619 | wait() | |
2620 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
2621 | shok.Transparency = shok.Transparency + 0.06 | |
2622 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
2623 | end | |
2624 | end)) | |
2625 | coroutine.resume(coroutine.create(function() | |
2626 | local shok = Instance.new("Part") | |
2627 | shok.Name = "shock3" | |
2628 | shok.BrickColor = BrickColor.new("Institutional white") | |
2629 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2630 | shok.Size = Vector3.new(1, 1, 1) | |
2631 | shok.Anchored = true | |
2632 | shok.Material = "Neon" | |
2633 | shok.Transparency = 0.35 | |
2634 | shok.CanCollide = false | |
2635 | shok.Parent = model | |
2636 | game.Debris:AddItem(shok, 12) | |
2637 | local mesh = Instance.new("SpecialMesh") | |
2638 | mesh.MeshType = "FileMesh" | |
2639 | mesh.MeshId = "rbxassetid://489415447" | |
2640 | mesh.Scale = Vector3.new(12, 12, 12) | |
2641 | mesh.Parent = shok | |
2642 | for e = 1, 15 do | |
2643 | wait() | |
2644 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
2645 | shok.Transparency = shok.Transparency + 0.004 | |
2646 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2647 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2648 | end | |
2649 | for e = 1, 16 do | |
2650 | wait() | |
2651 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
2652 | shok.Transparency = shok.Transparency + 0.004 | |
2653 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2654 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2655 | end | |
2656 | for e = 1, 12 do | |
2657 | wait() | |
2658 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
2659 | shok.Transparency = shok.Transparency + 0.06 | |
2660 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2661 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2662 | end | |
2663 | end)) | |
2664 | end | |
2665 | ||
2666 | ||
2667 | ||
2668 | if torso ~= nil then | |
2669 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0 | |
2670 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0 | |
2671 | for i = 1,5 do | |
2672 | wait() | |
2673 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25) | |
2674 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25) | |
2675 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0) | |
2676 | end | |
2677 | sound:Play() | |
2678 | local bodyVel = Instance.new("BodyPosition", torso) | |
2679 | bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0) | |
2680 | bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2681 | wait(2) | |
2682 | torso.Anchored = true | |
2683 | for i = 1,5 do | |
2684 | wait() | |
2685 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25) | |
2686 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25) | |
2687 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0) | |
2688 | end | |
2689 | for i = 1,5 do | |
2690 | wait() | |
2691 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08) | |
2692 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0) | |
2693 | end | |
2694 | wait(1) | |
2695 | local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso) | |
2696 | bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2697 | bodyvel.Position = torso.Position | |
2698 | for i = 1,5 do | |
2699 | wait() | |
2700 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0) | |
2701 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08) | |
2702 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0) | |
2703 | end | |
2704 | wait(2) | |
2705 | bodyVel:destroy() | |
2706 | game.Players.LocalPlayer.Character.Torso.Anchored = true | |
2707 | torso.Anchored = false | |
2708 | humanoid.PlatformStand = true | |
2709 | local bodyVel = Instance.new("BodyPosition", torso) | |
2710 | bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0) | |
2711 | bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2712 | sound2:Play() | |
2713 | ||
2714 | wait(1.2) | |
2715 | game.Players.LocalPlayer.Character.Torso.Anchored = false | |
2716 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
2717 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
2718 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
2719 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
2720 | activu = false | |
2721 | wait(0.5) | |
2722 | bodyvel:destroy() | |
2723 | local ROW3 = function(out, trans, s, wt, t, ang, plus) | |
2724 | for i = 1, 360, 360/t do | |
2725 | local c = Instance.new("Part", game.Workspace) | |
2726 | c.FormFactor = 3 | |
2727 | c.TopSurface = 0 | |
2728 | c.BottomSurface = 0 | |
2729 | c.Size = s | |
2730 | c.Anchored = true | |
2731 | c.CanCollide = wt | |
2732 | c.Material=workspace.Base.Material | |
2733 | c.Transparency = trans | |
2734 | c.BrickColor = workspace.Base.BrickColor | |
2735 | c.CFrame = CFrame.new(torso.CFrame.x,0,torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
2736 | c.Locked=true | |
2737 | game.Debris:AddItem(c,25) | |
2738 | end | |
2739 | end | |
2740 | ||
2741 | ||
2742 | ||
2743 | ||
2744 | sound3:Play() | |
2745 | ROW3(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
2746 | game.Players.LocalPlayer.Character.Torso.Anchored = true | |
2747 | KABOOMZ3() | |
2748 | wait(0.1) | |
2749 | ||
2750 | game.Players.LocalPlayer.Character.Torso.Anchored = false | |
2751 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
2752 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
2753 | ||
2754 | ||
2755 | end | |
2756 | end | |
2757 | end | |
2758 | detect.Touched:connect(attack) | |
2759 | wait(0.1) | |
2760 | detect:destroy() | |
2761 | activu = false | |
2762 | end | |
2763 | ||
2764 | ||
2765 | ||
2766 | function hito(partoz, magn, dmg, debtim) | |
2767 | for _, guy in pairs(workspace:GetChildren()) do | |
2768 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then | |
2769 | do | |
2770 | local humz = guy:FindFirstChild("Humanoid") | |
2771 | local hed = guy:FindFirstChild("Head") | |
2772 | humz:TakeDamage(dmg) | |
2773 | local db = Instance.new("StringValue") | |
2774 | db.Name = "alabo" | |
2775 | db.Parent = hed | |
2776 | delay(debtim, function() | |
2777 | db:Destroy() | |
2778 | end) | |
2779 | end | |
2780 | end | |
2781 | end | |
2782 | end | |
2783 | function animo(yep) | |
2784 | if yep == true then | |
2785 | anim.Parent = human | |
2786 | chr.Animate.Disabled = false | |
2787 | elseif yep == false then | |
2788 | chr.Animate.Disabled = true | |
2789 | anim.Parent = nil | |
2790 | end | |
2791 | end | |
2792 | mouse.KeyDown:connect(function(key) | |
2793 | if key == "e" then | |
2794 | rsmash() | |
2795 | end | |
2796 | if key == "t" then | |
2797 | jum() | |
2798 | end | |
2799 | if key == "r" then | |
2800 | Tele() | |
2801 | end | |
2802 | if key == "q" then | |
2803 | Stom() | |
2804 | end | |
2805 | if key == "f" then | |
2806 | HeavenSmash() | |
2807 | end | |
2808 | if key == "h" then | |
2809 | rip() | |
2810 | end | |
2811 | end) |