View difference between Paste ID: shzNFk8J and uspqiLv6
SHOW: | | - or go back to the newest paste.
1
--fixed by Scenius
2
  plr = game.Players.LocalPlayer
3
  repeat
4
    wait(0.4)
5
  until plr.Character
6
  chr = plr.Character
7
  human = chr:FindFirstChild("Humanoid")
8
  mouse = plr:GetMouse()
9
  selected = false
10
  equipd = false
11
  tors = chr.Torso
12
  rarm = chr["Right Arm"]
13
  larm = chr["Left Arm"]
14
  rleg = chr["Right Leg"]
15
  lleg = chr["Left Leg"]
16
  hrp = chr.HumanoidRootPart
17
  head = chr.Head
18
  anim = human.Animator
19
  activu = false
20
  Heartbeat = Instance.new("BindableEvent")
21
  Heartbeat.Name = "Heartbeat"
22
  Heartbeat.Parent = script
23
  frame = 0.03333333333333333
24
  tf = 0
25
  game:GetService("RunService").Heartbeat:connect(function(s, p)
26
    tf = tf + s
27
    if tf >= frame then
28
      for i = 1, math.floor(tf / frame) do
29
        Heartbeat:Fire()
30
      end
31
      tf = tf - frame * math.floor(tf / frame)
32
    end
33
  end)
34
  function swait(num)
35
    if num == 0 or num == nil then
36
      Heartbeat.Event:wait()
37
    else
38
      for i = 1, num do
39
        Heartbeat.Event:wait()
40
      end
41
    end
42
  end
43
  tool = Instance.new("Tool")
44
  tool.CanBeDropped = false
45
  tool.RequiresHandle = false
46
  tool.Name = "fir"
47
  tool.Parent = plr.Backpack
48
  RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
49
  RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
50
  LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
51
  LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
52
  RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
53
  RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
54
  LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
55
  LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
56
  NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
57
  NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
58
  RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
59
  RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
60
  RS = tors:FindFirstChild("Right Shoulder")
61
  LS = tors:FindFirstChild("Left Shoulder")
62
  RH = tors:FindFirstChild("Right Hip")
63
  LH = tors:FindFirstChild("Left Hip")
64
  RJ = hrp:FindFirstChild("RootJoint")
65
  N = tors:FindFirstChild("Neck")
66
  cf = CFrame.new
67
  ang = CFrame.Angles
68
  rd = math.rad
69
  rd2 = math.random
70
  function nooutline(p)
71
    p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
72
  end
73
  function makepart(color, name, reflec, mater, parnt, cfram)
74
    local port = Instance.new("Part")
75
    port.BrickColor = BrickColor.new(color)
76
    port.Name = name
77
    nooutline(port)
78
    port.Reflectance = reflec
79
    port.Material = mater
80
    port.Anchored = false
81
    port.CanCollide = false
82
    port.Locked = true
83
    port.Size = Vector3.new(0.2, 0.2, 0.2)
84
    port.Parent = parnt
85
    return port
86
  end
87
  function makemesh(meshtype, scale, meshid, parent)
88
    local mes = Instance.new("SpecialMesh")
89
    mes.MeshType = meshtype
90
    mes.Scale = scale
91
    if meshtype == "FileMesh" then
92
      mes.MeshId = meshid
93
    end
94
    mes.Parent = parent
95
    return mes
96
  end
97
  function makeweld(parent, p0, p1, c0, c1)
98
    local wel = Instance.new("Weld")
99
    wel.Part0 = p0
100
    wel.Part1 = p1
101
    wel.C0 = c0
102
    if c1 ~= nil then
103
      wel.C1 = c1
104
    end
105
    wel.Parent = parent
106
    return wel
107
  end
108
  function smokz(prnt)
109
    s = Instance.new("Smoke")
110
    s.Color = Color3.new(1, 1, 1)
111
    s.Enabled = false
112
    s.Name = "smok"
113
    s.Opacity = 0.5
114
    s.RiseVelocity = 0.2
115
    s.Size = 0.1
116
    s.Parent = prnt
117
  end
118
  function glow(tz, paz, smokinz, length)
119
    if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
120
      do
121
        local s = Instance.new("Sound")
122
        s.SoundId = "rbxassetid://298181829"
123
        s.Volume = 0.25
124
        s.Pitch = math.random(9, 11) / 10
125
        s.Parent = paz
126
        s:Play()
127
        paz.Transparency = 0.7
128
        if smokinz == true then
129
          paz.smok.Enabled = true
130
        end
131
        delay(length, function()
132
          paz.Transparency = 1
133
          paz.smok.Enabled = false
134
          s:Destroy()
135
        end)
136
      end
137
    end
138
  end
139
  function makeglow()
140
    for _, p in pairs(chr:GetChildren()) do
141
      if p.ClassName == "Accessory" then
142
        do
143
          local h = p:FindFirstChildOfClass("Part")
144
          local nh = h:Clone()
145
          nh.Parent = nil
146
          nh.CFrame = h.CFrame
147
          nh.Transparency = 1
148
          nh.Name = "Glow"
149
          nh.Material = "Neon"
150
          nh.BrickColor = BrickColor.new("New Yeller")
151
          nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
152
          nh.Parent = h
153
          makeweld(nh, nh, h, cf(0, 0, 0))
154
          local m = nh:FindFirstChildOfClass("SpecialMesh")
155
          m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
156
          m.TextureId = ""
157
          smokz(nh)
158
          nh.Touched:connect(function(po)
159
            glow(po, nh, true, 0.8)
160
          end)
161
        end
162
      elseif p.ClassName == "Part" and p ~= hrp then
163
        do
164
          local n = p:Clone()
165
          n.Parent = nil
166
          n.Transparency = 1
167
          n.Material = "Neon"
168
          n.Name = "Glow"
169
          n.BrickColor = BrickColor.new("New Yeller")
170
          n.CFrame = p.CFrame
171
          n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
172
          n.Parent = p
173
          makeweld(n, n, p, cf(0, 0, 0))
174
          smokz(n)
175
          n.Touched:connect(function(po)
176
            glow(po, n, true, 0.8)
177
          end)
178
          if n:FindFirstChildOfClass("Decal") then
179
            n:FindFirstChildOfClass("Decal"):Destroy()
180
          end
181
          if p:FindFirstChildOfClass("SpecialMesh") then
182
            local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
183
            c.Parent = nil
184
            c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
185
            c.Parent = n
186
          else
187
            local m = Instance.new("BlockMesh")
188
            m.Scale = Vector3.new(1.05, 1.025, 1.05)
189
            if p == tors then
190
              m.Scale = Vector3.new(1.05, 1.05, 1.05)
191
            end
192
            m.Parent = n
193
          end
194
        end
195
      end
196
    end
197
  end
198
  makeglow()
199
  function fglow(glopart, duration)
200
    for _ = 1, 4 do
201
      swait()
202
      glopart.Transparency = glopart.Transparency - 0.075
203
    end
204
    delay(duration, function()
205
      for _ = 1, 4 do
206
        swait()
207
        glopart.Transparency = glopart.Transparency + 0.075
208
      end
209
    end)
210
  end
211
  function lerpz(joint, prop, cfrmz, alp)
212
    joint[prop] = joint[prop]:lerp(cfrmz, alp)
213
  end
214
  function resetlerp()
215
    RJ.C0 = RJC0
216
    RJ.C1 = RJC1
217
    N.C0 = NC0
218
    N.C1 = NC1
219
    RS.C0 = RSC0
220
    RS.C1 = RSC1
221
    LS.C0 = LSC0
222
    LS.C1 = LSC1
223
    RH.C0 = RHC0
224
    RH.C1 = RHC1
225
    LH.C0 = LHC0
226
  end
227
228
229
230
231
232
233
234
235
236
237
238
function RFistDamage()
239
	
240
end
241
  function rsmash()
242
    if activu == true or selected == false then
243
      return
244
    end
245
    coroutine.resume(coroutine.create(function()
246
      fglow(rarm.Glow, 3)
247
    end))
248
    activu = true
249
    
250
    human.WalkSpeed = human.WalkSpeed - 13
251
    animo(false)
252
    local Mus = Instance.new("Sound",workspace)
253
Mus.SoundId = "rbxassetid://768266928"
254
Mus.Pitch = 1
255
Mus.Volume = 90000
256
Mus.Looped = false
257
wait(0.3)
258
Mus:Play()
259
    local pe = Instance.new("ParticleEmitter")
260
    pe.Color = ColorSequence.new(Color3.new(255,255,51))
261
    pe.LightEmission = 0.9
262
    pe.Size = NumberSequence.new(0.5)
263
    pe.Texture = "rbxassetid://886346627"
264
    pe.Transparency = NumberSequence.new(0.1)
265
    pe.Lifetime = NumberRange.new(0.1)
266
    pe.Rate = 1
267
    pe.RotSpeed = NumberRange.new(360)
268
    pe.Speed = NumberRange.new(3)
269
    pe.VelocitySpread = 360
270
    pe.Parent = rarm.Glow
271
    local pe2 = Instance.new("ParticleEmitter")
272
    pe2.Color = ColorSequence.new(Color3.new(255,255,51))
273
    pe2.LightEmission = 0.9
274
    pe2.Size = NumberSequence.new(5)
275
    pe2.Texture = "rbxassetid://886346627"
276
    pe2.Transparency = NumberSequence.new(0.4)
277
    pe2.ZOffset = 2
278
    pe2.Enabled = false
279
    pe2.LockedToPart = true
280
    pe2.Lifetime = NumberRange.new(0.07)
281
    pe2.Rate = 8
282
    pe2.Rotation = NumberRange.new(0, 360)
283
    pe2.RotSpeed = NumberRange.new(0)
284
    pe2.Speed = NumberRange.new(0)
285
    pe2.VelocitySpread = 180
286
    pe2.Parent = rarm.Glow
287
    for _ = 1, 45 do
288
      swait()
289
      lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
290
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
291
      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)
292
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
293
      lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
294
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
295
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
296
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
297
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
298
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
299
      pe.Rate = pe.Rate + 25
300
    end
301
    pe2.Enabled = true
302
    pe.Speed = NumberRange.new(10)
303
    for _ = 1, 30 do
304
      swait()
305
      lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
306
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
307
      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)
308
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
309
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
310
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
311
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
312
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
313
314
    end
315
    for l = 1, 3 do
316
      swait()
317
      lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
318
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
319
      lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
320
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
321
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
322
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
323
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
324
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
325
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
326
    end
327
    pe:Destroy()
328
    pe2:Destroy()
329
    KABOOMZ()
330
    rarm.Glow.smok.Enabled = true
331
    for _ = 1, 8 do
332
      swait()
333
      lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8)
334
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8)
335
      lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8)
336
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8)
337
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8)
338
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8)
339
      lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8)
340
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8)
341
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8)
342
    end
343
    wait(1.5)
344
    animo(true)
345
    human.WalkSpeed = human.WalkSpeed + 13
346
    for _ = 1, 24 do
347
      swait()
348
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
349
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
350
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
351
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
352
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
353
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
354
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
355
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
356
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
357
    end
358
    resetlerp()
359
    rarm.Glow.smok.Enabled = false
360
    activu = false
361
  end
362
363
364
365
366
local debris=game:service"Debris"
367
vt = Vector3.new
368
bc = BrickColor.new
369
370
371
372
373
374
375
376
377
378
379
380
381
function Ring()
382
	
383
	
384
	local effspwn = Instance.new("Part")      
385
    local model = Instance.new("Model")
386
    game.Debris:AddItem(model, 20)
387
    model.Name = "smasheffects"
388
    model.Parent = workspace
389
    effspwn.Name = "spwnr"
390
    effspwn.Size = Vector3.new(1, 1, 1)
391
    effspwn.Anchored = true
392
    effspwn.CanCollide = false
393
    effspwn.Transparency = 1
394
    effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
395
    effspwn.Parent = model
396
397
 for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
398
        if v:FindFirstChild('Humanoid') then
399
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
400
            v.Humanoid.PlatformStand = true
401
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
402
        end
403
    end 
404
	coroutine.resume(coroutine.create(function()
405
      local shok = Instance.new("Part")
406
      shok.Name = "wring1"
407
      shok.BrickColor = BrickColor.new("Institutional white")
408
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
409
      shok.Size = Vector3.new(1, 1, 1)
410
      shok.Anchored = true
411
      shok.Material = "Neon"
412
      shok.Transparency = 0.25
413
      shok.CanCollide = false
414
      shok.Parent = model
415
      game.Debris:AddItem(shok, 12)
416
      local mesh = Instance.new("SpecialMesh")
417
      mesh.MeshType = "FileMesh"
418
      mesh.MeshId = "rbxassetid://3270017"
419
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
420
      mesh.Parent = shok
421
      for e = 1, 30 do
422
        wait()
423
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
424
        shok.Transparency = shok.Transparency + 0.002
425
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
426
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
427
      end
428
      for e = 1, 38 do
429
        wait()
430
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
431
        shok.Transparency = shok.Transparency + 0.002
432
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
433
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
434
      end
435
      for e = 1, 24 do
436
        wait()
437
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
438
        shok.Transparency = shok.Transparency + 0.03
439
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
440
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
441
      end
442
    end))
443
    coroutine.resume(coroutine.create(function()
444
      local shok = Instance.new("Part")
445
      shok.Name = "wring2"
446
      shok.BrickColor = BrickColor.new("Institutional white")
447
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
448
      shok.Size = Vector3.new(1, 1, 1)
449
      shok.Anchored = true
450
      shok.Material = "Neon"
451
      shok.Transparency = 0.25
452
      shok.CanCollide = false
453
      shok.Parent = model
454
      game.Debris:AddItem(shok, 12)
455
      local mesh = Instance.new("SpecialMesh")
456
      mesh.MeshType = "FileMesh"
457
      mesh.MeshId = "rbxassetid://3270017"
458
      mesh.Scale = Vector3.new(12, 12, 0.05)
459
      mesh.Parent = shok
460
      for e = 1, 30 do
461
        wait()
462
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
463
        shok.Transparency = shok.Transparency + 0.002
464
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
465
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
466
      end
467
      for e = 1, 38 do
468
        wait()
469
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
470
        shok.Transparency = shok.Transparency + 0.002
471
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
472
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
473
      end
474
      for e = 1, 24 do
475
        wait()
476
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
477
        shok.Transparency = shok.Transparency + 0.03
478
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
479
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
480
      end
481
    end))
482
483
coroutine.resume(coroutine.create(function()
484
      local shok = Instance.new("Part")
485
      shok.Name = "shokwve"
486
      shok.BrickColor = BrickColor.new("Institutional white")
487
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
488
      shok.Size = Vector3.new(1, 1, 1)
489
      shok.Anchored = true
490
      shok.Material = "Neon"
491
      shok.Transparency = 0.6
492
      shok.CanCollide = false
493
      shok.Parent = model
494
      game.Debris:AddItem(shok, 12)
495
      local mesh = Instance.new("SpecialMesh")
496
      mesh.MeshType = "FileMesh"
497
      mesh.MeshId = "rbxassetid://489415447"
498
      mesh.Scale = Vector3.new(1, 1, 1)
499
      mesh.Parent = shok
500
      for e = 1, 12 do
501
        wait()
502
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
503
        shok.Transparency = shok.Transparency + 0.002
504
      end
505
      for e = 1, 32 do
506
        wait()
507
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
508
        shok.Transparency = shok.Transparency + 0.002
509
      end
510
      for e = 1, 24 do
511
        wait()
512
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
513
        shok.Transparency = shok.Transparency + 0.03
514
      end
515
    end))
516
    coroutine.resume(coroutine.create(function()
517
      local shok = Instance.new("Part")
518
      shok.Name = "shock2"
519
      shok.BrickColor = BrickColor.new("Institutional white")
520
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
521
      shok.Size = Vector3.new(1, 1, 1)
522
      shok.Anchored = true
523
      shok.Material = "Neon"
524
      shok.Transparency = 0.35
525
      shok.CanCollide = false
526
      shok.Parent = model
527
      game.Debris:AddItem(shok, 12)
528
      local mesh = Instance.new("SpecialMesh")
529
      mesh.MeshType = "FileMesh"
530
      mesh.MeshId = "rbxassetid://489415447"
531
      mesh.Scale = Vector3.new(12, 12, 12)
532
      mesh.Parent = shok
533
      for e = 1, 15 do
534
        wait()
535
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
536
        shok.Transparency = shok.Transparency + 0.004
537
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
538
      end
539
      for e = 1, 16 do
540
        wait()
541
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
542
        shok.Transparency = shok.Transparency + 0.004
543
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
544
      end
545
      for e = 1, 12 do
546
        wait()
547
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
548
        shok.Transparency = shok.Transparency + 0.06
549
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
550
      end
551
    end))
552
    coroutine.resume(coroutine.create(function()
553
      local shok = Instance.new("Part")
554
      shok.Name = "shock3"
555
      shok.BrickColor = BrickColor.new("Institutional white")
556
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
557
      shok.Size = Vector3.new(1, 1, 1)
558
      shok.Anchored = true
559
      shok.Material = "Neon"
560
      shok.Transparency = 0.35
561
      shok.CanCollide = false
562
      shok.Parent = model
563
      game.Debris:AddItem(shok, 12)
564
      local mesh = Instance.new("SpecialMesh")
565
      mesh.MeshType = "FileMesh"
566
      mesh.MeshId = "rbxassetid://489415447"
567
      mesh.Scale = Vector3.new(12, 12, 12)
568
      mesh.Parent = shok
569
      for e = 1, 15 do
570
        wait()
571
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
572
        shok.Transparency = shok.Transparency + 0.004
573
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
574
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
575
      end
576
      for e = 1, 16 do
577
        wait()
578
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
579
        shok.Transparency = shok.Transparency + 0.004
580
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
581
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
582
      end
583
      for e = 1, 12 do
584
        wait()
585
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
586
        shok.Transparency = shok.Transparency + 0.06
587
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
588
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
589
      end
590
    end))
591
    
592
end
593
function Landing()
594
	
595
	
596
	
597
	
598
	
599
	
600
	ROW = function(out, trans, s, wt, t, ang, plus)
601
					for i = 1, 360, 360/t do
602
						local c = Instance.new("Part", game.Workspace)
603
						c.FormFactor = 3
604
						c.TopSurface = 0
605
						c.BottomSurface = 0
606
						c.Size = s
607
						c.Anchored = true
608
						c.CanCollide = wt
609
						c.Material=workspace.Base.Material
610
						c.Transparency = trans
611
						c.BrickColor = workspace.Base.BrickColor
612
						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
613
						c.Locked=true
614
						game.Debris:AddItem(c,15)
615
					end
616
end
617
	
618
	
619
	
620
621
622
		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)
623
Ring()
624
625
626
627
628
629
end	
630
631
632
633
634
635
636
637
function newRay(start,face,range,wat)
638
	local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
639
	hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
640
	return rey,hit,pos
641
end
642
643
644
645
	
646
  function jum()
647
    if activu == true or selected == false then
648
      return
649
    end
650
    coroutine.resume(coroutine.create(function()
651
      fglow(rleg.Glow, 1)
652
      fglow(lleg.Glow, 1)
653
    end))
654
    activu = true
655
    human.WalkSpeed = human.WalkSpeed - 13
656
    local pe = Instance.new("ParticleEmitter")
657
    pe.Color = ColorSequence.new(Color3.new(255, 255, 51))
658
    pe.LightEmission = 0.9
659
    pe.Size = NumberSequence.new(0.5)
660
    pe.Texture = "rbxassetid://886346627"
661
    pe.Transparency = NumberSequence.new(0.1)
662
    pe.Lifetime = NumberRange.new(0.1)
663
    pe.Rate = 250
664
    pe.RotSpeed = NumberRange.new(360)
665
    pe.Speed = NumberRange.new(3)
666
    pe.VelocitySpread = 360
667
    pe.Parent = rleg.Glow
668
    local pea = pe:Clone()
669
    pea.Parent = lleg.Glow
670
    local pe2 = Instance.new("ParticleEmitter")
671
    pe2.Color = ColorSequence.new(Color3.new(255, 255, 51))
672
    pe2.LightEmission = 0.9
673
    pe2.Size = NumberSequence.new(5)
674
    pe2.Texture = "rbxassetid://886346627"
675
    pe2.Transparency = NumberSequence.new(0.4)
676
    pe2.ZOffset = 2
677
    pe2.Enabled = true
678
    pe2.LockedToPart = true
679
    pe2.Lifetime = NumberRange.new(0.07)
680
    pe2.Rate = 8
681
    pe2.Rotation = NumberRange.new(0, 360)
682
    pe2.RotSpeed = NumberRange.new(0)
683
    pe2.Speed = NumberRange.new(0)
684
    pe2.VelocitySpread = 180
685
    pe2.Parent = lleg.Glow
686
    local pea2 = pe2:Clone()
687
    pea2.Parent = rleg.Glow
688
    for l = 1, 30 do
689
      swait()
690
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
691
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
692
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
693
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
694
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
695
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
696
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
697
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
698
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
699
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
700
    end
701
    pe:Destroy()
702
    pe2:Destroy()
703
    pea:Destroy()
704
    pea2:Destroy()
705
    human.WalkSpeed = 50
706
        BV = Instance.new("BodyVelocity", tors)
707
        BV.maxForce = Vector3.new(0,100000,0)
708
        BV.P = 100000
709
        BV.velocity = Vector3.new(0,800,0)
710
    KABOOMZ2()
711
    coroutine.resume(coroutine.create(function()
712
      swait(3)
713
      BV:Destroy()
714
    end))
715
    for _ = 1, 18 do
716
      swait()
717
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6)
718
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6)
719
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6)
720
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
721
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6)
722
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
723
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6)
724
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
725
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6)
726
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
727
    end
728
    for _ = 1, 18 do
729
      swait()
730
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
731
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
732
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
733
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
734
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
735
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
736
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
737
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
738
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
739
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
740
    end
741
    resetlerp()
742
local ry,ht,ps=nil,nil,nil
743
while ht==nil do
744
	ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr})
745
	wait()
746
end
747
human.WalkSpeed = 0
748
Landing()
749
z = Instance.new("Sound",tors)
750
z.SoundId = "rbxassetid://142070127"
751
z.Volume = 2
752
wait(.1)
753
z:Play()
754
755
for l = 1, 30 do
756
      swait()
757
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
758
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
759
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
760
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
761
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
762
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
763
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
764
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
765
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
766
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
767
    end
768
resetlerp()
769
human.WalkSpeed = 16
770
771
activu = false
772
end
773
774
775
776
local acos = math.acos
777
local sqrt = math.sqrt
778
local Vec3 = Vector3.new
779
local fromAxisAngle = CFrame.fromAxisAngle
780
781
local function toAxisAngle(CFr)
782
        local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
783
        local Angle = math.acos((R00+R11+R22-1)/2)
784
        local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
785
        A = A == 0 and 0.00001 or A
786
        local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
787
        B = B == 0 and 0.00001 or B
788
        local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
789
        C = C == 0 and 0.00001 or C
790
        local x = (R21-R12)/sqrt(A)
791
        local y = (R02-R20)/sqrt(B)
792
        local z = (R10-R01)/sqrt(C)
793
        return Vec3(x,y,z),Angle
794
end
795
796
function ApplyTrig(Num,Func)
797
        local Min,Max = Func(0),Func(1)
798
        local i = Func(Num)
799
        return (i-Min)/(Max-Min)
800
        --[[if Func == "sin" then
801
                return (math.sin((1-Num)*math.pi)+1)/2
802
        elseif Func == "cos" then
803
                return (math.cos((1-Num)*math.pi)+1)/2
804
        end]]
805
end
806
807
function LerpCFrame(CFrame1,CFrame2,Num)
808
        local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
809
        return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
810
end
811
812
function Crater(Torso,Radius)
813
        spawn(function()
814
        local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
815
        local Ignore = {}
816
        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
817
                if v.Character ~= nil then
818
                        Ignore[#Ignore+1] = v.Character
819
                end
820
        end
821
        local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
822
        if Hit == nil then return end
823
        local Parts = {}
824
        for i = 1,360,10 do
825
                local P = Instance.new("Part",Torso.Parent)
826
                P.Anchored = true
827
                P.FormFactor = "Custom"
828
                P.BrickColor = Hit.BrickColor
829
                P.Material = Hit.Material
830
                P.TopSurface = "Smooth"
831
                P.BottomSurface = "Smooth"
832
                P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
833
                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)))
834
                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}
835
                if math.random(0,5) == 0 then -- rubble
836
                        local P = Instance.new("Part",Torso.Parent)
837
                        P.Anchored = true
838
                        P.FormFactor = "Custom"
839
                        P.BrickColor = Hit.BrickColor
840
                        P.Material = Hit.Material
841
                        P.TopSurface = "Smooth"
842
                        P.BottomSurface = "Smooth"
843
                        P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
844
                        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)))
845
                        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}
846
                end
847
        end
848
        for i = 0,1,0.05 do
849
                for i2,v in pairs(Parts) do
850
                        v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
851
                end
852
                wait(0.02)
853
        end
854
        for i,v in pairs(Parts) do
855
                if v[1].Size.X > 2.1 then
856
                        v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
857
                end
858
                v[1].Anchored = false
859
        end
860
        for i = 0,1,0.05 do
861
                for i2,v in pairs(Parts) do
862
                        v[1].Transparency = i
863
                        if i == 1 then
864
                                v[1]:Destroy()
865
                        elseif i >= 0.25 then
866
                                v[1].CanCollide = false
867
                        end
868
                end
869
                wait(0.02)
870
        end
871
        Parts = nil
872
        end)
873
end
874
875
876
function FindNearestTorso(Position,Distance,SinglePlayer)
877
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
878
        local List = {}
879
        for i,v in pairs(workspace:GetChildren())do
880
            if v:IsA("Model")then
881
                if v:findFirstChild("Torso")then
882
                    if v ~= chr then
883
                        if(v.Torso.Position -Position).magnitude <= Distance then
884
                            table.insert(List,v)
