View difference between Paste ID: ze0XdSL6 and 776hGafx
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 = "OFA"
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("Cyan")
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("Cyan")
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://789575203"
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(4, 175, 236))
261
    pe.LightEmission = 0.9
262
    pe.Size = NumberSequence.new(0.5)
263
    pe.Texture = "rbxassetid://272050333"
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(4, 175, 236))
273
    pe2.LightEmission = 0.9
274
    pe2.Size = NumberSequence.new(5)
275
    pe2.Texture = "rbxassetid://516107903"
276
    pe2.Transparency = NumberSequence.new(0.3)
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
	game:GetService("Chat"):Chat(plr.Character.Head, "Texas...")
288
    for _ = 1, 45 do
289
	  swait()
290
      lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
291
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
292
      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)
293
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
294
      lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
295
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
296
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
297
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
298
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
299
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
300
      pe.Rate = pe.Rate + 25
301
    end
302
    pe2.Enabled = true
303
    pe.Speed = NumberRange.new(10)
304
    for _ = 1, 30 do
305
      swait()
306
      lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
307
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
308
      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)
309
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
310
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
311
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
312
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
313
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
314
315
    end
316
    for l = 1, 3 do
317
      swait()
318
      lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
319
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
320
      lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
321
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
322
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
323
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
324
      lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
325
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
326
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
327
    end
328
    pe:Destroy()
329
    pe2:Destroy()
330-
    rarm.Glow.smok.Enabled = true
330+
331
	game:GetService("Chat"):Chat(plr.Character.Head, "SMASH!")
332
	rarm.Glow.smok.Enabled = true
333
    for _ = 1, 8 do
334
      swait()
335
      lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8)
336
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8)
337
      lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8)
338
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8)
339
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8)
340
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8)
341
      lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8)
342
      lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8)
343
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8)
344
    end
345
    wait(1.5)
346
    animo(true)
347
    human.WalkSpeed = human.WalkSpeed + 13
348
    for _ = 1, 24 do
349
      swait()
350
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
351
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
352
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
353
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
354
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
355
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
356
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
357
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
358
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
359
    end
360
    resetlerp()
361
    rarm.Glow.smok.Enabled = false
362
    activu = false
363
  end
364
365
366
367
368
local debris=game:service"Debris"
369
vt = Vector3.new
370
bc = BrickColor.new
371
372
373
374
375
376
377
378
379
380
381
382
383
function Ring()
384
	
385
	
386
	local effspwn = Instance.new("Part")      
387
    local model = Instance.new("Model")
388
    game.Debris:AddItem(model, 20)
389
    model.Name = "smasheffects"
390
    model.Parent = workspace
391
    effspwn.Name = "spwnr"
392
    effspwn.Size = Vector3.new(1, 1, 1)
393
    effspwn.Anchored = true
394
    effspwn.CanCollide = false
395
    effspwn.Transparency = 1
396
    effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
397
    effspwn.Parent = model
398
399
 for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
400
        if v:FindFirstChild('Humanoid') then
401
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
402
            v.Humanoid.PlatformStand = true
403
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
404
        end
405
    end 
406
	coroutine.resume(coroutine.create(function()
407
      local shok = Instance.new("Part")
408
      shok.Name = "wring1"
409
      shok.BrickColor = BrickColor.new("Institutional white")
410
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
411
      shok.Size = Vector3.new(1, 1, 1)
412
      shok.Anchored = true
413
      shok.Material = "Neon"
414
      shok.Transparency = 0.25
415
      shok.CanCollide = false
416
      shok.Parent = model
417
      game.Debris:AddItem(shok, 12)
418
      local mesh = Instance.new("SpecialMesh")
419
      mesh.MeshType = "FileMesh"
420
      mesh.MeshId = "rbxassetid://3270017"
421
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
422
      mesh.Parent = shok
423
      for e = 1, 30 do
424
        wait()
425
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
426
        shok.Transparency = shok.Transparency + 0.002
427
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
428
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
429
      end
430
      for e = 1, 38 do
431
        wait()
432
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
433
        shok.Transparency = shok.Transparency + 0.002
434
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
435
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
436
      end
437
      for e = 1, 24 do
438
        wait()
439
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
440
        shok.Transparency = shok.Transparency + 0.03
441
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
442
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
443
      end
444
    end))
445
    coroutine.resume(coroutine.create(function()
446
      local shok = Instance.new("Part")
447
      shok.Name = "wring2"
448
      shok.BrickColor = BrickColor.new("Institutional white")
449
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
450
      shok.Size = Vector3.new(1, 1, 1)
451
      shok.Anchored = true
452
      shok.Material = "Neon"
453
      shok.Transparency = 0.25
454
      shok.CanCollide = false
455
      shok.Parent = model
456
      game.Debris:AddItem(shok, 12)
457
      local mesh = Instance.new("SpecialMesh")
458
      mesh.MeshType = "FileMesh"
459
      mesh.MeshId = "rbxassetid://3270017"
460
      mesh.Scale = Vector3.new(12, 12, 0.05)
461
      mesh.Parent = shok
462
      for e = 1, 30 do
463
        wait()
464
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
465
        shok.Transparency = shok.Transparency + 0.002
466
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
467
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
468
      end
469
      for e = 1, 38 do
470
        wait()
471
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
472
        shok.Transparency = shok.Transparency + 0.002
473
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
474
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
475
      end
476
      for e = 1, 24 do
477
        wait()
478
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
479
        shok.Transparency = shok.Transparency + 0.03
480
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
481
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
482
      end
483
    end))
484
485
coroutine.resume(coroutine.create(function()
486
      local shok = Instance.new("Part")
487
      shok.Name = "shokwve"
488
      shok.BrickColor = BrickColor.new("Institutional white")
489
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
490
      shok.Size = Vector3.new(1, 1, 1)
491
      shok.Anchored = true
492
      shok.Material = "Neon"
493
      shok.Transparency = 0.6
494
      shok.CanCollide = false
495
      shok.Parent = model
496
      game.Debris:AddItem(shok, 12)
497
      local mesh = Instance.new("SpecialMesh")
498
      mesh.MeshType = "FileMesh"
499
      mesh.MeshId = "rbxassetid://489415447"
500
      mesh.Scale = Vector3.new(1, 1, 1)
501
      mesh.Parent = shok
502
      for e = 1, 12 do
503
        wait()
504
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
505
        shok.Transparency = shok.Transparency + 0.002
506
      end
507
      for e = 1, 32 do
508
        wait()
509
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
510
        shok.Transparency = shok.Transparency + 0.002
511
      end
512
      for e = 1, 24 do
513
        wait()
514
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
515
        shok.Transparency = shok.Transparency + 0.03
516
      end
517
    end))
518
    coroutine.resume(coroutine.create(function()
519
      local shok = Instance.new("Part")
520
      shok.Name = "shock2"
521
      shok.BrickColor = BrickColor.new("Institutional white")
522
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
523
      shok.Size = Vector3.new(1, 1, 1)
524
      shok.Anchored = true
525
      shok.Material = "Neon"
526
      shok.Transparency = 0.35
527
      shok.CanCollide = false
528
      shok.Parent = model
529
      game.Debris:AddItem(shok, 12)
530
      local mesh = Instance.new("SpecialMesh")
531
      mesh.MeshType = "FileMesh"
532
      mesh.MeshId = "rbxassetid://489415447"
533
      mesh.Scale = Vector3.new(12, 12, 12)
534
      mesh.Parent = shok
535
      for e = 1, 15 do
536
        wait()
537
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
538
        shok.Transparency = shok.Transparency + 0.004
539
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
540
      end
541
      for e = 1, 16 do
542
        wait()
543
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
544
        shok.Transparency = shok.Transparency + 0.004
545
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
546
      end
547
      for e = 1, 12 do
548
        wait()
549
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
550
        shok.Transparency = shok.Transparency + 0.06
551
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
552
      end
553
    end))
554
    coroutine.resume(coroutine.create(function()
555
      local shok = Instance.new("Part")
556
      shok.Name = "shock3"
557
      shok.BrickColor = BrickColor.new("Institutional white")
558
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
559
      shok.Size = Vector3.new(1, 1, 1)
560
      shok.Anchored = true
561
      shok.Material = "Neon"
562
      shok.Transparency = 0.35
563
      shok.CanCollide = false
564
      shok.Parent = model
565
      game.Debris:AddItem(shok, 12)
566
      local mesh = Instance.new("SpecialMesh")
567
      mesh.MeshType = "FileMesh"
568
      mesh.MeshId = "rbxassetid://489415447"
569
      mesh.Scale = Vector3.new(12, 12, 12)
570
      mesh.Parent = shok
571
      for e = 1, 15 do
572
        wait()
573
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
574
        shok.Transparency = shok.Transparency + 0.004
575
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
576
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
577
      end
578
      for e = 1, 16 do
579
        wait()
580
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
581
        shok.Transparency = shok.Transparency + 0.004
582
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
583
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
584
      end
585
      for e = 1, 12 do
586
        wait()
587
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
588
        shok.Transparency = shok.Transparency + 0.06
589
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
590
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
591
      end
592
    end))
593
    
594
end
595
function Landing()
596
	
597
	
598
	
599
	
600
	
601
	
602
	ROW = function(out, trans, s, wt, t, ang, plus)
603
					for i = 1, 360, 360/t do
604
						local c = Instance.new("Part", game.Workspace)
605
						c.FormFactor = 3
606
						c.TopSurface = 0
607
						c.BottomSurface = 0
608
						c.Size = s
609
						c.Anchored = true
610
						c.CanCollide = wt
611
						c.Material=workspace.Base.Material
612
						c.Transparency = trans
613
						c.BrickColor = workspace.Base.BrickColor
614
						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
615
						c.Locked=true
616
						game.Debris:AddItem(c,15)
617
					end
618
end
619
	
620
	
621
	
622
623
624
		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)
625
Ring()
626
627
628
629
630
631
end	
632
633
634
635
636
637
638
639
function newRay(start,face,range,wat)
640
	local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
641
	hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
642
	return rey,hit,pos
643
end
644
645
646
647
	
648
  function jum()
649
    if activu == true or selected == false then
650
      return
651
    end
652
    coroutine.resume(coroutine.create(function()
653
      fglow(rleg.Glow, 1)
654
      fglow(lleg.Glow, 1)
655
    end))
656
    activu = true
657
    human.WalkSpeed = human.WalkSpeed - 13
658
    local pe = Instance.new("ParticleEmitter")
659
    pe.Color = ColorSequence.new(Color3.new(4, 175, 236))
660
    pe.LightEmission = 0.9
661
    pe.Size = NumberSequence.new(0.5)
662
    pe.Texture = "rbxassetid://272050333"
663
    pe.Transparency = NumberSequence.new(0.1)
664
    pe.Lifetime = NumberRange.new(0.1)
665
    pe.Rate = 250
666
    pe.RotSpeed = NumberRange.new(360)
667
    pe.Speed = NumberRange.new(3)
668
    pe.VelocitySpread = 360
669
    pe.Parent = rleg.Glow
670
    local pea = pe:Clone()
671
    pea.Parent = lleg.Glow
672
    local pe2 = Instance.new("ParticleEmitter")
673
    pe2.Color = ColorSequence.new(Color3.new(4, 175, 236))
674
    pe2.LightEmission = 0.9
675
    pe2.Size = NumberSequence.new(5)
676
    pe2.Texture = "rbxassetid://516107903"
677
    pe2.Transparency = NumberSequence.new(0.4)
678
    pe2.ZOffset = 2
679
    pe2.Enabled = true
680
    pe2.LockedToPart = true
681
    pe2.Lifetime = NumberRange.new(0.07)
682
    pe2.Rate = 8
683
    pe2.Rotation = NumberRange.new(0, 360)
684
    pe2.RotSpeed = NumberRange.new(0)
685
    pe2.Speed = NumberRange.new(0)
686
    pe2.VelocitySpread = 180
