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