885
                        end 
886
                    end 
887
                end 
888
            end 
889
        end
890
    return List
891
end
892
893
  function KABOOMZ()
894
    local effspwn = Instance.new("Part")
895
    coroutine.resume(coroutine.create(function()
896
      local sound1 = Instance.new("Sound")
897
      sound1.SoundId = "rbxassetid://138137702"
898
      sound1.MaxDistance = 300
899
      sound1.EmitterSize = 20
900
      sound1.Volume = 5
901
      sound1.Pitch = 0.95
902
      sound1.Parent = effspwn
903
      local sound2 = Instance.new("Sound")
904
      sound2.SoundId = "rbxassetid://157878578"
905
      sound2.MaxDistance = 300
906
      sound2.EmitterSize = 20
907
      sound2.Volume = 2
908
      sound2.Pitch = 0.9
909
      sound2.Parent = effspwn
910
      local sound3 = Instance.new("Sound")
911
      sound3.SoundId = "rbxassetid://138250406"
912
      sound2.MaxDistance = 400
913
      sound2.EmitterSize = 30
914
      sound2.Volume = 1.5
915
      sound2.Pitch = 0.6
916
      sound2.Parent = effspwn
917
      sound2:Play()
918
      wait()
919
      sound1:Play()
920
      sound3:Play()
921
    end))
922
    local model = Instance.new("Model")
923
    game.Debris:AddItem(model, 20)
924
    model.Name = "smasheffects"
925
    model.Parent = workspace
926
    effspwn.Name = "spwnr"
927
    effspwn.Size = Vector3.new(1, 1, 1)
928
    effspwn.Anchored = true
929
    effspwn.CanCollide = false
930
    effspwn.Transparency = 1
931
    effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
932
    effspwn.Parent = model
933
934
Crater(head,60)
935
936
    for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
937
        if v:FindFirstChild('Humanoid') then
938
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
939
            v.Humanoid.PlatformStand = true
940
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
941
        end
942
    end 
943
    coroutine.resume(coroutine.create(function()
944
      local shok = Instance.new("Part")
945
      shok.Name = "whoosh"
946
      shok.BrickColor = BrickColor.new("Institutional white")
947
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
948
      shok.Size = Vector3.new(1, 1, 1)
949
      shok.Anchored = true
950
      shok.Material = "Neon"
951
      shok.Transparency = 0.1
952
      shok.CanCollide = false
953
      shok.Parent = model
954
      game.Debris:AddItem(shok, 12)
955
      local mesh = Instance.new("SpecialMesh")
956
      mesh.MeshType = "FileMesh"
957
      mesh.MeshId = "rbxassetid://437347603"
958
      mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
959
      mesh.Parent = shok
960
      for e = 1, 8 do
961
        wait()
962
        mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
963
        shok.Transparency = shok.Transparency + 0.035
964
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
965
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
966
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
967
      end
968
      for e = 1, 16 do
969
        wait()
970
        mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
971
        shok.Transparency = shok.Transparency + 0.11
972
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
973
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
974
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
975
      end
976
    end))
977
    coroutine.resume(coroutine.create(function()
978
      local shok = Instance.new("Part")
979
      shok.Name = "wring1"
980
      shok.BrickColor = BrickColor.new("Institutional white")
981
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
982
      shok.Size = Vector3.new(1, 1, 1)
983
      shok.Anchored = true
984
      shok.Material = "Neon"
985
      shok.Transparency = 0.25
986
      shok.CanCollide = false
987
      shok.Parent = model
988
      game.Debris:AddItem(shok, 12)
989
      local mesh = Instance.new("SpecialMesh")
990
      mesh.MeshType = "FileMesh"
991
      mesh.MeshId = "rbxassetid://3270017"
992
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
993
      mesh.Parent = shok
994
      for e = 1, 30 do
995
        wait()
996
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
997
        shok.Transparency = shok.Transparency + 0.002
998
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
999
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1000
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1001
1002
      end
1003
      for e = 1, 38 do
1004
        wait()
1005
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1006
        shok.Transparency = shok.Transparency + 0.002
1007
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1008
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1009
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1010
1011
      end
1012
      for e = 1, 24 do
1013
        wait()
1014
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1015
        shok.Transparency = shok.Transparency + 0.03
1016
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1017
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1018
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1019
1020
      end
1021
    end))
1022
    coroutine.resume(coroutine.create(function()
1023
      local shok = Instance.new("Part")
1024
      shok.Name = "wring2"
1025
      shok.BrickColor = BrickColor.new("Institutional white")
1026
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1027
      shok.Size = Vector3.new(1, 1, 1)
1028
      shok.Anchored = true
1029
      shok.Material = "Neon"
1030
      shok.Transparency = 0.25
1031
      shok.CanCollide = false
1032
      shok.Parent = model
1033
      game.Debris:AddItem(shok, 12)
1034
      local mesh = Instance.new("SpecialMesh")
1035
      mesh.MeshType = "FileMesh"
1036
      mesh.MeshId = "rbxassetid://3270017"
1037
      mesh.Scale = Vector3.new(12, 12, 0.05)
1038
      mesh.Parent = shok
1039
      for e = 1, 30 do
1040
        wait()
1041
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
1042
        shok.Transparency = shok.Transparency + 0.002
1043
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1044
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1045
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1046
1047
      end
1048
      for e = 1, 38 do
1049
        wait()
1050
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1051
        shok.Transparency = shok.Transparency + 0.002
1052
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1053
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1054
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1055
1056
      end
1057
      for e = 1, 24 do
1058
        wait()
1059
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1060
        shok.Transparency = shok.Transparency + 0.03
1061
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1062
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1063
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1064
1065
      end
1066
    end))
1067
    coroutine.resume(coroutine.create(function()
1068
      local shok = Instance.new("Part")
1069
      shok.Name = "coil1"
1070
      shok.BrickColor = BrickColor.new("Institutional white")
1071
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1072
      shok.Size = Vector3.new(1, 1, 1)
1073
      shok.Anchored = true
1074
      shok.Material = "Neon"
1075
      shok.Transparency = 0.25
1076
      shok.CanCollide = false
1077
      shok.Parent = model
1078
      game.Debris:AddItem(shok, 12)
1079
      local mesh = Instance.new("SpecialMesh")
1080
      mesh.MeshType = "FileMesh"
1081
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1082
      mesh.Scale = Vector3.new(12, 12, 12)
1083
      mesh.Parent = shok
1084
      for e = 1, 15 do
1085
        wait()
1086
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1087
        shok.Transparency = shok.Transparency + 0.004
1088
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1089
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1090
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1091
1092
      end
1093
      for e = 1, 16 do
1094
        wait()
1095
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1096
        shok.Transparency = shok.Transparency + 0.004
1097
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1098
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1099
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1100
1101
      end
1102
      for e = 1, 12 do
1103
        wait()
1104
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1105
        shok.Transparency = shok.Transparency + 0.06
1106
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1107
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1108
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1109
1110
      end
1111
    end))
1112
    coroutine.resume(coroutine.create(function()
1113
      local shok = Instance.new("Part")
1114
      shok.Name = "coil2"
1115
      shok.BrickColor = BrickColor.new("Institutional white")
1116
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1117
      shok.Size = Vector3.new(1, 1, 1)
1118
      shok.Anchored = true
1119
      shok.Material = "Neon"
1120
      shok.Transparency = 0.25
1121
      shok.CanCollide = false
1122
      shok.Parent = model
1123
      game.Debris:AddItem(shok, 12)
1124
      local mesh = Instance.new("SpecialMesh")
1125
      mesh.MeshType = "FileMesh"
1126
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1127
      mesh.Scale = Vector3.new(6, 12, 6)
1128
      mesh.Parent = shok
1129
      for e = 1, 15 do
1130
        wait()
1131
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1132
        shok.Transparency = shok.Transparency + 0.005
1133
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1134
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1135
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1136
1137
      end
1138
      for e = 1, 16 do
1139
        wait()
1140
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1141
        shok.Transparency = shok.Transparency + 0.005
1142
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1143
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1144
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1145
1146
      end
1147
      for e = 1, 12 do
1148
        wait()
1149
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1150
        shok.Transparency = shok.Transparency + 0.09
1151
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1152
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1153
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1154
1155
      end
1156
    end))
1157
    coroutine.resume(coroutine.create(function()
1158
      local shok = Instance.new("Part")
1159
      shok.Name = "shokwve"
1160
      shok.BrickColor = BrickColor.new("Institutional white")
1161
      shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
1162
      shok.Size = Vector3.new(1, 1, 1)
1163
      shok.Anchored = true
1164
      shok.Material = "Neon"
1165
      shok.Transparency = 0.6
1166
      shok.CanCollide = false
1167
      shok.Parent = model
1168
      game.Debris:AddItem(shok, 12)
1169
      local mesh = Instance.new("SpecialMesh")
1170
      mesh.MeshType = "FileMesh"
1171
      mesh.MeshId = "rbxassetid://489415447"
1172
      mesh.Scale = Vector3.new(1, 1, 1)
1173
      mesh.Parent = shok
1174
      for e = 1, 12 do
1175
        wait()
1176
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
1177
        shok.Transparency = shok.Transparency + 0.002
1178
      end
1179
      for e = 1, 32 do
1180
        wait()
1181
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1182
        shok.Transparency = shok.Transparency + 0.002
1183
      end
1184
      for e = 1, 24 do
1185
        wait()
1186
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1187
        shok.Transparency = shok.Transparency + 0.03
1188
      end
1189
    end))
1190
    coroutine.resume(coroutine.create(function()
1191
      local shok = Instance.new("Part")
1192
      shok.Name = "shock2"
1193
      shok.BrickColor = BrickColor.new("Institutional white")
1194
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1195
      shok.Size = Vector3.new(1, 1, 1)
1196
      shok.Anchored = true
1197
      shok.Material = "Neon"
1198
      shok.Transparency = 0.35
1199
      shok.CanCollide = false
1200
      shok.Parent = model
1201
      game.Debris:AddItem(shok, 12)
1202
      local mesh = Instance.new("SpecialMesh")
1203
      mesh.MeshType = "FileMesh"
1204
      mesh.MeshId = "rbxassetid://489415447"
1205
      mesh.Scale = Vector3.new(12, 12, 12)
1206
      mesh.Parent = shok
1207
      for e = 1, 15 do
1208
        wait()
1209
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1210
        shok.Transparency = shok.Transparency + 0.004
1211
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1212
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1213
1214
      end
1215
      for e = 1, 16 do
1216
        wait()
1217
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1218
        shok.Transparency = shok.Transparency + 0.004
1219
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1220
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1221
1222
      end
1223
      for e = 1, 12 do
1224
        wait()
1225
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1226
        shok.Transparency = shok.Transparency + 0.06
1227
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1228
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1229
1230
      end
1231
    end))
1232
    coroutine.resume(coroutine.create(function()
1233
      local shok = Instance.new("Part")
1234
      shok.Name = "shock3"
1235
      shok.BrickColor = BrickColor.new("Institutional white")
1236
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1237
      shok.Size = Vector3.new(1, 1, 1)
1238
      shok.Anchored = true
1239
      shok.Material = "Neon"
1240
      shok.Transparency = 0.35
1241
      shok.CanCollide = false
1242
      shok.Parent = model
1243
      game.Debris:AddItem(shok, 12)
1244
      local mesh = Instance.new("SpecialMesh")
1245
      mesh.MeshType = "FileMesh"
1246
      mesh.MeshId = "rbxassetid://489415447"
1247
      mesh.Scale = Vector3.new(12, 12, 12)
1248
      mesh.Parent = shok
1249
      for e = 1, 15 do
1250
        wait()
1251
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1252
        shok.Transparency = shok.Transparency + 0.004
1253
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1254
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1255
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1256
1257
      end
1258
      for e = 1, 16 do
1259
        wait()
1260
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1261
        shok.Transparency = shok.Transparency + 0.004
1262
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1263
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1264
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1265
1266
      end
1267
      for e = 1, 12 do
1268
        wait()
1269
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1270
        shok.Transparency = shok.Transparency + 0.06
1271
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1272
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1273
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1274
1275
      end
1276
    end))
1277
  end
1278
  function KABOOMZ2()
1279
    local effspwn = Instance.new("Part")
1280
    coroutine.resume(coroutine.create(function()
1281
      local sound1 = Instance.new("Sound")
1282
      sound1.SoundId = "rbxassetid://802518140"
1283
      sound1.MaxDistance = 300
1284
      sound1.EmitterSize = 300
1285
      sound1.Volume = 99
1286
      sound1.Pitch = 1.1
1287
      sound1.Parent = effspwn
1288
      local sound2 = Instance.new("Sound")
1289
      sound2.SoundId = "rbxassetid://157878578"
1290
      sound2.MaxDistance = 300
1291
      sound2.EmitterSize = 20
1292
      sound2.Volume = 1
1293
      sound2.Pitch = 0.7
1294
      sound2.Parent = effspwn
1295
      local sound3 = Instance.new("Sound")
1296
      sound3.SoundId = "rbxassetid://138250406"
1297
      sound2.MaxDistance = 400
1298
      sound2.EmitterSize = 30
1299
      sound2.Volume = 0.5
1300
      sound2.Pitch = 0.5
1301
      sound2.Parent = effspwn
1302
      sound2:Play()
1303
      wait()
1304
      sound1:Play()
1305
      sound3:Play()
1306
    end))
1307
    local model = Instance.new("Model")
1308
    game.Debris:AddItem(model, 20)
1309
    model.Name = "smasheffects"
1310
    model.Parent = workspace
1311
    effspwn.Name = "spwnr"
1312
    effspwn.Size = Vector3.new(1, 1, 1)
1313
    effspwn.Anchored = true
1314
    effspwn.CanCollide = false
1315
    effspwn.Transparency = 1
1316
    effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
1317
    effspwn.Parent = model
1318
1319
1320
1321
1322
1323
Crater(head,60)
1324
Crater(head,120)
1325
1326
    for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
1327
        if v:FindFirstChild('Humanoid') then
1328
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
1329
            v.Humanoid.PlatformStand = true
1330
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
1331
        end
1332
    end 
1333
1334
    coroutine.resume(coroutine.create(function()
1335
      local shok = Instance.new("Part")
1336
      shok.Name = "whoosh"
1337
      shok.BrickColor = BrickColor.new("Institutional white")
1338
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1339
      shok.Size = Vector3.new(1, 1, 1)
1340
      shok.Anchored = true
1341
      shok.Material = "Neon"
1342
      shok.Transparency = 0.1
1343
      shok.CanCollide = false
1344
      shok.Parent = model
1345
      game.Debris:AddItem(shok, 12)
1346
      local mesh = Instance.new("SpecialMesh")
1347
      mesh.MeshType = "FileMesh"
1348
      mesh.MeshId = "rbxassetid://437347603"
1349
      mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
1350
      mesh.Parent = shok
1351
1352
1353
1354
1355
1356
      for e = 1, 8 do
1357
        wait()
1358
        mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
1359
        shok.Transparency = shok.Transparency + 0.035
1360
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
1361
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
1362
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1363
1364
      end
1365
      for e = 1, 16 do
1366
        wait()
1367
        mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
1368
        shok.Transparency = shok.Transparency + 0.11
1369
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
1370
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
1371
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1372
1373
      end
1374
    end))
1375
    coroutine.resume(coroutine.create(function()
1376
      local shok = Instance.new("Part")
1377
      shok.Name = "wring1"
1378
      shok.BrickColor = BrickColor.new("Institutional white")
1379
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1380
      shok.Size = Vector3.new(1, 1, 1)
1381
      shok.Anchored = true
1382
      shok.Material = "Neon"
1383
      shok.Transparency = 0.25
1384
      shok.CanCollide = false
1385
      shok.Parent = model
1386
      game.Debris:AddItem(shok, 12)
1387
      local mesh = Instance.new("SpecialMesh")
1388
      mesh.MeshType = "FileMesh"
1389
      mesh.MeshId = "rbxassetid://3270017"
1390
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
1391
      mesh.Parent = shok
1392
      for e = 1, 30 do
1393
        wait()
1394
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
1395
        shok.Transparency = shok.Transparency + 0.002
1396
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1397
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1398
      end
1399
      for e = 1, 38 do
1400
        wait()
1401
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1402
        shok.Transparency = shok.Transparency + 0.002
1403
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1404
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1405
      end
1406
      for e = 1, 24 do
1407
        wait()
1408
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1409
        shok.Transparency = shok.Transparency + 0.03
1410
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1411
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1412
      end
1413
    end))
1414
    coroutine.resume(coroutine.create(function()
1415
      local shok = Instance.new("Part")
1416
      shok.Name = "wring2"
1417
      shok.BrickColor = BrickColor.new("Institutional white")
1418
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1419
      shok.Size = Vector3.new(1, 1, 1)
1420
      shok.Anchored = true
1421
      shok.Material = "Neon"
1422
      shok.Transparency = 0.25
1423
      shok.CanCollide = false
1424
      shok.Parent = model
1425
      game.Debris:AddItem(shok, 12)
1426
      local mesh = Instance.new("SpecialMesh")
1427
      mesh.MeshType = "FileMesh"
1428
      mesh.MeshId = "rbxassetid://3270017"
1429
      mesh.Scale = Vector3.new(12, 12, 0.05)
1430
      mesh.Parent = shok
1431
      for e = 1, 30 do
1432
        wait()
1433
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
1434
        shok.Transparency = shok.Transparency + 0.002
1435
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1436
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1437
      end
1438
      for e = 1, 38 do
1439
        wait()
1440
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1441
        shok.Transparency = shok.Transparency + 0.002
1442
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1443
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1444
      end
1445
      for e = 1, 24 do
1446
        wait()
1447
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1448
        shok.Transparency = shok.Transparency + 0.03
1449
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1450
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1451
      end
1452
    end))
1453
    coroutine.resume(coroutine.create(function()
1454
      local shok = Instance.new("Part")
1455
      shok.Name = "coil1"
1456
      shok.BrickColor = BrickColor.new("Institutional white")
1457
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1458
      shok.Size = Vector3.new(1, 1, 1)
1459
      shok.Anchored = true
1460
      shok.Material = "Neon"
1461
      shok.Transparency = 0.25
1462
      shok.CanCollide = false
1463
      shok.Parent = model
1464
      game.Debris:AddItem(shok, 12)
1465
      local mesh = Instance.new("SpecialMesh")
1466
      mesh.MeshType = "FileMesh"
1467
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1468
      mesh.Scale = Vector3.new(12, 12, 12)
1469
      mesh.Parent = shok
1470
      for e = 1, 15 do
1471
        wait()
1472
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1473
        shok.Transparency = shok.Transparency + 0.004
1474
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1475
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1476
      end
1477
      for e = 1, 16 do
1478
        wait()
1479
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1480
        shok.Transparency = shok.Transparency + 0.004
1481
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1482
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1483
      end
1484
      for e = 1, 12 do
1485
        wait()
1486
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1487
        shok.Transparency = shok.Transparency + 0.06
1488
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1489
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1490
      end
1491
    end))
1492
    coroutine.resume(coroutine.create(function()
1493
      local shok = Instance.new("Part")
1494
      shok.Name = "coil2"
1495
      shok.BrickColor = BrickColor.new("Institutional white")
1496
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1497
      shok.Size = Vector3.new(1, 1, 1)
1498
      shok.Anchored = true
1499
      shok.Material = "Neon"
1500
      shok.Transparency = 0.25
1501
      shok.CanCollide = false
1502
      shok.Parent = model
1503
      game.Debris:AddItem(shok, 12)
1504
      local mesh = Instance.new("SpecialMesh")
1505
      mesh.MeshType = "FileMesh"
1506
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1507
      mesh.Scale = Vector3.new(6, 12, 6)
1508
      mesh.Parent = shok
1509
      for e = 1, 15 do
1510
        wait()
1511
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1512
        shok.Transparency = shok.Transparency + 0.005
1513
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1514
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1515
      end
1516
      for e = 1, 16 do
1517
        wait()
1518
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1519
        shok.Transparency = shok.Transparency + 0.005
1520
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1521
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1522
      end
1523
      for e = 1, 12 do
1524
        wait()
1525
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1526
        shok.Transparency = shok.Transparency + 0.09
1527
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1528
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1529
      end
1530
    end))
1531
    coroutine.resume(coroutine.create(function()
1532
      local shok = Instance.new("Part")
1533
      shok.Name = "shokwve"
1534
      shok.BrickColor = BrickColor.new("Institutional white")
1535
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
1536
      shok.Size = Vector3.new(1, 1, 1)
1537
      shok.Anchored = true
1538
      shok.Material = "Neon"
1539
      shok.Transparency = 0.6
1540
      shok.CanCollide = false
1541
      shok.Parent = model
1542
      game.Debris:AddItem(shok, 12)
1543
      local mesh = Instance.new("SpecialMesh")
1544
      mesh.MeshType = "FileMesh"
1545
      mesh.MeshId = "rbxassetid://489415447"
1546
      mesh.Scale = Vector3.new(1, 1, 1)
1547
      mesh.Parent = shok
1548
      for e = 1, 12 do
1549
        wait()
1550
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
1551
        shok.Transparency = shok.Transparency + 0.002
1552
      end
1553
      for e = 1, 32 do
1554
        wait()
1555
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1556
        shok.Transparency = shok.Transparency + 0.002
1557
      end
1558
      for e = 1, 24 do
1559
        wait()
1560
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1561
        shok.Transparency = shok.Transparency + 0.03
1562
      end
1563
    end))
1564
    coroutine.resume(coroutine.create(function()
1565
      local shok = Instance.new("Part")
1566
      shok.Name = "shock2"
1567
      shok.BrickColor = BrickColor.new("Institutional white")
1568
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1569
      shok.Size = Vector3.new(1, 1, 1)
1570
      shok.Anchored = true
1571
      shok.Material = "Neon"
1572
      shok.Transparency = 0.35
1573
      shok.CanCollide = false
1574
      shok.Parent = model
1575
      game.Debris:AddItem(shok, 12)
1576
      local mesh = Instance.new("SpecialMesh")
1577
      mesh.MeshType = "FileMesh"
1578
      mesh.MeshId = "rbxassetid://489415447"
1579
      mesh.Scale = Vector3.new(12, 12, 12)
1580
      mesh.Parent = shok
1581
      for e = 1, 15 do
1582
        wait()
1583
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1584
        shok.Transparency = shok.Transparency + 0.004
1585
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1586
      end
1587
      for e = 1, 16 do
1588
        wait()
1589
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1590
        shok.Transparency = shok.Transparency + 0.004
1591
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1592
      end
1593
      for e = 1, 12 do
1594
        wait()
1595
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1596
        shok.Transparency = shok.Transparency + 0.06
1597
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1598
      end
1599
    end))
1600
    coroutine.resume(coroutine.create(function()
1601
      local shok = Instance.new("Part")
1602
      shok.Name = "shock3"
1603
      shok.BrickColor = BrickColor.new("Institutional white")
1604
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1605
      shok.Size = Vector3.new(1, 1, 1)
1606
      shok.Anchored = true
1607
      shok.Material = "Neon"
1608
      shok.Transparency = 0.35
1609
      shok.CanCollide = false
1610
      shok.Parent = model
1611
      game.Debris:AddItem(shok, 12)
1612
      local mesh = Instance.new("SpecialMesh")
1613
      mesh.MeshType = "FileMesh"
1614
      mesh.MeshId = "rbxassetid://489415447"
1615
      mesh.Scale = Vector3.new(12, 12, 12)
1616
      mesh.Parent = shok
1617
      for e = 1, 15 do
1618
        wait()
1619
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1620
        shok.Transparency = shok.Transparency + 0.004
1621
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1622
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1623
      end
1624
      for e = 1, 16 do
1625
        wait()
1626
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1627
        shok.Transparency = shok.Transparency + 0.004
1628
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1629
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1630
      end
1631
      for e = 1, 12 do
1632
        wait()
1633
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1634
        shok.Transparency = shok.Transparency + 0.06
1635
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1636
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1637
      end
1638
    end))
1639
  end
1640
1641
1642
1643
tor = chr.Torso
1644
Debounce = false
1645
1646
Invis = function()
1647
	for i = 1,20 do
1648
	chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05 
1649
	chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05
1650
	chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05
1651
	chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05
1652
	chr['Head'].Transparency = chr['Head'].Transparency + .05
1653
	chr['Torso'].Transparency = chr['Torso'].Transparency + .05
1654
	chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05
1655
	game["Run Service"].RenderStepped:wait()
1656
	end
1657
end
1658
1659
Vis = function()
1660
	for i = 1,20 do
1661
	chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05 
1662
	chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05
1663
	chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05
1664
	chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05
1665
	chr['Head'].Transparency = chr['Head'].Transparency - .05
1666
	chr['Torso'].Transparency = chr['Torso'].Transparency - .05
1667
	chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05
1668
	game["Run Service"].RenderStepped:wait()
1669
	end
1670
end
1671
1672
Fade = function(Part)
1673
	if Part:IsA'Part' then
1674
		for i = 1,20 do
1675
			Part.Transparency = Part.Transparency + .05
1676
			Part.Size = Part.Size - Vector3.new(.04,.04,.04)
1677
			Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0)
1678
			wait()
1679
		end
1680
		Part:Destroy()
1681
	end
1682
end
1683
1684
Teleport = function(cx,cy,cz)
1685
	Debounce = true
1686
	tor.Anchored = true
1687
	Invis()
1688
	--MakeTpPart()
1689
	tor.Anchored = false
1690
	tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0)
1691
	tor.Anchored = true
1692
	Vis()
1693
	tor.Anchored = false
1694
	Debounce = false
1695
end;
1696
1697
1698
1699
tps = Instance.new("Sound",chr)
1700-
tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
1700+
tps.SoundId = "http://www.roblox.com/asset/?id = 802518140"
1701
tps.Volume = 30
1702
1703
1704
function Tele()
1705
	human.WalkSpeed = 0
1706
	 if activu == true or selected == false then