687
    pe2.Parent = lleg.Glow
688
    local pea2 = pe2:Clone()
689
    pea2.Parent = rleg.Glow
690
    for l = 1, 30 do
691
      swait()
692
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
693
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
694
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
695
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
696
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
697
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
698
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
699
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
700
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
701
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
702
    end
703
    pe:Destroy()
704
    pe2:Destroy()
705
    pea:Destroy()
706
    pea2:Destroy()
707
    human.WalkSpeed = 50
708
        BV = Instance.new("BodyVelocity", tors)
709
        BV.maxForce = Vector3.new(0,100000,0)
710
        BV.P = 100000
711
        BV.velocity = Vector3.new(0,800,0)
712
    KABOOMZ2()
713
    coroutine.resume(coroutine.create(function()
714
      swait(3)
715
      BV:Destroy()
716
    end))
717
    for _ = 1, 18 do
718
      swait()
719
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6)
720
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6)
721
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6)
722
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
723
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6)
724
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
725
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6)
726
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
727
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6)
728
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
729
    end
730
    for _ = 1, 18 do
731
      swait()
732
      lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
733
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
734
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
735
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
736
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
737
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
738
      lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
739
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
740
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
741
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
742
    end
743
    resetlerp()
744
local ry,ht,ps=nil,nil,nil
745
while ht==nil do
746
	ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr})
747
	wait()
748
end
749
human.WalkSpeed = 0
750
Landing()
751
z = Instance.new("Sound",tors)
752
z.SoundId = "rbxassetid://142070127"
753
z.Volume = 2
754
wait(.1)
755
z:Play()
756
757
for l = 1, 30 do
758
      swait()
759
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
760
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
761
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
762
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
763
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
764
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
765
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
766
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
767
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
768
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
769
    end
770
resetlerp()
771
human.WalkSpeed = 16
772
773
activu = false
774
end
775
776
777
778
local acos = math.acos
779
local sqrt = math.sqrt
780
local Vec3 = Vector3.new
781
local fromAxisAngle = CFrame.fromAxisAngle
782
783
local function toAxisAngle(CFr)
784
        local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
785
        local Angle = math.acos((R00+R11+R22-1)/2)
786
        local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
787
        A = A == 0 and 0.00001 or A
788
        local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
789
        B = B == 0 and 0.00001 or B
790
        local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
791
        C = C == 0 and 0.00001 or C
792
        local x = (R21-R12)/sqrt(A)
793
        local y = (R02-R20)/sqrt(B)
794
        local z = (R10-R01)/sqrt(C)
795
        return Vec3(x,y,z),Angle
796
end
797
798
function ApplyTrig(Num,Func)
799
        local Min,Max = Func(0),Func(1)
800
        local i = Func(Num)
801
        return (i-Min)/(Max-Min)
802
        --[[if Func == "sin" then
803
                return (math.sin((1-Num)*math.pi)+1)/2
804
        elseif Func == "cos" then
805
                return (math.cos((1-Num)*math.pi)+1)/2
806
        end]]
807
end
808
809
function LerpCFrame(CFrame1,CFrame2,Num)
810
        local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
811
        return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
812
end
813
814
function Crater(Torso,Radius)
815
        spawn(function()
816
        local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
817
        local Ignore = {}
818
        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
819
                if v.Character ~= nil then
820
                        Ignore[#Ignore+1] = v.Character
821
                end
822
        end
823
        local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
824
        if Hit == nil then return end
825
        local Parts = {}
826
        for i = 1,360,10 do
827
                local P = Instance.new("Part",Torso.Parent)
828
                P.Anchored = true
829
                P.FormFactor = "Custom"
830
                P.BrickColor = Hit.BrickColor
831
                P.Material = Hit.Material
832
                P.TopSurface = "Smooth"
833
                P.BottomSurface = "Smooth"
834
                P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
835
                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)))
836
                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}
837
                if math.random(0,5) == 0 then -- rubble
838
                        local P = Instance.new("Part",Torso.Parent)
839
                        P.Anchored = true
840
                        P.FormFactor = "Custom"
841
                        P.BrickColor = Hit.BrickColor
842
                        P.Material = Hit.Material
843
                        P.TopSurface = "Smooth"
844
                        P.BottomSurface = "Smooth"
845
                        P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
846
                        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)))
847
                        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}
848
                end
849
        end
850
        for i = 0,1,0.05 do
851
                for i2,v in pairs(Parts) do
852
                        v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
853
                end
854
                wait(0.02)
855
        end
856
        for i,v in pairs(Parts) do
857
                if v[1].Size.X > 2.1 then
858
                        v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
859
                end
860
                v[1].Anchored = false
861
        end
862
        for i = 0,1,0.05 do
863
                for i2,v in pairs(Parts) do
864
                        v[1].Transparency = i
865
                        if i == 1 then
866
                                v[1]:Destroy()
867
                        elseif i >= 0.25 then
868
                                v[1].CanCollide = false
869
                        end
870
                end
871
                wait(0.02)
872
        end
873
        Parts = nil
874
        end)
875
end
876
877
878
function FindNearestTorso(Position,Distance,SinglePlayer)
879
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
880
        local List = {}
881
        for i,v in pairs(workspace:GetChildren())do
882
            if v:IsA("Model")then
883
                if v:findFirstChild("Torso")then
884
                    if v ~= chr then
885
                        if(v.Torso.Position -Position).magnitude <= Distance then
886
                            table.insert(List,v)
887
                        end 
888
                    end 
889
                end 
890
            end 
891
        end
892
    return List
893
end
894
895
  function KABOOMZ()
896
    local effspwn = Instance.new("Part")
897
    coroutine.resume(coroutine.create(function()
898
      local sound1 = Instance.new("Sound")
899
      sound1.SoundId = "rbxassetid://138137702"
900
      sound1.MaxDistance = 300
901
      sound1.EmitterSize = 20
902
      sound1.Volume = 5
903
      sound1.Pitch = 0.95
904
      sound1.Parent = effspwn
905
      local sound2 = Instance.new("Sound")
906
      sound2.SoundId = "rbxassetid://157878578"
907
      sound2.MaxDistance = 300
908
      sound2.EmitterSize = 20
909
      sound2.Volume = 2
910
      sound2.Pitch = 0.9
911
      sound2.Parent = effspwn
912
      local sound3 = Instance.new("Sound")
913
      sound3.SoundId = "rbxassetid://138250406"
914
      sound2.MaxDistance = 400
915
      sound2.EmitterSize = 30
916
      sound2.Volume = 1.5
917
      sound2.Pitch = 0.6
918
      sound2.Parent = effspwn
919
      sound2:Play()
920
      wait()
921
      sound1:Play()
922
      sound3:Play()
923
    end))
924
    local model = Instance.new("Model")
925
    game.Debris:AddItem(model, 20)
926
    model.Name = "smasheffects"
927
    model.Parent = workspace
928
    effspwn.Name = "spwnr"
929
    effspwn.Size = Vector3.new(1, 1, 1)
930
    effspwn.Anchored = true
931
    effspwn.CanCollide = false
932
    effspwn.Transparency = 1
933
    effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
934
    effspwn.Parent = model
935
936
Crater(head,60)
937
938
    for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
939
        if v:FindFirstChild('Humanoid') then
940
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
941
            v.Humanoid.PlatformStand = true
942
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
943
        end
944
    end 
945
    coroutine.resume(coroutine.create(function()
946
      local shok = Instance.new("Part")
947
      shok.Name = "whoosh"
948
      shok.BrickColor = BrickColor.new("Institutional white")
949
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
950
      shok.Size = Vector3.new(1, 1, 1)
951
      shok.Anchored = true
952
      shok.Material = "Neon"
953
      shok.Transparency = 0.1
954
      shok.CanCollide = false
955
      shok.Parent = model
956
      game.Debris:AddItem(shok, 12)
957
      local mesh = Instance.new("SpecialMesh")
958
      mesh.MeshType = "FileMesh"
959
      mesh.MeshId = "rbxassetid://437347603"
960
      mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
961
      mesh.Parent = shok
962
      for e = 1, 8 do
963
        wait()
964
        mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
965
        shok.Transparency = shok.Transparency + 0.035
966
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
967
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
968
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
969
      end
970
      for e = 1, 16 do
971
        wait()
972
        mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
973
        shok.Transparency = shok.Transparency + 0.11
974
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
975
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
976
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
977
      end
978
    end))
979
    coroutine.resume(coroutine.create(function()
980
      local shok = Instance.new("Part")
981
      shok.Name = "wring1"
982
      shok.BrickColor = BrickColor.new("Institutional white")
983
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
984
      shok.Size = Vector3.new(1, 1, 1)
985
      shok.Anchored = true
986
      shok.Material = "Neon"
987
      shok.Transparency = 0.25
988
      shok.CanCollide = false
989
      shok.Parent = model
990
      game.Debris:AddItem(shok, 12)
991
      local mesh = Instance.new("SpecialMesh")
992
      mesh.MeshType = "FileMesh"
993
      mesh.MeshId = "rbxassetid://3270017"
994
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
995
      mesh.Parent = shok
996
      for e = 1, 30 do
997
        wait()
998
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
999
        shok.Transparency = shok.Transparency + 0.002
1000
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1001
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1002
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1003
1004
      end
1005
      for e = 1, 38 do
1006
        wait()
1007
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1008
        shok.Transparency = shok.Transparency + 0.002
1009
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1010
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1011
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1012
1013
      end
1014
      for e = 1, 24 do
1015
        wait()
1016
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1017
        shok.Transparency = shok.Transparency + 0.03
1018
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1019
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1020
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1021
1022
      end
1023
    end))
1024
    coroutine.resume(coroutine.create(function()
1025
      local shok = Instance.new("Part")
1026
      shok.Name = "wring2"
1027
      shok.BrickColor = BrickColor.new("Institutional white")
1028
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1029
      shok.Size = Vector3.new(1, 1, 1)
1030
      shok.Anchored = true
1031
      shok.Material = "Neon"
1032
      shok.Transparency = 0.25
1033
      shok.CanCollide = false
1034
      shok.Parent = model
1035
      game.Debris:AddItem(shok, 12)
1036
      local mesh = Instance.new("SpecialMesh")
1037
      mesh.MeshType = "FileMesh"
1038
      mesh.MeshId = "rbxassetid://3270017"
1039
      mesh.Scale = Vector3.new(12, 12, 0.05)
1040
      mesh.Parent = shok
1041
      for e = 1, 30 do
1042
        wait()
1043
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
1044
        shok.Transparency = shok.Transparency + 0.002
1045
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1046
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1047
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1048
1049
      end
1050
      for e = 1, 38 do
1051
        wait()
1052
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1053
        shok.Transparency = shok.Transparency + 0.002
1054
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1055
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1056
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1057
1058
      end
1059
      for e = 1, 24 do
1060
        wait()
1061
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1062
        shok.Transparency = shok.Transparency + 0.03
1063
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1064
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1065
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1066
1067
      end
1068
    end))
1069
    coroutine.resume(coroutine.create(function()
1070
      local shok = Instance.new("Part")
1071
      shok.Name = "coil1"
1072
      shok.BrickColor = BrickColor.new("Institutional white")
1073
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1074
      shok.Size = Vector3.new(1, 1, 1)
1075
      shok.Anchored = true
1076
      shok.Material = "Neon"
1077
      shok.Transparency = 0.25
1078
      shok.CanCollide = false
1079
      shok.Parent = model
1080
      game.Debris:AddItem(shok, 12)
1081
      local mesh = Instance.new("SpecialMesh")
1082
      mesh.MeshType = "FileMesh"
1083
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1084
      mesh.Scale = Vector3.new(12, 12, 12)
1085
      mesh.Parent = shok
1086
      for e = 1, 15 do
1087
        wait()
1088
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1089
        shok.Transparency = shok.Transparency + 0.004
1090
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1091
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1092
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1093
1094
      end
1095
      for e = 1, 16 do
1096
        wait()
1097
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1098
        shok.Transparency = shok.Transparency + 0.004
1099
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1100
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1101
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1102
1103
      end
1104
      for e = 1, 12 do
1105
        wait()
1106
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1107
        shok.Transparency = shok.Transparency + 0.06
1108
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1109
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1110
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1111
1112
      end
1113
    end))
