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