1707
      return
1708
    end
1709
    coroutine.resume(coroutine.create(function()
1710
      fglow(rleg.Glow, 1)
1711
      fglow(lleg.Glow, 1)
1712
    end))
1713
    activu = true
1714
local pe = Instance.new("ParticleEmitter")
1715
    pe.Color = ColorSequence.new(Color3.new(255, 255, 51))
1716
    pe.LightEmission = 0.9
1717
    pe.Size = NumberSequence.new(0.5)
1718
    pe.Texture = "rbxassetid://886346627"
1719
    pe.Transparency = NumberSequence.new(0.1)
1720
    pe.Lifetime = NumberRange.new(0.1)
1721
    pe.Rate = 250
1722
    pe.RotSpeed = NumberRange.new(360)
1723
    pe.Speed = NumberRange.new(3)
1724
    pe.VelocitySpread = 360
1725
    pe.Parent = rleg.Glow
1726
    local pea = pe:Clone()
1727
    pea.Parent = lleg.Glow
1728
    local pe2 = Instance.new("ParticleEmitter")
1729
    pe2.Color = ColorSequence.new(Color3.new(255, 255, 51))
1730
    pe2.LightEmission = 0.9
1731
    pe2.Size = NumberSequence.new(5)
1732
    pe2.Texture = "rbxassetid://886346627"
1733
    pe2.Transparency = NumberSequence.new(0.4)
1734
    pe2.ZOffset = 2
1735
    pe2.Enabled = true
1736
    pe2.LockedToPart = true
1737
    pe2.Lifetime = NumberRange.new(0.07)
1738
    pe2.Rate = 8
1739
    pe2.Rotation = NumberRange.new(0, 360)
1740
    pe2.RotSpeed = NumberRange.new(0)
1741
    pe2.Speed = NumberRange.new(0)
1742
    pe2.VelocitySpread = 180
1743
    pe2.Parent = lleg.Glow
1744
    local pea2 = pe2:Clone()
1745
    pea2.Parent = rleg.Glow
1746
1747
	for l = 1, 30 do
1748
      swait()
1749
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
1750
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
1751
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
1752
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
1753
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
1754
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
1755
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
1756
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
1757
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
1758
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
1759
	    end
1760
	
1761
	pe:Destroy()
1762
    pe2:Destroy()
1763
    pea:Destroy()
1764
    pea2:Destroy()
1765
    local rng = Instance.new("Part", chr)
1766
        rng.Anchored = true
1767
        rng.BrickColor = BrickColor.new("Institutional white")
1768
        rng.CanCollide = false
1769
        rng.FormFactor = 3
1770
        rng.Name = "Ring"
1771
        rng.Size = Vector3.new(1, 1, 1)
1772
        rng.Transparency = 0.5
1773
        rng.TopSurface = 0
1774
        rng.BottomSurface = 0
1775
        rng.Position = tors.Position - Vector3.new(0,2,0)
1776
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
1777
        local rngm = Instance.new("SpecialMesh", rng)
1778
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
1779
        rngm.Scale = Vector3.new(1, 1, 2)
1780
                coroutine.wrap(function()
1781
                for i = 1, 60, 8 do
1782
                rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1)
1783
                rng.Transparency = i/60
1784
                wait()
1785
                end
1786
                wait()
1787
                rng:Destroy()
1788
                end)()
1789
	tps:Play()
1790
	Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)
1791
	resetlerp()
1792
	human.WalkSpeed = 16
1793
	activu = false
1794
	
1795
end
1796
1797
1798
1799
1800
boom3 = Instance.new("Sound",chr)
1801-
boom3.SoundId = "http://www.roblox.com/asset/?id = 887457845"
1801+
boom3.SoundId = "http://www.roblox.com/asset/?id = 142684400"
1802
boom3.Volume = 50
1803
1804
1805
1806
1807
1808
gprop = {}
1809
function materialhit(hit)
1810
if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
1811
gprop = {hit.BrickColor,hit.Material}
1812
end
1813
end
1814
chr["Left Leg"].Touched:connect(materialhit)
1815
chr["Right Leg"].Touched:connect(materialhit)
1816
1817
1818
function KickBoom()
1819
	local effspwn = Instance.new("Part")
1820
    local model = Instance.new("Model")
1821
    game.Debris:AddItem(model, 20)
1822
    model.Name = "smasheffects"
1823
    model.Parent = chr
1824
    effspwn.Name = "spwnr"
1825
    effspwn.Size = Vector3.new(1, 1, 1)
1826
    effspwn.Anchored = true
1827
    effspwn.CanCollide = false
1828
    effspwn.Transparency = 1
1829
    effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
1830
    effspwn.Parent = model
1831
1832
for i = 1, 15 do
1833
local gtrace = Instance.new("Part",game.Workspace)
1834
gtrace.BrickColor = gprop[1]
1835
gtrace.Material = gprop[2]
1836
gtrace.Size = Vector3.new(16,16,16)
1837
gtrace.Anchored = true
1838
gtrace.CanCollide = false
1839
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)))
1840
local gdisp = coroutine.wrap(function()
1841
wait(3)
1842
for i = 1, 9 do
1843
wait(.1)
1844
gtrace.Transparency = gtrace.Transparency + .1
1845
end
1846
gtrace:Destroy()
1847
end)
1848
gdisp()
1849
end
1850
1851
Crater(head,67)
1852
1853
for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
1854
        if v:FindFirstChild('Humanoid') then
1855
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
1856
            v.Humanoid.PlatformStand = true
1857
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250
1858
        end
1859
    end 
1860
1861
	coroutine.resume(coroutine.create(function()
1862
      local shok = Instance.new("Part")
1863
      shok.Name = "shock3"
1864
      shok.BrickColor = BrickColor.new("Institutional white")
1865
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1866
      shok.Size = Vector3.new(1, 1, 1)
1867
      shok.Anchored = true
1868
      shok.Material = "Neon"
1869
      shok.Transparency = 0.35
1870
      shok.CanCollide = false
1871
      shok.Parent = model
1872
      game.Debris:AddItem(shok, 12)
1873
      local mesh = Instance.new("SpecialMesh")
1874
      mesh.MeshType = "FileMesh"
1875
      mesh.MeshId = "rbxassetid://489415447"
1876
      mesh.Scale = Vector3.new(19, 19, 19)
1877
      mesh.Parent = shok
1878
      for e = 1, 15 do
1879
        wait()
1880
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1881
        shok.Transparency = shok.Transparency + 0.004
1882
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1883
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1884
      end
1885
      for e = 1, 16 do
1886
        wait()
1887
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1888
        shok.Transparency = shok.Transparency + 0.004
1889
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1890
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1891
      end
1892
      for e = 1, 12 do
1893
        wait()
1894
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1895
        shok.Transparency = shok.Transparency + 0.06
1896
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1897
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1898
      end
1899
	    end))
1900
	
1901
	
1902
	coroutine.resume(coroutine.create(function()
1903
      local shok = Instance.new("Part")
1904
      shok.Name = "shock3"
1905
      shok.BrickColor = BrickColor.new("Institutional white")
1906
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1907
      shok.Size = Vector3.new(1, 1, 1)
1908
      shok.Anchored = true
1909
      shok.Material = "Neon"
1910
      shok.Transparency = 0.35
1911
      shok.CanCollide = false
1912
      shok.Parent = model
1913
      game.Debris:AddItem(shok, 12)
1914
      local mesh = Instance.new("SpecialMesh")
1915
      mesh.MeshType = "FileMesh"
1916
      mesh.MeshId = "rbxassetid://489415447"
1917
      mesh.Scale = Vector3.new(47, 47, 47)
1918
      mesh.Parent = shok
1919
      for e = 1, 15 do
1920
        wait()
1921
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1922
        shok.Transparency = shok.Transparency + 0.004
1923
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1924
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1925
      end
1926
      for e = 1, 16 do
1927
        wait()
1928
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1929
        shok.Transparency = shok.Transparency + 0.004
1930
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1931
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1932
      end
1933
      for e = 1, 12 do
1934
        wait()
1935
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1936
        shok.Transparency = shok.Transparency + 0.06
1937
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1938
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1939
      end
1940
	    end))
1941
	
1942
	coroutine.resume(coroutine.create(function()
1943
      local shok = Instance.new("Part")
1944
      shok.Name = "shock3"
1945
      shok.BrickColor = BrickColor.new("Institutional white")
1946
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1947
      shok.Size = Vector3.new(1, 1, 1)
1948
      shok.Anchored = true
1949
      shok.Material = "Neon"
1950
      shok.Transparency = 0.35
1951
      shok.CanCollide = false
1952
      shok.Parent = model
1953
      game.Debris:AddItem(shok, 12)
1954
      local mesh = Instance.new("SpecialMesh")
1955
      mesh.MeshType = "FileMesh"
1956
      mesh.MeshId = "rbxassetid://489415447"
1957
      mesh.Scale = Vector3.new(79, 79, 79)
1958
      mesh.Parent = shok
1959
      for e = 1, 15 do
1960
        wait()
1961
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1962
        shok.Transparency = shok.Transparency + 0.004
1963
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1964
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1965
      end
1966
      for e = 1, 16 do
1967
        wait()
1968
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1969
        shok.Transparency = shok.Transparency + 0.004
1970
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1971
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1972
      end
1973
      for e = 1, 12 do
1974
        wait()
1975
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1976
        shok.Transparency = shok.Transparency + 0.06
1977
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1978
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1979
      end
1980
    end))
1981
end
1982
1983
1984
1985
1986
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
1987
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1988
end 
1989
cam = workspace.CurrentCamera
1990
1991
1992
1993
1994
1995
1996
1997
1998
function NoOutline(Part)
1999
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
2000
end
2001
2002
2003
2004
2005
it = Instance.new
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
so = function(id,par,vol,pit) 
2017
coroutine.resume(coroutine.create(function()
2018
local sou = Instance.new("Sound",par or workspace)
2019
sou.Volume=vol
2020
sou.Pitch=pit or 1
2021
sou.SoundId=id
2022
swait() 
2023
sou:play() 
2024
game:GetService("Debris"):AddItem(sou,6)
2025
end))
2026
end
2027
2028
2029
function Stom()
2030
	
2031
cf=CFrame.new
2032
angles=CFrame.Angles
2033
euler=CFrame.fromEulerAnglesXYZ
2034
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2035
RootPart=chr.HumanoidRootPart
2036
RootJoint=RootPart.RootJoint
2037
RootCF=euler(-1.57,0,3.14)
2038
2039
function QuaternionFromCFrame(cf) 
2040
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
2041
local trace = m00 + m11 + m22 
2042
if trace > 0 then 
2043
local s = math.sqrt(1 + trace) 
2044
local recip = 0.5/s 
2045
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
2046
else 
2047
local i = 0 
2048
if m11 > m00 then
2049
i = 1
2050
end
2051
if m22 > (i == 0 and m00 or m11) then 
2052
i = 2 
2053
end 
2054
if i == 0 then 
2055
local s = math.sqrt(m00-m11-m22+1) 
2056
local recip = 0.5/s 
2057
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
2058
elseif i == 1 then 
2059
local s = math.sqrt(m11-m22-m00+1) 
2060
local recip = 0.5/s 
2061
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
2062
elseif i == 2 then 
2063
local s = math.sqrt(m22-m00-m11+1) 
2064
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
2065
end 
2066
end 
2067
end
2068
 
2069
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
2070
local xs, ys, zs = x + x, y + y, z + z 
2071
local wx, wy, wz = w*xs, w*ys, w*zs 
2072
local xx = x*xs 
2073
local xy = x*ys 
2074
local xz = x*zs 
2075
local yy = y*ys 
2076
local yz = y*zs 
2077
local zz = z*zs 
2078
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)) 
2079
end
2080
 
2081
function QuaternionSlerp(a, b, t) 
2082
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
2083
local startInterp, finishInterp; 
2084
if cosTheta >= 0.0001 then 
2085
if (1 - cosTheta) > 0.0001 then 
2086
local theta = math.acos(cosTheta) 
2087
local invSinTheta = 1/math.sin(theta) 
2088
startInterp = math.sin((1-t)*theta)*invSinTheta 
2089
finishInterp = math.sin(t*theta)*invSinTheta  
2090
else 
2091
startInterp = 1-t 
2092
finishInterp = t 
2093
end 
2094
else 
2095
if (1+cosTheta) > 0.0001 then 
2096
local theta = math.acos(-cosTheta) 
2097
local invSinTheta = 1/math.sin(theta) 
2098
startInterp = math.sin((t-1)*theta)*invSinTheta 
2099
finishInterp = math.sin(t*theta)*invSinTheta 
2100
else 
2101
startInterp = t-1 
2102
finishInterp = t 
2103
end 
2104
end 
2105
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 
2106
end
2107
2108
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2109
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2110
end 
2111
2112
function clerp(a,b,t) 
2113
local qa = {QuaternionFromCFrame(a)}
2114
local qb = {QuaternionFromCFrame(b)} 
2115
local ax, ay, az = a.x, a.y, a.z 
2116
local bx, by, bz = b.x, b.y, b.z
2117
local _t = 1-t
2118
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
2119
end 
2120
2121
2122
2123
	 if activu == true or selected == false then
2124
      return
2125
	    end
2126
	coroutine.resume(coroutine.create(function()
2127
      fglow(lleg.Glow, 6)
2128
    end))
2129
    activu = true
2130
local pe = Instance.new("ParticleEmitter")
2131
    pe.Color = ColorSequence.new(Color3.new(255, 255, 51))
2132
    pe.LightEmission = 0.9
2133
    pe.Size = NumberSequence.new(0.5)
2134
    pe.Texture = "rbxassetid://886346627"
2135
    pe.Transparency = NumberSequence.new(0.1)
2136
    pe.Lifetime = NumberRange.new(0.1)
2137
    pe.Rate = 250
2138
    pe.RotSpeed = NumberRange.new(360)
2139
    pe.Speed = NumberRange.new(3)
2140
    pe.VelocitySpread = 360
2141
    pe.Parent = lleg.Glow
2142
    local pea = pe:Clone()
2143
    pea.Parent = lleg.Glow
2144
    wait(0.5)
2145
    local pe2 = Instance.new("ParticleEmitter")
2146
    pe2.Color = ColorSequence.new(Color3.new(255, 255, 51))
2147
    pe2.LightEmission = 0.9
2148
    pe2.Size = NumberSequence.new(5)
2149
    pe2.Texture = "rbxassetid://886346627"
2150
    pe2.Transparency = NumberSequence.new(0.4)
2151
    pe2.ZOffset = 2
2152
    pe2.Enabled = true
2153
    pe2.LockedToPart = true
2154
    pe2.Lifetime = NumberRange.new(0.07)
2155
    pe2.Rate = 8
2156
    pe2.Rotation = NumberRange.new(0, 360)
2157
    pe2.RotSpeed = NumberRange.new(0)
2158
    pe2.Speed = NumberRange.new(0)
2159
    pe2.VelocitySpread = 180
2160
    pe2.Parent = lleg.Glow
2161
    local pea2 = pe2:Clone()
2162
    pea2.Parent = lleg.Glow
2163
local Mus = Instance.new("Sound",workspace)
2164
Mus.SoundId = "rbxassetid://--fixed by Scenius
2165
  plr = game.Players.LocalPlayer
2166
  repeat
2167
    wait(0.4)
2168
  until plr.Character
2169
  chr = plr.Character
2170
  human = chr:FindFirstChild("Humanoid")
2171
  mouse = plr:GetMouse()
2172
  selected = false
2173
  equipd = false
2174
  tors = chr.Torso
2175
  rarm = chr["Right Arm"]
2176
  larm = chr["Left Arm"]
2177
  rleg = chr["Right Leg"]
2178
  lleg = chr["Left Leg"]
2179
  hrp = chr.HumanoidRootPart
2180
  head = chr.Head
2181
  anim = human.Animator
2182
  activu = false
2183
  Heartbeat = Instance.new("BindableEvent")
2184
  Heartbeat.Name = "Heartbeat"
2185
  Heartbeat.Parent = script
2186
  frame = 0.03333333333333333
2187
  tf = 0
2188
  game:GetService("RunService").Heartbeat:connect(function(s, p)
2189
    tf = tf + s
2190
    if tf >= frame then
2191
      for i = 1, math.floor(tf / frame) do
2192
        Heartbeat:Fire()
2193
      end
2194
      tf = tf - frame * math.floor(tf / frame)
2195
    end
2196
  end)
2197
  function swait(num)
2198
    if num == 0 or num == nil then
2199
      Heartbeat.Event:wait()
2200
    else
2201
      for i = 1, num do
2202
        Heartbeat.Event:wait()
2203
      end
2204
    end
2205
  end
2206
  tool = Instance.new("Tool")
2207
  tool.CanBeDropped = false
2208
  tool.RequiresHandle = false
2209
  tool.Name = "fir"
2210
  tool.Parent = plr.Backpack
2211
  RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2212
  RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2213
  LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2214
  LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2215
  RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2216
  RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
2217
  LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2218
  LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
2219
  NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2220
  NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2221
  RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2222
  RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2223
  RS = tors:FindFirstChild("Right Shoulder")
2224
  LS = tors:FindFirstChild("Left Shoulder")
2225
  RH = tors:FindFirstChild("Right Hip")
2226
  LH = tors:FindFirstChild("Left Hip")
2227
  RJ = hrp:FindFirstChild("RootJoint")
2228
  N = tors:FindFirstChild("Neck")
2229
  cf = CFrame.new
2230
  ang = CFrame.Angles
2231
  rd = math.rad
2232
  rd2 = math.random
2233
  function nooutline(p)
2234
    p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
2235
  end
2236
  function makepart(color, name, reflec, mater, parnt, cfram)
2237
    local port = Instance.new("Part")
2238
    port.BrickColor = BrickColor.new(color)
2239
    port.Name = name
2240
    nooutline(port)
2241
    port.Reflectance = reflec
2242
    port.Material = mater
2243
    port.Anchored = false
2244
    port.CanCollide = false
2245
    port.Locked = true
2246
    port.Size = Vector3.new(0.2, 0.2, 0.2)
2247
    port.Parent = parnt
2248
    return port
2249
  end
2250
  function makemesh(meshtype, scale, meshid, parent)
2251
    local mes = Instance.new("SpecialMesh")
2252
    mes.MeshType = meshtype
2253
    mes.Scale = scale
2254
    if meshtype == "FileMesh" then
2255
      mes.MeshId = meshid
2256
    end
2257
    mes.Parent = parent
2258
    return mes
2259
  end
2260
  function makeweld(parent, p0, p1, c0, c1)
2261
    local wel = Instance.new("Weld")
2262
    wel.Part0 = p0
2263
    wel.Part1 = p1
2264
    wel.C0 = c0
2265
    if c1 ~= nil then
2266
      wel.C1 = c1
2267
    end
2268
    wel.Parent = parent
2269
    return wel
2270
  end
2271
  function smokz(prnt)
2272
    s = Instance.new("Smoke")
2273
    s.Color = Color3.new(1, 1, 1)
2274
    s.Enabled = false
2275
    s.Name = "smok"
2276
    s.Opacity = 0.5
2277
    s.RiseVelocity = 0.2
2278
    s.Size = 0.1
2279
    s.Parent = prnt
2280
  end
2281
  function glow(tz, paz, smokinz, length)
2282
    if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
2283
      do
2284
        local s = Instance.new("Sound")
2285
        s.SoundId = "rbxassetid://298181829"
2286
        s.Volume = 0.25
2287
        s.Pitch = math.random(9, 11) / 10
2288
        s.Parent = paz
2289
        s:Play()
2290
        paz.Transparency = 0.7
2291
        if smokinz == true then
2292
          paz.smok.Enabled = true
2293
        end
2294
        delay(length, function()
2295
          paz.Transparency = 1
2296
          paz.smok.Enabled = false
2297
          s:Destroy()
2298
        end)
2299
      end
2300
    end
2301
  end
2302
  function makeglow()
2303
    for _, p in pairs(chr:GetChildren()) do
2304
      if p.ClassName == "Accessory" then
2305
        do
2306
          local h = p:FindFirstChildOfClass("Part")
2307
          local nh = h:Clone()
2308
          nh.Parent = nil
2309
          nh.CFrame = h.CFrame
2310
          nh.Transparency = 1
2311
          nh.Name = "Glow"
2312
          nh.Material = "Neon"
2313
          nh.BrickColor = BrickColor.new("New Yeller")
2314
          nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
2315
          nh.Parent = h
2316
          makeweld(nh, nh, h, cf(0, 0, 0))
2317
          local m = nh:FindFirstChildOfClass("SpecialMesh")
2318
          m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
2319
          m.TextureId = ""
2320
          smokz(nh)
2321
          nh.Touched:connect(function(po)
2322
            glow(po, nh, true, 0.8)
2323
          end)
2324
        end
2325
      elseif p.ClassName == "Part" and p ~= hrp then
2326
        do
2327
          local n = p:Clone()
2328
          n.Parent = nil
2329
          n.Transparency = 1
2330
          n.Material = "Neon"
2331
          n.Name = "Glow"
2332
          n.BrickColor = BrickColor.new("New Yeller")
2333
          n.CFrame = p.CFrame
2334
          n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
2335
          n.Parent = p
2336
          makeweld(n, n, p, cf(0, 0, 0))
2337
          smokz(n)
2338
          n.Touched:connect(function(po)
2339
            glow(po, n, true, 0.8)
2340
          end)
2341
          if n:FindFirstChildOfClass("Decal") then
2342
            n:FindFirstChildOfClass("Decal"):Destroy()
2343
          end
2344
          if p:FindFirstChildOfClass("SpecialMesh") then
2345
            local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
2346
            c.Parent = nil
2347
            c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
2348
            c.Parent = n
2349
          else
2350
            local m = Instance.new("BlockMesh")
2351
            m.Scale = Vector3.new(1.05, 1.025, 1.05)
2352
            if p == tors then
2353
              m.Scale = Vector3.new(1.05, 1.05, 1.05)
2354
            end
2355
            m.Parent = n
2356
          end
2357
        end
2358
      end
2359
    end
2360
  end
2361
  makeglow()
2362
  function fglow(glopart, duration)
2363
    for _ = 1, 4 do
2364
      swait()
2365
      glopart.Transparency = glopart.Transparency - 0.075
2366
    end
2367
    delay(duration, function()
2368
      for _ = 1, 4 do
2369
        swait()
2370
        glopart.Transparency = glopart.Transparency + 0.075
2371
      end
2372
    end)
2373
  end
2374
  function lerpz(joint, prop, cfrmz, alp)
2375
    joint[prop] = joint[prop]:lerp(cfrmz, alp)
2376
  end
2377
  function resetlerp()
2378
    RJ.C0 = RJC0
2379
    RJ.C1 = RJC1
2380
    N.C0 = NC0
2381
    N.C1 = NC1
2382
    RS.C0 = RSC0
2383
    RS.C1 = RSC1
2384
    LS.C0 = LSC0
2385
    LS.C1 = LSC1
2386
    RH.C0 = RHC0
2387
    RH.C1 = RHC1
2388
    LH.C0 = LHC0
2389
  end
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
function RFistDamage()
2402
	
2403
end
2404
  function rsmash()
2405
    if activu == true or selected == false then
2406
      return
2407
    end
2408
    coroutine.resume(coroutine.create(function()
2409
      fglow(rarm.Glow, 3)
2410
    end))
2411
    activu = true
2412
    
2413
    human.WalkSpeed = human.WalkSpeed - 13
2414
    animo(false)
2415
    local Mus = Instance.new("Sound",workspace)
2416
Mus.SoundId = "rbxassetid://768266928"
2417
Mus.Pitch = 1
2418
Mus.Volume = 90000
2419
Mus.Looped = false
2420
wait(0.3)
2421
Mus:Play()
2422
    local pe = Instance.new("ParticleEmitter")
2423
    pe.Color = ColorSequence.new(Color3.new(255,255,51))
2424
    pe.LightEmission = 0.9
2425
    pe.Size = NumberSequence.new(0.5)
2426
    pe.Texture = "rbxassetid://886346627"
2427
    pe.Transparency = NumberSequence.new(0.1)
2428
    pe.Lifetime = NumberRange.new(0.1)
2429
    pe.Rate = 1
2430
    pe.RotSpeed = NumberRange.new(360)
2431
    pe.Speed = NumberRange.new(3)
2432
    pe.VelocitySpread = 360
2433
    pe.Parent = rarm.Glow
2434
    local pe2 = Instance.new("ParticleEmitter")
2435
    pe2.Color = ColorSequence.new(Color3.new(255,255,51))
2436
    pe2.LightEmission = 0.9
2437
    pe2.Size = NumberSequence.new(5)
2438
    pe2.Texture = "rbxassetid://886346627"
2439
    pe2.Transparency = NumberSequence.new(0.4)
2440
    pe2.ZOffset = 2
2441
    pe2.Enabled = false
2442
    pe2.LockedToPart = true
2443
    pe2.Lifetime = NumberRange.new(0.07)
2444
    pe2.Rate = 8
2445
    pe2.Rotation = NumberRange.new(0, 360)
2446
    pe2.RotSpeed = NumberRange.new(0)
2447
    pe2.Speed = NumberRange.new(0)
2448
    pe2.VelocitySpread = 180
2449
    pe2.Parent = rarm.Glow
2450
    for _ = 1, 45 do
2451
      swait()
2452
      lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
2453
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
2454
      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)
2455
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2456
      lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
2457
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
2458
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
2459
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2460
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
2461
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2462
      pe.Rate = pe.Rate + 25
2463
    end
2464
    pe2.Enabled = true
2465
    pe.Speed = NumberRange.new(10)
2466
    for _ = 1, 30 do
2467
      swait()
2468
      lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
2469
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
2470
      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)
2471
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
2472
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
2473
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
2474
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
2475
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
2476
2477
    end
2478
    for l = 1, 3 do
2479
      swait()
2480
      lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
2481
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
2482
      lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
2483
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
2484
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
2485
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
2486
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
2487
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
2488
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
2489
    end
