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