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