2490
    pe:Destroy()
2491
    pe2:Destroy()
2492
    KABOOMZ()
2493
    rarm.Glow.smok.Enabled = true
2494
    for _ = 1, 8 do
2495
      swait()
2496
      lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8)
2497
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8)
2498
      lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8)
2499
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8)
2500
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8)
2501
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8)
2502
      lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8)
2503
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8)
2504
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8)
2505
    end
2506
    wait(1.5)
2507
    animo(true)
2508
    human.WalkSpeed = human.WalkSpeed + 13
2509
    for _ = 1, 24 do
2510
      swait()
2511
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2512
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2513
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2514
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2515
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2516
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2517
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2518
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2519
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
2520
    end
2521
    resetlerp()
2522
    rarm.Glow.smok.Enabled = false
2523
    activu = false
2524
  end
2525
2526
2527
2528
2529
local debris=game:service"Debris"
2530
vt = Vector3.new
2531
bc = BrickColor.new
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
function Ring()
2545
	
2546
	
2547
	local effspwn = Instance.new("Part")      
2548
    local model = Instance.new("Model")
2549
    game.Debris:AddItem(model, 20)
2550
    model.Name = "smasheffects"
2551
    model.Parent = workspace
2552
    effspwn.Name = "spwnr"
2553
    effspwn.Size = Vector3.new(1, 1, 1)
2554
    effspwn.Anchored = true
2555
    effspwn.CanCollide = false
2556
    effspwn.Transparency = 1
2557
    effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
2558
    effspwn.Parent = model
2559
2560
 for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
2561
        if v:FindFirstChild('Humanoid') then
2562
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
2563
            v.Humanoid.PlatformStand = true
2564
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
2565
        end
2566
    end 
2567
	coroutine.resume(coroutine.create(function()
2568
      local shok = Instance.new("Part")
2569
      shok.Name = "wring1"
2570
      shok.BrickColor = BrickColor.new("Institutional white")
2571
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
2572
      shok.Size = Vector3.new(1, 1, 1)
2573
      shok.Anchored = true
2574
      shok.Material = "Neon"
2575
      shok.Transparency = 0.25
2576
      shok.CanCollide = false
2577
      shok.Parent = model
2578
      game.Debris:AddItem(shok, 12)
2579
      local mesh = Instance.new("SpecialMesh")
2580
      mesh.MeshType = "FileMesh"
2581
      mesh.MeshId = "rbxassetid://3270017"
2582
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
2583
      mesh.Parent = shok
2584
      for e = 1, 30 do
2585
        wait()
2586
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
2587
        shok.Transparency = shok.Transparency + 0.002
2588
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
2589
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
2590
      end
2591
      for e = 1, 38 do
2592
        wait()
2593
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
2594
        shok.Transparency = shok.Transparency + 0.002
2595
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2596
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
2597
      end
2598
      for e = 1, 24 do
2599
        wait()
2600
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
2601
        shok.Transparency = shok.Transparency + 0.03
2602
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2603
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
2604
      end
2605
    end))
2606
    coroutine.resume(coroutine.create(function()
2607
      local shok = Instance.new("Part")
2608
      shok.Name = "wring2"
2609
      shok.BrickColor = BrickColor.new("Institutional white")
2610
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
2611
      shok.Size = Vector3.new(1, 1, 1)
2612
      shok.Anchored = true
2613
      shok.Material = "Neon"
2614
      shok.Transparency = 0.25
2615
      shok.CanCollide = false
2616
      shok.Parent = model
2617
      game.Debris:AddItem(shok, 12)
2618
      local mesh = Instance.new("SpecialMesh")
2619
      mesh.MeshType = "FileMesh"
2620
      mesh.MeshId = "rbxassetid://3270017"
2621
      mesh.Scale = Vector3.new(12, 12, 0.05)
2622
      mesh.Parent = shok
2623
      for e = 1, 30 do
2624
        wait()
2625
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
2626
        shok.Transparency = shok.Transparency + 0.002
2627
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
2628
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
2629
      end
2630
      for e = 1, 38 do
2631
        wait()
2632
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
2633
        shok.Transparency = shok.Transparency + 0.002
2634
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2635
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
2636
      end
2637
      for e = 1, 24 do
2638
        wait()
2639
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
2640
        shok.Transparency = shok.Transparency + 0.03
2641
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2642
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
2643
      end
2644
    end))
2645
2646
coroutine.resume(coroutine.create(function()
2647
      local shok = Instance.new("Part")
2648
      shok.Name = "shokwve"
2649
      shok.BrickColor = BrickColor.new("Institutional white")
2650
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
2651
      shok.Size = Vector3.new(1, 1, 1)
2652
      shok.Anchored = true
2653
      shok.Material = "Neon"
2654
      shok.Transparency = 0.6
2655
      shok.CanCollide = false
2656
      shok.Parent = model
2657
      game.Debris:AddItem(shok, 12)
2658
      local mesh = Instance.new("SpecialMesh")
2659
      mesh.MeshType = "FileMesh"
2660
      mesh.MeshId = "rbxassetid://489415447"
2661
      mesh.Scale = Vector3.new(1, 1, 1)
2662
      mesh.Parent = shok
2663
      for e = 1, 12 do
2664
        wait()
2665
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
2666
        shok.Transparency = shok.Transparency + 0.002
2667
      end
2668
      for e = 1, 32 do
2669
        wait()
2670
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
2671
        shok.Transparency = shok.Transparency + 0.002
2672
      end
2673
      for e = 1, 24 do
2674
        wait()
2675
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
2676
        shok.Transparency = shok.Transparency + 0.03
2677
      end
2678
    end))
2679
    coroutine.resume(coroutine.create(function()
2680
      local shok = Instance.new("Part")
2681
      shok.Name = "shock2"
2682
      shok.BrickColor = BrickColor.new("Institutional white")
2683
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
2684
      shok.Size = Vector3.new(1, 1, 1)
2685
      shok.Anchored = true
2686
      shok.Material = "Neon"
2687
      shok.Transparency = 0.35
2688
      shok.CanCollide = false
2689
      shok.Parent = model
2690
      game.Debris:AddItem(shok, 12)
2691
      local mesh = Instance.new("SpecialMesh")
2692
      mesh.MeshType = "FileMesh"
2693
      mesh.MeshId = "rbxassetid://489415447"
2694
      mesh.Scale = Vector3.new(12, 12, 12)
2695
      mesh.Parent = shok
2696
      for e = 1, 15 do
2697
        wait()
2698
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2699
        shok.Transparency = shok.Transparency + 0.004
2700
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2701
      end
2702
      for e = 1, 16 do
2703
        wait()
2704
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2705
        shok.Transparency = shok.Transparency + 0.004
2706
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2707
      end
2708
      for e = 1, 12 do
2709
        wait()
2710
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2711
        shok.Transparency = shok.Transparency + 0.06
2712
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2713
      end
2714
    end))
2715
    coroutine.resume(coroutine.create(function()
2716
      local shok = Instance.new("Part")
2717
      shok.Name = "shock3"
2718
      shok.BrickColor = BrickColor.new("Institutional white")
2719
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
2720
      shok.Size = Vector3.new(1, 1, 1)
2721
      shok.Anchored = true
2722
      shok.Material = "Neon"
2723
      shok.Transparency = 0.35
2724
      shok.CanCollide = false
2725
      shok.Parent = model
2726
      game.Debris:AddItem(shok, 12)
2727
      local mesh = Instance.new("SpecialMesh")
2728
      mesh.MeshType = "FileMesh"
2729
      mesh.MeshId = "rbxassetid://489415447"
2730
      mesh.Scale = Vector3.new(12, 12, 12)
2731
      mesh.Parent = shok
2732
      for e = 1, 15 do
2733
        wait()
2734
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
2735
        shok.Transparency = shok.Transparency + 0.004
2736
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
2737
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
2738
      end
2739
      for e = 1, 16 do
2740
        wait()
2741
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
2742
        shok.Transparency = shok.Transparency + 0.004
2743
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
2744
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
2745
      end
2746
      for e = 1, 12 do
2747
        wait()
2748
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
2749
        shok.Transparency = shok.Transparency + 0.06
2750
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
2751
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
2752
      end
2753
    end))
2754
    
2755
end
2756
function Landing()
2757
	
2758
	
2759
	
2760
	
2761
	
2762
	
2763
	ROW = function(out, trans, s, wt, t, ang, plus)
2764
					for i = 1, 360, 360/t do
2765
						local c = Instance.new("Part", game.Workspace)
2766
						c.FormFactor = 3
2767
						c.TopSurface = 0
2768
						c.BottomSurface = 0
2769
						c.Size = s
2770
						c.Anchored = true
2771
						c.CanCollide = wt
2772
						c.Material=workspace.Base.Material
2773
						c.Transparency = trans
2774
						c.BrickColor = workspace.Base.BrickColor
2775
						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
2776
						c.Locked=true
2777
						game.Debris:AddItem(c,15)
2778
					end
2779
end
2780
	
2781
	
2782
	
2783
2784
2785
		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)
2786
Ring()
2787
2788
2789
2790
2791
2792
end	
2793
2794
2795
2796
2797
2798
2799
2800
function newRay(start,face,range,wat)
2801
	local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
2802
	hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
2803
	return rey,hit,pos
2804
end
2805
2806
2807
2808
	
2809
  function jum()
2810
    if activu == true or selected == false then
2811
      return
2812
    end
2813
    coroutine.resume(coroutine.create(function()
2814
      fglow(rleg.Glow, 1)
2815
      fglow(lleg.Glow, 1)
2816
    end))
2817
    activu = true
2818
    human.WalkSpeed = human.WalkSpeed - 13
2819
    local pe = Instance.new("ParticleEmitter")
2820
    pe.Color = ColorSequence.new(Color3.new(255, 255, 51))
2821
    pe.LightEmission = 0.9
2822
    pe.Size = NumberSequence.new(0.5)
2823
    pe.Texture = "rbxassetid://886346627"
2824
    pe.Transparency = NumberSequence.new(0.1)
2825
    pe.Lifetime = NumberRange.new(0.1)
2826
    pe.Rate = 250
2827
    pe.RotSpeed = NumberRange.new(360)
2828
    pe.Speed = NumberRange.new(3)
2829
    pe.VelocitySpread = 360
2830
    pe.Parent = rleg.Glow
2831
    local pea = pe:Clone()
2832
    pea.Parent = lleg.Glow
2833
    local pe2 = Instance.new("ParticleEmitter")
2834
    pe2.Color = ColorSequence.new(Color3.new(255, 255, 51))
2835
    pe2.LightEmission = 0.9
2836
    pe2.Size = NumberSequence.new(5)
2837
    pe2.Texture = "rbxassetid://886346627"
2838
    pe2.Transparency = NumberSequence.new(0.4)
2839
    pe2.ZOffset = 2
2840
    pe2.Enabled = true
2841
    pe2.LockedToPart = true
2842
    pe2.Lifetime = NumberRange.new(0.07)
2843
    pe2.Rate = 8
2844
    pe2.Rotation = NumberRange.new(0, 360)
2845
    pe2.RotSpeed = NumberRange.new(0)
2846
    pe2.Speed = NumberRange.new(0)
2847
    pe2.VelocitySpread = 180
2848
    pe2.Parent = lleg.Glow
2849
    local pea2 = pe2:Clone()
2850
    pea2.Parent = rleg.Glow
2851
    for l = 1, 30 do
2852
      swait()
2853
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
2854
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
2855
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
2856
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2857
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
2858
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2859
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
2860
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2861
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
2862
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2863
    end
2864
    pe:Destroy()
2865
    pe2:Destroy()
2866
    pea:Destroy()
2867
    pea2:Destroy()
2868
    human.WalkSpeed = 50
2869
        BV = Instance.new("BodyVelocity", tors)
2870
        BV.maxForce = Vector3.new(0,100000,0)
2871
        BV.P = 100000
2872
        BV.velocity = Vector3.new(0,800,0)
2873
    KABOOMZ2()
2874
    coroutine.resume(coroutine.create(function()
2875
      swait(3)
2876
      BV:Destroy()
2877
    end))
2878
    for _ = 1, 18 do
2879
      swait()
2880
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6)
2881
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6)
2882
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6)
2883
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
2884
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6)
2885
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
2886
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6)
2887
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
2888
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6)
2889
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
2890
    end
2891
    for _ = 1, 18 do
2892
      swait()
2893
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2894
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2895
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2896
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2897
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2898
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2899
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2900
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2901
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2902
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
2903
    end
2904
    resetlerp()
2905
local ry,ht,ps=nil,nil,nil
2906
while ht==nil do
2907
	ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr})
2908
	wait()
2909
end
2910
human.WalkSpeed = 0
2911
Landing()
2912
z = Instance.new("Sound",tors)
2913
z.SoundId = "rbxassetid://142070127"
2914
z.Volume = 2
2915
wait(.1)
2916
z:Play()
2917
2918
for l = 1, 30 do
2919
      swait()
2920
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
2921
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
2922
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
2923
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2924
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
2925
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2926
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
2927
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2928
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
2929
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2930
    end
2931
resetlerp()
2932
human.WalkSpeed = 16
2933
2934
activu = false
2935
end
2936
2937
2938
2939
local acos = math.acos
2940
local sqrt = math.sqrt
2941
local Vec3 = Vector3.new
2942
local fromAxisAngle = CFrame.fromAxisAngle
2943
2944
local function toAxisAngle(CFr)
2945
        local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
2946
        local Angle = math.acos((R00+R11+R22-1)/2)
2947
        local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
2948
        A = A == 0 and 0.00001 or A
2949
        local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
2950
        B = B == 0 and 0.00001 or B
2951
        local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
2952
        C = C == 0 and 0.00001 or C
2953
        local x = (R21-R12)/sqrt(A)
2954
        local y = (R02-R20)/sqrt(B)
2955
        local z = (R10-R01)/sqrt(C)
2956
        return Vec3(x,y,z),Angle
2957
end
2958
2959
function ApplyTrig(Num,Func)
2960
        local Min,Max = Func(0),Func(1)
2961
        local i = Func(Num)
2962
        return (i-Min)/(Max-Min)
2963
        --[[if Func == "sin" then
2964
                return (math.sin((1-Num)*math.pi)+1)/2
2965
        elseif Func == "cos" then
2966
                return (math.cos((1-Num)*math.pi)+1)/2
2967
        end]]
2968
end
2969
2970
function LerpCFrame(CFrame1,CFrame2,Num)
2971
        local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
2972
        return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
2973
end
2974
2975
function Crater(Torso,Radius)
2976
        spawn(function()
2977
        local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
2978
        local Ignore = {}
2979
        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
2980
                if v.Character ~= nil then
2981
                        Ignore[#Ignore+1] = v.Character
2982
                end
2983
        end
2984
        local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
2985
        if Hit == nil then return end
2986
        local Parts = {}
2987
        for i = 1,360,10 do
2988
                local P = Instance.new("Part",Torso.Parent)
2989
                P.Anchored = true
2990
                P.FormFactor = "Custom"
2991
                P.BrickColor = Hit.BrickColor
2992
                P.Material = Hit.Material
2993
                P.TopSurface = "Smooth"
2994
                P.BottomSurface = "Smooth"
2995
                P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
2996
                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)))
2997
                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}
2998
                if math.random(0,5) == 0 then -- rubble
2999
                        local P = Instance.new("Part",Torso.Parent)
3000
                        P.Anchored = true
3001
                        P.FormFactor = "Custom"
3002
                        P.BrickColor = Hit.BrickColor
3003
                        P.Material = Hit.Material
3004
                        P.TopSurface = "Smooth"
3005
                        P.BottomSurface = "Smooth"
3006
                        P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
3007
                        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)))
3008
                        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}
3009
                end
3010
        end
3011
        for i = 0,1,0.05 do
3012
                for i2,v in pairs(Parts) do
3013
                        v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
3014
                end
3015
                wait(0.02)
3016
        end
3017
        for i,v in pairs(Parts) do
3018
                if v[1].Size.X > 2.1 then
3019
                        v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
3020
                end
3021
                v[1].Anchored = false
3022
        end
3023
        for i = 0,1,0.05 do
3024
                for i2,v in pairs(Parts) do
3025
                        v[1].Transparency = i
3026
                        if i == 1 then
3027
                                v[1]:Destroy()
3028
                        elseif i >= 0.25 then
3029
                                v[1].CanCollide = false
3030
                        end
3031
                end
3032
                wait(0.02)
3033
        end
3034
        Parts = nil
3035
        end)
3036
end
3037
3038
3039
function FindNearestTorso(Position,Distance,SinglePlayer)
3040
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
3041
        local List = {}
3042
        for i,v in pairs(workspace:GetChildren())do
3043
            if v:IsA("Model")then
3044
                if v:findFirstChild("Torso")then
3045
                    if v ~= chr then
3046
                        if(v.Torso.Position -Position).magnitude <= Distance then
3047
                            table.insert(List,v)
3048
                        end 
3049
                    end 
3050
                end 
3051
            end 
3052
        end
3053
    return List
3054
end
3055
3056
  function KABOOMZ()
3057
    local effspwn = Instance.new("Part")
3058
    coroutine.resume(coroutine.create(function()
3059
      local sound1 = Instance.new("Sound")
3060
      sound1.SoundId = "rbxassetid://138137702"
3061
      sound1.MaxDistance = 300
3062
      sound1.EmitterSize = 20
3063
      sound1.Volume = 5
3064
      sound1.Pitch = 0.95
3065
      sound1.Parent = effspwn
3066
      local sound2 = Instance.new("Sound")
3067
      sound2.SoundId = "rbxassetid://157878578"
3068
      sound2.MaxDistance = 300
3069
      sound2.EmitterSize = 20
3070
      sound2.Volume = 2
3071
      sound2.Pitch = 0.9
3072
      sound2.Parent = effspwn
3073
      local sound3 = Instance.new("Sound")
3074
      sound3.SoundId = "rbxassetid://138250406"
3075
      sound2.MaxDistance = 400
3076
      sound2.EmitterSize = 30
3077
      sound2.Volume = 1.5
3078
      sound2.Pitch = 0.6
3079
      sound2.Parent = effspwn
3080
      sound2:Play()
3081
      wait()
3082
      sound1:Play()
3083
      sound3:Play()
3084
    end))
3085
    local model = Instance.new("Model")
3086
    game.Debris:AddItem(model, 20)
3087
    model.Name = "smasheffects"
3088
    model.Parent = workspace
3089
    effspwn.Name = "spwnr"
3090
    effspwn.Size = Vector3.new(1, 1, 1)
3091
    effspwn.Anchored = true
3092
    effspwn.CanCollide = false
3093
    effspwn.Transparency = 1
3094
    effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
3095
    effspwn.Parent = model
3096
3097
Crater(head,60)
3098
3099
    for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
3100
        if v:FindFirstChild('Humanoid') then
3101
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
3102
            v.Humanoid.PlatformStand = true
3103
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
3104
        end
3105
    end 
3106
    coroutine.resume(coroutine.create(function()
3107
      local shok = Instance.new("Part")
3108
      shok.Name = "whoosh"
3109
      shok.BrickColor = BrickColor.new("Institutional white")
3110
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
3111
      shok.Size = Vector3.new(1, 1, 1)
3112
      shok.Anchored = true
3113
      shok.Material = "Neon"
3114
      shok.Transparency = 0.1
3115
      shok.CanCollide = false
3116
      shok.Parent = model
3117
      game.Debris:AddItem(shok, 12)
3118
      local mesh = Instance.new("SpecialMesh")
3119
      mesh.MeshType = "FileMesh"
3120
      mesh.MeshId = "rbxassetid://437347603"
3121
      mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
3122
      mesh.Parent = shok
3123
      for e = 1, 8 do
3124
        wait()
3125
        mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
3126
        shok.Transparency = shok.Transparency + 0.035
3127
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
3128
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
3129
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3130
      end
3131
      for e = 1, 16 do
3132
        wait()
3133
        mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
3134
        shok.Transparency = shok.Transparency + 0.11
3135
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
3136
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
3137
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3138
      end
3139
    end))
3140
    coroutine.resume(coroutine.create(function()
3141
      local shok = Instance.new("Part")
3142
      shok.Name = "wring1"
3143
      shok.BrickColor = BrickColor.new("Institutional white")
3144
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
3145
      shok.Size = Vector3.new(1, 1, 1)
3146
      shok.Anchored = true
3147
      shok.Material = "Neon"
3148
      shok.Transparency = 0.25
3149
      shok.CanCollide = false
3150
      shok.Parent = model
3151
      game.Debris:AddItem(shok, 12)
3152
      local mesh = Instance.new("SpecialMesh")
3153
      mesh.MeshType = "FileMesh"
3154
      mesh.MeshId = "rbxassetid://3270017"
3155
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
3156
      mesh.Parent = shok
3157
      for e = 1, 30 do
3158
        wait()
3159
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
3160
        shok.Transparency = shok.Transparency + 0.002
3161
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
3162
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
3163
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3164
3165
      end
3166
      for e = 1, 38 do
3167
        wait()
3168
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
3169
        shok.Transparency = shok.Transparency + 0.002
3170
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3171
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
3172
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3173
3174
      end
3175
      for e = 1, 24 do
3176
        wait()
3177
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
3178
        shok.Transparency = shok.Transparency + 0.03
3179
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3180
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
3181
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3182
3183
      end
3184
    end))
3185
    coroutine.resume(coroutine.create(function()
3186
      local shok = Instance.new("Part")
3187
      shok.Name = "wring2"
3188
      shok.BrickColor = BrickColor.new("Institutional white")
3189
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
3190
      shok.Size = Vector3.new(1, 1, 1)
3191
      shok.Anchored = true
3192
      shok.Material = "Neon"
3193
      shok.Transparency = 0.25
3194
      shok.CanCollide = false
3195
      shok.Parent = model
3196
      game.Debris:AddItem(shok, 12)
3197
      local mesh = Instance.new("SpecialMesh")
3198
      mesh.MeshType = "FileMesh"
3199
      mesh.MeshId = "rbxassetid://3270017"
3200
      mesh.Scale = Vector3.new(12, 12, 0.05)
3201
      mesh.Parent = shok
3202
      for e = 1, 30 do
3203
        wait()
3204
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
3205
        shok.Transparency = shok.Transparency + 0.002
3206
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
3207
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
3208
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3209
3210
      end
3211
      for e = 1, 38 do
3212
        wait()
3213
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
3214
        shok.Transparency = shok.Transparency + 0.002
3215
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3216
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
3217
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3218
3219
      end
3220
      for e = 1, 24 do
3221
        wait()
3222
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
3223
        shok.Transparency = shok.Transparency + 0.03
3224
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3225
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
3226
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3227
3228
      end
3229
    end))
3230
    coroutine.resume(coroutine.create(function()
3231
      local shok = Instance.new("Part")
3232
      shok.Name = "coil1"
3233
      shok.BrickColor = BrickColor.new("Institutional white")
3234
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
3235
      shok.Size = Vector3.new(1, 1, 1)
3236
      shok.Anchored = true
3237
      shok.Material = "Neon"
3238
      shok.Transparency = 0.25
3239
      shok.CanCollide = false
3240
      shok.Parent = model
3241
      game.Debris:AddItem(shok, 12)
3242
      local mesh = Instance.new("SpecialMesh")
3243
      mesh.MeshType = "FileMesh"
3244
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
3245
      mesh.Scale = Vector3.new(12, 12, 12)
3246
      mesh.Parent = shok
3247
      for e = 1, 15 do
3248
        wait()
3249
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3250
        shok.Transparency = shok.Transparency + 0.004
3251
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
3252
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3253
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3254
3255
      end
3256
      for e = 1, 16 do
3257
        wait()
3258
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3259
        shok.Transparency = shok.Transparency + 0.004
3260
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3261
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3262
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3263
3264
      end
3265
      for e = 1, 12 do
3266
        wait()
3267
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3268
        shok.Transparency = shok.Transparency + 0.06
3269
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3270
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3271
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3272
3273
      end
3274
    end))
3275
    coroutine.resume(coroutine.create(function()
3276
      local shok = Instance.new("Part")
3277
      shok.Name = "coil2"
3278
      shok.BrickColor = BrickColor.new("Institutional white")
3279
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
3280
      shok.Size = Vector3.new(1, 1, 1)
3281
      shok.Anchored = true
3282
      shok.Material = "Neon"
3283
      shok.Transparency = 0.25
3284
      shok.CanCollide = false
3285
      shok.Parent = model
3286
      game.Debris:AddItem(shok, 12)
3287
      local mesh = Instance.new("SpecialMesh")
3288
      mesh.MeshType = "FileMesh"
3289
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
3290
      mesh.Scale = Vector3.new(6, 12, 6)
3291
      mesh.Parent = shok
3292
      for e = 1, 15 do
3293
        wait()
3294
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
3295
        shok.Transparency = shok.Transparency + 0.005
3296
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
3297
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
3298
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3299
3300
      end
3301
      for e = 1, 16 do
3302
        wait()
3303
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
3304
        shok.Transparency = shok.Transparency + 0.005
3305
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3306
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
3307
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3308
3309
      end
3310
      for e = 1, 12 do
3311
        wait()
3312
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
3313
        shok.Transparency = shok.Transparency + 0.09
3314
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3315
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
3316
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3317
3318
      end
3319
    end))
3320
    coroutine.resume(coroutine.create(function()
3321
      local shok = Instance.new("Part")
3322
      shok.Name = "shokwve"
3323
      shok.BrickColor = BrickColor.new("Institutional white")
3324
      shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
3325
      shok.Size = Vector3.new(1, 1, 1)
3326
      shok.Anchored = true
3327
      shok.Material = "Neon"
3328
      shok.Transparency = 0.6
3329
      shok.CanCollide = false
3330
      shok.Parent = model
3331
      game.Debris:AddItem(shok, 12)
3332
      local mesh = Instance.new("SpecialMesh")
3333
      mesh.MeshType = "FileMesh"
3334
      mesh.MeshId = "rbxassetid://489415447"
3335
      mesh.Scale = Vector3.new(1, 1, 1)
3336
      mesh.Parent = shok
3337
      for e = 1, 12 do
3338
        wait()
3339
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
3340
        shok.Transparency = shok.Transparency + 0.002
3341
      end
3342
      for e = 1, 32 do
3343
        wait()
3344
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
3345
        shok.Transparency = shok.Transparency + 0.002
3346
      end
3347
      for e = 1, 24 do
3348
        wait()
3349
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
3350
        shok.Transparency = shok.Transparency + 0.03
3351
      end
3352
    end))