1114
    coroutine.resume(coroutine.create(function()
1115
      local shok = Instance.new("Part")
1116
      shok.Name = "coil2"
1117
      shok.BrickColor = BrickColor.new("Institutional white")
1118
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1119
      shok.Size = Vector3.new(1, 1, 1)
1120
      shok.Anchored = true
1121
      shok.Material = "Neon"
1122
      shok.Transparency = 0.25
1123
      shok.CanCollide = false
1124
      shok.Parent = model
1125
      game.Debris:AddItem(shok, 12)
1126
      local mesh = Instance.new("SpecialMesh")
1127
      mesh.MeshType = "FileMesh"
1128
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1129
      mesh.Scale = Vector3.new(6, 12, 6)
1130
      mesh.Parent = shok
1131
      for e = 1, 15 do
1132
        wait()
1133
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1134
        shok.Transparency = shok.Transparency + 0.005
1135
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1136
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1137
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1138
1139
      end
1140
      for e = 1, 16 do
1141
        wait()
1142
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1143
        shok.Transparency = shok.Transparency + 0.005
1144
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1145
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1146
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1147
1148
      end
1149
      for e = 1, 12 do
1150
        wait()
1151
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1152
        shok.Transparency = shok.Transparency + 0.09
1153
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1154
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1155
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1156
1157
      end
1158
    end))
1159
    coroutine.resume(coroutine.create(function()
1160
      local shok = Instance.new("Part")
1161
      shok.Name = "shokwve"
1162
      shok.BrickColor = BrickColor.new("Institutional white")
1163
      shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
1164
      shok.Size = Vector3.new(1, 1, 1)
1165
      shok.Anchored = true
1166
      shok.Material = "Neon"
1167
      shok.Transparency = 0.6
1168
      shok.CanCollide = false
1169
      shok.Parent = model
1170
      game.Debris:AddItem(shok, 12)
1171
      local mesh = Instance.new("SpecialMesh")
1172
      mesh.MeshType = "FileMesh"
1173
      mesh.MeshId = "rbxassetid://489415447"
1174
      mesh.Scale = Vector3.new(1, 1, 1)
1175
      mesh.Parent = shok
1176
      for e = 1, 12 do
1177
        wait()
1178
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
1179
        shok.Transparency = shok.Transparency + 0.002
1180
      end
1181
      for e = 1, 32 do
1182
        wait()
1183
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1184
        shok.Transparency = shok.Transparency + 0.002
1185
      end
1186
      for e = 1, 24 do
1187
        wait()
1188
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1189
        shok.Transparency = shok.Transparency + 0.03
1190
      end
1191
    end))
1192
    coroutine.resume(coroutine.create(function()
1193
      local shok = Instance.new("Part")
1194
      shok.Name = "shock2"
1195
      shok.BrickColor = BrickColor.new("Institutional white")
1196
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1197
      shok.Size = Vector3.new(1, 1, 1)
1198
      shok.Anchored = true
1199
      shok.Material = "Neon"
1200
      shok.Transparency = 0.35
1201
      shok.CanCollide = false
1202
      shok.Parent = model
1203
      game.Debris:AddItem(shok, 12)
1204
      local mesh = Instance.new("SpecialMesh")
1205
      mesh.MeshType = "FileMesh"
1206
      mesh.MeshId = "rbxassetid://489415447"
1207
      mesh.Scale = Vector3.new(12, 12, 12)
1208
      mesh.Parent = shok
1209
      for e = 1, 15 do
1210
        wait()
1211
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1212
        shok.Transparency = shok.Transparency + 0.004
1213
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1214
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1215
1216
      end
1217
      for e = 1, 16 do
1218
        wait()
1219
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1220
        shok.Transparency = shok.Transparency + 0.004
1221
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1222
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1223
1224
      end
1225
      for e = 1, 12 do
1226
        wait()
1227
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1228
        shok.Transparency = shok.Transparency + 0.06
1229
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1230
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1231
1232
      end
1233
    end))
1234
    coroutine.resume(coroutine.create(function()
1235
      local shok = Instance.new("Part")
1236
      shok.Name = "shock3"
1237
      shok.BrickColor = BrickColor.new("Institutional white")
1238
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1239
      shok.Size = Vector3.new(1, 1, 1)
1240
      shok.Anchored = true
1241
      shok.Material = "Neon"
1242
      shok.Transparency = 0.35
1243
      shok.CanCollide = false
1244
      shok.Parent = model
1245
      game.Debris:AddItem(shok, 12)
1246
      local mesh = Instance.new("SpecialMesh")
1247
      mesh.MeshType = "FileMesh"
1248
      mesh.MeshId = "rbxassetid://489415447"
1249
      mesh.Scale = Vector3.new(12, 12, 12)
1250
      mesh.Parent = shok
1251
      for e = 1, 15 do
1252
        wait()
1253
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1254
        shok.Transparency = shok.Transparency + 0.004
1255
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1256
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1257
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1258
1259
      end
1260
      for e = 1, 16 do
1261
        wait()
1262
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1263
        shok.Transparency = shok.Transparency + 0.004
1264
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1265
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1266
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1267
1268
      end
1269
      for e = 1, 12 do
1270
        wait()
1271
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1272
        shok.Transparency = shok.Transparency + 0.06
1273
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1274
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1275
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1276
1277
      end
1278
    end))
1279
  end
1280
  function KABOOMZ2()
1281
    local effspwn = Instance.new("Part")
1282
    coroutine.resume(coroutine.create(function()
1283
      local sound1 = Instance.new("Sound")
1284
      sound1.SoundId = "rbxassetid://138137702"
1285
      sound1.MaxDistance = 300
1286
      sound1.EmitterSize = 20
1287
      sound1.Volume = 2.5
1288
      sound1.Pitch = 0.65
1289
      sound1.Parent = effspwn
1290
      local sound2 = Instance.new("Sound")
1291
      sound2.SoundId = "rbxassetid://157878578"
1292
      sound2.MaxDistance = 300
1293
      sound2.EmitterSize = 20
1294
      sound2.Volume = 1
1295
      sound2.Pitch = 0.7
1296
      sound2.Parent = effspwn
1297
      local sound3 = Instance.new("Sound")
1298
      sound3.SoundId = "rbxassetid://138250406"
1299
      sound2.MaxDistance = 400
1300
      sound2.EmitterSize = 30
1301
      sound2.Volume = 0.5
1302
      sound2.Pitch = 0.5
1303
      sound2.Parent = effspwn
1304
      sound2:Play()
1305
      wait()
1306
      sound1:Play()
1307
      sound3:Play()
1308
    end))
1309
    local model = Instance.new("Model")
1310
    game.Debris:AddItem(model, 20)
1311
    model.Name = "smasheffects"
1312
    model.Parent = workspace
1313
    effspwn.Name = "spwnr"
1314
    effspwn.Size = Vector3.new(1, 1, 1)
1315
    effspwn.Anchored = true
1316
    effspwn.CanCollide = false
1317
    effspwn.Transparency = 1
1318
    effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
1319
    effspwn.Parent = model
1320
1321
1322
1323
1324
1325
Crater(head,60)
1326
Crater(head,120)
1327
1328
    for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
1329
        if v:FindFirstChild('Humanoid') then
1330
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
1331
            v.Humanoid.PlatformStand = true
1332
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
1333
        end
1334
    end 
1335
1336
    coroutine.resume(coroutine.create(function()
1337
      local shok = Instance.new("Part")
1338
      shok.Name = "whoosh"
1339
      shok.BrickColor = BrickColor.new("Institutional white")
1340
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1341
      shok.Size = Vector3.new(1, 1, 1)
1342
      shok.Anchored = true
1343
      shok.Material = "Neon"
1344
      shok.Transparency = 0.1
1345
      shok.CanCollide = false
1346
      shok.Parent = model
1347
      game.Debris:AddItem(shok, 12)
1348
      local mesh = Instance.new("SpecialMesh")
1349
      mesh.MeshType = "FileMesh"
1350
      mesh.MeshId = "rbxassetid://437347603"
1351
      mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
1352
      mesh.Parent = shok
1353
1354
1355
1356
1357
1358
      for e = 1, 8 do
1359
        wait()
1360
        mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
1361
        shok.Transparency = shok.Transparency + 0.035
1362
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
1363
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
1364
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1365
1366
      end
1367
      for e = 1, 16 do
1368
        wait()
1369
        mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
1370
        shok.Transparency = shok.Transparency + 0.11
1371
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
1372
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
1373
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
1374
1375
      end
1376
    end))
1377
    coroutine.resume(coroutine.create(function()
1378
      local shok = Instance.new("Part")
1379
      shok.Name = "wring1"
1380
      shok.BrickColor = BrickColor.new("Institutional white")
1381
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1382
      shok.Size = Vector3.new(1, 1, 1)
1383
      shok.Anchored = true
1384
      shok.Material = "Neon"
1385
      shok.Transparency = 0.25
1386
      shok.CanCollide = false
1387
      shok.Parent = model
1388
      game.Debris:AddItem(shok, 12)
1389
      local mesh = Instance.new("SpecialMesh")
1390
      mesh.MeshType = "FileMesh"
1391
      mesh.MeshId = "rbxassetid://3270017"
1392
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
1393
      mesh.Parent = shok
1394
      for e = 1, 30 do
1395
        wait()
1396
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
1397
        shok.Transparency = shok.Transparency + 0.002
1398
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1399
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1400
      end
1401
      for e = 1, 38 do
1402
        wait()
1403
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1404
        shok.Transparency = shok.Transparency + 0.002
1405
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1406
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1407
      end
1408
      for e = 1, 24 do
1409
        wait()
1410
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1411
        shok.Transparency = shok.Transparency + 0.03
1412
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1413
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1414
      end
1415
    end))
1416
    coroutine.resume(coroutine.create(function()
1417
      local shok = Instance.new("Part")
1418
      shok.Name = "wring2"
1419
      shok.BrickColor = BrickColor.new("Institutional white")
1420
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1421
      shok.Size = Vector3.new(1, 1, 1)
1422
      shok.Anchored = true
1423
      shok.Material = "Neon"
1424
      shok.Transparency = 0.25
1425
      shok.CanCollide = false
1426
      shok.Parent = model
1427
      game.Debris:AddItem(shok, 12)
1428
      local mesh = Instance.new("SpecialMesh")
1429
      mesh.MeshType = "FileMesh"
1430
      mesh.MeshId = "rbxassetid://3270017"
1431
      mesh.Scale = Vector3.new(12, 12, 0.05)
1432
      mesh.Parent = shok
1433
      for e = 1, 30 do
1434
        wait()
1435
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
1436
        shok.Transparency = shok.Transparency + 0.002
1437
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1438
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1439
      end
1440
      for e = 1, 38 do
1441
        wait()
1442
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1443
        shok.Transparency = shok.Transparency + 0.002
1444
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1445
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1446
      end
1447
      for e = 1, 24 do
1448
        wait()
1449
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1450
        shok.Transparency = shok.Transparency + 0.03
1451
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1452
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1453
      end
1454
    end))