3353
    coroutine.resume(coroutine.create(function()
3354
      local shok = Instance.new("Part")
3355
      shok.Name = "shock2"
3356
      shok.BrickColor = BrickColor.new("Institutional white")
3357
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
3358
      shok.Size = Vector3.new(1, 1, 1)
3359
      shok.Anchored = true
3360
      shok.Material = "Neon"
3361
      shok.Transparency = 0.35
3362
      shok.CanCollide = false
3363
      shok.Parent = model
3364
      game.Debris:AddItem(shok, 12)
3365
      local mesh = Instance.new("SpecialMesh")
3366
      mesh.MeshType = "FileMesh"
3367
      mesh.MeshId = "rbxassetid://489415447"
3368
      mesh.Scale = Vector3.new(12, 12, 12)
3369
      mesh.Parent = shok
3370
      for e = 1, 15 do
3371
        wait()
3372
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3373
        shok.Transparency = shok.Transparency + 0.004
3374
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3375
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3376
3377
      end
3378
      for e = 1, 16 do
3379
        wait()
3380
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3381
        shok.Transparency = shok.Transparency + 0.004
3382
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3383
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3384
3385
      end
3386
      for e = 1, 12 do
3387
        wait()
3388
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3389
        shok.Transparency = shok.Transparency + 0.06
3390
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3391
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3392
3393
      end
3394
    end))
3395
    coroutine.resume(coroutine.create(function()
3396
      local shok = Instance.new("Part")
3397
      shok.Name = "shock3"
3398
      shok.BrickColor = BrickColor.new("Institutional white")
3399
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
3400
      shok.Size = Vector3.new(1, 1, 1)
3401
      shok.Anchored = true
3402
      shok.Material = "Neon"
3403
      shok.Transparency = 0.35
3404
      shok.CanCollide = false
3405
      shok.Parent = model
3406
      game.Debris:AddItem(shok, 12)
3407
      local mesh = Instance.new("SpecialMesh")
3408
      mesh.MeshType = "FileMesh"
3409
      mesh.MeshId = "rbxassetid://489415447"
3410
      mesh.Scale = Vector3.new(12, 12, 12)
3411
      mesh.Parent = shok
3412
      for e = 1, 15 do
3413
        wait()
3414
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
3415
        shok.Transparency = shok.Transparency + 0.004
3416
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
3417
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
3418
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3419
3420
      end
3421
      for e = 1, 16 do
3422
        wait()
3423
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
3424
        shok.Transparency = shok.Transparency + 0.004
3425
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
3426
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
3427
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3428
3429
      end
3430
      for e = 1, 12 do
3431
        wait()
3432
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
3433
        shok.Transparency = shok.Transparency + 0.06
3434
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
3435
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
3436
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3437
3438
      end
3439
    end))
3440
  end
3441
  function KABOOMZ2()
3442
    local effspwn = Instance.new("Part")
3443
    coroutine.resume(coroutine.create(function()
3444
      local sound1 = Instance.new("Sound")
3445
      sound1.SoundId = "rbxassetid://802518140"
3446
      sound1.MaxDistance = 300
3447
      sound1.EmitterSize = 300
3448
      sound1.Volume = 99
3449
      sound1.Pitch = 1.1
3450
      sound1.Parent = effspwn
3451
      local sound2 = Instance.new("Sound")
3452
      sound2.SoundId = "rbxassetid://157878578"
3453
      sound2.MaxDistance = 300
3454
      sound2.EmitterSize = 20
3455
      sound2.Volume = 1
3456
      sound2.Pitch = 0.7
3457
      sound2.Parent = effspwn
3458
      local sound3 = Instance.new("Sound")
3459
      sound3.SoundId = "rbxassetid://138250406"
3460
      sound2.MaxDistance = 400
3461
      sound2.EmitterSize = 30
3462
      sound2.Volume = 0.5
3463
      sound2.Pitch = 0.5
3464
      sound2.Parent = effspwn
3465
      sound2:Play()
3466
      wait()
3467
      sound1:Play()
3468
      sound3:Play()
3469
    end))
3470
    local model = Instance.new("Model")
3471
    game.Debris:AddItem(model, 20)
3472
    model.Name = "smasheffects"
3473
    model.Parent = workspace
3474
    effspwn.Name = "spwnr"
3475
    effspwn.Size = Vector3.new(1, 1, 1)
3476
    effspwn.Anchored = true
3477
    effspwn.CanCollide = false
3478
    effspwn.Transparency = 1
3479
    effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
3480
    effspwn.Parent = model
3481
3482
3483
3484
3485
3486
Crater(head,60)
3487
Crater(head,120)
3488
3489
    for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
3490
        if v:FindFirstChild('Humanoid') then
3491
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
3492
            v.Humanoid.PlatformStand = true
3493
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
3494
        end
3495
    end 
3496
3497
    coroutine.resume(coroutine.create(function()
3498
      local shok = Instance.new("Part")
3499
      shok.Name = "whoosh"
3500
      shok.BrickColor = BrickColor.new("Institutional white")
3501
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
3502
      shok.Size = Vector3.new(1, 1, 1)
3503
      shok.Anchored = true
3504
      shok.Material = "Neon"
3505
      shok.Transparency = 0.1
3506
      shok.CanCollide = false
3507
      shok.Parent = model
3508
      game.Debris:AddItem(shok, 12)
3509
      local mesh = Instance.new("SpecialMesh")
3510
      mesh.MeshType = "FileMesh"
3511
      mesh.MeshId = "rbxassetid://437347603"
3512
      mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
3513
      mesh.Parent = shok
3514
3515
3516
3517
3518
3519
      for e = 1, 8 do
3520
        wait()
3521
        mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
3522
        shok.Transparency = shok.Transparency + 0.035
3523
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
3524
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
3525
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3526
3527
      end
3528
      for e = 1, 16 do
3529
        wait()
3530
        mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
3531
        shok.Transparency = shok.Transparency + 0.11
3532
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
3533
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
3534
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
3535
3536
      end
3537
    end))
3538
    coroutine.resume(coroutine.create(function()
3539
      local shok = Instance.new("Part")
3540
      shok.Name = "wring1"
3541
      shok.BrickColor = BrickColor.new("Institutional white")
3542
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
3543
      shok.Size = Vector3.new(1, 1, 1)
3544
      shok.Anchored = true
3545
      shok.Material = "Neon"
3546
      shok.Transparency = 0.25
3547
      shok.CanCollide = false
3548
      shok.Parent = model
3549
      game.Debris:AddItem(shok, 12)
3550
      local mesh = Instance.new("SpecialMesh")
3551
      mesh.MeshType = "FileMesh"
3552
      mesh.MeshId = "rbxassetid://3270017"
3553
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
3554
      mesh.Parent = shok
3555
      for e = 1, 30 do
3556
        wait()
3557
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
3558
        shok.Transparency = shok.Transparency + 0.002
3559
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
3560
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
3561
      end
3562
      for e = 1, 38 do
3563
        wait()
3564
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
3565
        shok.Transparency = shok.Transparency + 0.002
3566
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3567
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
3568
      end
3569
      for e = 1, 24 do
3570
        wait()
3571
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
3572
        shok.Transparency = shok.Transparency + 0.03
3573
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3574
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
3575
      end
3576
    end))
3577
    coroutine.resume(coroutine.create(function()
3578
      local shok = Instance.new("Part")
3579
      shok.Name = "wring2"
3580
      shok.BrickColor = BrickColor.new("Institutional white")
3581
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
3582
      shok.Size = Vector3.new(1, 1, 1)
3583
      shok.Anchored = true
3584
      shok.Material = "Neon"
3585
      shok.Transparency = 0.25
3586
      shok.CanCollide = false
3587
      shok.Parent = model
3588
      game.Debris:AddItem(shok, 12)
3589
      local mesh = Instance.new("SpecialMesh")
3590
      mesh.MeshType = "FileMesh"
3591
      mesh.MeshId = "rbxassetid://3270017"
3592
      mesh.Scale = Vector3.new(12, 12, 0.05)
3593
      mesh.Parent = shok
3594
      for e = 1, 30 do
3595
        wait()
3596
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
3597
        shok.Transparency = shok.Transparency + 0.002
3598
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
3599
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
3600
      end
3601
      for e = 1, 38 do
3602
        wait()
3603
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
3604
        shok.Transparency = shok.Transparency + 0.002
3605
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3606
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
3607
      end
3608
      for e = 1, 24 do
3609
        wait()
3610
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
3611
        shok.Transparency = shok.Transparency + 0.03
3612
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3613
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
3614
      end
3615
    end))
3616
    coroutine.resume(coroutine.create(function()
3617
      local shok = Instance.new("Part")
3618
      shok.Name = "coil1"
3619
      shok.BrickColor = BrickColor.new("Institutional white")
3620
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
3621
      shok.Size = Vector3.new(1, 1, 1)
3622
      shok.Anchored = true
3623
      shok.Material = "Neon"
3624
      shok.Transparency = 0.25
3625
      shok.CanCollide = false
3626
      shok.Parent = model
3627
      game.Debris:AddItem(shok, 12)
3628
      local mesh = Instance.new("SpecialMesh")
3629
      mesh.MeshType = "FileMesh"
3630
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
3631
      mesh.Scale = Vector3.new(12, 12, 12)
3632
      mesh.Parent = shok
3633
      for e = 1, 15 do
3634
        wait()
3635
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3636
        shok.Transparency = shok.Transparency + 0.004
3637
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
3638
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3639
      end
3640
      for e = 1, 16 do
3641
        wait()
3642
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3643
        shok.Transparency = shok.Transparency + 0.004
3644
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3645
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3646
      end
3647
      for e = 1, 12 do
3648
        wait()
3649
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3650
        shok.Transparency = shok.Transparency + 0.06
3651
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3652
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3653
      end
3654
    end))
3655
    coroutine.resume(coroutine.create(function()
3656
      local shok = Instance.new("Part")
3657
      shok.Name = "coil2"
3658
      shok.BrickColor = BrickColor.new("Institutional white")
3659
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
3660
      shok.Size = Vector3.new(1, 1, 1)
3661
      shok.Anchored = true
3662
      shok.Material = "Neon"
3663
      shok.Transparency = 0.25
3664
      shok.CanCollide = false
3665
      shok.Parent = model
3666
      game.Debris:AddItem(shok, 12)
3667
      local mesh = Instance.new("SpecialMesh")
3668
      mesh.MeshType = "FileMesh"
3669
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
3670
      mesh.Scale = Vector3.new(6, 12, 6)
3671
      mesh.Parent = shok
3672
      for e = 1, 15 do
3673
        wait()
3674
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
3675
        shok.Transparency = shok.Transparency + 0.005
3676
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
3677
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
3678
      end
3679
      for e = 1, 16 do
3680
        wait()
3681
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
3682
        shok.Transparency = shok.Transparency + 0.005
3683
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3684
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
3685
      end
3686
      for e = 1, 12 do
3687
        wait()
3688
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
3689
        shok.Transparency = shok.Transparency + 0.09
3690
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
3691
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
3692
      end
3693
    end))
3694
    coroutine.resume(coroutine.create(function()
3695
      local shok = Instance.new("Part")
3696
      shok.Name = "shokwve"
3697
      shok.BrickColor = BrickColor.new("Institutional white")
3698
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
3699
      shok.Size = Vector3.new(1, 1, 1)
3700
      shok.Anchored = true
3701
      shok.Material = "Neon"
3702
      shok.Transparency = 0.6
3703
      shok.CanCollide = false
3704
      shok.Parent = model
3705
      game.Debris:AddItem(shok, 12)
3706
      local mesh = Instance.new("SpecialMesh")
3707
      mesh.MeshType = "FileMesh"
3708
      mesh.MeshId = "rbxassetid://489415447"
3709
      mesh.Scale = Vector3.new(1, 1, 1)
3710
      mesh.Parent = shok
3711
      for e = 1, 12 do
3712
        wait()
3713
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
3714
        shok.Transparency = shok.Transparency + 0.002
3715
      end
3716
      for e = 1, 32 do
3717
        wait()
3718
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
3719
        shok.Transparency = shok.Transparency + 0.002
3720
      end
3721
      for e = 1, 24 do
3722
        wait()
3723
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
3724
        shok.Transparency = shok.Transparency + 0.03
3725
      end
3726
    end))
3727
    coroutine.resume(coroutine.create(function()
3728
      local shok = Instance.new("Part")
3729
      shok.Name = "shock2"
3730
      shok.BrickColor = BrickColor.new("Institutional white")
3731
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
3732
      shok.Size = Vector3.new(1, 1, 1)
3733
      shok.Anchored = true
3734
      shok.Material = "Neon"
3735
      shok.Transparency = 0.35
3736
      shok.CanCollide = false
3737
      shok.Parent = model
3738
      game.Debris:AddItem(shok, 12)
3739
      local mesh = Instance.new("SpecialMesh")
3740
      mesh.MeshType = "FileMesh"
3741
      mesh.MeshId = "rbxassetid://489415447"
3742
      mesh.Scale = Vector3.new(12, 12, 12)
3743
      mesh.Parent = shok
3744
      for e = 1, 15 do
3745
        wait()
3746
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3747
        shok.Transparency = shok.Transparency + 0.004
3748
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3749
      end
3750
      for e = 1, 16 do
3751
        wait()
3752
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3753
        shok.Transparency = shok.Transparency + 0.004
3754
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3755
      end
3756
      for e = 1, 12 do
3757
        wait()
3758
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3759
        shok.Transparency = shok.Transparency + 0.06
3760
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3761
      end
3762
    end))
3763
    coroutine.resume(coroutine.create(function()
3764
      local shok = Instance.new("Part")
3765
      shok.Name = "shock3"
3766
      shok.BrickColor = BrickColor.new("Institutional white")
3767
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
3768
      shok.Size = Vector3.new(1, 1, 1)
3769
      shok.Anchored = true
3770
      shok.Material = "Neon"
3771
      shok.Transparency = 0.35
3772
      shok.CanCollide = false
3773
      shok.Parent = model
3774
      game.Debris:AddItem(shok, 12)
3775
      local mesh = Instance.new("SpecialMesh")
3776
      mesh.MeshType = "FileMesh"
3777
      mesh.MeshId = "rbxassetid://489415447"
3778
      mesh.Scale = Vector3.new(12, 12, 12)
3779
      mesh.Parent = shok
3780
      for e = 1, 15 do
3781
        wait()
3782
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
3783
        shok.Transparency = shok.Transparency + 0.004
3784
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
3785
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
3786
      end
3787
      for e = 1, 16 do
3788
        wait()
3789
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
3790
        shok.Transparency = shok.Transparency + 0.004
3791
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
3792
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
3793
      end
3794
      for e = 1, 12 do
3795
        wait()
3796
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
3797
        shok.Transparency = shok.Transparency + 0.06
3798
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
3799
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
3800
      end
3801
    end))
3802
  end
3803
3804
3805
3806
tor = chr.Torso
3807
Debounce = false
3808
3809
Invis = function()
3810
	for i = 1,20 do
3811
	chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05 
3812
	chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05
3813
	chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05
3814
	chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05
3815
	chr['Head'].Transparency = chr['Head'].Transparency + .05
3816
	chr['Torso'].Transparency = chr['Torso'].Transparency + .05
3817
	chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05
3818
	game["Run Service"].RenderStepped:wait()
3819
	end
3820
end
3821
3822
Vis = function()
3823
	for i = 1,20 do
3824
	chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05 
3825
	chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05
3826
	chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05
3827
	chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05
3828
	chr['Head'].Transparency = chr['Head'].Transparency - .05
3829
	chr['Torso'].Transparency = chr['Torso'].Transparency - .05
3830
	chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05
3831
	game["Run Service"].RenderStepped:wait()
3832
	end
3833
end
3834
3835
Fade = function(Part)
3836
	if Part:IsA'Part' then
3837
		for i = 1,20 do
3838
			Part.Transparency = Part.Transparency + .05
3839
			Part.Size = Part.Size - Vector3.new(.04,.04,.04)
3840
			Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0)
3841
			wait()
3842
		end
3843
		Part:Destroy()
3844
	end
3845
end
3846
3847
Teleport = function(cx,cy,cz)
3848
	Debounce = true
3849
	tor.Anchored = true
3850
	Invis()
3851
	--MakeTpPart()
3852
	tor.Anchored = false
3853
	tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0)
3854
	tor.Anchored = true
3855
	Vis()
3856
	tor.Anchored = false
3857
	Debounce = false
3858
end;
3859
3860
3861
3862
tps = Instance.new("Sound",chr)
3863
tps.SoundId = "http://www.roblox.com/asset/?id = 802518140"
3864
tps.Volume = 30
3865
3866
3867
function Tele()
3868
	human.WalkSpeed = 0
3869
	 if activu == true or selected == false then
3870
      return
3871
    end
3872
    coroutine.resume(coroutine.create(function()
3873
      fglow(rleg.Glow, 1)
3874
      fglow(lleg.Glow, 1)
3875
    end))
3876
    activu = true
3877
local pe = Instance.new("ParticleEmitter")
3878
    pe.Color = ColorSequence.new(Color3.new(255, 255, 51))
3879
    pe.LightEmission = 0.9
3880
    pe.Size = NumberSequence.new(0.5)
3881
    pe.Texture = "rbxassetid://886346627"
3882
    pe.Transparency = NumberSequence.new(0.1)
3883
    pe.Lifetime = NumberRange.new(0.1)
3884
    pe.Rate = 250
3885
    pe.RotSpeed = NumberRange.new(360)
3886
    pe.Speed = NumberRange.new(3)
3887
    pe.VelocitySpread = 360
3888
    pe.Parent = rleg.Glow
3889
    local pea = pe:Clone()
3890
    pea.Parent = lleg.Glow
3891
    local pe2 = Instance.new("ParticleEmitter")
3892
    pe2.Color = ColorSequence.new(Color3.new(255, 255, 51))
3893
    pe2.LightEmission = 0.9
3894
    pe2.Size = NumberSequence.new(5)
3895
    pe2.Texture = "rbxassetid://886346627"
3896
    pe2.Transparency = NumberSequence.new(0.4)
3897
    pe2.ZOffset = 2
3898
    pe2.Enabled = true
3899
    pe2.LockedToPart = true
3900
    pe2.Lifetime = NumberRange.new(0.07)
3901
    pe2.Rate = 8
3902
    pe2.Rotation = NumberRange.new(0, 360)
3903
    pe2.RotSpeed = NumberRange.new(0)
3904
    pe2.Speed = NumberRange.new(0)
3905
    pe2.VelocitySpread = 180
3906
    pe2.Parent = lleg.Glow
3907
    local pea2 = pe2:Clone()
3908
    pea2.Parent = rleg.Glow
3909
3910
	for l = 1, 30 do
3911
      swait()
3912
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
3913
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
3914
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
3915
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
3916
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
3917
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
3918
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
3919
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
3920
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
3921
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
3922
	    end
3923
	
3924
	pe:Destroy()
3925
    pe2:Destroy()
3926
    pea:Destroy()
3927
    pea2:Destroy()
3928
    local rng = Instance.new("Part", chr)
3929
        rng.Anchored = true
3930
        rng.BrickColor = BrickColor.new("Institutional white")
3931
        rng.CanCollide = false
3932
        rng.FormFactor = 3
3933
        rng.Name = "Ring"
3934
        rng.Size = Vector3.new(1, 1, 1)
3935
        rng.Transparency = 0.5
3936
        rng.TopSurface = 0
3937
        rng.BottomSurface = 0
3938
        rng.Position = tors.Position - Vector3.new(0,2,0)
3939
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
3940
        local rngm = Instance.new("SpecialMesh", rng)
3941
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
3942
        rngm.Scale = Vector3.new(1, 1, 2)
3943
                coroutine.wrap(function()
3944
                for i = 1, 60, 8 do
3945
                rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1)
3946
                rng.Transparency = i/60
3947
                wait()
3948
                end
3949
                wait()
3950
                rng:Destroy()
3951
                end)()
3952
	tps:Play()
3953
	Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)
3954
	resetlerp()
3955
	human.WalkSpeed = 16
3956
	activu = false
3957
	
3958
end
3959
3960
3961
3962
3963
boom3 = Instance.new("Sound",chr)
3964
boom3.SoundId = "http://www.roblox.com/asset/?id = 142684400"
3965
boom3.Volume = 50
3966
3967
3968
3969
3970
3971
gprop = {}
3972
function materialhit(hit)
3973
if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
3974
gprop = {hit.BrickColor,hit.Material}
3975
end
3976
end
3977
chr["Left Leg"].Touched:connect(materialhit)
3978
chr["Right Leg"].Touched:connect(materialhit)
3979
3980
3981
function KickBoom()
3982
	local effspwn = Instance.new("Part")
3983
    local model = Instance.new("Model")
3984
    game.Debris:AddItem(model, 20)
3985
    model.Name = "smasheffects"
3986
    model.Parent = chr
3987
    effspwn.Name = "spwnr"
3988
    effspwn.Size = Vector3.new(1, 1, 1)
3989
    effspwn.Anchored = true
3990
    effspwn.CanCollide = false
3991
    effspwn.Transparency = 1
3992
    effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
3993
    effspwn.Parent = model
3994
3995
for i = 1, 15 do
3996
local gtrace = Instance.new("Part",game.Workspace)
3997
gtrace.BrickColor = gprop[1]
3998
gtrace.Material = gprop[2]
3999
gtrace.Size = Vector3.new(16,16,16)
4000
gtrace.Anchored = true
4001
gtrace.CanCollide = false
4002
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)))
4003
local gdisp = coroutine.wrap(function()
4004
wait(3)
4005
for i = 1, 9 do
4006
wait(.1)
4007
gtrace.Transparency = gtrace.Transparency + .1
4008
end
4009
gtrace:Destroy()
4010
end)
4011
gdisp()
4012
end
4013
4014
Crater(head,67)
4015
4016
for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
4017
        if v:FindFirstChild('Humanoid') then
4018
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
4019
            v.Humanoid.PlatformStand = true
4020
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250
4021
        end
4022
    end 
4023
4024
	coroutine.resume(coroutine.create(function()
4025
      local shok = Instance.new("Part")
4026
      shok.Name = "shock3"
4027
      shok.BrickColor = BrickColor.new("Institutional white")
4028
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
4029
      shok.Size = Vector3.new(1, 1, 1)
4030
      shok.Anchored = true
4031
      shok.Material = "Neon"
4032
      shok.Transparency = 0.35
4033
      shok.CanCollide = false
4034
      shok.Parent = model
4035
      game.Debris:AddItem(shok, 12)
4036
      local mesh = Instance.new("SpecialMesh")
4037
      mesh.MeshType = "FileMesh"
4038
      mesh.MeshId = "rbxassetid://489415447"
4039
      mesh.Scale = Vector3.new(19, 19, 19)
4040
      mesh.Parent = shok
4041
      for e = 1, 15 do
4042
        wait()
4043
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
4044
        shok.Transparency = shok.Transparency + 0.004
4045
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
4046
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
4047
      end
4048
      for e = 1, 16 do
4049
        wait()
4050
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
4051
        shok.Transparency = shok.Transparency + 0.004
4052
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
4053
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
4054
      end
4055
      for e = 1, 12 do
4056
        wait()
4057
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
4058
        shok.Transparency = shok.Transparency + 0.06
4059
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
4060
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
4061
      end
4062
	    end))
4063
	
4064
	
4065
	coroutine.resume(coroutine.create(function()
4066
      local shok = Instance.new("Part")
4067
      shok.Name = "shock3"
4068
      shok.BrickColor = BrickColor.new("Institutional white")
4069
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
4070
      shok.Size = Vector3.new(1, 1, 1)
4071
      shok.Anchored = true
4072
      shok.Material = "Neon"
4073
      shok.Transparency = 0.35
4074
      shok.CanCollide = false
4075
      shok.Parent = model
4076
      game.Debris:AddItem(shok, 12)
4077
      local mesh = Instance.new("SpecialMesh")
4078
      mesh.MeshType = "FileMesh"
4079
      mesh.MeshId = "rbxassetid://489415447"
4080
      mesh.Scale = Vector3.new(47, 47, 47)
4081
      mesh.Parent = shok
4082
      for e = 1, 15 do
4083
        wait()
4084
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
4085
        shok.Transparency = shok.Transparency + 0.004
4086
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
4087
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
4088
      end
4089
      for e = 1, 16 do
4090
        wait()
4091
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
4092
        shok.Transparency = shok.Transparency + 0.004
4093
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
4094
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
4095
      end
4096
      for e = 1, 12 do
4097
        wait()
4098
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
4099
        shok.Transparency = shok.Transparency + 0.06
4100
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
4101
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
4102
      end
4103
	    end))
4104
	
4105
	coroutine.resume(coroutine.create(function()
4106
      local shok = Instance.new("Part")
4107
      shok.Name = "shock3"
4108
      shok.BrickColor = BrickColor.new("Institutional white")
4109
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
4110
      shok.Size = Vector3.new(1, 1, 1)
4111
      shok.Anchored = true
4112
      shok.Material = "Neon"
4113
      shok.Transparency = 0.35
4114
      shok.CanCollide = false
4115
      shok.Parent = model
4116
      game.Debris:AddItem(shok, 12)
4117
      local mesh = Instance.new("SpecialMesh")
4118
      mesh.MeshType = "FileMesh"
4119
      mesh.MeshId = "rbxassetid://489415447"
4120
      mesh.Scale = Vector3.new(79, 79, 79)
4121
      mesh.Parent = shok
4122
      for e = 1, 15 do
4123
        wait()
4124
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
4125
        shok.Transparency = shok.Transparency + 0.004
4126
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
4127
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
4128
      end
4129
      for e = 1, 16 do
4130
        wait()
4131
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
4132
        shok.Transparency = shok.Transparency + 0.004
4133
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
4134
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
4135
      end
4136
      for e = 1, 12 do
4137
        wait()
4138
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
4139
        shok.Transparency = shok.Transparency + 0.06
4140
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
4141
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
4142
      end
4143
    end))
4144
end
4145
4146
4147
4148
4149
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
4150
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
4151
end 
4152
cam = workspace.CurrentCamera
4153
4154
4155
4156
4157
4158
4159
4160
4161
function NoOutline(Part)
4162
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
4163
end
4164
4165
4166
4167
4168
it = Instance.new
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
so = function(id,par,vol,pit) 
4180
coroutine.resume(coroutine.create(function()
4181
local sou = Instance.new("Sound",par or workspace)
4182
sou.Volume=vol
4183
sou.Pitch=pit or 1
4184
sou.SoundId=id
4185
swait() 
4186
sou:play() 
4187
game:GetService("Debris"):AddItem(sou,6)
4188
end))
4189
end
4190
4191
4192
function Stom()
4193
	
4194
cf=CFrame.new
4195
angles=CFrame.Angles
4196
euler=CFrame.fromEulerAnglesXYZ
4197
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
4198
RootPart=chr.HumanoidRootPart
4199
RootJoint=RootPart.RootJoint
4200
RootCF=euler(-1.57,0,3.14)
4201
4202
function QuaternionFromCFrame(cf) 
4203
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
4204
local trace = m00 + m11 + m22 
4205
if trace > 0 then 
4206
local s = math.sqrt(1 + trace) 
4207
local recip = 0.5/s 
4208
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
4209
else 
4210
local i = 0 
4211
if m11 > m00 then
4212
i = 1
4213
end
4214
if m22 > (i == 0 and m00 or m11) then 
4215
i = 2 
4216
end 
4217
if i == 0 then 
4218
local s = math.sqrt(m00-m11-m22+1) 
4219
local recip = 0.5/s 
4220
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
4221
elseif i == 1 then 
4222
local s = math.sqrt(m11-m22-m00+1) 
4223
local recip = 0.5/s 
4224
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
4225
elseif i == 2 then 
4226
local s = math.sqrt(m22-m00-m11+1) 
4227
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
4228
end 
4229
end 
4230
end
4231
 
4232
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
4233
local xs, ys, zs = x + x, y + y, z + z 
4234
local wx, wy, wz = w*xs, w*ys, w*zs 
4235
local xx = x*xs 
4236
local xy = x*ys 
4237
local xz = x*zs 
4238
local yy = y*ys 
4239
local yz = y*zs 
4240
local zz = z*zs 
4241
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)) 
4242
end
4243
 
4244
function QuaternionSlerp(a, b, t) 
4245
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
4246
local startInterp, finishInterp; 
4247
if cosTheta >= 0.0001 then 
4248
if (1 - cosTheta) > 0.0001 then 
4249
local theta = math.acos(cosTheta) 
4250
local invSinTheta = 1/math.sin(theta) 
4251
startInterp = math.sin((1-t)*theta)*invSinTheta 
4252
finishInterp = math.sin(t*theta)*invSinTheta  
4253
else 
4254
startInterp = 1-t 
4255
finishInterp = t 
4256
end 
4257
else 
4258
if (1+cosTheta) > 0.0001 then 
4259
local theta = math.acos(-cosTheta) 
4260
local invSinTheta = 1/math.sin(theta) 
4261
startInterp = math.sin((t-1)*theta)*invSinTheta 
4262
finishInterp = math.sin(t*theta)*invSinTheta 
4263
else 
4264
startInterp = t-1 
4265
finishInterp = t 
4266
end 
4267
end 
4268
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 
4269
end
4270
4271
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
4272
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
4273
end 
4274
4275
function clerp(a,b,t) 
4276
local qa = {QuaternionFromCFrame(a)}
4277
local qb = {QuaternionFromCFrame(b)} 
4278
local ax, ay, az = a.x, a.y, a.z 
4279
local bx, by, bz = b.x, b.y, b.z
4280
local _t = 1-t
4281
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
4282
end 
4283
4284
4285
4286
	 if activu == true or selected == false then
4287
      return
4288
	    end
4289
	coroutine.resume(coroutine.create(function()
4290
      fglow(lleg.Glow, 6)
4291
    end))
4292
    activu = true
4293
local pe = Instance.new("ParticleEmitter")
4294
    pe.Color = ColorSequence.new(Color3.new(255, 255, 51))
4295
    pe.LightEmission = 0.9
4296
    pe.Size = NumberSequence.new(0.5)
4297
    pe.Texture = "rbxassetid://886346627"
4298
    pe.Transparency = NumberSequence.new(0.1)
4299
    pe.Lifetime = NumberRange.new(0.1)
4300
    pe.Rate = 250
4301
    pe.RotSpeed = NumberRange.new(360)
4302
    pe.Speed = NumberRange.new(3)
4303
    pe.VelocitySpread = 360
4304
    pe.Parent = lleg.Glow
4305
    local pea = pe:Clone()
4306
    pea.Parent = lleg.Glow
4307
    wait(0.5)
4308
    local pe2 = Instance.new("ParticleEmitter")
4309
    pe2.Color = ColorSequence.new(Color3.new(255, 255, 51))
4310
    pe2.LightEmission = 0.9
4311
    pe2.Size = NumberSequence.new(5)
4312
    pe2.Texture = "rbxassetid://886346627"
4313
    pe2.Transparency = NumberSequence.new(0.4)
4314
    pe2.ZOffset = 2
4315
    pe2.Enabled = true
4316
    pe2.LockedToPart = true
4317
    pe2.Lifetime = NumberRange.new(0.07)
4318
    pe2.Rate = 8
4319
    pe2.Rotation = NumberRange.new(0, 360)
4320
    pe2.RotSpeed = NumberRange.new(0)
4321
    pe2.Speed = NumberRange.new(0)
4322
    pe2.VelocitySpread = 180
4323
    pe2.Parent = lleg.Glow
4324
    local pea2 = pe2:Clone()
4325
    pea2.Parent = lleg.Glow
4326
local Mus = Instance.new("Sound",workspace)
4327
Mus.SoundId = "rbxassetid://887457845"
4328
Mus.Pitch = 1
4329
Mus.Volume = 90000
4330
Mus.Looped = false
4331
wait(0.9)
4332
Mus:Play()
4333
4334
4335
   
4336
human.WalkSpeed = 0
4337
for i = 0,1,0.1 do
4338
swait()
4339
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4340
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
4341
RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
4342
LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4343
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)
4344
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)
4345
end
4346
wait(1)
4347
for i = 0,1,0.1 do
4348
swait()
4349
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
4350
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
4351
RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
4352
LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
4353
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)
4354
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)
4355
end
4356
KickBoom()
4357
so("http://roblox.com/asset/?id=144699494",lleg,2,1.1)	
4358
so("http://roblox.com/asset/?id=321321137",lleg,1,1)
4359
so("http://roblox.com/asset/?id=506384002",lleg,1,1)	
4360
so("http://roblox.com/asset/?id=157878578",lleg,25,1)
4361
so("http://roblox.com/asset/?id=165970126",lleg,25,1)
4362
4363
wait(3)
4364
human.WalkSpeed = 16
4365
pe:Destroy()
4366
pe2:Destroy()
4367
pea:Destroy()
4368
pea2:Destroy()
4369
resetlerp()
4370
activu = false
4371
end
4372
4373
4374
4375
4376
4377
function Smash()
4378
	for i = 1, 15 do
4379
local gtrace = Instance.new("Part",game.Workspace)
4380
gtrace.BrickColor = gprop[1]
4381
gtrace.Material = gprop[2]
4382
gtrace.Size = Vector3.new(19,19,19)
4383
gtrace.Anchored = true
4384
gtrace.CanCollide = false
4385
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)))
4386
local gdisp = coroutine.wrap(function()
4387
wait(7)
4388
for i = 1, 9 do
4389
wait(.1)
4390
gtrace.Transparency = gtrace.Transparency + .1
4391
end
4392
gtrace:Destroy()
4393
end)
4394
gdisp()
4395
end
4396
4397
Crater(head,67)
4398
end
4399
4400
function Smash2()
4401
	for i = 1, 15 do
4402
local gtrace = Instance.new("Part",game.Workspace)
4403
gtrace.BrickColor = gprop[1]
4404
gtrace.Material = gprop[2]
4405
gtrace.Size = Vector3.new(19,19,19)
4406
gtrace.Anchored = true
4407
gtrace.CanCollide = false
4408
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)))
4409
local gdisp = coroutine.wrap(function()
4410
wait(7)
4411
for i = 1, 9 do
4412
wait(.1)
4413
gtrace.Transparency = gtrace.Transparency + .1
4414
end
4415
gtrace:Destroy()
4416
end)
4417
gdisp()
4418
end
4419
4420
end
4421
4422
function Smash3()
4423
	for i = 1, 15 do
4424
local gtrace = Instance.new("Part",game.Workspace)
4425
gtrace.BrickColor = gprop[1]
4426
gtrace.Material = gprop[2]
4427
gtrace.Size = Vector3.new(19,19,19)
4428
gtrace.Anchored = true
4429
gtrace.CanCollide = false
4430
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)))
4431
local gdisp = coroutine.wrap(function()
4432
wait(7)
4433
for i = 1, 9 do
4434
wait(.1)
4435
gtrace.Transparency = gtrace.Transparency + .1
4436
end
4437
gtrace:Destroy()
4438
end)
4439
gdisp()
4440
end
4441
4442
end
4443
4444
4445
function Smash4()
4446
	for i = 1, 15 do
4447
local gtrace = Instance.new("Part",game.Workspace)
4448
gtrace.BrickColor = gprop[1]
4449
gtrace.Material = gprop[2]
4450
gtrace.Size = Vector3.new(19,19,19)
4451
gtrace.Anchored = true
4452
gtrace.CanCollide = false
4453
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)))
4454
local gdisp = coroutine.wrap(function()
4455
wait(7)
4456
for i = 1, 9 do
4457
wait(.1)
4458
gtrace.Transparency = gtrace.Transparency + .1
4459
end
4460
gtrace:Destroy()
4461
end)
4462
gdisp()
4463
end
4464
4465
end
4466
4467
function Smash5()
4468
	for i = 1, 15 do
4469
local gtrace = Instance.new("Part",game.Workspace)
4470
gtrace.BrickColor = gprop[1]
4471
gtrace.Material = gprop[2]
4472
gtrace.Size = Vector3.new(19,19,19)
4473
gtrace.Anchored = true
4474
gtrace.CanCollide = false
4475
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)))
4476
local gdisp = coroutine.wrap(function()
4477
wait(7)
4478
for i = 1, 9 do
4479
wait(.1)
4480
gtrace.Transparency = gtrace.Transparency + .1
4481
end
4482
gtrace:Destroy()
4483
end)
4484
gdisp()
4485
end
4486
4487
end
4488
4489
function Smash6()
4490
	for i = 1, 15 do
4491
local gtrace = Instance.new("Part",game.Workspace)
4492
gtrace.BrickColor = gprop[1]
4493
gtrace.Material = gprop[2]
4494
gtrace.Size = Vector3.new(19,19,19)
4495
gtrace.Anchored = true
4496
gtrace.CanCollide = false
4497
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)))
4498
local gdisp = coroutine.wrap(function()
4499
wait(7)
4500
for i = 1, 9 do
4501
wait(.1)
4502
gtrace.Transparency = gtrace.Transparency + .1
4503
end
4504
gtrace:Destroy()
4505
end)
4506
gdisp()
4507
end
4508
4509
end
4510
4511
4512
	for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do
4513
        if v:FindFirstChild('Humanoid') then
4514
            v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999))
4515
            v.Humanoid.PlatformStand = true
4516
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600
4517
        end
4518
    end 
4519
4520
4521
function HeavenSmash()
4522
	
4523
	
4524
	 if activu == true or selected == false then
4525
      return
4526
	    end
4527
	coroutine.resume(coroutine.create(function()
4528
      fglow(lleg.Glow, 19)
4529
	  fglow(rleg.Glow, 19)
4530
	  fglow(rarm.Glow, 19)
4531
	  fglow(larm.Glow, 19)
4532
	  fglow(head.Glow, 19)
4533
	  fglow(tors.Glow, 19)
4534
    end))
4535
    activu = true
4536
local pe = Instance.new("ParticleEmitter")
4537
    pe.Color = ColorSequence.new(Color3.new(255, 255, 51))
4538
    pe.LightEmission = 0.9
4539
    pe.Size = NumberSequence.new(0.5)
4540
    pe.Texture = "rbxassetid://886346627"
4541
    pe.Transparency = NumberSequence.new(0.1)
4542
    pe.Lifetime = NumberRange.new(0.1)
4543
    pe.Rate = 250
4544
    pe.RotSpeed = NumberRange.new(360)
4545
    pe.Speed = NumberRange.new(3)
4546
    pe.VelocitySpread = 360
4547
    pe.Parent = lleg.Glow
4548
    local pea = pe:Clone()
4549
    pea.Parent = lleg.Glow
4550
    local pe2 = Instance.new("ParticleEmitter")
4551
    pe2.Color = ColorSequence.new(Color3.new(255, 255, 51))
4552
    pe2.LightEmission = 0.9
4553
    pe2.Size = NumberSequence.new(5)
4554
    pe2.Texture = "rbxassetid://886346627"
4555
    pe2.Transparency = NumberSequence.new(0.4)
4556
    pe2.ZOffset = 2
4557
    pe2.Enabled = true
4558
    pe2.LockedToPart = true
4559
    pe2.Lifetime = NumberRange.new(0.07)
4560
    pe2.Rate = 8
4561
    pe2.Rotation = NumberRange.new(0, 360)
4562
    pe2.RotSpeed = NumberRange.new(0)
4563
    pe2.Speed = NumberRange.new(0)
4564
    pe2.VelocitySpread = 180
4565
    pe2.Parent = lleg.Glow
4566
    local pea2 = pe2:Clone()
4567
    pea2.Parent = lleg.Glow
4568
4569
4570
4571
    local pet = Instance.new("ParticleEmitter")
4572
    pet.Color = ColorSequence.new(Color3.new(255, 255, 51))
4573
    pet.LightEmission = 0.9
4574
    pet.Size = NumberSequence.new(0.5)
4575
    pet.Texture = "rbxassetid://886346627"
4576
    pet.Transparency = NumberSequence.new(0.1)
4577
    pet.Lifetime = NumberRange.new(0.1)
4578
    pet.Rate = 1
4579
    pet.RotSpeed = NumberRange.new(360)
4580
    pet.Speed = NumberRange.new(3)
4581
    pet.VelocitySpread = 360
4582
    pet.Parent = rarm.Glow
4583
    local pet2 = Instance.new("ParticleEmitter")
4584
    pet2.Color = ColorSequence.new(Color3.new(255, 255, 51))
4585
    pet2.LightEmission = 0.9
4586
    pet2.Size = NumberSequence.new(5)
4587
    pet2.Texture = "rbxassetid://886346627"
4588
    pet2.Transparency = NumberSequence.new(0.4)
4589
    pet2.ZOffset = 2
4590
    pet2.Enabled = false
4591
    pet2.LockedToPart = true
4592
    pet2.Lifetime = NumberRange.new(0.07)
4593
    pet2.Rate = 8
4594
    pet2.Rotation = NumberRange.new(0, 360)
4595
    pet2.RotSpeed = NumberRange.new(0)
4596
    pet2.Speed = NumberRange.new(0)
4597
    pet2.VelocitySpread = 180
4598
    pet2.Parent = rarm.Glow
4599
4600
    
4601
   
4602
    local petl = Instance.new("ParticleEmitter")
4603
    petl.Color = ColorSequence.new(Color3.new(255, 255, 51))
4604
    petl.LightEmission = 0.9
4605
    petl.Size = NumberSequence.new(0.5)
4606
    petl.Texture = "rbxassetid://886346627"
4607
    petl.Transparency = NumberSequence.new(0.1)
4608
    petl.Lifetime = NumberRange.new(0.1)
4609
    petl.Rate = 1
4610
    petl.RotSpeed = NumberRange.new(360)
4611
    petl.Speed = NumberRange.new(3)
4612
    petl.VelocitySpread = 360
4613
    petl.Parent = larm.Glow
4614
    local petl2 = Instance.new("ParticleEmitter")
4615
    petl2.Color = ColorSequence.new(Color3.new(255, 255, 51))
4616
    petl2.LightEmission = 0.9
4617
    petl2.Size = NumberSequence.new(5)
4618
    petl2.Texture = "rbxassetid://886346627"
4619
    petl2.Transparency = NumberSequence.new(0.4)
4620
    petl2.ZOffset = 2
4621
    petl2.Enabled = false
4622
    petl2.LockedToPart = true
4623
    petl2.Lifetime = NumberRange.new(0.07)
4624
    petl2.Rate = 8
4625
    petl2.Rotation = NumberRange.new(0, 360)
4626
    petl2.RotSpeed = NumberRange.new(0)
4627
    petl2.Speed = NumberRange.new(0)
4628
    petl2.VelocitySpread = 180
4629
    petl2.Parent = larm.Glow
4630
4631
   
4632
   local petl3 = Instance.new("ParticleEmitter")
4633
    petl3.Color = ColorSequence.new(Color3.new(255, 255, 51))
4634
    petl3.LightEmission = 0.9
4635
    petl3.Size = NumberSequence.new(0.5)
4636
    petl3.Texture = "rbxassetid://886346627"
4637
    petl3.Transparency = NumberSequence.new(0.1)
4638
    petl3.Lifetime = NumberRange.new(0.1)
4639
    petl3.Rate = 1
4640
    petl3.RotSpeed = NumberRange.new(360)
4641
    petl3.Speed = NumberRange.new(3)
4642
    petl3.VelocitySpread = 360
4643
    petl3.Parent = head.Glow
4644
    local petl23 = Instance.new("ParticleEmitter")
4645
    petl23.Color = ColorSequence.new(Color3.new(255, 255, 51))
4646
    petl23.LightEmission = 0.9
4647
    petl23.Size = NumberSequence.new(5)
4648
    petl23.Texture = "rbxassetid://886346627"
4649
    petl23.Transparency = NumberSequence.new(0.4)
4650
    petl23.ZOffset = 2
4651
    petl23.Enabled = false
4652
    petl23.LockedToPart = true
4653
    petl23.Lifetime = NumberRange.new(0.07)
4654
    petl23.Rate = 8
4655
    petl23.Rotation = NumberRange.new(0, 360)
4656
    petl23.RotSpeed = NumberRange.new(0)
4657
    petl23.Speed = NumberRange.new(0)
4658
    petl23.VelocitySpread = 180
4659
    petl23.Parent = head.Glow
4660
4661
4662
4663
local petl34 = Instance.new("ParticleEmitter")
4664
    petl34.Color = ColorSequence.new(Color3.new(255, 255, 51))
4665
    petl34.LightEmission = 0.9
4666
    petl34.Size = NumberSequence.new(0.5)
4667
    petl34.Texture = "rbxassetid://886346627"
4668
    petl34.Transparency = NumberSequence.new(0.1)
4669
    petl34.Lifetime = NumberRange.new(0.1)
4670
    petl34.Rate = 1
4671
    petl34.RotSpeed = NumberRange.new(360)
4672
    petl34.Speed = NumberRange.new(3)
4673
    petl34.VelocitySpread = 360
4674
    petl34.Parent = rleg.Glow
4675
    local petl234 = Instance.new("ParticleEmitter")
4676
    petl234.Color = ColorSequence.new(Color3.new(255, 255, 51))
4677
    petl234.LightEmission = 0.9
4678
    petl234.Size = NumberSequence.new(5)
4679
    petl234.Texture = "rbxassetid://886346627"
4680
    petl234.Transparency = NumberSequence.new(0.4)
4681
    petl234.ZOffset = 2
4682
    petl234.Enabled = false
4683
    petl234.LockedToPart = true
4684
    petl234.Rate = 8
4685
    petl234.Rotation = NumberRange.new(0, 360)
4686
    petl234.RotSpeed = NumberRange.new(0)
4687
    petl234.Speed = NumberRange.new(0)
4688
    petl234.VelocitySpread = 180
4689
    petl234.Parent = rleg.Glow
4690
4691
4692
local petl345 = Instance.new("ParticleEmitter")
4693
    petl345.Color = ColorSequence.new(Color3.new(255, 255, 51))
4694
    petl345.LightEmission = 0.9
4695
    petl345.Size = NumberSequence.new(0.5)
4696
    petl345.Texture = "rbxassetid://886346627"
4697
    petl345.Transparency = NumberSequence.new(0.1)
4698
    petl345.Lifetime = NumberRange.new(0.1)
4699
    petl345.Rate = 1
4700
    petl345.RotSpeed = NumberRange.new(360)
4701
    petl345.Speed = NumberRange.new(3)
4702
    petl345.VelocitySpread = 360
4703
    petl345.Parent = tors.Glow
4704
    local petl2345 = Instance.new("ParticleEmitter")
4705
    petl2345.Color = ColorSequence.new(Color3.new(255, 255, 51))
4706
    petl2345.LightEmission = 0.9
4707
    petl2345.Size = NumberSequence.new(5)
4708
    petl2345.Texture = "rbxassetid://886346627"
4709
    petl2345.Transparency = NumberSequence.new(0.4)
4710
    petl2345.ZOffset = 2
4711
    petl2345.Enabled = false
4712
    petl2345.LockedToPart = true
4713
    petl2345.Rate = 8
4714
    petl2345.Rotation = NumberRange.new(0, 360)
4715
    petl2345.RotSpeed = NumberRange.new(0)
4716
    petl2345.Speed = NumberRange.new(0)
4717
    petl2345.VelocitySpread = 180
4718
    petl2345.Parent = tors.Glow
4719
human.WalkSpeed = 0
4720
so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5)
4721
so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5)
4722
for l = 1, 30 do
4723
      swait()
4724
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
4725
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
4726
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
4727
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
4728
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
4729
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
4730
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
4731
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
4732
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
4733
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
4734
	    end
4735
4736
4737
resetlerp()
4738
4739
 BV = Instance.new("BodyVelocity", tors)
4740
        BV.maxForce = Vector3.new(0,200000,0)
4741
        BV.P = 100000
4742
        BV.velocity = Vector3.new(0,150,0)
4743
local rng = Instance.new("Part", chr)
4744
        rng.Anchored = true
4745
        rng.BrickColor = BrickColor.new("Institutional white")
4746
        rng.CanCollide = false
4747
        rng.FormFactor = 3
4748
        rng.Name = "Ring"
4749
        rng.Size = Vector3.new(1, 1, 1)
4750
        rng.Transparency = 0.5
4751
        rng.TopSurface = 0
4752
        rng.BottomSurface = 0
4753
        rng.Position = tors.Position - Vector3.new(0,2,0)
4754
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
4755
        local rngm = Instance.new("SpecialMesh", rng)
4756
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
4757
        rngm.Scale = Vector3.new(10, 10, 20)
4758
            x = Instance.new("Sound",tors)
4759
            x.SoundId = "http://www.roblox.com/asset/?id=169445602"
4760
            x.Looped = false
4761
            x.Pitch = .7
4762
            x.Volume = 30
4763
            x:Play()
4764
                coroutine.wrap(function()
4765
                for i = 1, 60, 8 do
4766
                rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10)
4767
                rng.Transparency = i/60
4768
                wait()
4769
                end
4770
                wait()
4771
                rng:Destroy()
4772
                end)()
4773
wait(2.6)
4774
BV:Destroy()
4775
tors.Anchored = true
4776
wait(3.2)
4777
tors.Anchored = false
4778
BV = Instance.new("BodyVelocity", tors)
4779
        BV.maxForce = Vector3.new(0,-20000,0)
4780
        BV.P = 1000
4781
        BV.velocity = Vector3.new(0,-150,0)
4782
wait(1)
4783
BV:Destroy()
4784
wait(0.01)
4785
4786
human.WalkSpeed = 0
4787
    boom3:Play()
4788
4789
Smash()
4790
Smash2()
4791
Smash3()
4792
Ring()
4793
pe:Destroy()
4794
pea:Destroy()
4795
pea2:Destroy()
4796
pe2:Destroy()
4797
wait(2)
4798
human.WalkSpeed = 16
4799
	activu = false
4800
end
4801
4802
4803
4804
sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
4805
sound.SoundId = "rbxassetid://220025776"
4806
sound.Volume = 6
4807
4808
sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"])
4809
sound2.SoundId = "rbxassetid://386946017"
4810
sound2.Volume = 6
4811
4812
sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character)
4813
sound3.SoundId = "rbxassetid://165969964"
4814
sound3.Volume = 6
4815
4816
function rip()
4817
		activu = true
4818
		local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
4819
		detect.Size = Vector3.new(1,1,1)
4820
		detect:BreakJoints()
4821
		detect.CanCollide = false
4822
		local weld = Instance.new("Weld", detect)
4823
		weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
4824
		weld.Part1 = detect
4825
		weld.C0 = weld.C0 * CFrame.new(0,-1,0)
4826
		
4827
		
4828
		
4829
		local function attack(prt)
4830
			local humanoid = prt.Parent:findFirstChild("Humanoid")
4831
			if humanoid ~= nil then
4832
				local torso = prt.Parent:findFirstChild("Torso")
4833
				
4834
				
4835
				
4836
				
4837
				
4838
				
4839
				
4840
				function KABOOMZ3()
4841
    local effspwn = Instance.new("Part")