1455
    coroutine.resume(coroutine.create(function()
1456
      local shok = Instance.new("Part")
1457
      shok.Name = "coil1"
1458
      shok.BrickColor = BrickColor.new("Institutional white")
1459
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1460
      shok.Size = Vector3.new(1, 1, 1)
1461
      shok.Anchored = true
1462
      shok.Material = "Neon"
1463
      shok.Transparency = 0.25
1464
      shok.CanCollide = false
1465
      shok.Parent = model
1466
      game.Debris:AddItem(shok, 12)
1467
      local mesh = Instance.new("SpecialMesh")
1468
      mesh.MeshType = "FileMesh"
1469
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1470
      mesh.Scale = Vector3.new(12, 12, 12)
1471
      mesh.Parent = shok
1472
      for e = 1, 15 do
1473
        wait()
1474
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1475
        shok.Transparency = shok.Transparency + 0.004
1476
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1477
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1478
      end
1479
      for e = 1, 16 do
1480
        wait()
1481
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1482
        shok.Transparency = shok.Transparency + 0.004
1483
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1484
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1485
      end
1486
      for e = 1, 12 do
1487
        wait()
1488
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1489
        shok.Transparency = shok.Transparency + 0.06
1490
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1491
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1492
      end
1493
    end))
1494
    coroutine.resume(coroutine.create(function()
1495
      local shok = Instance.new("Part")
1496
      shok.Name = "coil2"
1497
      shok.BrickColor = BrickColor.new("Institutional white")
1498
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1499
      shok.Size = Vector3.new(1, 1, 1)
1500
      shok.Anchored = true
1501
      shok.Material = "Neon"
1502
      shok.Transparency = 0.25
1503
      shok.CanCollide = false
1504
      shok.Parent = model
1505
      game.Debris:AddItem(shok, 12)
1506
      local mesh = Instance.new("SpecialMesh")
1507
      mesh.MeshType = "FileMesh"
1508
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1509
      mesh.Scale = Vector3.new(6, 12, 6)
1510
      mesh.Parent = shok
1511
      for e = 1, 15 do
1512
        wait()
1513
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1514
        shok.Transparency = shok.Transparency + 0.005
1515
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1516
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1517
      end
1518
      for e = 1, 16 do
1519
        wait()
1520
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1521
        shok.Transparency = shok.Transparency + 0.005
1522
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1523
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1524
      end
1525
      for e = 1, 12 do
1526
        wait()
1527
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
1528
        shok.Transparency = shok.Transparency + 0.09
1529
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1530
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
1531
      end
1532
    end))
1533
    coroutine.resume(coroutine.create(function()
1534
      local shok = Instance.new("Part")
1535
      shok.Name = "shokwve"
1536
      shok.BrickColor = BrickColor.new("Institutional white")
1537
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
1538
      shok.Size = Vector3.new(1, 1, 1)
1539
      shok.Anchored = true
1540
      shok.Material = "Neon"
1541
      shok.Transparency = 0.6
1542
      shok.CanCollide = false
1543
      shok.Parent = model
1544
      game.Debris:AddItem(shok, 12)
1545
      local mesh = Instance.new("SpecialMesh")
1546
      mesh.MeshType = "FileMesh"
1547
      mesh.MeshId = "rbxassetid://489415447"
1548
      mesh.Scale = Vector3.new(1, 1, 1)
1549
      mesh.Parent = shok
1550
      for e = 1, 12 do
1551
        wait()
1552
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
1553
        shok.Transparency = shok.Transparency + 0.002
1554
      end
1555
      for e = 1, 32 do
1556
        wait()
1557
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1558
        shok.Transparency = shok.Transparency + 0.002
1559
      end
1560
      for e = 1, 24 do
1561
        wait()
1562
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1563
        shok.Transparency = shok.Transparency + 0.03
1564
      end
1565
    end))
1566
    coroutine.resume(coroutine.create(function()
1567
      local shok = Instance.new("Part")
1568
      shok.Name = "shock2"
1569
      shok.BrickColor = BrickColor.new("Institutional white")
1570
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1571
      shok.Size = Vector3.new(1, 1, 1)
1572
      shok.Anchored = true
1573
      shok.Material = "Neon"
1574
      shok.Transparency = 0.35
1575
      shok.CanCollide = false
1576
      shok.Parent = model
1577
      game.Debris:AddItem(shok, 12)
1578
      local mesh = Instance.new("SpecialMesh")
1579
      mesh.MeshType = "FileMesh"
1580
      mesh.MeshId = "rbxassetid://489415447"
1581
      mesh.Scale = Vector3.new(12, 12, 12)
1582
      mesh.Parent = shok
1583
      for e = 1, 15 do
1584
        wait()
1585
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1586
        shok.Transparency = shok.Transparency + 0.004
1587
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1588
      end
1589
      for e = 1, 16 do
1590
        wait()
1591
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1592
        shok.Transparency = shok.Transparency + 0.004
1593
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1594
      end
1595
      for e = 1, 12 do
1596
        wait()
1597
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1598
        shok.Transparency = shok.Transparency + 0.06
1599
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1600
      end
1601
    end))
1602
    coroutine.resume(coroutine.create(function()
1603
      local shok = Instance.new("Part")
1604
      shok.Name = "shock3"
1605
      shok.BrickColor = BrickColor.new("Institutional white")
1606
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1607
      shok.Size = Vector3.new(1, 1, 1)
1608
      shok.Anchored = true
1609
      shok.Material = "Neon"
1610
      shok.Transparency = 0.35
1611
      shok.CanCollide = false
1612
      shok.Parent = model
1613
      game.Debris:AddItem(shok, 12)
1614
      local mesh = Instance.new("SpecialMesh")
1615
      mesh.MeshType = "FileMesh"
1616
      mesh.MeshId = "rbxassetid://489415447"
1617
      mesh.Scale = Vector3.new(12, 12, 12)
1618
      mesh.Parent = shok
1619
      for e = 1, 15 do
1620
        wait()
1621
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1622
        shok.Transparency = shok.Transparency + 0.004
1623
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1624
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1625
      end
1626
      for e = 1, 16 do
1627
        wait()
1628
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1629
        shok.Transparency = shok.Transparency + 0.004
1630
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1631
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1632
      end
1633
      for e = 1, 12 do
1634
        wait()
1635
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1636
        shok.Transparency = shok.Transparency + 0.06
1637
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1638
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1639
      end
1640
    end))
1641
  end
1642
1643
1644
1645
tor = chr.Torso
1646
Debounce = false
1647
1648
Invis = function()
1649
	for i = 1,20 do
1650
	chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05 
1651
	chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05
1652
	chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05
1653
	chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05
1654
	chr['Head'].Transparency = chr['Head'].Transparency + .05
1655
	chr['Torso'].Transparency = chr['Torso'].Transparency + .05
1656
	chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05
1657
	game["Run Service"].RenderStepped:wait()
1658
	end
1659
end
1660
1661
Vis = function()
1662
	for i = 1,20 do
1663
	chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05 
1664
	chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05
1665
	chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05
1666
	chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05
1667
	chr['Head'].Transparency = chr['Head'].Transparency - .05
1668
	chr['Torso'].Transparency = chr['Torso'].Transparency - .05
1669
	chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05
1670
	game["Run Service"].RenderStepped:wait()
1671
	end
1672
end
1673
1674
Fade = function(Part)
1675
	if Part:IsA'Part' then
1676
		for i = 1,20 do
1677
			Part.Transparency = Part.Transparency + .05
1678
			Part.Size = Part.Size - Vector3.new(.04,.04,.04)
1679
			Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0)
1680
			wait()
1681
		end
1682
		Part:Destroy()
1683
	end
1684
end
1685
1686
Teleport = function(cx,cy,cz)
1687
	Debounce = true
1688
	tor.Anchored = true
1689
	Invis()
1690
	--MakeTpPart()
1691
	tor.Anchored = false
1692
	tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0)
1693
	tor.Anchored = true
1694
	Vis()
1695
	tor.Anchored = false
1696
	Debounce = false
1697
end;
1698
1699
1700
1701
tps = Instance.new("Sound",chr)
1702
tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
1703
tps.Volume = 30
1704
1705
1706
function Tele()
1707
	human.WalkSpeed = 0
1708
	 if activu == true or selected == false then
1709
      return
1710
    end
1711
    coroutine.resume(coroutine.create(function()
1712
      fglow(rleg.Glow, 1)
1713
      fglow(lleg.Glow, 1)
1714
    end))
1715
    activu = true
1716
local pe = Instance.new("ParticleEmitter")
1717
    pe.Color = ColorSequence.new(Color3.new(4, 175, 236))
1718
    pe.LightEmission = 0.9
1719
    pe.Size = NumberSequence.new(0.5)
1720
    pe.Texture = "rbxassetid://272050333"
1721
    pe.Transparency = NumberSequence.new(0.1)
1722
    pe.Lifetime = NumberRange.new(0.1)
1723
    pe.Rate = 250
1724
    pe.RotSpeed = NumberRange.new(360)
1725
    pe.Speed = NumberRange.new(3)
1726
    pe.VelocitySpread = 360
1727
    pe.Parent = rleg.Glow
1728
    local pea = pe:Clone()
1729
    pea.Parent = lleg.Glow
1730
    local pe2 = Instance.new("ParticleEmitter")
1731
    pe2.Color = ColorSequence.new(Color3.new(4, 175, 236))
1732
    pe2.LightEmission = 0.9
1733
    pe2.Size = NumberSequence.new(5)
1734
    pe2.Texture = "rbxassetid://516107903"
1735
    pe2.Transparency = NumberSequence.new(0.4)
1736
    pe2.ZOffset = 2
1737
    pe2.Enabled = true
1738
    pe2.LockedToPart = true
1739
    pe2.Lifetime = NumberRange.new(0.07)
1740
    pe2.Rate = 8
1741
    pe2.Rotation = NumberRange.new(0, 360)
1742
    pe2.RotSpeed = NumberRange.new(0)
1743
    pe2.Speed = NumberRange.new(0)
1744
    pe2.VelocitySpread = 180
1745
    pe2.Parent = lleg.Glow
1746
    local pea2 = pe2:Clone()
1747
    pea2.Parent = rleg.Glow
1748
1749
	for l = 1, 30 do
1750
      swait()
1751
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
1752
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
1753
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
1754
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
1755
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
1756
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
1757
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
1758
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
1759
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
1760
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
1761
	    end
1762
	
1763
	pe:Destroy()
1764
    pe2:Destroy()
1765
    pea:Destroy()
1766
    pea2:Destroy()
1767
    local rng = Instance.new("Part", chr)
1768
        rng.Anchored = true
1769
        rng.BrickColor = BrickColor.new("Institutional white")
1770
        rng.CanCollide = false
1771
        rng.FormFactor = 3
1772
        rng.Name = "Ring"
1773
        rng.Size = Vector3.new(1, 1, 1)
1774
        rng.Transparency = 0.5
1775
        rng.TopSurface = 0
1776
        rng.BottomSurface = 0
1777
        rng.Position = tors.Position - Vector3.new(0,2,0)
1778
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
1779
        local rngm = Instance.new("SpecialMesh", rng)
1780
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
1781
        rngm.Scale = Vector3.new(1, 1, 2)
1782
                coroutine.wrap(function()
1783
                for i = 1, 60, 8 do
1784
                rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1)
1785
                rng.Transparency = i/60
1786
                wait()
1787
                end
1788
                wait()
1789
                rng:Destroy()
1790
                end)()
1791
	tps:Play()
1792
	Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)
1793
	resetlerp()
1794
	human.WalkSpeed = 16
1795
	activu = false
1796
	
1797
end
1798
1799
1800
1801
1802
boom3 = Instance.new("Sound",chr)
1803
boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
1804
boom3.Volume = 50
1805
1806
1807
1808
1809
1810
gprop = {}
1811
function materialhit(hit)
1812
if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
1813
gprop = {hit.BrickColor,hit.Material}
1814
end
1815
end
1816
chr["Left Leg"].Touched:connect(materialhit)
1817
chr["Right Leg"].Touched:connect(materialhit)
1818
1819
1820
function KickBoom()
1821
	local effspwn = Instance.new("Part")
1822
    local model = Instance.new("Model")
1823
    game.Debris:AddItem(model, 20)
1824
    model.Name = "smasheffects"
1825
    model.Parent = chr