4842
    coroutine.resume(coroutine.create(function()
4843
      local sound1 = Instance.new("Sound")
4844
      sound1.SoundId = "rbxassetid://887457845"
4845
      sound1.MaxDistance = 300
4846
      sound1.EmitterSize = 20
4847
      sound1.Volume = 2.5
4848
      sound1.Pitch = 0.65
4849
      sound1.Parent = effspwn
4850
      local sound2 = Instance.new("Sound")
4851
      sound2.SoundId = "rbxassetid://157878578"
4852
      sound2.MaxDistance = 300
4853
      sound2.EmitterSize = 20
4854
      sound2.Volume = 1
4855
      sound2.Pitch = 0.7
4856
      sound2.Parent = effspwn
4857
      local sound3 = Instance.new("Sound")
4858
      sound3.SoundId = "rbxassetid://138250406"
4859
      sound2.MaxDistance = 400
4860
      sound2.EmitterSize = 30
4861
      sound2.Volume = 0.5
4862
      sound2.Pitch = 0.5
4863
      sound2.Parent = effspwn
4864
      sound2:Play()
4865
      wait()
4866
      sound1:Play()
4867
      sound3:Play()
4868
    end))
4869
    local model = Instance.new("Model")
4870
    game.Debris:AddItem(model, 20)
4871
    model.Name = "smasheffects"
4872
    model.Parent = workspace
4873
    effspwn.Name = "spwnr"
4874
    effspwn.Size = Vector3.new(1, 1, 1)
4875
    effspwn.Anchored = true
4876
    effspwn.CanCollide = false
4877
    effspwn.Transparency = 1
4878
    effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0)
4879
    effspwn.Parent = model
4880
4881
4882
4883
4884
4885
Crater(head,60)
4886
Crater(head,120)
4887
4888
    for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
4889
        if v:FindFirstChild('Humanoid') then
4890
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
4891
            v.Humanoid.PlatformStand = true
4892
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
4893
        end
4894
    end 
4895
4896
    coroutine.resume(coroutine.create(function()
4897
      local shok = Instance.new("Part")
4898
      shok.Name = "whoosh"
4899
      shok.BrickColor = BrickColor.new("Institutional white")
4900
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
4901
      shok.Size = Vector3.new(1, 1, 1)
4902
      shok.Anchored = true
4903
      shok.Material = "Neon"
4904
      shok.Transparency = 0.1
4905
      shok.CanCollide = false
4906
      shok.Parent = model
4907
      game.Debris:AddItem(shok, 12)
4908
      local mesh = Instance.new("SpecialMesh")
4909
      mesh.MeshType = "FileMesh"
4910
      mesh.MeshId = "rbxassetid://437347603"
4911
      mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
4912
      mesh.Parent = shok
4913
4914
4915
4916
4917
4918
      for e = 1, 8 do
4919
        wait()
4920
        mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
4921
        shok.Transparency = shok.Transparency + 0.035
4922
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
4923
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
4924
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
4925
4926
      end
4927
      for e = 1, 16 do
4928
        wait()
4929
        mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
4930
        shok.Transparency = shok.Transparency + 0.11
4931
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
4932
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
4933
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
4934
4935
      end
4936
    end))
4937
    coroutine.resume(coroutine.create(function()
4938
      local shok = Instance.new("Part")
4939
      shok.Name = "wring1"
4940
      shok.BrickColor = BrickColor.new("Institutional white")
4941
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
4942
      shok.Size = Vector3.new(1, 1, 1)
4943
      shok.Anchored = true
4944
      shok.Material = "Neon"
4945
      shok.Transparency = 0.25
4946
      shok.CanCollide = false
4947
      shok.Parent = model
4948
      game.Debris:AddItem(shok, 12)
4949
      local mesh = Instance.new("SpecialMesh")
4950
      mesh.MeshType = "FileMesh"
4951
      mesh.MeshId = "rbxassetid://3270017"
4952
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
4953
      mesh.Parent = shok
4954
      for e = 1, 30 do
4955
        wait()
4956
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
4957
        shok.Transparency = shok.Transparency + 0.002
4958
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
4959
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
4960
      end
4961
      for e = 1, 38 do
4962
        wait()
4963
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
4964
        shok.Transparency = shok.Transparency + 0.002
4965
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
4966
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
4967
      end
4968
      for e = 1, 24 do
4969
        wait()
4970
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
4971
        shok.Transparency = shok.Transparency + 0.03
4972
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
4973
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
4974
      end
4975
    end))
4976
    coroutine.resume(coroutine.create(function()
4977
      local shok = Instance.new("Part")
4978
      shok.Name = "wring2"
4979
      shok.BrickColor = BrickColor.new("Institutional white")
4980
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
4981
      shok.Size = Vector3.new(1, 1, 1)
4982
      shok.Anchored = true
4983
      shok.Material = "Neon"
4984
      shok.Transparency = 0.25
4985
      shok.CanCollide = false
4986
      shok.Parent = model
4987
      game.Debris:AddItem(shok, 12)
4988
      local mesh = Instance.new("SpecialMesh")
4989
      mesh.MeshType = "FileMesh"
4990
      mesh.MeshId = "rbxassetid://3270017"
4991
      mesh.Scale = Vector3.new(12, 12, 0.05)
4992
      mesh.Parent = shok
4993
      for e = 1, 30 do
4994
        wait()
4995
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
4996
        shok.Transparency = shok.Transparency + 0.002
4997
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
4998
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
4999
      end
5000
      for e = 1, 38 do
5001
        wait()
5002
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
5003
        shok.Transparency = shok.Transparency + 0.002
5004
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
5005
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
5006
      end
5007
      for e = 1, 24 do
5008
        wait()
5009
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
5010
        shok.Transparency = shok.Transparency + 0.03
5011
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
5012
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
5013
      end
5014
    end))
5015
    coroutine.resume(coroutine.create(function()
5016
      local shok = Instance.new("Part")
5017
      shok.Name = "coil1"
5018
      shok.BrickColor = BrickColor.new("Institutional white")
5019
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
5020
      shok.Size = Vector3.new(1, 1, 1)
5021
      shok.Anchored = true
5022
      shok.Material = "Neon"
5023
      shok.Transparency = 0.25
5024
      shok.CanCollide = false
5025
      shok.Parent = model
5026
      game.Debris:AddItem(shok, 12)
5027
      local mesh = Instance.new("SpecialMesh")
5028
      mesh.MeshType = "FileMesh"
5029
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
5030
      mesh.Scale = Vector3.new(12, 12, 12)
5031
      mesh.Parent = shok
5032
      for e = 1, 15 do
5033
        wait()
5034
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
5035
        shok.Transparency = shok.Transparency + 0.004
5036
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
5037
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
5038
      end
5039
      for e = 1, 16 do
5040
        wait()
5041
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
5042
        shok.Transparency = shok.Transparency + 0.004
5043
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
5044
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
5045
      end
5046
      for e = 1, 12 do
5047
        wait()
5048
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
5049
        shok.Transparency = shok.Transparency + 0.06
5050
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
5051
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
5052
      end
5053
    end))
5054
    coroutine.resume(coroutine.create(function()
5055
      local shok = Instance.new("Part")
5056
      shok.Name = "coil2"
5057
      shok.BrickColor = BrickColor.new("Institutional white")
5058
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
5059
      shok.Size = Vector3.new(1, 1, 1)
5060
      shok.Anchored = true
5061
      shok.Material = "Neon"
5062
      shok.Transparency = 0.25
5063
      shok.CanCollide = false
5064
      shok.Parent = model
5065
      game.Debris:AddItem(shok, 12)
5066
      local mesh = Instance.new("SpecialMesh")
5067
      mesh.MeshType = "FileMesh"
5068
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
5069
      mesh.Scale = Vector3.new(6, 12, 6)
5070
      mesh.Parent = shok
5071
      for e = 1, 15 do
5072
        wait()
5073
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
5074
        shok.Transparency = shok.Transparency + 0.005
5075
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
5076
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
5077
      end
5078
      for e = 1, 16 do
5079
        wait()
5080
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
5081
        shok.Transparency = shok.Transparency + 0.005
5082
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
5083
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
5084
      end
5085
      for e = 1, 12 do
5086
        wait()
5087
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
5088
        shok.Transparency = shok.Transparency + 0.09
5089
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
5090
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
5091
      end
5092
    end))
5093
    coroutine.resume(coroutine.create(function()
5094
      local shok = Instance.new("Part")
5095
      shok.Name = "shokwve"
5096
      shok.BrickColor = BrickColor.new("Institutional white")
5097
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
5098
      shok.Size = Vector3.new(1, 1, 1)
5099
      shok.Anchored = true
5100
      shok.Material = "Neon"
5101
      shok.Transparency = 0.6
5102
      shok.CanCollide = false
5103
      shok.Parent = model
5104
      game.Debris:AddItem(shok, 12)
5105
      local mesh = Instance.new("SpecialMesh")
5106
      mesh.MeshType = "FileMesh"
5107
      mesh.MeshId = "rbxassetid://489415447"
5108
      mesh.Scale = Vector3.new(1, 1, 1)
5109
      mesh.Parent = shok
5110
      for e = 1, 12 do
5111
        wait()
5112
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
5113
        shok.Transparency = shok.Transparency + 0.002
5114
      end
5115
      for e = 1, 32 do
5116
        wait()
5117
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
5118
        shok.Transparency = shok.Transparency + 0.002
5119
      end
5120
      for e = 1, 24 do
5121
        wait()
5122
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
5123
        shok.Transparency = shok.Transparency + 0.03
5124
      end
5125
    end))
5126
    coroutine.resume(coroutine.create(function()
5127
      local shok = Instance.new("Part")
5128
      shok.Name = "shock2"
5129
      shok.BrickColor = BrickColor.new("Institutional white")
5130
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
5131
      shok.Size = Vector3.new(1, 1, 1)
5132
      shok.Anchored = true
5133
      shok.Material = "Neon"
5134
      shok.Transparency = 0.35
5135
      shok.CanCollide = false
5136
      shok.Parent = model
5137
      game.Debris:AddItem(shok, 12)
5138
      local mesh = Instance.new("SpecialMesh")
5139
      mesh.MeshType = "FileMesh"
5140
      mesh.MeshId = "rbxassetid://489415447"
5141
      mesh.Scale = Vector3.new(12, 12, 12)
5142
      mesh.Parent = shok
5143
      for e = 1, 15 do
5144
        wait()
5145
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
5146
        shok.Transparency = shok.Transparency + 0.004
5147
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
5148
      end
5149
      for e = 1, 16 do
5150
        wait()
5151
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
5152
        shok.Transparency = shok.Transparency + 0.004
5153
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
5154
      end
5155
      for e = 1, 12 do
5156
        wait()
5157
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
5158
        shok.Transparency = shok.Transparency + 0.06
5159
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
5160
      end
5161
    end))
5162
    coroutine.resume(coroutine.create(function()
5163
      local shok = Instance.new("Part")
5164
      shok.Name = "shock3"
5165
      shok.BrickColor = BrickColor.new("Institutional white")
5166
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
5167
      shok.Size = Vector3.new(1, 1, 1)
5168
      shok.Anchored = true
5169
      shok.Material = "Neon"
5170
      shok.Transparency = 0.35
5171
      shok.CanCollide = false
5172
      shok.Parent = model
5173
      game.Debris:AddItem(shok, 12)
5174
      local mesh = Instance.new("SpecialMesh")
5175
      mesh.MeshType = "FileMesh"
5176
      mesh.MeshId = "rbxassetid://489415447"
5177
      mesh.Scale = Vector3.new(12, 12, 12)
5178
      mesh.Parent = shok
5179
      for e = 1, 15 do
5180
        wait()
5181
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
5182
        shok.Transparency = shok.Transparency + 0.004
5183
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
5184
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
5185
      end
5186
      for e = 1, 16 do
5187
        wait()
5188
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
5189
        shok.Transparency = shok.Transparency + 0.004
5190
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
5191
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
5192
      end
5193
      for e = 1, 12 do
5194
        wait()
5195
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
5196
        shok.Transparency = shok.Transparency + 0.06
5197
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
5198
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
5199
      end
5200
    end))
5201
  end
5202
5203
5204
5205
				if torso ~= nil then
5206
					game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
5207
		            game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
5208
					for i = 1,5 do
5209
						wait()
5210
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25)
5211
						game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25)
5212
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0)
5213
					end
5214
					sound:Play()
5215
					local bodyVel = Instance.new("BodyPosition", torso)
5216
					bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0)
5217
					bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
5218
					wait(2)
5219
					torso.Anchored = true
5220
					for i = 1,5 do
5221
						wait()
5222
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
5223
						game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
5224
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
5225
					end
5226
					for i = 1,5 do
5227
						wait()
5228
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08)
5229
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0)
5230
					end
5231
					wait(1)
5232
					local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso)
5233
					bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
5234
					bodyvel.Position = torso.Position
5235
					for i = 1,5 do
5236
						wait()
5237
						game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0)
5238
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08)
5239
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0)
5240
					end
5241
					wait(2)
5242
					bodyVel:destroy()
5243
					game.Players.LocalPlayer.Character.Torso.Anchored = true
5244
					torso.Anchored = false
5245
					humanoid.PlatformStand = true
5246
					local bodyVel = Instance.new("BodyPosition", torso)
5247
					bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0)
5248
					bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
5249
					sound2:Play()
5250
					
5251
					wait(1.2)
5252
					game.Players.LocalPlayer.Character.Torso.Anchored = false
5253
                    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
5254
                    game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
5255
                    game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
5256
                    game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
5257
					activu = false
5258
					wait(0.5)
5259
					bodyvel:destroy()
5260
					local ROW3 = function(out, trans, s, wt, t, ang, plus)
5261
					for i = 1, 360, 360/t do
5262
						local c = Instance.new("Part", game.Workspace)
5263
						c.FormFactor = 3
5264
						c.TopSurface = 0
5265
						c.BottomSurface = 0
5266
						c.Size = s
5267
						c.Anchored = true
5268
						c.CanCollide = wt
5269
						c.Material=workspace.Base.Material
5270
						c.Transparency = trans
5271
						c.BrickColor = workspace.Base.BrickColor
5272
						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
5273
						c.Locked=true
5274
						game.Debris:AddItem(c,25)
5275
					end
5276
end
5277
	
5278
	
5279
	
5280
5281
        sound3:Play()
5282
		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)
5283
					game.Players.LocalPlayer.Character.Torso.Anchored = true
5284
					KABOOMZ3()
5285
					wait(0.1)
5286
					
5287
										game.Players.LocalPlayer.Character.Torso.Anchored = false
5288
										game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
5289
					game.Players.LocalPlayer.Character.Humanoid.JumpPower = 250
5290
5291
					
5292
				end
5293
				end
5294
		end
5295
		detect.Touched:connect(attack)
5296
		wait(0.1)
5297
		detect:destroy()
5298
		activu = false
5299
			end
5300
		
5301
5302
5303
  function hito(partoz, magn, dmg, debtim)
5304
    for _, guy in pairs(workspace:GetChildren()) do
5305
      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
5306
        do
5307
          local humz = guy:FindFirstChild("Humanoid")
5308
          local hed = guy:FindFirstChild("Head")
5309
          humz:TakeDamage(dmg)
5310
          local db = Instance.new("StringValue")
5311
          db.Name = "alabo"
5312
          db.Parent = hed
5313
          delay(debtim, function()
5314
            db:Destroy()
5315
          end)
5316
        end
5317
      end
5318
    end
5319
  end
5320
  function animo(yep)
5321
    if yep == true then
5322
      anim.Parent = human
5323
      chr.Animate.Disabled = false
5324
    elseif yep == false then
5325
      chr.Animate.Disabled = true
5326
      anim.Parent = nil
5327
    end
5328
  end
5329
  mouse.KeyDown:connect(function(key)
5330
    if key == "e" then
5331
      rsmash()
5332
    end
5333
    if key == "t" then
5334
      jum()
5335
    end
5336
	if key == "r" then
5337
	  Tele()
5338
	    end
5339
	if key == "q" then
5340
		Stom()
5341
	end
5342
	if key == "f" then
5343
		HeavenSmash()
5344
	end
5345
	if key == "h" then
5346
		rip()
5347
	end
5348
  end)
5349
  tool.Equipped:connect(function()
5350
    selected = true
5351
  end)
5352
  tool.Unequipped:connect(function()
5353
    selected = false
5354
  end)"
5355
Mus.Pitch = 1
5356
Mus.Volume = 90000
5357
Mus.Looped = false
5358
wait(0.9)
5359
Mus:Play()
5360
5361
5362
   
5363
human.WalkSpeed = 0
5364
for i = 0,1,0.1 do
5365
swait()
5366
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
5367
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
5368
RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
5369
LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
5370
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)
5371
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)
5372
end
5373
wait(1)
5374
for i = 0,1,0.1 do
5375
swait()
5376
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
5377
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
5378
RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
5379
LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
5380
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)
5381
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)
5382
end
5383
KickBoom()
5384
so("http://roblox.com/asset/?id=144699494",lleg,2,1.1)	
5385
so("http://roblox.com/asset/?id=321321137",lleg,1,1)
5386
so("http://roblox.com/asset/?id=506384002",lleg,1,1)	
5387
so("http://roblox.com/asset/?id=157878578",lleg,25,1)
5388
so("http://roblox.com/asset/?id=165970126",lleg,25,1)
5389
5390
wait(3)
5391
human.WalkSpeed = 16
5392
pe:Destroy()
5393
pe2:Destroy()
5394
pea:Destroy()
5395
pea2:Destroy()
5396
resetlerp()
5397
activu = false
5398
end
5399
5400
5401
5402
5403
5404
function Smash()
5405
	for i = 1, 15 do
5406
local gtrace = Instance.new("Part",game.Workspace)
5407
gtrace.BrickColor = gprop[1]
5408
gtrace.Material = gprop[2]
5409
gtrace.Size = Vector3.new(19,19,19)
5410
gtrace.Anchored = true
5411
gtrace.CanCollide = false
5412
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)))
5413
local gdisp = coroutine.wrap(function()
5414
wait(7)
5415
for i = 1, 9 do
5416
wait(.1)
5417
gtrace.Transparency = gtrace.Transparency + .1
5418
end
5419
gtrace:Destroy()
5420
end)
5421
gdisp()
5422
end
5423
5424
Crater(head,67)
5425
end
5426
5427
function Smash2()
5428
	for i = 1, 15 do
5429
local gtrace = Instance.new("Part",game.Workspace)
5430
gtrace.BrickColor = gprop[1]
5431
gtrace.Material = gprop[2]
5432
gtrace.Size = Vector3.new(19,19,19)
5433
gtrace.Anchored = true
5434
gtrace.CanCollide = false
5435
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)))
5436
local gdisp = coroutine.wrap(function()
5437
wait(7)
5438
for i = 1, 9 do
5439
wait(.1)
5440
gtrace.Transparency = gtrace.Transparency + .1
5441
end
5442
gtrace:Destroy()
5443
end)
5444
gdisp()
5445
end
5446
5447
end
5448
5449
function Smash3()
5450
	for i = 1, 15 do
5451
local gtrace = Instance.new("Part",game.Workspace)
5452
gtrace.BrickColor = gprop[1]
5453
gtrace.Material = gprop[2]
5454
gtrace.Size = Vector3.new(19,19,19)
5455
gtrace.Anchored = true
5456
gtrace.CanCollide = false
5457
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)))
5458
local gdisp = coroutine.wrap(function()
5459
wait(7)
5460
for i = 1, 9 do
5461
wait(.1)
5462
gtrace.Transparency = gtrace.Transparency + .1
5463
end
5464
gtrace:Destroy()
5465
end)
5466
gdisp()
5467
end
5468
5469
end
5470
5471
5472
function Smash4()
5473
	for i = 1, 15 do
5474
local gtrace = Instance.new("Part",game.Workspace)
5475
gtrace.BrickColor = gprop[1]
5476
gtrace.Material = gprop[2]
5477
gtrace.Size = Vector3.new(19,19,19)
5478
gtrace.Anchored = true
5479
gtrace.CanCollide = false
5480
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)))
5481
local gdisp = coroutine.wrap(function()
5482
wait(7)
5483
for i = 1, 9 do
5484
wait(.1)
5485
gtrace.Transparency = gtrace.Transparency + .1
5486
end
5487
gtrace:Destroy()
5488
end)
5489
gdisp()
5490
end
5491
5492
end
5493
5494
function Smash5()
5495
	for i = 1, 15 do
5496
local gtrace = Instance.new("Part",game.Workspace)
5497
gtrace.BrickColor = gprop[1]
5498
gtrace.Material = gprop[2]
5499
gtrace.Size = Vector3.new(19,19,19)
5500
gtrace.Anchored = true
5501
gtrace.CanCollide = false
5502
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)))
5503
local gdisp = coroutine.wrap(function()
5504
wait(7)
5505
for i = 1, 9 do
5506
wait(.1)
5507
gtrace.Transparency = gtrace.Transparency + .1
5508
end
5509
gtrace:Destroy()
5510
end)
5511
gdisp()
5512
end
5513
5514
end
5515
5516
function Smash6()
5517
	for i = 1, 15 do
5518
local gtrace = Instance.new("Part",game.Workspace)
5519
gtrace.BrickColor = gprop[1]
5520
gtrace.Material = gprop[2]
5521
gtrace.Size = Vector3.new(19,19,19)
5522
gtrace.Anchored = true
5523
gtrace.CanCollide = false
5524
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)))
5525
local gdisp = coroutine.wrap(function()
5526
wait(7)
5527
for i = 1, 9 do
5528
wait(.1)
5529
gtrace.Transparency = gtrace.Transparency + .1
5530
end
5531
gtrace:Destroy()
5532
end)
5533
gdisp()
5534
end
5535
5536
end
5537
5538
5539
	for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do
5540
        if v:FindFirstChild('Humanoid') then
5541
            v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999))
5542
            v.Humanoid.PlatformStand = true
5543
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600
5544
        end
5545
    end 
5546
5547
5548
function HeavenSmash()
5549
	
5550
	
5551
	 if activu == true or selected == false then
5552
      return
5553
	    end
5554
	coroutine.resume(coroutine.create(function()
5555
      fglow(lleg.Glow, 19)
5556
	  fglow(rleg.Glow, 19)
5557
	  fglow(rarm.Glow, 19)
5558
	  fglow(larm.Glow, 19)
5559
	  fglow(head.Glow, 19)
5560
	  fglow(tors.Glow, 19)
5561
    end))
5562
    activu = true
5563
local pe = Instance.new("ParticleEmitter")
5564
    pe.Color = ColorSequence.new(Color3.new(255, 255, 51))
5565
    pe.LightEmission = 0.9
5566
    pe.Size = NumberSequence.new(0.5)
5567
    pe.Texture = "rbxassetid://886346627"
5568
    pe.Transparency = NumberSequence.new(0.1)
5569
    pe.Lifetime = NumberRange.new(0.1)
5570
    pe.Rate = 250
5571
    pe.RotSpeed = NumberRange.new(360)
5572
    pe.Speed = NumberRange.new(3)
5573
    pe.VelocitySpread = 360
5574
    pe.Parent = lleg.Glow
5575
    local pea = pe:Clone()
5576
    pea.Parent = lleg.Glow
5577
    local pe2 = Instance.new("ParticleEmitter")
5578
    pe2.Color = ColorSequence.new(Color3.new(255, 255, 51))
5579
    pe2.LightEmission = 0.9
5580
    pe2.Size = NumberSequence.new(5)
5581
    pe2.Texture = "rbxassetid://886346627"
5582
    pe2.Transparency = NumberSequence.new(0.4)
5583
    pe2.ZOffset = 2
5584
    pe2.Enabled = true
5585
    pe2.LockedToPart = true
5586
    pe2.Lifetime = NumberRange.new(0.07)
5587
    pe2.Rate = 8
5588
    pe2.Rotation = NumberRange.new(0, 360)
5589
    pe2.RotSpeed = NumberRange.new(0)
5590
    pe2.Speed = NumberRange.new(0)
5591
    pe2.VelocitySpread = 180
5592
    pe2.Parent = lleg.Glow
5593
    local pea2 = pe2:Clone()
5594
    pea2.Parent = lleg.Glow
5595
5596
5597
5598
    local pet = Instance.new("ParticleEmitter")
5599
    pet.Color = ColorSequence.new(Color3.new(255, 255, 51))
5600
    pet.LightEmission = 0.9
5601
    pet.Size = NumberSequence.new(0.5)
5602
    pet.Texture = "rbxassetid://886346627"
5603
    pet.Transparency = NumberSequence.new(0.1)
5604
    pet.Lifetime = NumberRange.new(0.1)
5605
    pet.Rate = 1
5606
    pet.RotSpeed = NumberRange.new(360)
5607
    pet.Speed = NumberRange.new(3)
5608
    pet.VelocitySpread = 360
5609
    pet.Parent = rarm.Glow
5610
    local pet2 = Instance.new("ParticleEmitter")
5611
    pet2.Color = ColorSequence.new(Color3.new(255, 255, 51))
5612
    pet2.LightEmission = 0.9
5613
    pet2.Size = NumberSequence.new(5)
5614
    pet2.Texture = "rbxassetid://886346627"
5615
    pet2.Transparency = NumberSequence.new(0.4)
5616
    pet2.ZOffset = 2
5617
    pet2.Enabled = false
5618
    pet2.LockedToPart = true
5619
    pet2.Lifetime = NumberRange.new(0.07)
5620
    pet2.Rate = 8
5621
    pet2.Rotation = NumberRange.new(0, 360)
5622
    pet2.RotSpeed = NumberRange.new(0)
5623
    pet2.Speed = NumberRange.new(0)
5624
    pet2.VelocitySpread = 180
5625
    pet2.Parent = rarm.Glow
5626
5627
    
5628
   
5629
    local petl = Instance.new("ParticleEmitter")
5630
    petl.Color = ColorSequence.new(Color3.new(255, 255, 51))
5631
    petl.LightEmission = 0.9
5632
    petl.Size = NumberSequence.new(0.5)
5633
    petl.Texture = "rbxassetid://886346627"