1826
    effspwn.Name = "spwnr"
1827
    effspwn.Size = Vector3.new(1, 1, 1)
1828
    effspwn.Anchored = true
1829
    effspwn.CanCollide = false
1830
    effspwn.Transparency = 1
1831
    effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
1832
    effspwn.Parent = model
1833
1834
for i = 1, 15 do
1835
local gtrace = Instance.new("Part",game.Workspace)
1836
gtrace.BrickColor = gprop[1]
1837
gtrace.Material = gprop[2]
1838
gtrace.Size = Vector3.new(16,16,16)
1839
gtrace.Anchored = true
1840
gtrace.CanCollide = false
1841
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)))
1842
local gdisp = coroutine.wrap(function()
1843
wait(3)
1844
for i = 1, 9 do
1845
wait(.1)
1846
gtrace.Transparency = gtrace.Transparency + .1
1847
end
1848
gtrace:Destroy()
1849
end)
1850
gdisp()
1851
end
1852
1853
Crater(head,67)
1854
1855
for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
1856
        if v:FindFirstChild('Humanoid') then
1857
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
1858
            v.Humanoid.PlatformStand = true
1859
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250
1860
        end
1861
    end 
1862
1863
	coroutine.resume(coroutine.create(function()
1864
      local shok = Instance.new("Part")
1865
      shok.Name = "shock3"
1866
      shok.BrickColor = BrickColor.new("Institutional white")
1867
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1868
      shok.Size = Vector3.new(1, 1, 1)
1869
      shok.Anchored = true
1870
      shok.Material = "Neon"
1871
      shok.Transparency = 0.35
1872
      shok.CanCollide = false
1873
      shok.Parent = model
1874
      game.Debris:AddItem(shok, 12)
1875
      local mesh = Instance.new("SpecialMesh")
1876
      mesh.MeshType = "FileMesh"
1877
      mesh.MeshId = "rbxassetid://489415447"
1878
      mesh.Scale = Vector3.new(19, 19, 19)
1879
      mesh.Parent = shok
1880
      for e = 1, 15 do
1881
        wait()
1882
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1883
        shok.Transparency = shok.Transparency + 0.004
1884
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1885
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1886
      end
1887
      for e = 1, 16 do
1888
        wait()
1889
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1890
        shok.Transparency = shok.Transparency + 0.004
1891
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1892
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1893
      end
1894
      for e = 1, 12 do
1895
        wait()
1896
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1897
        shok.Transparency = shok.Transparency + 0.06
1898
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1899
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1900
      end
1901
	    end))
1902
	
1903
	
1904
	coroutine.resume(coroutine.create(function()
1905
      local shok = Instance.new("Part")
1906
      shok.Name = "shock3"
1907
      shok.BrickColor = BrickColor.new("Institutional white")
1908
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1909
      shok.Size = Vector3.new(1, 1, 1)
1910
      shok.Anchored = true
1911
      shok.Material = "Neon"
1912
      shok.Transparency = 0.35
1913
      shok.CanCollide = false
1914
      shok.Parent = model
1915
      game.Debris:AddItem(shok, 12)
1916
      local mesh = Instance.new("SpecialMesh")
1917
      mesh.MeshType = "FileMesh"
1918
      mesh.MeshId = "rbxassetid://489415447"
1919
      mesh.Scale = Vector3.new(47, 47, 47)
1920
      mesh.Parent = shok
1921
      for e = 1, 15 do
1922
        wait()
1923
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1924
        shok.Transparency = shok.Transparency + 0.004
1925
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1926
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1927
      end
1928
      for e = 1, 16 do
1929
        wait()
1930
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1931
        shok.Transparency = shok.Transparency + 0.004
1932
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1933
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1934
      end
1935
      for e = 1, 12 do
1936
        wait()
1937
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1938
        shok.Transparency = shok.Transparency + 0.06
1939
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1940
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1941
      end
1942
	    end))
1943
	
1944
	coroutine.resume(coroutine.create(function()
1945
      local shok = Instance.new("Part")
1946
      shok.Name = "shock3"
1947
      shok.BrickColor = BrickColor.new("Institutional white")
1948
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1949
      shok.Size = Vector3.new(1, 1, 1)
1950
      shok.Anchored = true
1951
      shok.Material = "Neon"
1952
      shok.Transparency = 0.35
1953
      shok.CanCollide = false
1954
      shok.Parent = model
1955
      game.Debris:AddItem(shok, 12)
1956
      local mesh = Instance.new("SpecialMesh")
1957
      mesh.MeshType = "FileMesh"
1958
      mesh.MeshId = "rbxassetid://489415447"
1959
      mesh.Scale = Vector3.new(79, 79, 79)
1960
      mesh.Parent = shok
1961
      for e = 1, 15 do
1962
        wait()
1963
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1964
        shok.Transparency = shok.Transparency + 0.004
1965
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1966
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1967
      end
1968
      for e = 1, 16 do
1969
        wait()
1970
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1971
        shok.Transparency = shok.Transparency + 0.004
1972
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1973
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1974
      end
1975
      for e = 1, 12 do
1976
        wait()
1977
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1978
        shok.Transparency = shok.Transparency + 0.06
1979
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1980
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1981
      end
1982
    end))
1983
end
1984
1985
1986
1987
1988
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
1989
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1990
end 
1991
cam = workspace.CurrentCamera
1992
1993
1994
1995
1996
1997
1998
1999
2000
function NoOutline(Part)
2001
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
2002
end
2003
2004
2005
2006
2007
it = Instance.new
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
so = function(id,par,vol,pit) 
2019
coroutine.resume(coroutine.create(function()
2020
local sou = Instance.new("Sound",par or workspace)
2021
sou.Volume=vol
2022
sou.Pitch=pit or 1
2023
sou.SoundId=id
2024
swait() 
2025
sou:play() 
2026
game:GetService("Debris"):AddItem(sou,6)
2027
end))
2028
end
2029
2030
2031
function Stom()
2032
	
2033
cf=CFrame.new
2034
angles=CFrame.Angles
2035
euler=CFrame.fromEulerAnglesXYZ
2036
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2037
RootPart=chr.HumanoidRootPart
2038
RootJoint=RootPart.RootJoint
2039
RootCF=euler(-1.57,0,3.14)
2040
2041
function QuaternionFromCFrame(cf) 
2042
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
2043
local trace = m00 + m11 + m22 
2044
if trace > 0 then 
2045
local s = math.sqrt(1 + trace) 
2046
local recip = 0.5/s 
2047
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
2048
else 
2049
local i = 0 
2050
if m11 > m00 then
2051
i = 1
2052
end
2053
if m22 > (i == 0 and m00 or m11) then 
2054
i = 2 
2055
end 
2056
if i == 0 then 
2057
local s = math.sqrt(m00-m11-m22+1) 
2058
local recip = 0.5/s 
2059
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
2060
elseif i == 1 then 
2061
local s = math.sqrt(m11-m22-m00+1) 
2062
local recip = 0.5/s 
2063
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
2064
elseif i == 2 then 
2065
local s = math.sqrt(m22-m00-m11+1) 
2066
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
2067
end 
2068
end 
2069
end
2070
 
2071
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
2072
local xs, ys, zs = x + x, y + y, z + z 
2073
local wx, wy, wz = w*xs, w*ys, w*zs 
2074
local xx = x*xs 
2075
local xy = x*ys 
2076
local xz = x*zs 
2077
local yy = y*ys 
2078
local yz = y*zs 
2079
local zz = z*zs 
2080
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)) 
2081
end
2082
 
2083
function QuaternionSlerp(a, b, t) 
2084
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
2085
local startInterp, finishInterp; 
2086
if cosTheta >= 0.0001 then 
2087
if (1 - cosTheta) > 0.0001 then 
2088
local theta = math.acos(cosTheta) 
2089
local invSinTheta = 1/math.sin(theta) 
2090
startInterp = math.sin((1-t)*theta)*invSinTheta 
2091
finishInterp = math.sin(t*theta)*invSinTheta  
2092
else 
2093
startInterp = 1-t 
2094
finishInterp = t 
2095
end 
2096
else 
2097
if (1+cosTheta) > 0.0001 then 
2098
local theta = math.acos(-cosTheta) 
2099
local invSinTheta = 1/math.sin(theta) 
2100
startInterp = math.sin((t-1)*theta)*invSinTheta 
2101
finishInterp = math.sin(t*theta)*invSinTheta 
2102
else 
2103
startInterp = t-1 
2104
finishInterp = t 
2105
end 
2106
end 
2107
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 
2108
end
2109
2110
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2111
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2112
end 
2113
2114
function clerp(a,b,t) 
2115
local qa = {QuaternionFromCFrame(a)}
2116
local qb = {QuaternionFromCFrame(b)} 
2117
local ax, ay, az = a.x, a.y, a.z 
2118
local bx, by, bz = b.x, b.y, b.z
2119
local _t = 1-t
2120
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
2121
end 
2122
2123
2124
2125
	 if activu == true or selected == false then
2126
      return
2127
	    end
2128
	coroutine.resume(coroutine.create(function()
2129
      fglow(lleg.Glow, 6)
2130
    end))
2131
    activu = true
2132
local pe = Instance.new("ParticleEmitter")
2133
    pe.Color = ColorSequence.new(Color3.new(4, 175, 236))
2134
    pe.LightEmission = 0.9
2135
    pe.Size = NumberSequence.new(0.5)
2136
    pe.Texture = "rbxassetid://272050333"
2137
    pe.Transparency = NumberSequence.new(0.1)
2138
    pe.Lifetime = NumberRange.new(0.1)
2139
    pe.Rate = 250
2140
    pe.RotSpeed = NumberRange.new(360)
2141
    pe.Speed = NumberRange.new(3)
2142
    pe.VelocitySpread = 360
2143
    pe.Parent = lleg.Glow
2144
    local pea = pe:Clone()
2145
    pea.Parent = lleg.Glow
2146
    wait(0.5)
2147
    local pe2 = Instance.new("ParticleEmitter")
2148
    pe2.Color = ColorSequence.new(Color3.new(4, 175, 236))
2149
    pe2.LightEmission = 0.9
2150
    pe2.Size = NumberSequence.new(5)
2151
    pe2.Texture = "rbxassetid://516107903"
2152
    pe2.Transparency = NumberSequence.new(0.4)
2153
    pe2.ZOffset = 2
2154
    pe2.Enabled = true
2155
    pe2.LockedToPart = true
2156
    pe2.Lifetime = NumberRange.new(0.07)
2157
    pe2.Rate = 8
2158
    pe2.Rotation = NumberRange.new(0, 360)
2159
    pe2.RotSpeed = NumberRange.new(0)
2160
    pe2.Speed = NumberRange.new(0)
2161
    pe2.VelocitySpread = 180
2162
    pe2.Parent = lleg.Glow
2163
    local pea2 = pe2:Clone()
2164
    pea2.Parent = lleg.Glow
2165
local Mus = Instance.new("Sound",workspace)
2166
Mus.SoundId = "rbxassetid://802518140"
2167
Mus.Pitch = 1
2168
Mus.Volume = 90000
2169
Mus.Looped = false
2170
wait(0.9)
2171
Mus:Play()
2172
2173
2174
   
2175
human.WalkSpeed = 0
2176
for i = 0,1,0.1 do
2177
swait()
2178
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2179
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
2180
RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
2181
LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
2182
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)
2183
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)
2184
end
2185
wait(1)game:GetService("Chat"):Chat(plr.Character.Head, "Detroit Smash!")
2186
for i = 0,1,0.1 do
2187
swait()
2188
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
2189
tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2190
RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
2191
LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
2192
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)
2193
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)
2194
end
2195
2196
KickBoom()
2197
so("http://roblox.com/asset/?id=144699494",lleg,2,1.1)	
2198
so("http://roblox.com/asset/?id=321321137",lleg,1,1)
2199
so("http://roblox.com/asset/?id=506384002",lleg,1,1)	
2200
so("http://roblox.com/asset/?id=157878578",lleg,25,1)
2201
so("http://roblox.com/asset/?id=165970126",lleg,25,1)
2202
2203
wait(3)
2204
human.WalkSpeed = 16
2205
pe:Destroy()
2206
pe2:Destroy()
2207
pea:Destroy()
2208
pea2:Destroy()
2209
resetlerp()
2210
activu = false
2211
end
2212
2213
2214
2215
2216
2217
function Smash()
2218
	for i = 1, 15 do