5634
    petl.Transparency = NumberSequence.new(0.1)
5635
    petl.Lifetime = NumberRange.new(0.1)
5636
    petl.Rate = 1
5637
    petl.RotSpeed = NumberRange.new(360)
5638
    petl.Speed = NumberRange.new(3)
5639
    petl.VelocitySpread = 360
5640
    petl.Parent = larm.Glow
5641
    local petl2 = Instance.new("ParticleEmitter")
5642
    petl2.Color = ColorSequence.new(Color3.new(255, 255, 51))
5643
    petl2.LightEmission = 0.9
5644
    petl2.Size = NumberSequence.new(5)
5645
    petl2.Texture = "rbxassetid://886346627"
5646
    petl2.Transparency = NumberSequence.new(0.4)
5647
    petl2.ZOffset = 2
5648
    petl2.Enabled = false
5649
    petl2.LockedToPart = true
5650
    petl2.Lifetime = NumberRange.new(0.07)
5651
    petl2.Rate = 8
5652
    petl2.Rotation = NumberRange.new(0, 360)
5653
    petl2.RotSpeed = NumberRange.new(0)
5654
    petl2.Speed = NumberRange.new(0)
5655
    petl2.VelocitySpread = 180
5656
    petl2.Parent = larm.Glow
5657
5658
   
5659
   local petl3 = Instance.new("ParticleEmitter")
5660
    petl3.Color = ColorSequence.new(Color3.new(255, 255, 51))
5661
    petl3.LightEmission = 0.9
5662
    petl3.Size = NumberSequence.new(0.5)
5663
    petl3.Texture = "rbxassetid://886346627"
5664
    petl3.Transparency = NumberSequence.new(0.1)
5665
    petl3.Lifetime = NumberRange.new(0.1)
5666
    petl3.Rate = 1
5667
    petl3.RotSpeed = NumberRange.new(360)
5668
    petl3.Speed = NumberRange.new(3)
5669
    petl3.VelocitySpread = 360
5670
    petl3.Parent = head.Glow
5671
    local petl23 = Instance.new("ParticleEmitter")
5672
    petl23.Color = ColorSequence.new(Color3.new(255, 255, 51))
5673
    petl23.LightEmission = 0.9
5674
    petl23.Size = NumberSequence.new(5)
5675
    petl23.Texture = "rbxassetid://886346627"
5676
    petl23.Transparency = NumberSequence.new(0.4)
5677
    petl23.ZOffset = 2
5678
    petl23.Enabled = false
5679
    petl23.LockedToPart = true
5680
    petl23.Lifetime = NumberRange.new(0.07)
5681
    petl23.Rate = 8
5682
    petl23.Rotation = NumberRange.new(0, 360)
5683
    petl23.RotSpeed = NumberRange.new(0)
5684
    petl23.Speed = NumberRange.new(0)
5685
    petl23.VelocitySpread = 180
5686
    petl23.Parent = head.Glow
5687
5688
5689
5690
local petl34 = Instance.new("ParticleEmitter")
5691
    petl34.Color = ColorSequence.new(Color3.new(255, 255, 51))
5692
    petl34.LightEmission = 0.9
5693
    petl34.Size = NumberSequence.new(0.5)
5694
    petl34.Texture = "rbxassetid://886346627"
5695
    petl34.Transparency = NumberSequence.new(0.1)
5696
    petl34.Lifetime = NumberRange.new(0.1)
5697
    petl34.Rate = 1
5698
    petl34.RotSpeed = NumberRange.new(360)
5699
    petl34.Speed = NumberRange.new(3)
5700
    petl34.VelocitySpread = 360
5701
    petl34.Parent = rleg.Glow
5702
    local petl234 = Instance.new("ParticleEmitter")
5703
    petl234.Color = ColorSequence.new(Color3.new(255, 255, 51))
5704
    petl234.LightEmission = 0.9
5705
    petl234.Size = NumberSequence.new(5)
5706
    petl234.Texture = "rbxassetid://886346627"
5707
    petl234.Transparency = NumberSequence.new(0.4)
5708
    petl234.ZOffset = 2
5709
    petl234.Enabled = false
5710
    petl234.LockedToPart = true
5711
    petl234.Rate = 8
5712
    petl234.Rotation = NumberRange.new(0, 360)
5713
    petl234.RotSpeed = NumberRange.new(0)
5714
    petl234.Speed = NumberRange.new(0)
5715
    petl234.VelocitySpread = 180
5716
    petl234.Parent = rleg.Glow
5717
5718
5719
local petl345 = Instance.new("ParticleEmitter")
5720
    petl345.Color = ColorSequence.new(Color3.new(255, 255, 51))
5721
    petl345.LightEmission = 0.9
5722
    petl345.Size = NumberSequence.new(0.5)
5723
    petl345.Texture = "rbxassetid://886346627"
5724
    petl345.Transparency = NumberSequence.new(0.1)
5725
    petl345.Lifetime = NumberRange.new(0.1)
5726
    petl345.Rate = 1
5727
    petl345.RotSpeed = NumberRange.new(360)
5728
    petl345.Speed = NumberRange.new(3)
5729
    petl345.VelocitySpread = 360
5730
    petl345.Parent = tors.Glow
5731
    local petl2345 = Instance.new("ParticleEmitter")
5732
    petl2345.Color = ColorSequence.new(Color3.new(255, 255, 51))
5733
    petl2345.LightEmission = 0.9
5734
    petl2345.Size = NumberSequence.new(5)
5735
    petl2345.Texture = "rbxassetid://886346627"
5736
    petl2345.Transparency = NumberSequence.new(0.4)
5737
    petl2345.ZOffset = 2
5738
    petl2345.Enabled = false
5739
    petl2345.LockedToPart = true
5740
    petl2345.Rate = 8
5741
    petl2345.Rotation = NumberRange.new(0, 360)
5742
    petl2345.RotSpeed = NumberRange.new(0)
5743
    petl2345.Speed = NumberRange.new(0)
5744
    petl2345.VelocitySpread = 180
5745
    petl2345.Parent = tors.Glow
5746
human.WalkSpeed = 0
5747
so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5)
5748
so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5)
5749
for l = 1, 30 do
5750
      swait()
5751
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
5752
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
5753
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
5754
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
5755
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
5756
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
5757
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
5758
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
5759
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
5760
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
5761
	    end
5762
5763
5764
resetlerp()
5765
5766
 BV = Instance.new("BodyVelocity", tors)
5767
        BV.maxForce = Vector3.new(0,200000,0)
5768
        BV.P = 100000
5769
        BV.velocity = Vector3.new(0,150,0)
5770
local rng = Instance.new("Part", chr)
5771
        rng.Anchored = true
5772
        rng.BrickColor = BrickColor.new("Institutional white")
5773
        rng.CanCollide = false
5774
        rng.FormFactor = 3
5775
        rng.Name = "Ring"
5776
        rng.Size = Vector3.new(1, 1, 1)
5777
        rng.Transparency = 0.5
5778
        rng.TopSurface = 0
5779
        rng.BottomSurface = 0
5780
        rng.Position = tors.Position - Vector3.new(0,2,0)
5781
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
5782
        local rngm = Instance.new("SpecialMesh", rng)
5783
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
5784
        rngm.Scale = Vector3.new(10, 10, 20)
5785
            x = Instance.new("Sound",tors)
5786
            x.SoundId = "http://www.roblox.com/asset/?id=169445602"
5787
            x.Looped = false
5788
            x.Pitch = .7
5789
            x.Volume = 30
5790
            x:Play()
5791
                coroutine.wrap(function()
5792
                for i = 1, 60, 8 do
5793
                rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10)
5794
                rng.Transparency = i/60
5795
                wait()
5796
                end
5797
                wait()
5798
                rng:Destroy()
5799
                end)()
5800
wait(2.6)
5801
BV:Destroy()
5802
tors.Anchored = true
5803
wait(3.2)
5804
tors.Anchored = false
5805
BV = Instance.new("BodyVelocity", tors)
5806
        BV.maxForce = Vector3.new(0,-20000,0)
5807
        BV.P = 1000
5808
        BV.velocity = Vector3.new(0,-150,0)
5809
wait(1)
5810
BV:Destroy()
5811
wait(0.01)
5812
5813
human.WalkSpeed = 0
5814
    boom3:Play()
5815
5816
Smash()
5817
Smash2()
5818
Smash3()
5819
Ring()
5820
pe:Destroy()
5821
pea:Destroy()
5822
pea2:Destroy()
5823
pe2:Destroy()
5824
wait(2)
5825
human.WalkSpeed = 16
5826
	activu = false
5827
end
5828
5829
5830
5831
sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
5832
sound.SoundId = "rbxassetid://220025776"
5833
sound.Volume = 6
5834
5835
sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"])
5836
sound2.SoundId = "rbxassetid://386946017"
5837
sound2.Volume = 6
5838
5839
sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character)
5840
sound3.SoundId = "rbxassetid://165969964"
5841
sound3.Volume = 6
5842
5843
function rip()
5844
		activu = true
5845
		local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
5846
		detect.Size = Vector3.new(1,1,1)
5847
		detect:BreakJoints()
5848
		detect.CanCollide = false
5849
		local weld = Instance.new("Weld", detect)
5850
		weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
5851
		weld.Part1 = detect
5852
		weld.C0 = weld.C0 * CFrame.new(0,-1,0)
5853
		
5854
		
5855
		
5856
		local function attack(prt)
5857
			local humanoid = prt.Parent:findFirstChild("Humanoid")
5858
			if humanoid ~= nil then
5859
				local torso = prt.Parent:findFirstChild("Torso")
5860
				
5861
				
5862
				
5863
				
5864
				
5865
				
5866
				
5867
				function KABOOMZ3()
5868
    local effspwn = Instance.new("Part")
5869
    coroutine.resume(coroutine.create(function()
5870
      local sound1 = Instance.new("Sound")
5871
      sound1.SoundId = "rbxassetid://887457845"
5872
      sound1.MaxDistance = 300
5873
      sound1.EmitterSize = 20
5874
      sound1.Volume = 2.5
5875
      sound1.Pitch = 0.65
5876
      sound1.Parent = effspwn
5877
      local sound2 = Instance.new("Sound")
5878
      sound2.SoundId = "rbxassetid://157878578"
5879
      sound2.MaxDistance = 300
5880
      sound2.EmitterSize = 20
5881
      sound2.Volume = 1
5882
      sound2.Pitch = 0.7
5883
      sound2.Parent = effspwn
5884
      local sound3 = Instance.new("Sound")
5885
      sound3.SoundId = "rbxassetid://138250406"
5886
      sound2.MaxDistance = 400
5887
      sound2.EmitterSize = 30
5888
      sound2.Volume = 0.5
5889
      sound2.Pitch = 0.5
5890
      sound2.Parent = effspwn
5891
      sound2:Play()
5892
      wait()
5893
      sound1:Play()
5894
      sound3:Play()
5895
    end))
5896
    local model = Instance.new("Model")
5897
    game.Debris:AddItem(model, 20)
5898
    model.Name = "smasheffects"
5899
    model.Parent = workspace
5900
    effspwn.Name = "spwnr"
5901
    effspwn.Size = Vector3.new(1, 1, 1)
5902
    effspwn.Anchored = true
5903
    effspwn.CanCollide = false
5904
    effspwn.Transparency = 1
5905
    effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0)
5906
    effspwn.Parent = model
5907
5908
5909
5910
5911
5912
Crater(head,60)
5913
Crater(head,120)
5914
5915
    for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
5916
        if v:FindFirstChild('Humanoid') then
5917
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
5918
            v.Humanoid.PlatformStand = true
5919
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
5920
        end
5921
    end 
5922
5923
    coroutine.resume(coroutine.create(function()
5924
      local shok = Instance.new("Part")
5925
      shok.Name = "whoosh"
5926
      shok.BrickColor = BrickColor.new("Institutional white")
5927
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
5928
      shok.Size = Vector3.new(1, 1, 1)
5929
      shok.Anchored = true
5930
      shok.Material = "Neon"
5931
      shok.Transparency = 0.1
5932
      shok.CanCollide = false
5933
      shok.Parent = model
5934
      game.Debris:AddItem(shok, 12)
5935
      local mesh = Instance.new("SpecialMesh")
5936
      mesh.MeshType = "FileMesh"
5937
      mesh.MeshId = "rbxassetid://437347603"
5938
      mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
5939
      mesh.Parent = shok
5940
5941
5942
5943
5944
5945
      for e = 1, 8 do
5946
        wait()
5947
        mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
5948
        shok.Transparency = shok.Transparency + 0.035
5949
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
5950
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
5951
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
5952
5953
      end
5954
      for e = 1, 16 do
5955
        wait()
5956
        mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
5957
        shok.Transparency = shok.Transparency + 0.11
5958
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
5959
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
5960
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
5961
5962
      end
5963
    end))
5964
    coroutine.resume(coroutine.create(function()
5965
      local shok = Instance.new("Part")
5966
      shok.Name = "wring1"
5967
      shok.BrickColor = BrickColor.new("Institutional white")
5968
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
5969
      shok.Size = Vector3.new(1, 1, 1)
5970
      shok.Anchored = true
5971
      shok.Material = "Neon"
5972
      shok.Transparency = 0.25
5973
      shok.CanCollide = false
5974
      shok.Parent = model
5975
      game.Debris:AddItem(shok, 12)
5976
      local mesh = Instance.new("SpecialMesh")
5977
      mesh.MeshType = "FileMesh"
5978
      mesh.MeshId = "rbxassetid://3270017"
5979
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
5980
      mesh.Parent = shok
5981
      for e = 1, 30 do
5982
        wait()
5983
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
5984
        shok.Transparency = shok.Transparency + 0.002
5985
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
5986
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
5987
      end
5988
      for e = 1, 38 do
5989
        wait()
5990
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
5991
        shok.Transparency = shok.Transparency + 0.002
5992
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
5993
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
5994
      end
5995
      for e = 1, 24 do
5996
        wait()
5997
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
5998
        shok.Transparency = shok.Transparency + 0.03
5999
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
6000
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
6001
      end
6002
    end))
6003
    coroutine.resume(coroutine.create(function()
6004
      local shok = Instance.new("Part")
6005
      shok.Name = "wring2"
6006
      shok.BrickColor = BrickColor.new("Institutional white")
6007
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
6008
      shok.Size = Vector3.new(1, 1, 1)
6009
      shok.Anchored = true
6010
      shok.Material = "Neon"
6011
      shok.Transparency = 0.25
6012
      shok.CanCollide = false
6013
      shok.Parent = model
6014
      game.Debris:AddItem(shok, 12)
6015
      local mesh = Instance.new("SpecialMesh")
6016
      mesh.MeshType = "FileMesh"
6017
      mesh.MeshId = "rbxassetid://3270017"
6018
      mesh.Scale = Vector3.new(12, 12, 0.05)
6019
      mesh.Parent = shok
6020
      for e = 1, 30 do
6021
        wait()
6022
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
6023
        shok.Transparency = shok.Transparency + 0.002
6024
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
6025
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
6026
      end
6027
      for e = 1, 38 do
6028
        wait()
6029
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
6030
        shok.Transparency = shok.Transparency + 0.002
6031
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
6032
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
6033
      end
6034
      for e = 1, 24 do
6035
        wait()
6036
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
6037
        shok.Transparency = shok.Transparency + 0.03
6038
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
6039
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
6040
      end
6041
    end))
6042
    coroutine.resume(coroutine.create(function()
6043
      local shok = Instance.new("Part")
6044
      shok.Name = "coil1"
6045
      shok.BrickColor = BrickColor.new("Institutional white")
6046
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
6047
      shok.Size = Vector3.new(1, 1, 1)
6048
      shok.Anchored = true
6049
      shok.Material = "Neon"
6050
      shok.Transparency = 0.25
6051
      shok.CanCollide = false
6052
      shok.Parent = model
6053
      game.Debris:AddItem(shok, 12)
6054
      local mesh = Instance.new("SpecialMesh")
6055
      mesh.MeshType = "FileMesh"
6056
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
6057
      mesh.Scale = Vector3.new(12, 12, 12)
6058
      mesh.Parent = shok
6059
      for e = 1, 15 do
6060
        wait()
6061
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
6062
        shok.Transparency = shok.Transparency + 0.004
6063
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
6064
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
6065
      end
6066
      for e = 1, 16 do
6067
        wait()
6068
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
6069
        shok.Transparency = shok.Transparency + 0.004
6070
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
6071
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
6072
      end
6073
      for e = 1, 12 do
6074
        wait()
6075
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
6076
        shok.Transparency = shok.Transparency + 0.06
6077
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
6078
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
6079
      end
6080
    end))
6081
    coroutine.resume(coroutine.create(function()
6082
      local shok = Instance.new("Part")
6083
      shok.Name = "coil2"
6084
      shok.BrickColor = BrickColor.new("Institutional white")
6085
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
6086
      shok.Size = Vector3.new(1, 1, 1)
6087
      shok.Anchored = true
6088
      shok.Material = "Neon"
6089
      shok.Transparency = 0.25
6090
      shok.CanCollide = false
6091
      shok.Parent = model
6092
      game.Debris:AddItem(shok, 12)
6093
      local mesh = Instance.new("SpecialMesh")
6094
      mesh.MeshType = "FileMesh"
6095
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
6096
      mesh.Scale = Vector3.new(6, 12, 6)
6097
      mesh.Parent = shok
6098
      for e = 1, 15 do
6099
        wait()
6100
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
6101
        shok.Transparency = shok.Transparency + 0.005
6102
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
6103
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
6104
      end
6105
      for e = 1, 16 do
6106
        wait()
6107
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
6108
        shok.Transparency = shok.Transparency + 0.005
6109
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
6110
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
6111
      end
6112
      for e = 1, 12 do
6113
        wait()
6114
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
6115
        shok.Transparency = shok.Transparency + 0.09
6116
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
6117
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
6118
      end
6119
    end))
6120
    coroutine.resume(coroutine.create(function()
6121
      local shok = Instance.new("Part")
6122
      shok.Name = "shokwve"
6123
      shok.BrickColor = BrickColor.new("Institutional white")
6124
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
6125
      shok.Size = Vector3.new(1, 1, 1)
6126
      shok.Anchored = true
6127
      shok.Material = "Neon"
6128
      shok.Transparency = 0.6
6129
      shok.CanCollide = false
6130
      shok.Parent = model
6131
      game.Debris:AddItem(shok, 12)
6132
      local mesh = Instance.new("SpecialMesh")
6133
      mesh.MeshType = "FileMesh"
6134
      mesh.MeshId = "rbxassetid://489415447"
6135
      mesh.Scale = Vector3.new(1, 1, 1)
6136
      mesh.Parent = shok
6137
      for e = 1, 12 do
6138
        wait()
6139
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
6140
        shok.Transparency = shok.Transparency + 0.002
6141
      end
6142
      for e = 1, 32 do
6143
        wait()
6144
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
6145
        shok.Transparency = shok.Transparency + 0.002
6146
      end
6147
      for e = 1, 24 do
6148
        wait()
6149
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
6150
        shok.Transparency = shok.Transparency + 0.03
6151
      end
6152
    end))
6153
    coroutine.resume(coroutine.create(function()
6154
      local shok = Instance.new("Part")
6155
      shok.Name = "shock2"
6156
      shok.BrickColor = BrickColor.new("Institutional white")
6157
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
6158
      shok.Size = Vector3.new(1, 1, 1)
6159
      shok.Anchored = true
6160
      shok.Material = "Neon"
6161
      shok.Transparency = 0.35
6162
      shok.CanCollide = false
6163
      shok.Parent = model
6164
      game.Debris:AddItem(shok, 12)
6165
      local mesh = Instance.new("SpecialMesh")
6166
      mesh.MeshType = "FileMesh"
6167
      mesh.MeshId = "rbxassetid://489415447"
6168
      mesh.Scale = Vector3.new(12, 12, 12)
6169
      mesh.Parent = shok
6170
      for e = 1, 15 do
6171
        wait()
6172
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
6173
        shok.Transparency = shok.Transparency + 0.004
6174
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
6175
      end
6176
      for e = 1, 16 do
6177
        wait()
6178
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
6179
        shok.Transparency = shok.Transparency + 0.004
6180
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
6181
      end
6182
      for e = 1, 12 do
6183
        wait()
6184
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
6185
        shok.Transparency = shok.Transparency + 0.06
6186
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
6187
      end
6188
    end))
6189
    coroutine.resume(coroutine.create(function()
6190
      local shok = Instance.new("Part")
6191
      shok.Name = "shock3"
6192
      shok.BrickColor = BrickColor.new("Institutional white")
6193
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
6194
      shok.Size = Vector3.new(1, 1, 1)
6195
      shok.Anchored = true
6196
      shok.Material = "Neon"
6197
      shok.Transparency = 0.35
6198
      shok.CanCollide = false
6199
      shok.Parent = model
6200
      game.Debris:AddItem(shok, 12)
6201
      local mesh = Instance.new("SpecialMesh")
6202
      mesh.MeshType = "FileMesh"
6203
      mesh.MeshId = "rbxassetid://489415447"
6204
      mesh.Scale = Vector3.new(12, 12, 12)
6205
      mesh.Parent = shok
6206
      for e = 1, 15 do
6207
        wait()
6208
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
6209
        shok.Transparency = shok.Transparency + 0.004
6210
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
6211
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
6212
      end
6213
      for e = 1, 16 do
6214
        wait()
6215
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
6216
        shok.Transparency = shok.Transparency + 0.004
6217
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
6218
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
6219
      end
6220
      for e = 1, 12 do
6221
        wait()
6222
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
6223
        shok.Transparency = shok.Transparency + 0.06
6224
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
6225
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
6226
      end
6227
    end))
6228
  end
6229
6230
6231
6232
				if torso ~= nil then
6233
					game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
6234
		            game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
6235
					for i = 1,5 do
6236
						wait()
6237
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25)
6238
						game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25)
6239
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0)
6240
					end
6241
					sound:Play()
6242
					local bodyVel = Instance.new("BodyPosition", torso)
6243
					bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0)
6244
					bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
6245
					wait(2)
6246
					torso.Anchored = true
6247
					for i = 1,5 do
6248
						wait()
6249
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
6250
						game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
6251
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
6252
					end
6253
					for i = 1,5 do
6254
						wait()
6255
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08)
6256
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0)
6257
					end
6258
					wait(1)
6259
					local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso)
6260
					bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
6261
					bodyvel.Position = torso.Position
6262
					for i = 1,5 do
6263
						wait()
6264
						game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0)
6265
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08)
6266
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0)
6267
					end
6268
					wait(2)
6269
					bodyVel:destroy()
6270
					game.Players.LocalPlayer.Character.Torso.Anchored = true
6271
					torso.Anchored = false
6272
					humanoid.PlatformStand = true
6273
					local bodyVel = Instance.new("BodyPosition", torso)
6274
					bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0)
6275
					bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
6276
					sound2:Play()
6277
					
6278
					wait(1.2)
6279
					game.Players.LocalPlayer.Character.Torso.Anchored = false
6280
                    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
6281
                    game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
6282
                    game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
6283
                    game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
6284
					activu = false
6285
					wait(0.5)
6286
					bodyvel:destroy()
6287
					local ROW3 = function(out, trans, s, wt, t, ang, plus)
6288
					for i = 1, 360, 360/t do
6289
						local c = Instance.new("Part", game.Workspace)
6290
						c.FormFactor = 3
6291
						c.TopSurface = 0
6292
						c.BottomSurface = 0
6293
						c.Size = s
6294
						c.Anchored = true
6295
						c.CanCollide = wt
6296
						c.Material=workspace.Base.Material
6297
						c.Transparency = trans
6298
						c.BrickColor = workspace.Base.BrickColor
6299
						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
6300
						c.Locked=true
6301
						game.Debris:AddItem(c,25)
6302
					end
6303
end
6304
	
6305
	
6306
	
6307
6308
        sound3:Play()
6309
		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)
6310
					game.Players.LocalPlayer.Character.Torso.Anchored = true
6311
					KABOOMZ3()
6312
					wait(0.1)
6313
					
6314
										game.Players.LocalPlayer.Character.Torso.Anchored = false
6315
										game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
6316
					game.Players.LocalPlayer.Character.Humanoid.JumpPower = 250
6317
6318
					
6319
				end
6320
				end
6321
		end
6322
		detect.Touched:connect(attack)
6323
		wait(0.1)
6324
		detect:destroy()
6325
		activu = false
6326
			end
6327
		
6328
6329
6330
  function hito(partoz, magn, dmg, debtim)
6331
    for _, guy in pairs(workspace:GetChildren()) do
6332
      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
6333
        do
6334
          local humz = guy:FindFirstChild("Humanoid")
6335
          local hed = guy:FindFirstChild("Head")
6336
          humz:TakeDamage(dmg)
6337
          local db = Instance.new("StringValue")
6338
          db.Name = "alabo"
6339
          db.Parent = hed
6340
          delay(debtim, function()
6341
            db:Destroy()
6342
          end)
6343
        end
6344
      end
6345
    end
6346
  end
6347
  function animo(yep)
6348
    if yep == true then
6349
      anim.Parent = human
6350
      chr.Animate.Disabled = false
6351
    elseif yep == false then
6352
      chr.Animate.Disabled = true
6353
      anim.Parent = nil
6354
    end
6355
  end
6356
  mouse.KeyDown:connect(function(key)
6357
    if key == "e" then
6358
      rsmash()
6359
    end
6360
    if key == "t" then
6361
      jum()
6362
    end
6363
	if key == "r" then
6364
	  Tele()
6365
	    end
6366
	if key == "q" then
6367
		Stom()
6368
	end
6369
	if key == "f" then
6370
		HeavenSmash()
6371
	end
6372
	if key == "h" then
6373
		rip()
6374
	end
6375
  end)
6376
  tool.Equipped:connect(function()
6377
    selected = true
6378
  end)
6379
  tool.Unequipped:connect(function()
6380
    selected = false
6381
  end)