2219
local gtrace = Instance.new("Part",game.Workspace)
2220
gtrace.BrickColor = gprop[1]
2221
gtrace.Material = gprop[2]
2222
gtrace.Size = Vector3.new(19,19,19)
2223
gtrace.Anchored = true
2224
gtrace.CanCollide = false
2225
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)))
2226
local gdisp = coroutine.wrap(function()
2227
wait(7)
2228
for i = 1, 9 do
2229
wait(.1)
2230
gtrace.Transparency = gtrace.Transparency + .1
2231
end
2232
gtrace:Destroy()
2233
end)
2234
gdisp()
2235
end
2236
2237
Crater(head,67)
2238
end
2239
2240
function Smash2()
2241
	for i = 1, 15 do
2242
local gtrace = Instance.new("Part",game.Workspace)
2243
gtrace.BrickColor = gprop[1]
2244
gtrace.Material = gprop[2]
2245
gtrace.Size = Vector3.new(19,19,19)
2246
gtrace.Anchored = true
2247
gtrace.CanCollide = false
2248
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)))
2249
local gdisp = coroutine.wrap(function()
2250
wait(7)
2251
for i = 1, 9 do
2252
wait(.1)
2253
gtrace.Transparency = gtrace.Transparency + .1
2254
end
2255
gtrace:Destroy()
2256
end)
2257
gdisp()
2258
end
2259
2260
end
2261
2262
function Smash3()
2263
	for i = 1, 15 do
2264
local gtrace = Instance.new("Part",game.Workspace)
2265
gtrace.BrickColor = gprop[1]
2266
gtrace.Material = gprop[2]
2267
gtrace.Size = Vector3.new(19,19,19)
2268
gtrace.Anchored = true
2269
gtrace.CanCollide = false
2270
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)))
2271
local gdisp = coroutine.wrap(function()
2272
wait(7)
2273
for i = 1, 9 do
2274
wait(.1)
2275
gtrace.Transparency = gtrace.Transparency + .1
2276
end
2277
gtrace:Destroy()
2278
end)
2279
gdisp()
2280
end
2281
2282
end
2283
2284
2285
function Smash4()
2286
	for i = 1, 15 do
2287
local gtrace = Instance.new("Part",game.Workspace)
2288
gtrace.BrickColor = gprop[1]
2289
gtrace.Material = gprop[2]
2290
gtrace.Size = Vector3.new(19,19,19)
2291
gtrace.Anchored = true
2292
gtrace.CanCollide = false
2293
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)))
2294
local gdisp = coroutine.wrap(function()
2295
wait(7)
2296
for i = 1, 9 do
2297
wait(.1)
2298
gtrace.Transparency = gtrace.Transparency + .1
2299
end
2300
gtrace:Destroy()
2301
end)
2302
gdisp()
2303
end
2304
2305
end
2306
2307
function Smash5()
2308
	for i = 1, 15 do
2309
local gtrace = Instance.new("Part",game.Workspace)
2310
gtrace.BrickColor = gprop[1]
2311
gtrace.Material = gprop[2]
2312
gtrace.Size = Vector3.new(19,19,19)
2313
gtrace.Anchored = true
2314
gtrace.CanCollide = false
2315
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)))
2316
local gdisp = coroutine.wrap(function()
2317
wait(7)
2318
for i = 1, 9 do
2319
wait(.1)
2320
gtrace.Transparency = gtrace.Transparency + .1
2321
end
2322
gtrace:Destroy()
2323
end)
2324
gdisp()
2325
end
2326
2327
end
2328
2329
function Smash6()
2330
	for i = 1, 15 do
2331
local gtrace = Instance.new("Part",game.Workspace)
2332
gtrace.BrickColor = gprop[1]
2333
gtrace.Material = gprop[2]
2334
gtrace.Size = Vector3.new(19,19,19)
2335
gtrace.Anchored = true
2336
gtrace.CanCollide = false
2337
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)))
2338
local gdisp = coroutine.wrap(function()
2339
wait(7)
2340
for i = 1, 9 do
2341
wait(.1)
2342
gtrace.Transparency = gtrace.Transparency + .1
2343
end
2344
gtrace:Destroy()
2345
end)
2346
gdisp()
2347
end
2348
2349
end
2350
2351
2352
	for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do
2353
        if v:FindFirstChild('Humanoid') then
2354
            v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999))
2355
            v.Humanoid.PlatformStand = true
2356
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600
2357
        end
2358
    end 
2359
2360
2361
function HeavenSmash()
2362
	
2363
	
2364
	 if activu == true or selected == false then
2365
      return
2366
	    end
2367
	coroutine.resume(coroutine.create(function()
2368
      fglow(lleg.Glow, 19)
2369
	  fglow(rleg.Glow, 19)
2370
	  fglow(rarm.Glow, 19)
2371
	  fglow(larm.Glow, 19)
2372
	  fglow(head.Glow, 19)
2373
	  fglow(tors.Glow, 19)
2374
    end))
2375
    activu = true
2376
local pe = Instance.new("ParticleEmitter")
2377
    pe.Color = ColorSequence.new(Color3.new(4, 175, 236))
2378
    pe.LightEmission = 0.9
2379
    pe.Size = NumberSequence.new(0.5)
2380
    pe.Texture = "rbxassetid://272050333"
2381
    pe.Transparency = NumberSequence.new(0.1)
2382
    pe.Lifetime = NumberRange.new(0.1)
2383
    pe.Rate = 250
2384
    pe.RotSpeed = NumberRange.new(360)
2385
    pe.Speed = NumberRange.new(3)
2386
    pe.VelocitySpread = 360
2387
    pe.Parent = lleg.Glow
2388
    local pea = pe:Clone()
2389
    pea.Parent = lleg.Glow
2390
    local pe2 = Instance.new("ParticleEmitter")
2391
    pe2.Color = ColorSequence.new(Color3.new(4, 175, 236))
2392
    pe2.LightEmission = 0.9
2393
    pe2.Size = NumberSequence.new(5)
2394
    pe2.Texture = "rbxassetid://516107903"
2395
    pe2.Transparency = NumberSequence.new(0.4)
2396
    pe2.ZOffset = 2
2397
    pe2.Enabled = true
2398
    pe2.LockedToPart = true
2399
    pe2.Lifetime = NumberRange.new(0.07)
2400
    pe2.Rate = 8
2401
    pe2.Rotation = NumberRange.new(0, 360)
2402
    pe2.RotSpeed = NumberRange.new(0)
2403
    pe2.Speed = NumberRange.new(0)
2404
    pe2.VelocitySpread = 180
2405
    pe2.Parent = lleg.Glow
2406
    local pea2 = pe2:Clone()
2407
    pea2.Parent = lleg.Glow
2408
2409
2410
2411
    local pet = Instance.new("ParticleEmitter")
2412
    pet.Color = ColorSequence.new(Color3.new(4, 175, 236))
2413
    pet.LightEmission = 0.9
2414
    pet.Size = NumberSequence.new(0.5)
2415
    pet.Texture = "rbxassetid://272050333"
2416
    pet.Transparency = NumberSequence.new(0.1)
2417
    pet.Lifetime = NumberRange.new(0.1)
2418
    pet.Rate = 1
2419
    pet.RotSpeed = NumberRange.new(360)
2420
    pet.Speed = NumberRange.new(3)
2421
    pet.VelocitySpread = 360
2422
    pet.Parent = rarm.Glow
2423
    local pet2 = Instance.new("ParticleEmitter")
2424
    pet2.Color = ColorSequence.new(Color3.new(4, 175, 236))
2425
    pet2.LightEmission = 0.9
2426
    pet2.Size = NumberSequence.new(5)
2427
    pet2.Texture = "rbxassetid://516107903"
2428
    pet2.Transparency = NumberSequence.new(0.4)
2429
    pet2.ZOffset = 2
2430
    pet2.Enabled = false
2431
    pet2.LockedToPart = true
2432
    pet2.Lifetime = NumberRange.new(0.07)
2433
    pet2.Rate = 8
2434
    pet2.Rotation = NumberRange.new(0, 360)
2435
    pet2.RotSpeed = NumberRange.new(0)
2436
    pet2.Speed = NumberRange.new(0)
2437
    pet2.VelocitySpread = 180
2438
    pet2.Parent = rarm.Glow
2439
2440
    
2441
   
2442
    local petl = Instance.new("ParticleEmitter")
2443
    petl.Color = ColorSequence.new(Color3.new(4, 175, 236))
2444
    petl.LightEmission = 0.9
2445
    petl.Size = NumberSequence.new(0.5)
2446
    petl.Texture = "rbxassetid://272050333"
2447
    petl.Transparency = NumberSequence.new(0.1)
2448
    petl.Lifetime = NumberRange.new(0.1)
2449
    petl.Rate = 1
2450
    petl.RotSpeed = NumberRange.new(360)
2451
    petl.Speed = NumberRange.new(3)
2452
    petl.VelocitySpread = 360
2453
    petl.Parent = larm.Glow
2454
    local petl2 = Instance.new("ParticleEmitter")
2455
    petl2.Color = ColorSequence.new(Color3.new(4, 175, 236))
2456
    petl2.LightEmission = 0.9
2457
    petl2.Size = NumberSequence.new(5)
2458
    petl2.Texture = "rbxassetid://516107903"
2459
    petl2.Transparency = NumberSequence.new(0.4)
2460
    petl2.ZOffset = 2
2461
    petl2.Enabled = false
2462
    petl2.LockedToPart = true
2463
    petl2.Lifetime = NumberRange.new(0.07)
2464
    petl2.Rate = 8
2465
    petl2.Rotation = NumberRange.new(0, 360)
2466
    petl2.RotSpeed = NumberRange.new(0)
2467
    petl2.Speed = NumberRange.new(0)
2468
    petl2.VelocitySpread = 180
2469
    petl2.Parent = larm.Glow
2470
2471
   
2472
   local petl3 = Instance.new("ParticleEmitter")
2473
    petl3.Color = ColorSequence.new(Color3.new(4, 175, 236))
2474
    petl3.LightEmission = 0.9
2475
    petl3.Size = NumberSequence.new(0.5)
2476
    petl3.Texture = "rbxassetid://272050333"
2477
    petl3.Transparency = NumberSequence.new(0.1)
2478
    petl3.Lifetime = NumberRange.new(0.1)
2479
    petl3.Rate = 1
2480
    petl3.RotSpeed = NumberRange.new(360)
2481
    petl3.Speed = NumberRange.new(3)
2482
    petl3.VelocitySpread = 360
2483
    petl3.Parent = head.Glow
2484
    local petl23 = Instance.new("ParticleEmitter")
2485
    petl23.Color = ColorSequence.new(Color3.new(4, 175, 236))
2486
    petl23.LightEmission = 0.9
2487
    petl23.Size = NumberSequence.new(5)
2488
    petl23.Texture = "rbxassetid://516107903"
2489
    petl23.Transparency = NumberSequence.new(0.4)
2490
    petl23.ZOffset = 2
2491
    petl23.Enabled = false
2492
    petl23.LockedToPart = true
2493
    petl23.Lifetime = NumberRange.new(0.07)
2494
    petl23.Rate = 8
2495
    petl23.Rotation = NumberRange.new(0, 360)
2496
    petl23.RotSpeed = NumberRange.new(0)
2497
    petl23.Speed = NumberRange.new(0)
2498
    petl23.VelocitySpread = 180
2499
    petl23.Parent = head.Glow
2500
2501
2502
2503
local petl34 = Instance.new("ParticleEmitter")
2504
    petl34.Color = ColorSequence.new(Color3.new(4, 175, 236))
2505
    petl34.LightEmission = 0.9
2506
    petl34.Size = NumberSequence.new(0.5)
2507
    petl34.Texture = "rbxassetid://272050333"
2508
    petl34.Transparency = NumberSequence.new(0.1)
2509
    petl34.Lifetime = NumberRange.new(0.1)
2510
    petl34.Rate = 1
2511
    petl34.RotSpeed = NumberRange.new(360)
2512
    petl34.Speed = NumberRange.new(3)
2513
    petl34.VelocitySpread = 360
2514
    petl34.Parent = rleg.Glow
2515
    local petl234 = Instance.new("ParticleEmitter")
2516
    petl234.Color = ColorSequence.new(Color3.new(4, 175, 236))
2517
    petl234.LightEmission = 0.9
2518
    petl234.Size = NumberSequence.new(5)
2519
    petl234.Texture = "rbxassetid://516107903"
2520
    petl234.Transparency = NumberSequence.new(0.4)
2521
    petl234.ZOffset = 2
2522
    petl234.Enabled = false
2523
    petl234.LockedToPart = true
2524
    petl234.Rate = 8
2525
    petl234.Rotation = NumberRange.new(0, 360)
2526
    petl234.RotSpeed = NumberRange.new(0)
2527
    petl234.Speed = NumberRange.new(0)
2528
    petl234.VelocitySpread = 180
2529
    petl234.Parent = rleg.Glow
2530
2531
2532
local petl345 = Instance.new("ParticleEmitter")
2533
    petl345.Color = ColorSequence.new(Color3.new(4, 175, 236))
2534
    petl345.LightEmission = 0.9
2535
    petl345.Size = NumberSequence.new(0.5)
2536
    petl345.Texture = "rbxassetid://272050333"
2537
    petl345.Transparency = NumberSequence.new(0.1)
2538
    petl345.Lifetime = NumberRange.new(0.1)
2539
    petl345.Rate = 1
2540
    petl345.RotSpeed = NumberRange.new(360)
2541
    petl345.Speed = NumberRange.new(3)
2542
    petl345.VelocitySpread = 360
2543
    petl345.Parent = tors.Glow
2544
    local petl2345 = Instance.new("ParticleEmitter")
2545
    petl2345.Color = ColorSequence.new(Color3.new(4, 175, 236))
2546
    petl2345.LightEmission = 0.9
2547
    petl2345.Size = NumberSequence.new(5)
2548
    petl2345.Texture = "rbxassetid://516107903"
2549
    petl2345.Transparency = NumberSequence.new(0.4)
2550
    petl2345.ZOffset = 2
2551
    petl2345.Enabled = false
2552
    petl2345.LockedToPart = true
2553
    petl2345.Rate = 8
2554
    petl2345.Rotation = NumberRange.new(0, 360)
2555
    petl2345.RotSpeed = NumberRange.new(0)
2556
    petl2345.Speed = NumberRange.new(0)
2557
    petl2345.VelocitySpread = 180
2558
    petl2345.Parent = tors.Glow
2559
human.WalkSpeed = 0
2560
so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5)
2561
so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5)
2562
game:GetService("Chat"):Chat(plr.Character.Head, "United States of...")
2563
for l = 1, 30 do
2564
      swait()
2565
      lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
2566
      lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
2567
      lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
2568
      lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2569
      lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
2570
      lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2571
      lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
2572
      lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2573
      lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
2574
      lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
2575
	    end
2576
2577
2578
resetlerp()
2579
2580
 BV = Instance.new("BodyVelocity", tors)
2581
        BV.maxForce = Vector3.new(0,200000,0)
2582
        BV.P = 100000
2583
        BV.velocity = Vector3.new(0,150,0)
2584
local rng = Instance.new("Part", chr)
2585
        rng.Anchored = true
2586
        rng.BrickColor = BrickColor.new("Institutional white")
2587
        rng.CanCollide = false
2588
        rng.FormFactor = 3
2589
        rng.Name = "Ring"
2590
        rng.Size = Vector3.new(1, 1, 1)
2591
        rng.Transparency = 0.5
2592
        rng.TopSurface = 0
2593
        rng.BottomSurface = 0
2594
        rng.Position = tors.Position - Vector3.new(0,2,0)
2595
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
2596
        local rngm = Instance.new("SpecialMesh", rng)
2597
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2598
        rngm.Scale = Vector3.new(10, 10, 20)
2599
            x = Instance.new("Sound",tors)
2600
            x.SoundId = "http://www.roblox.com/asset/?id=169445602"
2601
            x.Looped = false
2602
            x.Pitch = .7
2603
            x.Volume = 30
2604
            x:Play()
2605
                coroutine.wrap(function()
2606
                for i = 1, 60, 8 do
2607
                rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10)
2608
                rng.Transparency = i/60
2609
                
2610
                end
2611
                wait()
2612
                rng:Destroy()
2613-
wait(3.2)
2613+
2614
wait()
2615
wait(2.6)
2616
BV:Destroy()
2617
tors.Anchored = true
2618
wait(1)
2619
tors.Anchored = false
2620
BV = Instance.new("BodyVelocity", tors)
2621
        BV.maxForce = Vector3.new(0,-20000,0)
2622
        BV.P = 1000
2623
        BV.velocity = Vector3.new(0,-150,0)
2624
game:GetService("Chat"):Chat(plr.Character.Head, "SMASH!")
2625
wait(1)
2626
BV:Destroy()
2627
wait(0.01)
2628
2629
human.WalkSpeed = 0
2630
    boom3:Play()
2631
2632
Smash()
2633
Smash2()
2634
Smash3()
2635
Ring()
2636
pe:Destroy()
2637
pea:Destroy()
2638
pea2:Destroy()
2639
pe2:Destroy()
2640
wait(2)
2641
human.WalkSpeed = 16
2642
	activu = false
2643
end
2644
2645
2646
2647
sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
2648
sound.SoundId = "rbxassetid://220025776"
2649
sound.Volume = 6
2650
2651
sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"])
2652
sound2.SoundId = "rbxassetid://386946017"
2653
sound2.Volume = 6
2654
2655
sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character)
2656
sound3.SoundId = "rbxassetid://165969964"
2657
sound3.Volume = 6
2658
2659
function rip()
2660
		activu = true
2661
		local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
2662
		detect.Size = Vector3.new(1,1,1)
2663
		detect:BreakJoints()
2664
		detect.CanCollide = false
2665
		local weld = Instance.new("Weld", detect)
2666
		weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
2667
		weld.Part1 = detect
2668
		weld.C0 = weld.C0 * CFrame.new(0,-1,0)
2669
		
2670
		
2671
		
2672
		local function attack(prt)
2673
			local humanoid = prt.Parent:findFirstChild("Humanoid")
2674
			if humanoid ~= nil then
2675
				local torso = prt.Parent:findFirstChild("Torso")
2676
				
2677
				
2678
				
2679
				
2680
				
2681
				
2682
				
2683
				function KABOOMZ3()
2684
    local effspwn = Instance.new("Part")
2685
    coroutine.resume(coroutine.create(function()
2686
      local sound1 = Instance.new("Sound")
2687
      sound1.SoundId = "rbxassetid://138137702"
2688
      sound1.MaxDistance = 300
2689
      sound1.EmitterSize = 20
2690
      sound1.Volume = 2.5
2691
      sound1.Pitch = 0.65
2692
      sound1.Parent = effspwn
2693
      local sound2 = Instance.new("Sound")
2694
      sound2.SoundId = "rbxassetid://157878578"
2695
      sound2.MaxDistance = 300
2696
      sound2.EmitterSize = 20
2697
      sound2.Volume = 1
2698
      sound2.Pitch = 0.7
2699
      sound2.Parent = effspwn
2700
      local sound3 = Instance.new("Sound")
2701
      sound3.SoundId = "rbxassetid://138250406"
2702
      sound2.MaxDistance = 400
2703
      sound2.EmitterSize = 30
2704
      sound2.Volume = 0.5
2705
      sound2.Pitch = 0.5
2706
      sound2.Parent = effspwn
2707
      sound2:Play()
2708
      wait()
2709
      sound1:Play()
2710
      sound3:Play()
2711
    end))
2712
    local model = Instance.new("Model")
2713
    game.Debris:AddItem(model, 20)
2714
    model.Name = "smasheffects"
2715
    model.Parent = workspace
2716
    effspwn.Name = "spwnr"
2717
    effspwn.Size = Vector3.new(1, 1, 1)
2718
    effspwn.Anchored = true
2719
    effspwn.CanCollide = false
2720
    effspwn.Transparency = 1
2721
    effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0)
2722
    effspwn.Parent = model
2723
2724
2725
2726
2727
2728
Crater(head,60)
2729
Crater(head,120)
2730
2731
    for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
2732
        if v:FindFirstChild('Humanoid') then
2733
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
2734
            v.Humanoid.PlatformStand = true
2735
            v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
2736
        end
2737
    end 
2738
2739
    coroutine.resume(coroutine.create(function()
2740
      local shok = Instance.new("Part")
2741
      shok.Name = "whoosh"
2742
      shok.BrickColor = BrickColor.new("Institutional white")
2743
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
2744
      shok.Size = Vector3.new(1, 1, 1)
2745
      shok.Anchored = true
2746
      shok.Material = "Neon"
2747
      shok.Transparency = 0.1
2748
      shok.CanCollide = false
2749
      shok.Parent = model
2750
      game.Debris:AddItem(shok, 12)
2751
      local mesh = Instance.new("SpecialMesh")
2752
      mesh.MeshType = "FileMesh"
2753
      mesh.MeshId = "rbxassetid://437347603"
2754
      mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
2755
      mesh.Parent = shok
2756
2757
2758
2759
2760
2761
      for e = 1, 8 do
2762
        wait()
2763
        mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
2764
        shok.Transparency = shok.Transparency + 0.035
2765
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
2766
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
2767
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
2768
2769
      end
2770
      for e = 1, 16 do
2771
        wait()
2772
        mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
2773
        shok.Transparency = shok.Transparency + 0.11
2774
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
2775
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
2776
        hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
2777
2778
      end
2779
    end))
2780
    coroutine.resume(coroutine.create(function()
2781
      local shok = Instance.new("Part")
2782
      shok.Name = "wring1"
2783
      shok.BrickColor = BrickColor.new("Institutional white")
2784
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
2785
      shok.Size = Vector3.new(1, 1, 1)
2786
      shok.Anchored = true
2787
      shok.Material = "Neon"
2788
      shok.Transparency = 0.25
2789
      shok.CanCollide = false
2790
      shok.Parent = model
2791
      game.Debris:AddItem(shok, 12)
2792
      local mesh = Instance.new("SpecialMesh")
2793
      mesh.MeshType = "FileMesh"
2794
      mesh.MeshId = "rbxassetid://3270017"
2795
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
2796
      mesh.Parent = shok
2797
      for e = 1, 30 do
2798
        wait()
2799
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
2800
        shok.Transparency = shok.Transparency + 0.002
2801
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
2802
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
2803
      end
2804
      for e = 1, 38 do
2805
        wait()
2806
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
2807
        shok.Transparency = shok.Transparency + 0.002
2808
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2809
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
2810
      end
2811
      for e = 1, 24 do
2812
        wait()
2813
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
2814
        shok.Transparency = shok.Transparency + 0.03
2815
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2816
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
2817
      end
2818
    end))
2819
    coroutine.resume(coroutine.create(function()
2820
      local shok = Instance.new("Part")
2821
      shok.Name = "wring2"
2822
      shok.BrickColor = BrickColor.new("Institutional white")
2823
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
2824
      shok.Size = Vector3.new(1, 1, 1)
2825
      shok.Anchored = true
2826
      shok.Material = "Neon"
2827
      shok.Transparency = 0.25
2828
      shok.CanCollide = false
2829
      shok.Parent = model
2830
      game.Debris:AddItem(shok, 12)
2831
      local mesh = Instance.new("SpecialMesh")
2832
      mesh.MeshType = "FileMesh"
2833
      mesh.MeshId = "rbxassetid://3270017"
2834
      mesh.Scale = Vector3.new(12, 12, 0.05)
2835
      mesh.Parent = shok
2836
      for e = 1, 30 do
2837
        wait()
2838
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
2839
        shok.Transparency = shok.Transparency + 0.002
2840
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
2841
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
2842
      end
2843
      for e = 1, 38 do
2844
        wait()
2845
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
2846
        shok.Transparency = shok.Transparency + 0.002
2847
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2848
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
2849
      end
2850
      for e = 1, 24 do
2851
        wait()
2852
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
2853
        shok.Transparency = shok.Transparency + 0.03
2854
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2855
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
2856
      end
2857
    end))
2858
    coroutine.resume(coroutine.create(function()
2859
      local shok = Instance.new("Part")
2860
      shok.Name = "coil1"
2861
      shok.BrickColor = BrickColor.new("Institutional white")
2862
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
2863
      shok.Size = Vector3.new(1, 1, 1)
2864
      shok.Anchored = true
2865
      shok.Material = "Neon"
2866
      shok.Transparency = 0.25
2867
      shok.CanCollide = false
2868
      shok.Parent = model
2869
      game.Debris:AddItem(shok, 12)
2870
      local mesh = Instance.new("SpecialMesh")
2871
      mesh.MeshType = "FileMesh"
2872
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
2873
      mesh.Scale = Vector3.new(12, 12, 12)
2874
      mesh.Parent = shok
2875
      for e = 1, 15 do
2876
        wait()
2877
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2878
        shok.Transparency = shok.Transparency + 0.004
2879
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
2880
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2881
      end
2882
      for e = 1, 16 do
2883
        wait()
2884
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2885
        shok.Transparency = shok.Transparency + 0.004
2886
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2887
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2888
      end
2889
      for e = 1, 12 do
2890
        wait()
2891
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2892
        shok.Transparency = shok.Transparency + 0.06
2893
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2894
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2895
      end
2896
    end))
2897
    coroutine.resume(coroutine.create(function()
2898
      local shok = Instance.new("Part")
2899
      shok.Name = "coil2"
2900
      shok.BrickColor = BrickColor.new("Institutional white")
2901
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
2902
      shok.Size = Vector3.new(1, 1, 1)
2903
      shok.Anchored = true
2904
      shok.Material = "Neon"
2905
      shok.Transparency = 0.25
2906
      shok.CanCollide = false
2907
      shok.Parent = model
2908
      game.Debris:AddItem(shok, 12)
2909
      local mesh = Instance.new("SpecialMesh")
2910
      mesh.MeshType = "FileMesh"
2911
      mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
2912
      mesh.Scale = Vector3.new(6, 12, 6)
2913
      mesh.Parent = shok
2914
      for e = 1, 15 do
2915
        wait()
2916
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
2917
        shok.Transparency = shok.Transparency + 0.005
2918
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
2919
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
2920
      end
2921
      for e = 1, 16 do
2922
        wait()
2923
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
2924
        shok.Transparency = shok.Transparency + 0.005
2925
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2926
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
2927
      end
2928
      for e = 1, 12 do
2929
        wait()
2930
        mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
2931
        shok.Transparency = shok.Transparency + 0.09
2932
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2933
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
2934
      end
2935
    end))
2936
    coroutine.resume(coroutine.create(function()
2937
      local shok = Instance.new("Part")
2938
      shok.Name = "shokwve"
2939
      shok.BrickColor = BrickColor.new("Institutional white")
2940
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
2941
      shok.Size = Vector3.new(1, 1, 1)
2942
      shok.Anchored = true
2943
      shok.Material = "Neon"
2944
      shok.Transparency = 0.6
2945
      shok.CanCollide = false
2946
      shok.Parent = model
2947
      game.Debris:AddItem(shok, 12)
2948
      local mesh = Instance.new("SpecialMesh")
2949
      mesh.MeshType = "FileMesh"
2950
      mesh.MeshId = "rbxassetid://489415447"
2951
      mesh.Scale = Vector3.new(1, 1, 1)
2952
      mesh.Parent = shok
2953
      for e = 1, 12 do
2954
        wait()
2955
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
2956
        shok.Transparency = shok.Transparency + 0.002
2957
      end
2958
      for e = 1, 32 do
2959
        wait()
2960
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
2961
        shok.Transparency = shok.Transparency + 0.002
2962
      end
2963
      for e = 1, 24 do
2964
        wait()
2965
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
2966
        shok.Transparency = shok.Transparency + 0.03
2967
      end
2968
    end))
2969
    coroutine.resume(coroutine.create(function()
2970
      local shok = Instance.new("Part")
2971
      shok.Name = "shock2"
2972
      shok.BrickColor = BrickColor.new("Institutional white")
2973
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
2974
      shok.Size = Vector3.new(1, 1, 1)
2975
      shok.Anchored = true
2976
      shok.Material = "Neon"
2977
      shok.Transparency = 0.35
2978
      shok.CanCollide = false
2979
      shok.Parent = model
2980
      game.Debris:AddItem(shok, 12)
2981
      local mesh = Instance.new("SpecialMesh")
2982
      mesh.MeshType = "FileMesh"
2983
      mesh.MeshId = "rbxassetid://489415447"
2984
      mesh.Scale = Vector3.new(12, 12, 12)
2985
      mesh.Parent = shok
2986
      for e = 1, 15 do
2987
        wait()
2988
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2989
        shok.Transparency = shok.Transparency + 0.004
2990
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2991
      end
2992
      for e = 1, 16 do
2993
        wait()
2994
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2995
        shok.Transparency = shok.Transparency + 0.004
2996
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2997
      end
2998
      for e = 1, 12 do
2999
        wait()
3000
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
3001
        shok.Transparency = shok.Transparency + 0.06
3002
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
3003
      end
3004
    end))
3005
    coroutine.resume(coroutine.create(function()
3006
      local shok = Instance.new("Part")
3007
      shok.Name = "shock3"
3008
      shok.BrickColor = BrickColor.new("Institutional white")
3009
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
3010
      shok.Size = Vector3.new(1, 1, 1)
3011
      shok.Anchored = true
3012
      shok.Material = "Neon"
3013
      shok.Transparency = 0.35
3014
      shok.CanCollide = false
3015
      shok.Parent = model
3016
      game.Debris:AddItem(shok, 12)
3017
      local mesh = Instance.new("SpecialMesh")
3018
      mesh.MeshType = "FileMesh"
3019
      mesh.MeshId = "rbxassetid://489415447"
3020
      mesh.Scale = Vector3.new(12, 12, 12)
3021
      mesh.Parent = shok
3022
      for e = 1, 15 do
3023
        wait()
3024
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
3025
        shok.Transparency = shok.Transparency + 0.004
3026
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
3027
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
3028
      end
3029
      for e = 1, 16 do
3030
        wait()
3031
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
3032
        shok.Transparency = shok.Transparency + 0.004
3033
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
3034
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
3035
      end
3036
      for e = 1, 12 do
3037
        wait()
3038
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
3039
        shok.Transparency = shok.Transparency + 0.06
3040
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
3041
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
3042
      end
3043
    end))
3044
  end
3045
3046
3047
3048
				if torso ~= nil then
3049
					game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
3050
		            game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
3051
					for i = 1,5 do
3052
						wait()
3053
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25)
3054
						game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25)
3055
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0)
3056
					end
3057
					sound:Play()
3058
					local bodyVel = Instance.new("BodyPosition", torso)
3059
					bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0)
3060
					bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
3061
					wait(2)
3062
					torso.Anchored = true
3063
					for i = 1,5 do
3064
						wait()
3065
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
3066
						game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
3067
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
3068
					end
3069
					for i = 1,5 do
3070
						wait()
3071
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08)
3072
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0)
3073
					end
3074
					wait(1)
3075
					local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso)
3076
					bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
3077
					bodyvel.Position = torso.Position
3078
					for i = 1,5 do
3079
						wait()
3080
						game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0)
3081
						game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08)
3082
						game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0)
3083
					end
3084
					wait(2)
3085
					bodyVel:destroy()
3086
					game.Players.LocalPlayer.Character.Torso.Anchored = true
3087
					torso.Anchored = false
3088
					humanoid.PlatformStand = true
3089
					local bodyVel = Instance.new("BodyPosition", torso)
3090
					bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0)
3091
					bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
3092
					sound2:Play()
3093
					
3094
					wait(1.2)
3095
					game.Players.LocalPlayer.Character.Torso.Anchored = false
3096
                    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
3097
                    game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
3098
                    game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
3099
                    game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
3100
					activu = false
3101
					wait(0.5)
3102
					bodyvel:destroy()
3103
					local ROW3 = function(out, trans, s, wt, t, ang, plus)
3104
					for i = 1, 360, 360/t do
3105
						local c = Instance.new("Part", game.Workspace)
3106
						c.FormFactor = 3
3107
						c.TopSurface = 0
3108
						c.BottomSurface = 0
3109
						c.Size = s
3110
						c.Anchored = true
3111
						c.CanCollide = wt
3112
						c.Material=workspace.Base.Material
3113
						c.Transparency = trans
3114
						c.BrickColor = workspace.Base.BrickColor
3115
						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
3116
						c.Locked=true
3117
						game.Debris:AddItem(c,25)
3118
					end
3119
end
3120
	
3121
	
3122
	
3123
3124
        sound3:Play()
3125
		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)
3126
					game.Players.LocalPlayer.Character.Torso.Anchored = true
3127
					KABOOMZ3()
3128
					wait(0.1)
3129
					
3130
										game.Players.LocalPlayer.Character.Torso.Anchored = false
3131
										game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
3132
					game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
3133
3134
					
3135
				end
3136
				end
3137
		end
3138
		detect.Touched:connect(attack)
3139
		wait(0.1)
3140
		detect:destroy()
3141
		activu = false
3142
			end
3143
		
3144
3145
3146
  function hito(partoz, magn, dmg, debtim)
3147
    for _, guy in pairs(workspace:GetChildren()) do
3148
      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
3149
        do
3150
          local humz = guy:FindFirstChild("Humanoid")
3151
          local hed = guy:FindFirstChild("Head")
3152
          humz:TakeDamage(dmg)
3153
          local db = Instance.new("StringValue")
3154
          db.Name = "alabo"
3155
          db.Parent = hed
3156
          delay(debtim, function()
3157
            db:Destroy()
3158
          end)
3159
        end
3160
      end
3161
    end
3162
  end
3163
  function animo(yep)
3164
    if yep == true then
3165
      anim.Parent = human
3166
      chr.Animate.Disabled = false
3167
    elseif yep == false then
3168
      chr.Animate.Disabled = true
3169
      anim.Parent = nil
3170-
    if key == "t" then
3170+
3171
  end
3172
  mouse.KeyDown:connect(function(key)
3173-
	if key == "r" then
3173+
3174
      rsmash()
3175
    end
3176-
	if key == "q" then
3176+
    if key == "x" then
3177
      jum()
3178
    end
3179
	if key == "c" then
3180
	  Tele()
3181
	    end
3182-
	if key == "h" then
3182+
	if key == "z" then
3183
		Stom()
3184
	end
3185
	if key == "v" then
3186
		HeavenSmash()
3187
	end
3188
	if key == "f" then
3189
		rip()
3190
	end
3191
  end)
3192
  tool.Equipped:connect(function()
3193
    selected = true
3194
  end)
3195
  tool.Unequipped:connect(function()
3196
    selected = false
3197
  end)
3198
while true do wait()
3199
human.MaxHealth = 1000
3200
wait(0.5)
3201
human.Health = 1000
3202
end