View difference between Paste ID: rE7pXggT and fLmtedEV
SHOW: | | - or go back to the newest paste.
1
2
3
--God Slayer 
4
5
6
7
8
--[[wait(0.1)
9
-------------------------------
10
local p=game:service("Players").LocalPlayer
11
if  p.Name=="Reruderu" then
12
        p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
13
elseif p.Name=="Rerumu" then
14
        p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
15
end]]
16
local p=game:service("Players").LocalPlayer
17
local char=p.Character
18
script.Parent=char 
19
local torso=char.Torso
20
local hed=char.Head
21
local larm=char:FindFirstChild("Left Arm")
22
local rarm=char:FindFirstChild("Right Arm")
23
local lleg=char:FindFirstChild("Left Leg")
24
local rleg=char:FindFirstChild("Right Leg") 
25
local hum=char.Humanoid
26
local cam=workspace.CurrentCamera
27
local root=char.HumanoidRootPart
28
local mouse=p:GetMouse()
29
local hb=game:service("RunService").Heartbeat
30
local rs=game:service("RunService").Stepped
31
hum.MaxHealth=math.huge
32
hum.Health=hum.MaxHealth
33
local pgui=Instance.new("ScreenGui",p.PlayerGui)
34
random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
35
local run = 30
36
local normal = 16
37
local color = "Really black"
38
local color2 = "Really red"
39-
local color2 = "Really blue"
39+
local righteyebrickcolor = "Really red"
40-
local righteyebrickcolor = "Really blue"
40+
41
local GodSlayer = true
42
local Full = false
43
hum.WalkSpeed = 5
44
ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
45
-------------------
46
47-
local drinks="10722059"
47+
48-
local m="41707332"
48+
49-
local tx="41708701"
49+
50-
local ragesong="209686794"
50+
51-
local breaks="368270172"
51+
52-
local scream="527276541"
52+
53-
local Shirt = "rbxassetid://427841675"
53+
54-
local Pants = "rbxassetid://428282416"
54+
55
end
56
57
function chatfunc(text)
58
local chat = coroutine.wrap(function()
59
if char:FindFirstChild("TalkingBillBoard")~= nil then
60
char:FindFirstChild("TalkingBillBoard"):destroy()
61
end
62
local naeeym2 = Instance.new("BillboardGui",char)
63
naeeym2.Size = UDim2.new(0,100,0,40)
64
naeeym2.StudsOffset = Vector3.new(0,3,0)
65
naeeym2.Adornee = char.Head
66
naeeym2.Name = "TalkingBillBoard"
67
local tecks2 = Instance.new("TextLabel",naeeym2)
68
tecks2.BackgroundTransparency = 1
69
tecks2.BorderSizePixel = 0
70
tecks2.Text = ""
71
tecks2.Font = "Fantasy"
72
tecks2.TextSize = 30
73
tecks2.TextStrokeTransparency = 0
74
tecks2.TextColor3 = Color3.new(.6,0,0)
75
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
76
tecks2.Size = UDim2.new(1,0,0.5,0)
77
local tecks3 = Instance.new("TextLabel",naeeym2)
78
tecks3.BackgroundTransparency = 1
79
tecks3.BorderSizePixel = 0
80
tecks3.Text = ""
81
tecks3.Font = "Fantasy"
82
tecks3.TextSize = 30
83
tecks3.TextStrokeTransparency = 0
84
tecks3.TextColor3 = Color3.new(0,0,255)
85
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
86
tecks3.Size = UDim2.new(1,0,0.5,0)
87
for i = 1,string.len(text),1 do
88
tecks2.Text = string.sub(text,1,i)
89
tecks3.Text = string.sub(text,1,i)
90
wait(0.01)
91
end
92
wait(2)
93
for i = 1, 50 do
94
swait()
95
tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
96
tecks2.Rotation = tecks2.Rotation - .8
97
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
98
tecks2.TextTransparency = tecks2.TextTransparency + .04
99
tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
100
tecks3.Rotation = tecks2.Rotation + .8
101
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
102
tecks3.TextTransparency = tecks2.TextTransparency + .04
103
end
104
naeeym2:Destroy()
105
end)
106
chat()
107
end
108
function onChatted(msg)
109
chatfunc(msg)
110
end
111
p.Chatted:connect(onChatted)
112
coroutine.resume(coroutine.create(function()
113
wait(2)
114
chatfunc("Ladies and gents, allow me to show you what happens when a god dies.")
115
end))
116
117
118
local s0=Instance.new("Sound",char)
119
s0.SoundId="rbxassetid://"..ragesong
120
s0.Volume=1999
121
s0.Pitch=1
122
s0.Looped=true
123
124
125
local s02=Instance.new("Sound",char)
126
s02.SoundId="rbxassetid://408019383"
127
s02.Volume=1999
128
s02.Pitch=1
129
s02.Looped=false
130
s02:Play()
131
132
function Sound(ID,Parent,Vol,Pitch,Loop)
133
	local S0 = Instance.new("Sound",Parent)
134
	S0.SoundId = ID
135
	S0.Volume = Vol
136
	S0.Looped = Loop
137
	S0.Pitch = Pitch
138
	wait(.1)
139
	S0:Play()
140
end
141
function weld(a, b, acf)
142
	local w = Instance.new("Weld", a)
143
	w.Part0 = a
144
	w.Part1 = b
145
	w.C0 = acf
146
end
147
148
149
wait(9)
150
char.Head.face:Destroy()
151
local reye = Instance.new("Part", char)
152
reye.CanCollide = false
153
reye.BrickColor = BrickColor.new(righteyebrickcolor)
154
reye.Material = "Neon"
155
reye.Size = Vector3.new(.15,.15,.15)
156
weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
157
m1 = Instance.new("SpecialMesh", reye)
158
m1.MeshType = "Sphere"
159
m1.Scale = Vector3.new(0.9,0.9,0.9)
160
reye.Locked = true
161
reye.Name = "re"
162
163
local leye = Instance.new("Part", char)
164
leye.CanCollide = false
165
leye.BrickColor = BrickColor.new(righteyebrickcolor)
166
leye.Material = "Neon"
167
leye.Size = Vector3.new(.15,.15,.15)
168
weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0))
169
local m = Instance.new("SpecialMesh", leye)
170
m.MeshType = "Sphere"
171
m.Scale = Vector3.new(0.9,0.9,0.9)
172
leye.Locked = true
173
leye.Name = "le"
174
175
coroutine.resume(coroutine.create(function(Part,Weld)
176
while Part.Parent~=nil do
177
wait(2)
178
for i=0,1,0.2 do
179
wait()
180
m.Scale = Vector3.new(.9,.9-.8*i,.5)
181
end
182
for i=0,1,0.2 do
183
wait()
184
m.Scale = Vector3.new(.9,.9+.8*i,.5)
185
end
186
end
187
end),leye,weld)
188
189
coroutine.resume(coroutine.create(function(Part,Weld)
190
while Part.Parent~=nil do
191
wait(2)
192
for z=0,1,0.2 do
193
wait()
194
m1.Scale = Vector3.new(.9,.9-.8*z,.5)
195
end
196
for z=0,1,0.2 do
197
wait()
198
m1.Scale = Vector3.new(.9,.9+.8*z,.5)
199
end
200
end
201
end),reye,weld)
202
203
204
205
function fnt(pos,dist,splr)
206
    if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
207
        local list = {}
208
        for i,v in pairs(workspace:GetChildren())do
209
            if v:IsA("Model")then
210
                if v:findFirstChild("Torso")then
211
                    if v ~= char then
212
                        if(v.Torso.Position -pos).magnitude <= dist then
213
                            table.insert(list,v)
214
                        end
215
                    end
216
                end
217
            end
218
        end
219
    return list
220
end
221
function fnp(pos,dist,splr)
222
    if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
223
        local list = {}
224
        for i,v in pairs(workspace:GetChildren())do
225
            if v:IsA("Part")then
226
                    if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then
227
                        if(v.Position -pos).magnitude <= dist then
228
                            table.insert(list,v)
229
                        end
230
                end
231
            end
232
        end
233
    return list
234
end
235
fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld
236
local wld = Instance.new("Weld", wp1)
237
wld.Part0 = wp0
238
wld.Part1 = wp1
239
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
240
end
241
local trans=false
242
------------------------------------
243
------------------------------------
244
anim="idle"
245
local sine=0
246
local add=0
247
local value=0
248
local ffing=false
249
local msgs=0
250
attack=false
251
NoAnims=false
252
----preparing character----
253
254
255
256
257
258
259
function NoOutline(Part)
260
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
261
end 
262
function lerp(a, b, t) -- Linear interpolation
263
        return a + (b - a)*t
264
end
265
266
function slerp(a, b, t) --Spherical interpolation
267
        dot = a:Dot(b)
268
        if dot > 0.99999 or dot < -0.99999 then
269
                return t <= 0.5 and a or b
270
        else
271
                r = math.acos(dot)
272
                return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
273
        end
274
end
275
276
function matrixInterpolate(a, b, t)
277
        local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
278
        local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
279
        local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
280
        local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
281
        local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
282
        local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
283
        local t = v1:Dot(v2)
284
        if not (t < 0 or t == 0 or t > 0) then         -- Failsafe
285
                return CFrame.new()
286
        end
287
        return CFrame.new(
288
        v0.x, v0.y, v0.z,
289
        v1.x, v1.y, v1.z,
290
        v2.x, v2.y, v2.z,
291
        v3.x, v3.y, v3.z)
292
end
293
----------------------------------------------------
294
function genWeld(a,b)
295
    local w = Instance.new("Weld",a)
296
    w.Part0 = a
297
    w.Part1 = b
298
    return w
299
end
300
function weld(a, b)
301
    local weld = Instance.new("Weld")
302
    weld.Name = "W"
303
    weld.Part0 = a
304
    weld.Part1 = b
305
    weld.C0 = a.CFrame:inverse() * b.CFrame
306
    weld.Parent = a
307
    return weld;
308
end
309
----------------------------------------------------
310
function Lerp(c1,c2,al)
311
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
312
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
313
for i,v in pairs(com1) do
314
com1[i] = v+(com2[i]-v)*al
315
end
316
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
317
end
318
----------------------------------------------------
319
320
321
322
fw(torso, larm, -1.5, 0.5, 0)
323
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
324
fw(torso, rarm, 1.5, 0.5, 0)
325
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
326
fw(torso, hed, 0, 1.5, 0)
327
fw(torso, lleg, -0.5, -1, 0)
328
lleg.Weld.C1 = CFrame.new(0, 1, 0)
329
fw(torso, rleg, 0.5, -1, 0)
330
rleg.Weld.C1 = CFrame.new(0, 1, 0)
331
fw(root, torso, 0, -1, 0)
332
torso.Weld.C1 = CFrame.new(0, -1, 0)
333
--------------rot------------
334
local r=0
335
local radd=0.04
336
coroutine.wrap(function()
337
while rs:wait() do
338
r=r+radd
339
end
340
end)()
341
attack = false
342
-----------------------------
343
344
-----------------------------
345
346
347
                if trans == false then
348
                        attack=true
349
                        NoAnims=true
350
                        hum.WalkSpeed=0
351
                        
352
                        local fx = Instance.new("Sound",char)
353
                        fx.SoundId="rbxassetid://"..drinks
354
                        fx.Volume=0
355
                        fx.Pitch=1
356
                        fx:Play()
357
                        
358
                       
359
                        
360
                        
361
                        fx.SoundId="rbxassetid://"..breaks
362
                        fx.Volume=10
363
                        fx:Play()
364
                        
365
                       
366
                       
367
                        
368
                        print("Awaken.")
369
                        
370
                      
371
                        
372
                        coroutine.wrap(function()
373
                                while trans == false do
374
                                        wait(0.2)
375
                                        local ef = Instance.new("Part",char)
376
                                        ef.Name="pulse"
377
                                        ef.BrickColor=BrickColor.new(color2)
378
                                        ef.Material="Neon"
379
                                        ef.Shape="Ball"
380
                                        ef.CanCollide=false
381
                                        ef.Anchored=true
382
                                        ef.Size=Vector3.new(1,1,1)
383
                                        ef.CFrame=root.CFrame
384
                                        
385
                                        local ef2 = ef:Clone()
386
                                        ef2.Parent=ef
387
                                        ef2.BrickColor=BrickColor.new(color)
388
                                        ef2.Name="call"
389
                                        ef2.Size=Vector3.new(1,1,1)
390
                                        local em=Instance.new("SpecialMesh",ef2)
391
                                        em.MeshId="rbxassetid://3270017"
392
                                        em.Scale=Vector3.new(1,1,0.0001)
393
                                        
394
                                        local ef3 = ef2:Clone()
395
                                        ef3.Parent=ef
396
                                        ef3.Name="aura"
397
                                        ef3.CFrame=root.CFrame
398
                                        local em2=ef3.Mesh
399
                                        em2.MeshId="rbxassetid://20329976"
400
                                        em2.Scale=Vector3.new(1,0.4,1)
401
                                        
402
                                        local ef4 = ef3:Clone()
403
                                        ef4.Parent=ef
404
                                        local em3=ef4.Mesh
405
                                        
406
                                        local ef5 = ef2:Clone()
407
                                        ef5.Parent=ef
408
                                        local em4=ef5.Mesh
409
                                        
410
                                        coroutine.wrap(function()
411
                                                for i = 1, 60 do
412
                                                        rs:wait()
413
                                                        ef.Size=ef.Size+Vector3.new(1,1,1)
414
                                                        ef.Transparency=ef.Transparency+1/60
415
                                                        ef2.Size=ef2.Size+Vector3.new(1,0.3,1)
416
                                                        ef2.Transparency=ef2.Transparency+1/60
417
                                                        em.Scale=em.Scale+Vector3.new(1,1,0)
418
                                                        ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r)
419
                                                        ef3.Size=ef3.Size+Vector3.new(1,0.3,1)
420
                                                        ef3.Transparency=ef3.Transparency+1/60
421
                                                        ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
422
                                                        em2.Scale=em2.Scale+Vector3.new(1,0.3,1)
423
                                                        ef4.Size=ef4.Size+Vector3.new(1,0.3,1)
424
                                                        ef4.Transparency=ef4.Transparency+1/60
425
                                                        ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0)
426
                                                        em3.Scale=em3.Scale+Vector3.new(1,0.3,1)
427
                                                        ef5.Transparency=ef5.Transparency+1/60
428
                                                        em4.Scale=em4.Scale+Vector3.new(1,1,0)
429
                                                        ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r)
430
                                                end
431
                                                ef:Destroy()
432
                                                ef2:Destroy()
433
                                                ef3:Destroy()
434
                                                ef4:Destroy()
435
                                                ef5:Destroy()
436
                                        end)()
437
                                end
438
                                        local ef = Instance.new("Part",char)
439
                                        ef.Name="pulse"
440
                                        ef.BrickColor=BrickColor.new(color2)
441
                                        ef.Material="Neon"
442
                                        ef.Shape="Ball"
443
                                        ef.CanCollide=false
444
                                        ef.Anchored=true
445
                                        ef.Size=Vector3.new(1,1,1)
446
                                        ef.CFrame=root.CFrame
447
                                        local em=Instance.new("SpecialMesh",ef)
448
                                        em.MeshId="rbxassetid://9982590"
449
                                        em.Scale=Vector3.new(1,0.3,1)
450
                                        
451
                                        local ef2 = ef:Clone()
452
                                        ef2.Parent=ef
453
                                        ef2.Name="aura"
454
                                        ef2.CFrame=root.CFrame
455
                                        ef2.Mesh:Destroy()
456
                                        
457
                                        local ef3 = ef:Clone()
458
                                        ef3.Parent=ef
459
                                        ef3.Name="aura"
460
                                        ef3.CFrame=root.CFrame
461
                                        ef3.Mesh:Destroy()
462
                                        local em2=Instance.new("SpecialMesh",ef3)
463
                                        em2.MeshId="rbxassetid://20329976"
464
                                        em2.Scale=Vector3.new(1,0.3,1)
465
                                        
466
                                        coroutine.wrap(function()
467
                                                for i = 1, 250 do
468
                                                        ef.Size=ef.Size+Vector3.new(2,2,2)
469
                                                        ef.Transparency=ef.Transparency+1/160
470
                                                        em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6)
471
                                                        ef.CFrame=root.CFrame*CFrame.Angles(r,r,r)
472
                                                        ef3.Transparency=ef3.Transparency+1/160
473
                                                        ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
474
                                                        em2.Scale=em2.Scale+Vector3.new(2,0.8,2)
475
                                                        ef2.Size=ef2.Size+Vector3.new(2,2,2)
476
                                                        ef2.Transparency=ef2.Transparency+1/160
477
                                                        rs:wait()
478
                                                end
479
                                                ef:Destroy()
480
                                                ef2:Destroy()
481
                                                ef3:Destroy()
482
                                                s02:Destroy()
483
484
                                        end)()
485
                        end)()
486
                        
487
                        for i = 1, 270 do
488
                                torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25)
489
                                rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25)
490
                                lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25)
491
                                rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25)
492
                                larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25)
493
                                hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
494
                                rs:wait()
495
                        end
496
                        wait(8.7)
497
                        s0:Play()
498
                        trans=true
499
                        print("Time for battle.")
500
						for i,v in pairs(char:GetChildren()) do
501
							if v:FindFirstChild("Handle") then
502
								v.Handle.Transparency=1
503
							end
504
						end
505
                        hum.WalkSpeed=normal
506
                        NoAnims=false
507
                        attack=false
508
                end
509
     
510
511
512
hum = char.Humanoid
513
 
514
function CreateMesh(parent, id, x, y, z, texture)
515
local m=Instance.new("SpecialMesh", parent)
516
m.MeshType = "FileMesh"
517
m.MeshId=id
518
if texture ~= nil then
519
m.TextureId=texture
520
end
521
m.Scale = Vector3.new(x,y,z)
522-
------effects------
522+
523
 
524-
ypcall(function()
524+
525
 
526
Hat=function()
527
hat = Instance.new("Part", char)
528
CreateMesh(hat, "rbxassetid://667528488", 1.1, 1.1, 1.1,"rbxassetid://845828015")
529-
char.Shirt.ShirtTemplate = Shirt
529+
530-
char.Pants.PantsTemplate = Pants
530+
531
hat.BrickColor = BrickColor.new("Dark indigo")
532
hat.CanCollide=true
533-
char["Body Colors"].HeadColor = BrickColor.new("Dirt brown")
533+
534-
char["Body Colors"].TorsoColor = BrickColor.new("Dirt brown")
534+
535-
char["Body Colors"].LeftArmColor = BrickColor.new("Dirt brown")
535+
536-
char["Body Colors"].RightArmColor = BrickColor.new("Dirt brown")
536+
537
hatw.C0=CFrame.new(-0.1,-0.4,0)
538
hatw.C1=euler(math.rad(0),math.rad(0),math.rad(0))
539
end
540
 
541
542
Hat2=function()
543
hat2 = Instance.new("Part", char)
544
CreateMesh(hat2, "rbxassetid://943649996", 0.5, 0.5, 0.5,"rbxassetid://943650208")
545
hat2.Name = "DisguiseScarf"
546
hat2.Locked = true
547
hat2.BrickColor = BrickColor.new("Dark indigo")
548
hat2.CanCollide=true
549
hat2.Size=Vector3.new(1,1,1)
550
hat2w = Instance.new("Weld",hat2)
551
hat2w.Part0=hat2
552
hat2w.Part1=char['Head']
553
hat2w.C0=CFrame.new(0,0.5,0)
554
hat2w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
555
end
556
557
Hat()
558
Hat2()
559
560
hum.MaxHealth=math.huge
561
hum.Health=hum.MaxHealth
562
563
564
Debounces = {
565
CanAttack = true;
566
NoIdl = false;
567
Slashing = false;
568
Slashed = false;
569
RPunch = false;
570
RPunched = false;
571
LPunch = false;
572
LPunched = false;
573
}
574
local Touche = {char.Name, }
575
576
577
578
579
580
CV="Really blue"
581
	
582
local txt = Instance.new("BillboardGui", char)
583
txt.Adornee = char .Head
584
txt.Name = "_status"
585
txt.Size = UDim2.new(2, 0, 1.2, 0)
586
txt.StudsOffset = Vector3.new(-9, 11, 0)
587
local text = Instance.new("TextLabel", txt)
588
text.Size = UDim2.new(10, 0, 7, 0)
589
text.FontSize = "Size24"
590
text.TextScaled = true
591
text.TextTransparency = 0
592
text.BackgroundTransparency = 1 
593
text.TextTransparency = 0
594
text.TextStrokeTransparency = 0
595
text.Font = "SciFi"
596
text.TextStrokeColor3 = Color3.new(0,0,255)
597
598
v=Instance.new("Part")
599
v.Name = "ColorBrick"
600
v.Parent=p.Character
601
v.FormFactor="Symmetric"
602
v.Anchored=true
603
v.CanCollide=false
604
v.BottomSurface="Smooth"
605
v.TopSurface="Smooth"
606
v.Size=Vector3.new(10,5,3)
607
v.Transparency=1
608
v.CFrame=char.Torso.CFrame
609
v.BrickColor=BrickColor.new(CV)
610
v.Transparency=1
611
text.TextColor3 = Color3.new(0,0,0)
612
v.Shape="Block"
613
text.Text = "God MZ"
614
615
616
617
618
619
620
621
rarm.Touched:connect(function(ht)
622
    hit = ht.Parent
623
    if ht and hit:IsA("Model") then
624
            if hit:FindFirstChild("Humanoid") then
625
                if hit.Name ~= p.Name then
626
                    if Debounces.RPunch == true and Debounces.RPunched == false then
627
                            Debounces.RPunched = true
628
                                hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
629
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
630
                                    if Debounces.ks==true then
631
                                    z = Instance.new("Sound",hed)
632
                                    z.SoundId = "rbxassetid://588693156"
633
									z.Pitch = ptz[math.random(1,#ptz)]
634
                                    z.Volume = 20
635
                                    z:Play()
636
                                    end
637
                            wait(.2)
638
                            Debounces.RPunched = false
639
                    end
640
                end
641-
text.Text = "God Slayer"
641+
642
    elseif ht and hit:IsA("Hat") then
643
        if hit.Parent.Name ~= p.Name then
644
            if hit.Parent:FindFirstChild("Humanoid") then
645
                   if Debounces.RPunch == true and Debounces.RPunched == false then
646
                            Debounces.RPunched = true
647
                            hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
648
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
649
                                    if Debounces.ks==true then
650
                                    z = Instance.new("Sound",hed)
651
                                    z.SoundId = "rbxassetid://588693156"
652
									z.Pitch = ptz[math.random(1,#ptz)]
653
                                    z.Volume = 20
654
                                    z:Play()
655
                                    end
656
                            wait(.2)
657
                Debounces.RPunched = false
658
				end
659
            end
660
        end
661
    end
662
end)
663
larm.Touched:connect(function(ht)
664
    hit = ht.Parent
665
    if ht and hit:IsA("Model") then
666
            if hit:FindFirstChild("Humanoid") then
667
                if hit.Name ~= p.Name then
668
                    if Debounces.LPunch == true and Debounces.LPunched == false then
669
                            Debounces.LPunched = true
670
                                hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
671
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
672
                                    if Debounces.ks2==true then
673
                                    z = Instance.new("Sound",hed)
674
                                    z.SoundId = "rbxassetid://588693156"
675
									z.Pitch = ptz[math.random(1,#ptz)]
676
                                    z.Volume = 20
677
                                    z:Play()
678
                                    end
679
                            wait(.2)
680
                            Debounces.LPunched = false
681
                    end
682
                end
683
            end
684
    elseif ht and hit:IsA("Hat") then
685
        if hit.Parent.Name ~= p.Name then
686
            if hit.Parent:FindFirstChild("Humanoid") then
687
                   if Debounces.LPunch == true and Debounces.LPunched == false then
688
                            Debounces.LPunched = true
689
                            hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
690
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
691
                                    if Debounces.ks2==true then
692
                                    z = Instance.new("Sound",hed)
693
                                    z.SoundId = "rbxassetid://588693156"
694
									z.Pitch = ptz[math.random(1,#ptz)]
695
                                    z.Volume = 20
696
                                    z:Play()
697
                                    end
698
                            wait(.2)
699
                Debounces.LPunched = false
700
				end
701
            end
702
        end
703
    end
704
end)
705
706
707
708
709
710
711
712
713
local attacktype = 1
714
local attack = false
715
716
717
718
function attackone()
719
	Debounces.RPunch = true
720
Debounces.LPunch = true
721
	attack = true
722
	NoAnims = true
723
	for i = 1, 3 do
724
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
725
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
726
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
727
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
728
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
729
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
730
if Debounces.on == false then break end
731
wait()
732
end
733
	attack = false
734
	NoAnims = false
735
	Debounces.RPunch = false
736
Debounces.LPunch = false
737
end
738
739
function attacktwo()
740
	Debounces.RPunch = true
741
Debounces.LPunch = true
742
	NoAnims = true
743
	attack = true
744
	for i = 1, 3 do
745
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
746
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
747
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
748
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
749
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
750
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
751
if Debounces.on == false then break end
752
wait()
753
end
754
	attack = false
755
	NoAnims = false
756
	Debounces.RPunch = false
757
Debounces.LPunch = false
758
759
end
760
761
762
function attackthree()
763
	Debounces.RPunch = true
764
Debounces.LPunch = true
765
	NoAnims = true
766
	attack = true
767
	for i = 1, 3 do
768
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
769
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
770
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
771
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
772
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
773
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
774
if Debounces.on == false then break end
775
wait()
776
end
777
	attack = false
778
	NoAnims = false
779
	Debounces.RPunch = false
780
Debounces.LPunch = false
781
end
782
783
784
function attackfour()
785
	Debounces.RPunch = true
786
Debounces.LPunch = true
787
	NoAnims = true
788
	attack = true
789
	for i = 1, 3 do
790
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
791
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
792
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
793
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
794
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
795
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
796
if Debounces.on == false then break end
797
wait()
798
end
799
	attack = false
800
	NoAnims = false
801
	Debounces.RPunch = false
802
Debounces.LPunch = false
803
end
804
805
806
mouse.Button1Down:connect(function()
807
  if attack == false and attacktype == 1 then
808
    attacktype = 2
809
    attackone()
810
  elseif attack == false and attacktype == 2 then
811
    attacktype = 3
812
    attacktwo()
813
  elseif attack == false and attacktype == 3 then
814
    attacktype = 4
815
    attackthree()
816
  elseif attack == false and attacktype == 4 then
817
    attacktype = 1
818
    attackfour()
819
  end
820
end)
821
822
823
--[[function Transformation()
824
	hum.WalkSpeed = 0
825
	local Portal = Instance.new("Model",char)
826
local prt1 = Instance.new("Model",Portal)
827
local prt2 = Instance.new("Model",Portal)
828
local prt3 = Instance.new("Model",Portal)
829
for i = 1,7 do
830
local p = Instance.new("Part",prt1)
831
p.Locked = true
832
p.Anchored = true
833
p.Transparency = 1
834
p.CanCollide = false
835
p.BrickColor = BrickColor.new("Really red")
836
p.TopSurface = 0
837
p.Material = "Neon"
838
p.BottomSurface = 0
839
p.Size = Vector3.new(1,1,1)
840
local m = Instance.new("SpecialMesh",p)
841
m.Name = 'm'
842
m.Scale = Vector3.new(1,1,1)
843
m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
844
end for i = 1,7 do
845
local p = Instance.new("Part",prt2)
846
p.Locked = true
847
p.Anchored = true
848
p.CanCollide = false
849
p.Transparency = 1
850
p.BrickColor = BrickColor.new("Really red")
851
p.TopSurface = 0
852
p.Material = "Neon"
853
p.BottomSurface = 0
854
p.Size = Vector3.new(1,1,1)
855
local m = Instance.new("SpecialMesh",p)
856
m.Name = 'm'
857
m.Scale = Vector3.new(1,1,1)
858
m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
859
end for i = 1,7 do
860
local p = Instance.new("Part",prt3)
861
p.Locked = true
862
p.Anchored = true
863
p.CanCollide = false
864
p.Transparency = 1
865
p.BrickColor = BrickColor.new("Really red")
866
p.TopSurface = 0
867
p.Material = "Neon"
868
p.BottomSurface = 0
869
p.Size = Vector3.new(1,1,1)
870
local m = Instance.new("SpecialMesh",p)
871
m.Name = 'm'
872
m.Scale = Vector3.new(1,1,1)
873
m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
874
end
875
local Rot,Rate,Dist,Size = 0,65,65,1
876
coroutine.wrap(function()
877
while wait()do
878
if _DEBOUNCE then break end
879
for i,v in pairs(prt1:GetChildren())do
880
v.Transparency = v.Transparency -0.035
881
v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist)
882
v.m.Scale = Vector3.new(Size,Size,Size)
883
end for i,v in pairs(prt2:GetChildren())do
884
v.Transparency = v.Transparency -0.035
885
v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist)
886
v.m.Scale = Vector3.new(Size,Size,Size)
887
end for i,v in pairs(prt3:GetChildren())do
888
v.Transparency = v.Transparency -0.035
889
v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0)
890
v.m.Scale = Vector3.new(Size,Size,Size)
891
end
892
Rot = Rot >= 360 and 0 or Rot +Rate
893
end end)()
894
wait(0.75)
895
for i = 1,90 do
896
Rate = Rate -(2.3/3)
897
Dist = Dist -(1.5/3)
898
wait()
899
end
900
wait(1)
901
for i = 1,30 do
902
Rate = Rate -(2.3/3)
903
Dist = Dist +0.5
904
wait()
905
end
906
wait(2)
907
for i = 1,30 do
908
Rate = Rate +(9.2/3)
909
Dist = Dist -1.75
910
wait()
911
end
912
wait(0.75)
913
for i = 1,6 do
914
Rate = Rate -4
915
Dist = Dist +0.5
916
wait()
917
end
918
Rate = 0
919
Dist = 6
920
wait(2)
921
for i = 1,90 do
922
Rate = Rate +0.5
923
Dist = Dist +0.2
924
wait()
925
end
926
wait(1)
927
for i = 1,30 do
928
Dist = Dist -(24/30)
929
Size = Size +0.05
930
wait()
931
end
932
-- Scream in pain
933
934
935
coroutine.resume(coroutine.create(function()
936
	wait(2)
937
		game.Lighting.TimeOfDay = "00:00:00"
938
		
939
		hat.Transparency = 1
940
		Hat3=function()
941
hat3 = Instance.new("Part", char)
942
CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1)
943
hat3.Name = "RedHair"
944
hat3.Locked = true
945
hat3.BrickColor = BrickColor.new("Maroon")
946
hat3.CanCollide=true
947
hat3.Size=Vector3.new(1,1,1)
948
hat3w = Instance.new("Weld",hat3)
949
hat3w.Part0=hat3
950
hat3w.Part1=char['Head']
951
hat3w.C0=CFrame.new(-0.1,-0.4,0)
952
hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
953
end
954
 
955
		
956
	
957
	ypcall(function()
958
shirt = Instance.new("Shirt", char)
959
shirt.Name = "Shirt"
960
pants = Instance.new("Pants", char)
961
pants.Name = "Pants"
962
char.Shirt.ShirtTemplate = "rbxassetid://519769931"
963
char.Pants.PantsTemplate = "rbxassetid://519770250"
964
	end)
965
		
966
ragesong2 = "177184916"
967
s02=Instance.new("Sound",char)
968
s02.SoundId="rbxassetid://"..ragesong2
969
s02.Volume=1999
970
s02.Pitch=1
971
s02.Looped=true
972
righteyebrickcolor = "Really red"
973
s0:Stop()
974
wait(0.01)
975
s02:Play()
976
reye.BrickColor = BrickColor.new(righteyebrickcolor)
977
leye.BrickColor = BrickColor.new(righteyebrickcolor)
978
text.TextStrokeColor3 = Color3.new(255,0,0)
979
hat.BrickColor = BrickColor.new("Maroon")
980
Hat3()
981
end))
982
983
984
tran = 0
985
for i,v in pairs(char:GetChildren()) do 
986
if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then
987
Glow1 = Color3.new(.6,0,.1)
988
Glow2 = Color3.new(0,0,0)
989
990
GlowParticle = Instance.new("ParticleEmitter",v)
991
GlowParticle.LightEmission = 1
992
GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
993
GlowParticle.Size = NumberSequence.new(0,2)
994
995
GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845"
996
GlowParticle.Transparency = NumberSequence.new(tran,1)
997
GlowParticle.LockedToPart = true
998
GlowParticle.Lifetime = NumberRange.new(0.5)
999
GlowParticle.Rate= 300
1000
GlowParticle.Speed =NumberRange.new(0)
1001
end end 
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
coroutine.wrap(function()
1016
for i = 1,3 do
1017
wait()
1018
end end)()
1019
wait(1.65)
1020
_DEBOUNCE = true
1021
wait()
1022
Portal:Destroy()
1023
coroutine.wrap(function()
1024
local Pos = char.Torso.Position
1025
local BOOSH = Instance.new("Sound",Workspace)
1026
BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159"
1027
BOOSH.Volume = 1
1028
BOOSH.Pitch = 0.675
1029
local Fuse = Instance.new("Sound",Workspace)
1030
Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908"
1031
Fuse.Volume = 1
1032
Fuse.Pitch = 0.25
1033
local BOOSH2 = Instance.new("Sound",Workspace)
1034
BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793"
1035
BOOSH2.Volume = 1
1036
BOOSH2.Pitch = 0.25
1037
local dsound = true
1038
local PewPew = Instance.new("Sound",Workspace)
1039
PewPew.Name = "PewPew"
1040
PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
1041
PewPew.Volume = 1
1042
PewPew.Pitch = 0.32
1043
local function GetHumanoids()
1044
local Characters = {}
1045
for i,v in pairs(Workspace:GetChildren())do
1046
if v:IsA("Model")then
1047
local Hu = v:findFirstChild("Humanoid")
1048
local Torso = v:findFirstChild("Torso")
1049
if Hu and Torso and v.Name ~= p.Name then
1050
table.insert(Characters,Torso)
1051
end end end
1052
return Characters
1053
end
1054
local function Boom()
1055
for i = 1,25 do
1056
for _,v in pairs(GetHumanoids())do
1057
if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then
1058
local h = v.Parent:findFirstChild("Humanoid")
1059
if h then
1060
local Moar =(Pos - v.Position).unit
1061
1062
1063
end end end
1064
local p = Instance.new("Part",char)
1065
p.Name = "BlastRing"
1066
p.TopSurface = 0
1067
p.BottomSurface = 0
1068
p.CanCollide = false
1069
p.Anchored = true
1070
p.BrickColor = BrickColor.new("Really red")
1071
p.Size = Vector3.new(1,1,1)
1072
p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
1073
local rm = Instance.new("SpecialMesh",p)
1074
rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
1075
rm.Name = "BlastMesh"
1076
rm.Scale = Vector3.new(1,1,1)
1077
coroutine.wrap(function()
1078
for n = 1,15 do
1079
rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2
1080
if 2 +i/5 == 1.2 then
1081
rm.Scale = rm.Scale + Vector3.new(0,0.9,0)
1082
end
1083
p.Transparency = n/15
1084
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0)
1085
wait()
1086
end
1087
p:Destroy()
1088
end)()
1089
local p = Instance.new("Part",char)
1090
p.TopSurface = 0
1091
p.BottomSurface = 0
1092
p.formFactor = "Symmetric"
1093
p.Size = Vector3.new(1,1,1)
1094
p.Anchored = true
1095
p.CanCollide = false
1096
p.BrickColor = BrickColor.new("Really red")
1097
p.CFrame = CFrame.new(Pos)
1098
local m = Instance.new("BlockMesh",p)
1099
coroutine.wrap(function()
1100
for x = 1,48 do
1101
m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2
1102
p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50)
1103
p.Transparency = x/48
1104
Wait()
1105
end
1106
p:Destroy()
1107
end)()
1108
Game:GetService("Debris"):AddItem(p,5)
1109
local p = Instance.new("Part",char)
1110
p.Name = "BlastRing"
1111
p.TopSurface = 0
1112
p.BottomSurface = 0
1113
p.CanCollide = false
1114
p.Anchored = true
1115
p.BrickColor = BrickColor.new("Really black")
1116
p.Size = Vector3.new(1,1,1)
1117
p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
1118
local m = Instance.new("SpecialMesh",p)
1119
m.MeshId = "http://www.roblox.com/asset/?id=20329976"
1120
m.Scale = Vector3.new(1,0.25,1)
1121
coroutine.wrap(function()
1122
for n = 1,13 do
1123
m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
1124
if 1 +i/5 == 1.2 then
1125
m.Scale = m.Scale + Vector3.new(0,0.9,0)
1126
end
1127
p.Transparency = n/13
1128
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
1129
Wait()
1130
end
1131
p:Destroy()
1132
end)()
1133
Wait(0.1)
1134
end for i = 10,19 do
1135
local p = Instance.new("Part",char)
1136
p.Name = "BlastRing"
1137
p.TopSurface = 0
1138
p.BottomSurface = 0
1139
p.CanCollide = false
1140
p.Anchored = true
1141
p.BrickColor = BrickColor.new("Really red")
1142
p.Size = Vector3.new(1,1,1)
1143
p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
1144
local m = Instance.new("SpecialMesh",p)
1145
m.MeshId = "http://www.roblox.com/asset/?id=20329976"
1146
m.Scale = Vector3.new(1,0.25,1)
1147
coroutine.wrap(function()
1148
for n = 1,13 do
1149
m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
1150
if 1 +i/5 == 1.2 then
1151
m.Scale = m.Scale + Vector3.new(0,0.9,0)
1152
end
1153
p.Transparency = n/13
1154
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
1155
Wait()
1156
end
1157
p:Destroy()
1158
end)()
1159
local p = Instance.new("Part",char)
1160
p.Name = "BlastRing"
1161
p.TopSurface = 0
1162
p.BottomSurface = 0
1163
p.CanCollide = false
1164
p.Anchored = true
1165
p.BrickColor = BrickColor.new("Really red")
1166
p.Size = Vector3.new(1,1,1)
1167
p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
1168
p.Parent = workspace
1169
local m = Instance.new("SpecialMesh",p)
1170
m.Name = "BlastMesh"
1171
m.Scale = Vector3.new(0.1,0.1,0.1)
1172
m.MeshId = "http://www.roblox.com/asset/?id=3270017"
1173
coroutine.wrap(function()
1174
for n = 1,15 do
1175
m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2
1176
if 3+i/5 == 1.2 then
1177
m.Scale = m.Scale + Vector3.new(0,0.9,0)
1178
end
1179
p.Transparency = n/15
1180
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0)
1181
Wait()
1182
end
1183
p:Destroy()
1184
end)()
1185
for _,v in pairs(GetHumanoids())do
1186
if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then
1187
local h = v.Parent:findFirstChild("Humanoid")
1188
if h then
1189
local Moar =(Pos - v.Position).unit
1190
1191
1192
end end end
1193
Wait(0.1)
1194
end for i = 30,37 do
1195
for _,v in pairs(GetHumanoids())do
1196
if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then
1197
local h = v.Parent:findFirstChild("Humanoid")
1198
if h then
1199
local Moar =(Pos - v.Position).unit
1200
1201
1202
end end end end
1203
dsound = false
1204
wait(6.5)
1205
for i = 1,30 do
1206
BOOSH.Volume = BOOSH.Volume -0.033
1207
BOOSH2.Volume = BOOSH.Volume
1208
Fuse.Volume = BOOSH.Volume
1209
Wait()
1210
end
1211
BOOSH:Stop()
1212
BOOSH2:Stop()
1213
Fuse:Stop()
1214
end
1215
BOOSH2:Play()
1216
Fuse:Play()
1217
BOOSH:Play()
1218
Boom()
1219
end)()
1220
hum.WalkSpeed = 5
1221
end]]
1222
1223
1224
GroundWave = function()
1225
	local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
1226
	local Colors = {"Really red", "Really red"}
1227
		local wave = Instance.new("Part", torso)
1228
		wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
1229
		wave.Anchored = true
1230
		wave.CanCollide = false
1231
		wave.Locked = true
1232
		wave.Size = Vector3.new(1, 1, 1)
1233
		wave.TopSurface = "Smooth"
1234
		wave.BottomSurface = "Smooth"
1235
		wave.Transparency = 0.35
1236
		wave.CFrame = HandCF
1237
		wm = Instance.new("SpecialMesh", wave)
1238
		wm.MeshId = "rbxassetid://3270017"
1239
		coroutine.wrap(function()
1240
		for i = 1, 14, 1 do
1241
		wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
1242
		wave.Size = wm.Scale
1243
		wave.CFrame = HandCF
1244
		wave.Transparency = i/14
1245
		wait()
1246
		end
1247
		wait()
1248
		wave:Destroy()
1249
	end)()
1250
end
1251
1252
1253
1254-
	local Colors = {"Really blue", "Really blue"}
1254+
1255
local eff1 = Instance.new("ParticleEmitter",part)
1256
eff1.Size = NumberSequence.new(.1)
1257
eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
1258
eff1.LightEmission = 1
1259
eff1.Lifetime = NumberRange.new(1)
1260
eff1.Speed = NumberRange.new(0)
1261
eff1.Rate = 100
1262
eff1.Texture = "rbxassetid://284205403"
1263
eff1.Acceleration = Vector3.new(0,10,0)
1264
eff1.Color = ColorSequence.new(Color3.new(0,0,255))
1265
local eff2 = Instance.new("ParticleEmitter",part)
1266
eff2.Size = NumberSequence.new(.1)
1267
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
1268
eff2.LightEmission = 1
1269
eff2.Lifetime = NumberRange.new(0.2)
1270
eff2.Speed = NumberRange.new(0)
1271
eff2.Rate = 100
1272
eff2.Texture = "rbxassetid://347504259"
1273
eff2.Acceleration = Vector3.new(0,10,0)
1274
eff2.Color = ColorSequence.new(Color3.new(0,0,255))
1275
local eff3 = Instance.new("ParticleEmitter",part)
1276
eff3.Size = NumberSequence.new(0.2)
1277
eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
1278
eff3.LightEmission = 1
1279
eff3.Lifetime = NumberRange.new(1)
1280
eff3.Speed = NumberRange.new(0)
1281
eff3.Rate = 100
1282
eff3.Texture = "rbxassetid://284205403"
1283
eff3.Acceleration = Vector3.new(0,10,0)
1284
eff3.Color = ColorSequence.new(Color3.new(0,0,255))
1285
end
1286
1287
1288
function FullPower()
1289
	NoAnims = true
1290
	attack = true
1291
	
1292
	
1293
	
1294
	Full = true
1295
	
1296
	
1297
	for i = 1, 40 do
1298
		wait()
1299
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head
1300
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso
1301
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm
1302
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm
1303
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg
1304
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg
1305
	end
1306
	
1307
	
1308
	
1309
	
1310
	
1311
	
1312
	
1313
	
1314
	
1315
	for i = 1, 20 do
1316
	wait()
1317
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head
1318
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso
1319
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm
1320
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm
1321
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg
1322
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg
1323
			end
1324
	
1325
	s0:Destroy()
1326
	ragesong = "177184916"
1327
	wait(0.001)
1328
	s02 = Instance.new("Sound",char)
1329
	s02.Volume = 90
1330
	s02.SoundId = "rbxassetid://"..ragesong
1331
	s02.Looped = true
1332
	s02.Pitch = 1
1333
	wait(0.001)
1334
	s02:Play()
1335
	
1336
	
1337
local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
1338
selectionBoxOfTorso.Adornee = torso
1339
selectionBoxOfTorso.Color = BrickColor.new("Really red")
1340
selectionBoxOfTorso.LineThickness = 0.01
1341
selectionBoxOfTorso.Transparency = 0
1342
	
1343
local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
1344
selectionBoxOfRightArm.Adornee = char["Right Arm"]
1345
selectionBoxOfRightArm.Color = BrickColor.new("Really red")
1346
selectionBoxOfRightArm.LineThickness = 0.01
1347
selectionBoxOfRightArm.Transparency = 0
1348
	
1349
local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
1350
selectionBoxOfRightLeg.Adornee = char["Right Leg"]
1351
selectionBoxOfRightLeg.Color = BrickColor.new("Really red")
1352
selectionBoxOfRightLeg.LineThickness = 0.01
1353
selectionBoxOfRightLeg.Transparency = 0
1354
1355
local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
1356
selectionBoxOfLeftArm.Adornee = char["Left Arm"]
1357
selectionBoxOfLeftArm.Color = BrickColor.new("Really red")
1358
selectionBoxOfLeftArm.LineThickness = 0.01
1359
selectionBoxOfLeftArm.Transparency = 0
1360
1361
local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
1362
selectionBoxOfLeftLeg.Adornee = char["Left Leg"]
1363
selectionBoxOfLeftLeg.Color = BrickColor.new("Really red")
1364
selectionBoxOfLeftLeg.LineThickness = 0.01
1365
selectionBoxOfLeftLeg.Transparency = 0
1366
1367-
selectionBoxOfTorso.Color = BrickColor.new("Really blue")
1367+
1368
1369
LightOnBody = Instance.new("PointLight", hed)
1370
LightOnBody.Brightness = 3000
1371
LightOnBody.Range = 20
1372
LightOnBody.Color = Color3.new(0, 0, 255)
1373-
selectionBoxOfRightArm.Color = BrickColor.new("Really blue")
1373+
1374
r = game:GetService("RunService").RenderStepped
1375
Activated = true
1376
custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
1377
	Debri = coroutine.wrap(function()
1378
	repeat	
1379-
selectionBoxOfRightLeg.Color = BrickColor.new("Really blue")
1379+
1380
    p.formFactor = 'Custom'
1381
    p.Size = Vector3.new(1,1,1)
1382
    p.BrickColor = workspace.Base.BrickColor
1383
    p.CanCollide = false
1384
    p.Transparency = 0
1385-
selectionBoxOfLeftArm.Color = BrickColor.new("Really blue")
1385+
1386
    p.Locked=true
1387
    p.Material = workspace.Base.Material
1388
    s = math.random(1,40)/10
1389
    local m = Instance.new("BlockMesh",p)
1390
    m.Scale = Vector3.new(s,s,s)
1391-
selectionBoxOfLeftLeg.Color = BrickColor.new("Really blue")
1391+
1392
	--[[coroutine.wrap(function()
1393
		wait(2)
1394
		while Charging == true do
1395
		wait(2)
1396
		GroundWave1()
1397
		wait(2)
1398
		end
1399
	end)()]]--
1400
	
1401
	spawn(function()
1402
        while r:wait() do
1403
            if p.Transparency >= 1 then p:Destroy() break end
1404
            p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
1405
            p.Transparency = p.Transparency+0.01
1406
        end
1407
    end)
1408
    wait(.3)
1409
	until Activated == false
1410
	end)
1411
	Debri()
1412
	
1413
	l = game.Lighting
1414
l.TimeOfDay = 1
1415
game.Lighting.Ambient = Color3.new(0,0,0)
1416
l.Brightness = 0.1
1417
1418
	
1419
	spawn(function()
1420
	while wait(2)
1421
		 do
1422
		GroundWave()	
1423
	end
1424
	end)	
1425
	
1426
	
1427
	local eColors = {"Really red", "Really red"}
1428
	coroutine.resume(coroutine.create(function()
1429
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
1430
    local magz = (Part0 - Part1).magnitude
1431
    local curpos = Part0
1432
    local trz = {-Offset,Offset}
1433
    for i=1,Times do
1434
        local li = Instance.new("Part", torso)
1435
		li.Name = "Lightning"
1436
		li.TopSurface =0
1437
		li.Material = "Neon"
1438
		li.BottomSurface = 0
1439
		li.Anchored = true
1440
		li.Locked = true
1441
		li.Transparency = Trans or 0.4
1442
		li.BrickColor = BrickColor.new(Color)
1443
		li.formFactor = "Custom"
1444
		li.CanCollide = false
1445
		li.Size = Vector3.new(Thickness,Thickness,magz/Times)
1446
        local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
1447
        local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
1448
        if Times == i then
1449
        local magz2 = (curpos - Part1).magnitude
1450
        li.Size = Vector3.new(Thickness,Thickness,magz2)
1451
        li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
1452
        else
1453
        li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
1454
        end
1455-
	local eColors = {"Really blue", "Really blue"}
1455+
1456
        game.Debris:AddItem(li,.1)
1457
    end
1458
end
1459
1460
BodyParts = {} 
1461
for _, v in pairs(char:GetChildren()) do
1462
    if v:IsA("Part")  then
1463
        table.insert(BodyParts, v)
1464
    end
1465
end
1466
1467
Bounding = {} -- Calculate the bounding boxes
1468
for _, v in pairs(BodyParts) do
1469
	local temp = {X=nil, Y=nil, Z=nil}
1470
	temp.X = v.Size.X/2 * 10
1471
	temp.Y = v.Size.Y/2 * 10
1472
	temp.Z = v.Size.Z/2 * 10
1473
	Bounding[v.Name] = temp
1474
end
1475
1476
while wait(lightspeed) do 
1477
			lightspeed = math.random(0.1,0.2)
1478
	local Body1 = BodyParts[math.random(#BodyParts)]
1479
	local Body2 = BodyParts[math.random(#BodyParts)]
1480
	local Pos1 = Vector3.new(
1481
		math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
1482
		math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
1483
		math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
1484
)
1485
	local Pos2 = Vector3.new(
1486
		math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
1487
		math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
1488
		math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
1489
)
1490
	local SPos1 = Body1.Position + Pos1
1491
	local SPos2 = Body2.Position + Pos2	
1492
	Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) 
1493
end
1494
end))
1495
	for i = 1, 20 do
1496
		wait()
1497
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.4)--head
1498
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso
1499
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.2)--arm
1500
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.2)--arm
1501
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4)--leg
1502
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--leg
1503
end
1504
	
1505
	
1506
	attack = false
1507
	NoAnims = false
1508
end
1509
1510
function weld5(part0, part1, c0, c1)
1511
    weeld=Instance.new("Weld", part0)
1512
    weeld.Part0=part0
1513
    weeld.Part1=part1
1514
    weeld.C0=c0
1515
    weeld.C1=c1
1516
    return weeld
1517
end
1518
1519
1520
1521
Grab = false
1522
1523
1524
1525
1526
1527
fat = Instance.new("BindableEvent",script)
1528
fat.Name = "Heartbeat"
1529
1530
script:WaitForChild("Heartbeat")
1531
1532
frame = 1/30
1533
tf = 0
1534
allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
1535
tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
1536
lastframe = tick()
1537
script.Heartbeat:Fire() --ayy lmao
1538
1539
game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
1540
	tf = tf + s
1541
	if tf >= frame then
1542
		if allowframeloss then
1543
			script.Heartbeat:Fire()
1544
			lastframe=tick()
1545
		else
1546
			--print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
1547
			for i=1, math.floor(tf/frame) do
1548
				script.Heartbeat:Fire()
1549
			end
1550
			lastframe=tick()
1551
		end
1552
		if tossremainder then
1553
			tf = 0
1554
		else
1555
			tf = tf - frame * math.floor(tf/frame)
1556
		end
1557
	end
1558
end)
1559
1560
function Swait(NUMBER)
1561
	if NUMBER == 0 or NUMBER == nil then
1562
		fat.Event:wait()
1563
	else
1564
		for i = 1, NUMBER do
1565
			fat.Event:wait()
1566
		end
1567
	end
1568
end
1569
1570
1571
1572
1573
1574
function GrabAndDrag()
1575
	NoAnims = true
1576
	attack = true
1577
	
1578
	if Grab == false then
1579
	
1580
	for i = 1, 20 do
1581
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
1582
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
1583
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
1584
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
1585
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
1586
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
1587
            if Debounces.on == false then break end
1588
            rs:wait(2)
1589
        end
1590
        con1=larm.Touched:connect(function(hit) -- this is grab
1591
            ht = hit.Parent
1592
            hum1=ht:FindFirstChild('Humanoid')
1593
            if hum1 ~= nil then
1594
			   
1595
			
1596
			
1597
				
1598
			z = Instance.new("Sound",char)
1599
z.SoundId = "rbxassetid://227194112"
1600
z.Volume = 90
1601
wait(.1)
1602
z:Play()
1603
                hum1.PlatformStand=true
1604
                gp = ht
1605
                Grab = true
1606
                asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
1607
                asd.Parent = larm
1608
                asd.Name = "asd"
1609
                asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
1610
			
1611
1612
           --[[ elseif hum1 == nil then
1613
                con1:disconnect()
1614
                wait() return]]
1615
            end
1616
        end)
1617
1618
1619
        for i = 1, 20 do
1620
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
1621
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
1622
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
1623
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
1624
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
1625
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
1626
            if Debounces.on == false then break end
1627
            rs:wait(2)
1628
        end
1629
    con1:disconnect()
1630
1631
if gp == nil then 
1632
	attack = false
1633
	NoAnims = false
1634
	return end
1635
1636
    
1637
    
1638
			--[[for i = 1, 16 do
1639
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
1640
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
1641
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
1642
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
1643
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
1644
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
1645
			cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
1646
			if Debounces.on == false then end
1647
			rs:wait()
1648
		end]]--
1649
			for i = 1, 16 do
1650
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
1651
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3)
1652
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
1653
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
1654
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
1655
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
1656
			if Debounces.on == false then end
1657
			rs:wait()
1658
			end
1659
			
1660
			
1661
			coroutine.resume(coroutine.create(function()
1662
	local BF = Instance.new("BodyVelocity",hed)
1663
	BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1664
	BF.velocity = root.CFrame.lookVector*120
1665
	wait(2.5)
1666
	BF:remove()
1667
			end))
1668
			
1669
			
1670
			
1671
			z = Instance.new("Sound",char)
1672
z.SoundId = "rbxassetid://138223085"
1673
z.Volume = 90
1674
wait(.1)
1675
z:Play()
1676
1677
coroutine.resume(coroutine.create(function()
1678
	for i=1,78 do
1679
wait()
1680
MagicBlock(BrickColor.new("Really red"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
1681
wait(0.01)
1682
MagicBlock(BrickColor.new("Really red"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
1683
end
1684
end))
1685
1686
			coroutine.resume(coroutine.create(function()
1687
				Grabee = gp:FindFirstChild("Torso")
1688
		par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
1689
				wait(0.01)
1690
				for i = 1,78 do
1691
					wait(0.01)
1692
				for i=1, 5 do
1693
			p=Instance.new("Part")
1694
			p.FrontSurface=par.TopSurface
1695
			p.Material=par.Material
1696
			p.BottomSurface=0
1697
			p.Anchored=true p.CanCollide=false
1698
			p.BrickColor=par.BrickColor
1699
			p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5))
1700
			p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
1701
			p.Parent=char
1702
			game:GetService("Debris"):AddItem(p,2+i*.1)
1703
			if math.random(1,5)==5 then
1704
				coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
1705
			end
1706
				end
1707
				end
1708-
MagicBlock(BrickColor.new("Really blue"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
1708+
1709
			end))
1710-
MagicBlock(BrickColor.new("Really black"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
1710+
1711
			coroutine.resume(coroutine.create(function()
1712
				Grabee = gp:FindFirstChild("Torso")
1713
		par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
1714
				wait(0.01)
1715
				
1716
		for i=1, 78 do
1717
			wait(0.01)
1718
			for i=1, 1 do
1719
			p=Instance.new("Part")
1720
			p.TopSurface=par.TopSurface
1721
			p.BottomSurface=par.BottomSurface
1722
			p.Material=par.Material
1723
			p.BottomSurface=0
1724
			p.Anchored=false p.CanCollide=false
1725
			p.BrickColor=par.BrickColor
1726
			p.formFactor="Custom"
1727
			p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12)
1728
			p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20)
1729
			p.Parent=char
1730
			game:GetService("Debris"):AddItem(p,3+i*.1)
1731
			p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4)
1732
			p.RotVelocity=p.Velocity
1733
			if math.random(1,5)==5 then
1734
				coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
1735
			end
1736
			end
1737
			Swait(.025)
1738
		end	
1739
				
1740
			end))
1741
	for i = 1, 100 do
1742
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
1743
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3)
1744
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
1745
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
1746
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
1747
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
1748
			if Debounces.on == false then end
1749
			rs:wait()
1750
		end
1751
	asd:Destroy()
1752
	gp = nil
1753
	hum1.Health = 0
1754
	attack = false
1755
	ht = nil
1756
	NoAnims = false
1757
	Grab = false
1758
end
1759
end
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
function FindNearestTorso(Position,Distance,SinglePlayer)
1772
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
1773
        local List = {}
1774
        for i,v in pairs(workspace:GetChildren())do
1775
            if v:IsA("Model")then
1776
                if v:findFirstChild("Torso")then
1777
                    if v ~= char then
1778
                        if(v.Torso.Position -Position).magnitude <= Distance then
1779
                            table.insert(List,v)
1780
                        end 
1781
                    end 
1782
                end 
1783
            end 
1784
        end
1785
    return List
1786
end
1787
1788
1789
1790
function Ring()
1791
	
1792
	
1793
	local effspwn = Instance.new("Part")      
1794
    local model = Instance.new("Model")
1795
    game.Debris:AddItem(model, 20)
1796
    model.Name = "smasheffects"
1797
    model.Parent = workspace
1798
    effspwn.Name = "spwnr"
1799
    effspwn.Size = Vector3.new(1, 1, 1)
1800
    effspwn.Anchored = true
1801
    effspwn.CanCollide = false
1802
    effspwn.Transparency = 1
1803
    effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0)
1804
    effspwn.Parent = model
1805
1806
 for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
1807
        if v:FindFirstChild('Humanoid') then
1808
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
1809
            v.Humanoid.PlatformStand = true
1810
            v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
1811
        end
1812
    end 
1813
	coroutine.resume(coroutine.create(function()
1814
      local shok = Instance.new("Part")
1815
      shok.Name = "wring1"
1816
      shok.BrickColor = BrickColor.new("Really red")
1817
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1818
      shok.Size = Vector3.new(1, 1, 1)
1819
      shok.Anchored = true
1820
      shok.Material = "Neon"
1821
      shok.Transparency = 0.25
1822
      shok.CanCollide = false
1823
      shok.Parent = model
1824
      game.Debris:AddItem(shok, 12)
1825
      local mesh = Instance.new("SpecialMesh")
1826
      mesh.MeshType = "FileMesh"
1827
      mesh.MeshId = "rbxassetid://3270017"
1828
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
1829
      mesh.Parent = shok
1830
      for e = 1, 30 do
1831
        wait()
1832
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
1833
        shok.Transparency = shok.Transparency + 0.002
1834
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1835
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1836
      end
1837
      for e = 1, 38 do
1838
        wait()
1839
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1840
        shok.Transparency = shok.Transparency + 0.002
1841
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1842
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1843
      end
1844
      for e = 1, 24 do
1845
        wait()
1846
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1847
        shok.Transparency = shok.Transparency + 0.03
1848
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1849
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1850
      end
1851
    end))
1852
    coroutine.resume(coroutine.create(function()
1853
      local shok = Instance.new("Part")
1854
      shok.Name = "wring2"
1855
      shok.BrickColor = BrickColor.new("Really red")
1856
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1857
      shok.Size = Vector3.new(1, 1, 1)
1858
      shok.Anchored = true
1859
      shok.Material = "Neon"
1860
      shok.Transparency = 0.25
1861
      shok.CanCollide = false
1862
      shok.Parent = model
1863
      game.Debris:AddItem(shok, 12)
1864
      local mesh = Instance.new("SpecialMesh")
1865
      mesh.MeshType = "FileMesh"
1866
      mesh.MeshId = "rbxassetid://3270017"
1867
      mesh.Scale = Vector3.new(12, 12, 0.05)
1868
      mesh.Parent = shok
1869
      for e = 1, 30 do
1870
        wait()
1871
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
1872
        shok.Transparency = shok.Transparency + 0.002
1873
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1874
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1875
      end
1876
      for e = 1, 38 do
1877
        wait()
1878
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1879
        shok.Transparency = shok.Transparency + 0.002
1880
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1881
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1882
      end
1883
      for e = 1, 24 do
1884
        wait()
1885
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1886
        shok.Transparency = shok.Transparency + 0.03
1887
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1888
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1889
      end
1890
    end))
1891
1892
coroutine.resume(coroutine.create(function()
1893
      local shok = Instance.new("Part")
1894
      shok.Name = "shokwve"
1895
      shok.BrickColor = BrickColor.new("Really blue")
1896
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
1897
      shok.Size = Vector3.new(1, 1, 1)
1898
      shok.Anchored = true
1899
      shok.Material = "Neon"
1900
      shok.Transparency = 0.6
1901
      shok.CanCollide = false
1902
      shok.Parent = model
1903
      game.Debris:AddItem(shok, 12)
1904
      local mesh = Instance.new("SpecialMesh")
1905
      mesh.MeshType = "FileMesh"
1906
      mesh.MeshId = "rbxassetid://489415447"
1907
      mesh.Scale = Vector3.new(1, 1, 1)
1908
      mesh.Parent = shok
1909
      for e = 1, 12 do
1910
        wait()
1911
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
1912
        shok.Transparency = shok.Transparency + 0.002
1913
      end
1914
      for e = 1, 32 do
1915
        wait()
1916
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1917
        shok.Transparency = shok.Transparency + 0.002
1918
      end
1919
      for e = 1, 24 do
1920
        wait()
1921
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1922
        shok.Transparency = shok.Transparency + 0.03
1923-
      shok.BrickColor = BrickColor.new("Really black")
1923+
1924
    end))
1925
    coroutine.resume(coroutine.create(function()
1926
      local shok = Instance.new("Part")
1927
      shok.Name = "shock2"
1928
      shok.BrickColor = BrickColor.new("Really blue")
1929
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1930
      shok.Size = Vector3.new(1, 1, 1)
1931
      shok.Anchored = true
1932
      shok.Material = "Neon"
1933
      shok.Transparency = 0.35
1934
      shok.CanCollide = false
1935
      shok.Parent = model
1936
      game.Debris:AddItem(shok, 12)
1937
      local mesh = Instance.new("SpecialMesh")
1938
      mesh.MeshType = "FileMesh"
1939
      mesh.MeshId = "rbxassetid://489415447"
1940
      mesh.Scale = Vector3.new(12, 12, 12)
1941
      mesh.Parent = shok
1942
      for e = 1, 15 do
1943
        wait()
1944
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1945
        shok.Transparency = shok.Transparency + 0.004
1946
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1947
      end
1948
      for e = 1, 16 do
1949
        wait()
1950
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1951
        shok.Transparency = shok.Transparency + 0.004
1952
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1953
      end
1954
      for e = 1, 12 do
1955
        wait()
1956-
      shok.BrickColor = BrickColor.new("Really black")
1956+
1957
        shok.Transparency = shok.Transparency + 0.06
1958
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1959
      end
1960
    end))
1961
    coroutine.resume(coroutine.create(function()
1962
      local shok = Instance.new("Part")
1963
      shok.Name = "shock3"
1964
      shok.BrickColor = BrickColor.new("Really red")
1965
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1966
      shok.Size = Vector3.new(1, 1, 1)
1967
      shok.Anchored = true
1968
      shok.Material = "Neon"
1969
      shok.Transparency = 0.35
1970
      shok.CanCollide = false
1971
      shok.Parent = model
1972
      game.Debris:AddItem(shok, 12)
1973
      local mesh = Instance.new("SpecialMesh")
1974
      mesh.MeshType = "FileMesh"
1975
      mesh.MeshId = "rbxassetid://489415447"
1976
      mesh.Scale = Vector3.new(12, 12, 12)
1977
      mesh.Parent = shok
1978
      for e = 1, 15 do
1979
        wait()
1980
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1981
        shok.Transparency = shok.Transparency + 0.004
1982
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1983
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1984
      end
1985
      for e = 1, 16 do
1986
        wait()
1987
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1988
        shok.Transparency = shok.Transparency + 0.004
1989
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1990
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1991
      end
1992
      for e = 1, 12 do
1993
        wait()
1994
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1995
        shok.Transparency = shok.Transparency + 0.06
1996
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1997
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1998
      end
1999
    end))
2000
    
2001
end
2002
2003
2004
2005
2006
2007
2008
2009
it=Instance.new
2010
vt=Vector3.new
2011
cf=CFrame.new
2012
2013
function NoOutline(Part)
2014
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
2015
end
2016
2017
2018
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
2019
local fp=it("Part")
2020
fp.formFactor=formfactor 
2021
fp.Parent=parent
2022
fp.Reflectance=reflectance
2023
fp.Transparency=transparency
2024
fp.CanCollide=false 
2025
fp.Locked=true
2026
fp.BrickColor=brickcolor
2027
fp.Name=name
2028
fp.Size=size
2029
fp.Position=torso.Position 
2030
NoOutline(fp)
2031
fp.Material="SmoothPlastic"
2032
fp:BreakJoints()
2033
return fp 
2034
end 
2035
 
2036
2037
2038
function mesh(Mesh,part,meshtype,meshid,offset,scale)
2039
local mesh=it(Mesh) 
2040
mesh.Parent=part
2041
if Mesh=="SpecialMesh" then
2042
mesh.MeshType=meshtype
2043
if meshid~="nil" then
2044
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
2045
end
2046
end
2047
mesh.Offset=offset
2048
mesh.Scale=scale
2049
return mesh
2050
end
2051
 
2052
function weld(parent,part0,part1,c0)
2053
local weld=it("Weld") 
2054
weld.Parent=parent
2055
weld.Part0=part0 
2056
weld.Part1=part1 
2057
weld.C0=c0
2058
return weld
2059
end
2060
2061
2062
function swait(num)
2063
if num==0 or num==nil then
2064
game:service'RunService'.Stepped:wait(0)
2065
else
2066
for i=0,num do
2067
game:service'RunService'.Stepped:wait(0)
2068
end
2069
end
2070
end
2071
 
2072
2073
2074
2075
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2076
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2077
end 
2078
2079
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
2080
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2081
prt.Anchored=true
2082
prt.CFrame=cframe
2083
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
2084
--http://www.roblox.com/asset/?id=4770560
2085
game:GetService("Debris"):AddItem(prt,2)
2086
CF=prt.CFrame
2087
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
2088
for i=0,1,0.2 do
2089
wait()
2090
Part.CFrame=CF*cf(0,0,-0.4)
2091
end
2092
for i=0,1,delay do
2093
wait()
2094
--Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
2095
Mesh.Scale=Mesh.Scale
2096
end
2097
for i=0,1,0.1 do
2098
wait()
2099
Part.Transparency=i
2100
end
2101
Part.Parent=nil
2102
end),prt,msh,CF)
2103
end
2104
 
2105
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2106
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2107
prt.Anchored=true
2108
prt.Material = "SmoothPlastic"
2109
prt.CFrame=cframe
2110
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2111
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2112
game:GetService("Debris"):AddItem(prt,5)
2113
coroutine.resume(coroutine.create(function(Part,Mesh) 
2114
for i=0,1,delay do
2115
swait()
2116
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2117
Part.Transparency=i
2118
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2119
end
2120
Part.Parent=nil
2121
end),prt,msh)
2122
end
2123
2124
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2125
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2126
prt.Anchored=true
2127
prt.Material = "Neon"
2128
prt.CFrame=cframe
2129
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2130
game:GetService("Debris"):AddItem(prt,5)
2131
coroutine.resume(coroutine.create(function(Part,Mesh) 
2132
	local rtype = rottype
2133
for i=0,1,delay do
2134
swait()
2135
if rtype == 1 then
2136
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2137
elseif rtype == 2 then
2138
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2139
end
2140
Part.Transparency=i
2141
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2142
end
2143
Part.Parent=nil
2144
end),prt,msh)
2145
end
2146
2147
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2148
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2149
prt.Anchored=true
2150
prt.CFrame=cframe
2151
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2152
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2153
game:GetService("Debris"):AddItem(prt,5)
2154
coroutine.resume(coroutine.create(function(Part,Mesh) 
2155
for i=0,1,delay do
2156
wait()
2157
Part.Transparency=i
2158
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2159
end
2160
Part.Parent=nil
2161
end),prt,msh)
2162
end
2163
 
2164
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2165
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2166
prt.Anchored=false
2167
prt.CFrame=cframe
2168
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2169
local wld=weld(prt,prt,Parent,cframe)
2170
game:GetService("Debris"):AddItem(prt,5)
2171
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2172
for i=0,1,delay do
2173
wait()
2174
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
2175
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2176
Part.Transparency=i
2177
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2178
end
2179
Part.Parent=nil
2180
end),prt,msh,wld)
2181
end
2182
 
2183
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2184
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2185
prt.Anchored=false
2186
prt.CFrame=cframe
2187
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2188
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
2189
game:GetService("Debris"):AddItem(prt,5)
2190
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2191
for i=0,1,delay do
2192
wait()
2193
Weld.C0=euler(i*20,0,0)
2194
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2195
Part.Transparency=i
2196
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2197
end
2198
Part.Parent=nil
2199
end),prt,msh,wld)
2200
end
2201
 
2202
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2203
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2204
prt.Anchored=true
2205
prt.CFrame=cframe
2206
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2207
game:GetService("Debris"):AddItem(prt,2)
2208
coroutine.resume(coroutine.create(function(Part,Mesh) 
2209
for i=0,1,delay do
2210
wait()
2211
Part.CFrame=Part.CFrame
2212
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2213
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2214
prt2.Anchored=true
2215
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2216
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
2217
game:GetService("Debris"):AddItem(prt2,2)
2218
coroutine.resume(coroutine.create(function(Part,Mesh) 
2219
for i=0,1,0.1 do
2220
wait()
2221
Part.CFrame=Part.CFrame*cf(0,0.5,0)
2222
end
2223
Part.Parent=nil
2224
end),prt2,msh2)
2225
end
2226
for i=0,1,delay*2 do
2227
wait()
2228
Part.CFrame=Part.CFrame
2229
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
2230
end
2231
Part.Parent=nil
2232
end),prt,msh)
2233
end
2234
 
2235
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2236
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2237
prt.Anchored=true
2238
prt.CFrame=cframe
2239
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2240
game:GetService("Debris"):AddItem(prt,2)
2241
coroutine.resume(coroutine.create(function(Part,Mesh) 
2242
for i=0,1,delay do
2243
wait()
2244
Part.CFrame=Part.CFrame
2245
Part.Transparency=i
2246
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2247
end
2248
Part.Parent=nil
2249
end),prt,msh)
2250
end
2251
 
2252
function BreakEffect(brickcolor,cframe,x1,y1,z1)
2253
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2254
prt.Anchored=true
2255
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2256
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2257
game:GetService("Debris"):AddItem(prt,2)
2258
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
2259
CF=Part.CFrame
2260
Numbb=0
2261
randnumb=math.random()/10
2262
rand1=math.random()/10
2263
for i=0,1,rand1 do
2264
wait()
2265
CF=CF*cf(0,math.random()/2,0)
2266
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
2267
Part.CFrame=CF*euler(Numbb,0,0)
2268
Part.Transparency=i
2269
Numbb=Numbb+randnumb
2270
end
2271
Part.Parent=nil
2272
end),prt,CF,Numbb,randnumb)
2273
end
2274
 
2275
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2276
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2277
prt.Anchored=true
2278
prt.CFrame=cframe
2279
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
2280
game:GetService("Debris"):AddItem(prt,5)
2281
coroutine.resume(coroutine.create(function(Part,Mesh) 
2282
for i=0,1,delay do
2283
wait()
2284
Part.CFrame=Part.CFrame*euler(0,0.7,0)
2285
Part.Transparency=i
2286
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2287
end
2288
Part.Parent=nil
2289
end),prt,msh)
2290
end
2291
 
2292
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2293
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2294
prt.Anchored=true
2295
prt.CFrame=cframe
2296
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
2297
game:GetService("Debris"):AddItem(prt,2)
2298
coroutine.resume(coroutine.create(function(Part,Mesh) 
2299
for i=0,1,delay do
2300
wait()
2301
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
2302
Part.Transparency=i
2303
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2304
end
2305
Part.Parent=nil
2306
end),prt,msh)
2307
end
2308
 
2309
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
2310
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2311
prt.Anchored=true
2312
prt.CFrame=cframe*cf(x,y,z)
2313
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
2314
game:GetService("Debris"):AddItem(prt,5)
2315
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
2316
local num=math.random()
2317
local num2=math.random(-3,2)+math.random()
2318
local numm=0
2319
for i=0,1,delay*2 do
2320
swait()
2321
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
2322
Part.Transparency=i
2323
numm=numm+0.01
2324
end
2325
Part.Parent=nil
2326
Mesh.Parent=nil
2327
end),prt,msh,x,y,z)
2328
end
2329
2330
2331
2332
function newRay(start,face,range,wat)
2333
	local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
2334
	hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
2335
	return rey,hit,pos
2336
end
2337
2338
function Landing()
2339
	MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2340
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) 
2341
	MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2342
	MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2343
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) 
2344
	MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2345
	
2346
	MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2347
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) 
2348
	MagicBlock(BrickColor.new("Really red"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2349
end
2350
2351
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-
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2367+
2368
    for j = 1, amt do
2369-
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2369+
2370-
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2370+
2371
        nooutline(pr)
2372-
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2372+
2373
        pr.Anchored = true
2374-
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2374+
2375
        pr.CanCollide = true
2376-
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2376+
2377
        pr.Transparency = thepart.Transparency
2378
        pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
2379
        pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
2380
        pr.Parent = workspace
2381
        game.Debris:AddItem(pr, 25)
2382
        delay(15, function()
2383
          if pr then
2384
            pr.CanCollide = false
2385
            pr.Anchored = false
2386
          end
2387
        end)
2388
      end
2389
    end
2390
    for c = 1, amt do
2391
      do
2392
        local pr2 = Instance.new("Part")
2393
        nooutline(pr2)
2394
        pr2.Name = "moredebr"
2395
        pr2.Anchored = false
2396
        pr2.BrickColor = thepart.BrickColor
2397
        pr2.CanCollide = false
2398
        pr2.Material = thepart.Material
2399
        pr2.Transparency = thepart.Transparency
2400
        pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
2401
        pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
2402
        pr2.Parent = workspace
2403
        pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
2404
        pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
2405
        game.Debris:AddItem(pr2, 45)
2406
        delay(2, function()
2407
          pr2.CanCollide = true
2408
          wait(10)
2409
          if pr2 then
2410
            pr2.CanCollide = false
2411
          end
2412
        end)
2413
      end
2414
    end
2415
  end
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
function AirSlam()
2427
	NoAnims = true
2428
	attack = true
2429
	for i = 1, 20 do
2430
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad    (45),math.rad(0),math.rad(32)), 0.2)
2431
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad     (0),math.rad(0),math.rad(-20)), 0.2)
2432
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-    8),math.rad(-40), math.rad(-8)),0.2)
2433
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles  (math.rad    (-50), math.rad(40), math.rad(0)), 0.2)
2434
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles  (math.rad    (30), 0, math.rad(20)), 0.2)
2435
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles  (math.rad(-    10), math.rad(-40), math.rad(0)), 0.2)
2436
            if Debounces.on == false then break end
2437
                wait()
2438
            end
2439
            wait(0.5)
2440
        
2441
2442
coroutine.resume(coroutine.create(function()
2443
       MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2444
	MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) 
2445
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,10*2.5,10*2.5,10*2.5,5.5*2.5,5.5*2.5,5.5*2.5,0.15)
2446
	end))
2447
	
2448
           Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false)
2449
                
2450
            hum.WalkSpeed = 50
2451
        BV = Instance.new("BodyVelocity", torso)
2452
        BV.maxForce = Vector3.new(0,200000,0)
2453
        BV.P = 100000
2454
        BV.velocity = Vector3.new(0,150,0)
2455
    for i = 1, 20 do
2456
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0),     math.rad(0)),0.7)
2457
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16),     math.rad(0), math.rad(0)), 0.7)
2458
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0,     math.rad(-20)), 0.7)
2459
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40),     math.rad(0), math.rad(20)), 0.7)
2460
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
2461
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
2462
        if Debounces.on == false then break end
2463
        wait()
2464
    end
2465
BV:Destroy()
2466
2467
		coroutine.resume(coroutine.create(function()
2468
					for i = 1, 2880, 48 do 
2469
            			torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0))
2470
						rs:wait(4)
2471
					end
2472
					torso.Weld.C1 = CFrame.new(0, -1, 0)
2473
		end))
2474
		
2475
    for i = 1, 30 do
2476
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0),     math.rad(0)),0.3)
2477
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad    (0), math.rad(0)), 0.3)
2478
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-10)), 0.3)
2479
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(10)), 0.3)
2480
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
2481
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0),     0.3)
2482
        if Debounces.on == false then break end
2483
        wait()
2484
    end
2485
2486
if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
2487
    for i = 1, 20 do
2488
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0),     math.rad(0)),0.3)
2489
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad    (0), math.rad(0)), 0.3)
2490
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-60)), 0.3)
2491
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(60)), 0.3)
2492
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
2493
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
2494
        if Debounces.on == false then break end
2495
        wait()
2496
    end
2497
end
2498
local ry,ht,ps=nil,nil,nil
2499
while ht==nil do
2500
	ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
2501
	wait()
2502
end
2503
par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
2504
		if par then
2505
      local cfremz = CFrame.new(loc)
2506
      debris(cfremz, par, 50)
2507
		    end
2508
coroutine.resume(coroutine.create(function()
2509
	Ring()
2510
end))
2511
Landing()
2512
Sound("rbxassetid://514867425",char,90,1,false)
2513
hum.WalkSpeed = 5
2514
for i = 1, 25 do
2515
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2)
2516
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2)
2517
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2)
2518
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2)
2519
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2)
2520
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
2521
            if Debounces.on == false then break end
2522
                wait()
2523
            end
2524
            wait(0.2)
2525
	attack = false
2526
	NoAnims = false
2527
end
2528
2529
2530
2531
function CreatePart(parent,transparency,reflectance,material,brickcolor)
2532
local p = Instance.new("Part")
2533
p.Parent = parent
2534
p.Size = Vector3.new(1,1,1)
2535
p.Transparency = transparency
2536
p.Reflectance = reflectance
2537
p.CanCollide = false
2538
p.BrickColor = brickcolor
2539
p.Material = material
2540
return p
2541
end
2542
2543
2544
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
2545
local weld = Instance.new("Weld")
2546
weld.Parent = parent
2547
weld.Part0 = part0
2548
weld.Part1 = part1
2549
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
2550
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
2551
return weld
2552
end
2553
2554
2555
2556
--[[HandleR = Instance.new("Part")
2557
	HandleR.BrickColor = BrickColor.new("Really red")
2558
	HandleR.Material = "Neon"
2559
	HandleR.Transparency = 0.3
2560
	HandleR.Size = Vector3.new(1,0.8,4)
2561
	HandleR.CFrame = sorb.CFrame
2562
	HandleRM = Instance.new("SpecialMesh",HandleR)
2563
	HandleRM.MeshId = "rbxasset://fonts/sword.mesh"
2564
	HandleRM.Scale = Vector3.new(1,1,1)
2565
	
2566
	HandleL = Instance.new("Part")
2567
	HandleL.BrickColor = BrickColor.new("Really red")
2568
	HandleL.Material = "Neon"
2569
	HandleL.Transparency = 0.3
2570
	HandleL.Size = Vector3.new(1,0.8,4)
2571
	HandleL.CFrame = sorb2.CFrame
2572
	HandleLM = Instance.new("SpecialMesh",HandleL)
2573
	HandleLM.MeshId = "rbxasset://fonts/sword.mesh"
2574
	HandleLM.Scale = Vector3.new(1,1,1)]]
2575
	
2576
2577
local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
2578
CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
2579
local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
2580
CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
2581
2582
2583
v3 = Vector3.new
2584
rad=math.rad
2585-
	HandleR.BrickColor = BrickColor.new("Really blue")
2585+
2586
kiblade = Instance.new("Part",char)
2587
kiblade.Name = "Blade"
2588
kiblade.Size = v3(1,5,1)
2589
kiblade.Transparency = 1
2590
kiblade.BrickColor = BrickColor.new("Really red")
2591
kiblade.Position = v3(999,999,999)
2592
kiblade.CanCollide = false
2593
kiblademesh = Instance.new("SpecialMesh",kiblade)
2594
kiblademesh.MeshType = "FileMesh"
2595-
	HandleL.BrickColor = BrickColor.new("Really blue")
2595+
2596
kiblademesh.Scale = v3(0.01,0.008,0.01)
2597
kiweld7 = Instance.new("Weld",kiblade)
2598
kiweld7.Part0 = rarm
2599
kiweld7.Part1 = kiblade
2600
kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
2601
kiblade1 = Instance.new("Part",char)
2602
kiblade1.Name = "Blade"
2603
kiblade1.Transparency = 1
2604
kiblade1.Size = v3(0.1,0.1,0.1)
2605
kiblade1.Position = v3(999,999,999)
2606
kiblade1.CanCollide = false
2607
kiblademesh = Instance.new("SpecialMesh",kiblade1)
2608
kiblademesh.MeshType = "Sphere"
2609
kiblademesh.Scale = v3(1,1,1)
2610
kiweld = Instance.new("Weld",kiblade1)
2611
kiweld.Part0 = rarm
2612
kiweld.Part1 = kiblade1
2613
kiweld.C0 = CFrame.new(0,-1,0)
2614
kiblade2 = Instance.new("Part",char)
2615
kiblade2.Name = "Blade"
2616
kiblade2.Size = v3(0.1,0.1,0.1)
2617
kiblade2.Transparency = 1
2618-
kiblade.BrickColor = BrickColor.new("Really blue")
2618+
2619
kiblade2.CanCollide = false
2620
kiblademesh = Instance.new("SpecialMesh",kiblade2)
2621
kiblademesh.MeshType = "Sphere"
2622
kiblademesh.Scale = v3(1,1,1)
2623
kiweld = Instance.new("Weld",kiblade2)
2624
kiweld.Part0 = rarm
2625
kiweld.Part1 = kiblade2
2626
kiweld.C0 = CFrame.new(0,-4.5,0)
2627
torso = game.Players.LocalPlayer.Character.Torso
2628
head = game.Players.LocalPlayer.Character.Head
2629
torso1 = Instance.new("Attachment",kiblade1)
2630
head1 = Instance.new("Attachment",kiblade2)
2631
trail = Instance.new("Trail",torso)
2632
trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
2633
trail.Attachment0 = torso1
2634
trail.Attachment1 = head1
2635
trail.Lifetime = 0.5
2636
trail.Enabled = false
2637
2638
2639
2640
2641
kiblade2 = Instance.new("Part",char)
2642
kiblade2.Name = "Blade"
2643
kiblade2.Size = v3(1,5,1)
2644
kiblade2.Transparency = 1
2645
kiblade2.BrickColor = BrickColor.new("Really red")
2646
kiblade2.Position = v3(999,999,999)
2647
kiblade2.CanCollide = false
2648
kiblademesh2 = Instance.new("SpecialMesh",kiblade2)
2649
kiblademesh2.MeshType = "FileMesh"
2650
kiblademesh2.MeshId = "rbxassetid://898849476"
2651
kiblademesh2.Scale = v3(0.01,0.008,0.01)
2652
kiweld72 = Instance.new("Weld",kiblade2)
2653
kiweld72.Part0 = larm
2654
kiweld72.Part1 = kiblade2
2655
kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
2656
kiblade12 = Instance.new("Part",char)
2657
kiblade12.Name = "Blade"
2658
kiblade12.Transparency = 1
2659
kiblade12.Size = v3(0.1,0.1,0.1)
2660
kiblade12.Position = v3(999,999,999)
2661
kiblade12.CanCollide = false
2662
kiblademesh2 = Instance.new("SpecialMesh",kiblade12)
2663
kiblademesh2.MeshType = "Sphere"
2664
kiblademesh2.Scale = v3(1,1,1)
2665
kiweld2 = Instance.new("Weld",kiblade12)
2666
kiweld2.Part0 = larm
2667
kiweld2.Part1 = kiblade12
2668
kiweld2.C0 = CFrame.new(0,-1,0)
2669
kiblade22 = Instance.new("Part",char)
2670
kiblade22.Name = "Blade"
2671
kiblade22.Size = v3(0.1,0.1,0.1)
2672
kiblade22.Transparency = 1
2673-
kiblade2.BrickColor = BrickColor.new("Really blue")
2673+
2674
kiblade22.CanCollide = false
2675
kiblademesh2 = Instance.new("SpecialMesh",kiblade22)
2676
kiblademesh2.MeshType = "Sphere"
2677
kiblademesh2.Scale = v3(1,1,1)
2678
kiweld2 = Instance.new("Weld",kiblade22)
2679
kiweld2.Part0 = larm
2680
kiweld2.Part1 = kiblade22
2681
kiweld2.C0 = CFrame.new(0,-4.5,0)
2682
torso2 = game.Players.LocalPlayer.Character.Torso
2683
head2 = game.Players.LocalPlayer.Character.Head
2684
torso12 = Instance.new("Attachment",kiblade12)
2685
head12 = Instance.new("Attachment",kiblade22)
2686
trail2 = Instance.new("Trail",torso2)
2687
trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
2688
trail2.Attachment0 = torso12
2689
trail2.Attachment1 = head12
2690
trail2.Lifetime = 0.5
2691
trail2.Enabled = false
2692
2693
2694
2695
local Gibs = game.Workspace
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
function Kill(Character)
2709
	Character.Humanoid.Health = 0
2710
	local poo = Instance.new("IntValue",Character)
2711
	poo.Name = "haha nope"
2712
	local svch = Character
2713
	local hum = Character:findFirstChild("Humanoid")
2714
	Character.Archivable = true
2715
	local chrclone = Character:clone()
2716
	Character.Archivable = false
2717
2718
	local ch = chrclone:GetChildren()
2719
	local i
2720
	for i = 1,#ch do
2721
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
2722
			ch[i]:remove()
2723
		end
2724
	end
2725
	local function Scan(ch)
2726
		local e
2727
		for e = 1,#ch do
2728
			Scan(ch[e]:GetChildren())
2729
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
2730
				ch[e]:remove()
2731
			end
2732
		end
2733
	end
2734
	Scan(chrclone:GetChildren())
2735
2736
	local hum2 = chrclone:findFirstChild("Humanoid")
2737
2738
2739
	if hum2 ~= nil then
2740
		hum2.Name = "Humanoid2"
2741
		hum2.PlatformStand = true
2742
		hum2.Sit = true 
2743
		hum2.MaxHealth = 0
2744
		hum2.Health = 0
2745
	end
2746
2747
	local ch = Character:GetChildren()
2748
	local i
2749
	for i = 1,#ch do
2750
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
2751
			ch[i]:remove()
2752
		end
2753
	end
2754
2755
	wait(0.2)
2756
2757
	local ch = Character:GetChildren()
2758
	local i
2759
	for i = 1,#ch do
2760
		if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
2761
			ch[i]:remove()
2762
		end
2763
	end
2764
	Character = chrclone
2765
	local Torso = Character.Torso
2766
	local movevector = Vector3.new()
2767
2768
	if Torso then
2769
		local Head = Character:FindFirstChild("Head")
2770
		local Limb = Character:FindFirstChild("Right Arm")
2771
		if Limb then
2772
2773
			Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
2774
			local Joint = Instance.new("Glue")
2775
			Joint.Name = "RightShoulder"
2776
			Joint.Part0 = Torso
2777
			Joint.Part1 = Limb
2778
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2779
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2780
			Joint.Parent = Torso
2781
2782
			local B = Instance.new("Part")
2783
			B.TopSurface = 0
2784
			B.BottomSurface = 0
2785
			B.formFactor = "Symmetric"
2786
			B.Size = Vector3.new(1, 1, 1)
2787
			B.Transparency = 1
2788
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2789
			B.Parent = Character
2790
			local W = Instance.new("Weld")
2791
			W.Part0 = Limb
2792
			W.Part1 = B
2793
			W.C0 = CFrame.new(0, -0.5, 0)
2794
			W.Parent = Limb
2795
2796
		end
2797
		local Limb = Character:FindFirstChild("Left Arm")
2798
		if Limb then
2799
2800
			Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
2801
			local Joint = Instance.new("Glue")
2802
			Joint.Name = "LeftShoulder"
2803
			Joint.Part0 = Torso
2804
			Joint.Part1 = Limb
2805
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2806
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2807
			Joint.Parent = Torso
2808
2809
			local B = Instance.new("Part")
2810
			B.TopSurface = 0
2811
			B.BottomSurface = 0
2812
			B.formFactor = "Symmetric"
2813
			B.Size = Vector3.new(1, 1, 1)
2814
			B.Transparency = 1
2815
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2816
			B.Parent = Character
2817
			local W = Instance.new("Weld")
2818
			W.Part0 = Limb
2819
			W.Part1 = B
2820
			W.C0 = CFrame.new(0, -0.5, 0)
2821
			W.Parent = Limb
2822
2823
		end
2824
		local Limb = Character:FindFirstChild("Right Leg")
2825
		if Limb then
2826
2827
			Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
2828
			local Joint = Instance.new("Glue")
2829
			Joint.Name = "RightHip"
2830
			Joint.Part0 = Torso
2831
			Joint.Part1 = Limb
2832
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2833
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2834
			Joint.Parent = Torso
2835
2836
			local B = Instance.new("Part")
2837
			B.TopSurface = 0
2838
			B.BottomSurface = 0
2839
			B.formFactor = "Symmetric"
2840
			B.Size = Vector3.new(1, 1, 1)
2841
			B.Transparency = 1
2842
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2843
			B.Parent = Character
2844
			local W = Instance.new("Weld")
2845
			W.Part0 = Limb
2846
			W.Part1 = B
2847
			W.C0 = CFrame.new(0, -0.5, 0)
2848
			W.Parent = Limb
2849
2850
		end
2851
		local Limb = Character:FindFirstChild("Left Leg")
2852
		if Limb then
2853
2854
			Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
2855
			local Joint = Instance.new("Glue")
2856
			Joint.Name = "LeftHip"
2857
			Joint.Part0 = Torso
2858
			Joint.Part1 = Limb
2859
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2860
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2861
			Joint.Parent = Torso
2862
2863
			local B = Instance.new("Part")
2864
			B.TopSurface = 0
2865
			B.BottomSurface = 0
2866
			B.formFactor = "Symmetric"
2867
			B.Size = Vector3.new(1, 1, 1)
2868
			B.Transparency = 1
2869
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2870
			B.Parent = Character
2871
			local W = Instance.new("Weld")
2872
			W.Part0 = Limb
2873
			W.Part1 = B
2874
			W.C0 = CFrame.new(0, -0.5, 0)
2875
			W.Parent = Limb
2876
2877
		end
2878
		--[
2879
		local Bar = Instance.new("Part")
2880
		Bar.TopSurface = 0
2881
		Bar.BottomSurface = 0
2882
		Bar.formFactor = "Symmetric"
2883
		Bar.Size = Vector3.new(1, 1, 1)
2884
		Bar.Transparency = 1
2885
		Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
2886
		Bar.Parent = Character
2887
		local Weld = Instance.new("Weld")
2888
		Weld.Part0 = Torso
2889
		Weld.Part1 = Bar
2890
		Weld.C0 = CFrame.new(0, 0.5, 0)
2891
		Weld.Parent = Torso
2892
		--]]
2893
	end
2894
	Character.Parent = Gibs
2895
	game.Debris:AddItem(Character, 12)
2896
	if movevector ~= Vector3.new() then
2897
		for i = 1,10 do
2898
			wait()
2899
			Torso.Velocity = Vector3.new(0,0,-100)
2900
			Head.Velocity = movevector * 200
2901
		end
2902
	end
2903
	end
2904
	
2905
	
2906
2907
function SpinSlice()
2908
	NoAnims = true
2909
	attack = true
2910
	
2911
	
2912
	Sound("rbxassetid://588738949",char,90,1,false)
2913
	kiblade.Transparency = 0
2914
	kiblade2.Transparency = 0
2915
    trail.Enabled = true
2916
    trail2.Enabled = true
2917
2918
	hum.WalkSpeed = 0
2919
	for i = 1,40 do
2920
		torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
2921
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
2922
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
2923
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(90)), 0.5)--arm
2924
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-90)), 0.5)--arm
2925
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
2926
if Debounces.on == false then break end
2927
                wait()
2928
	end
2929
	
2930
	
2931
	coroutine.resume(coroutine.create(function()
2932
	local BF = Instance.new("BodyVelocity",hed)
2933
	BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2934
	BF.velocity = root.CFrame.lookVector*120
2935
	wait(2.0)
2936
	BF:remove()
2937
	end))
2938
	
2939
	coroutine.resume(coroutine.create(function()
2940
	Sound("rbxassetid://588734356",char,90,1,false)
2941
	wait(.1)
2942
	Sound("rbxassetid://588734356",char,90,1,false)
2943
	wait(.1)
2944
	Sound("rbxassetid://588734356",char,90,1,false)
2945
	wait(.1)
2946
	Sound("rbxassetid://588734356",char,90,1,false)
2947
	wait(.1)
2948
	Sound("rbxassetid://588734356",char,90,1,false)
2949
	wait(.1)
2950
	Sound("rbxassetid://588734356",char,90,1,false)
2951
	wait(.1)
2952
	Sound("rbxassetid://588734356",char,90,1,false)
2953
	wait(.1)
2954
	Sound("rbxassetid://588734356",char,90,1,false)
2955
end))
2956
	local HitBox = Instance.new("Part",rarm)
2957
	HitBox.Size = Vector3.new(1,5,1)
2958
	HitBox.CanCollide = false
2959
	HitBox.Transparency = 1
2960
	local HitBox2 = Instance.new("Weld",HitBox)
2961
	HitBox2.Part0 = rarm
2962
	HitBox2.Part1 = HitBox
2963
	HitBox2.C0 = CFrame.new(0,-1.8,0)
2964
	HitBox.Touched:connect(function(hit)
2965
		if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
2966
			Kill(hit.Parent)
2967
			hit.Parent.Humanoid.PlatformStand = true
2968
		end
2969
	end)
2970
	
2971
	local HitBox2 = Instance.new("Part",larm)
2972
	HitBox2.Size = Vector3.new(1,5,1)
2973
	HitBox2.CanCollide = false
2974
	HitBox2.Transparency = 1
2975
	local HitBox22 = Instance.new("Weld",HitBox2)
2976
	HitBox22.Part0 = larm
2977
	HitBox22.Part1 = HitBox2
2978
	HitBox22.C0 = CFrame.new(0,-1.8,0)
2979
	HitBox2.Touched:connect(function(hit)
2980
		if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
2981
			Kill(hit.Parent)
2982
			hit.Parent.Humanoid.PlatformStand = true
2983
		end
2984
		end)
2985
2986
	for i = 1,40 do
2987
		torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
2988
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
2989
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
2990
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(90)), 0.5)--arm
2991
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)), 0.5)--arm
2992
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
2993
	root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
2994
	 if Debounces.on == false then break end
2995
                wait()
2996
	end
2997
	kiblade.Transparency = 1
2998
	kiblade2.Transparency = 1
2999
	trail.Enabled = false
3000
    trail2.Enabled = false
3001
HitBox:Destroy()
3002
HitBox2:Destroy()
3003
    hum.WalkSpeed = 5
3004
	attack = false
3005
	NoAnims = false
3006
end
3007
	
3008
	
3009
	
3010
	
3011
function hito(partoz, magn, dmg, debtim)
3012
    for _, guy in pairs(workspace:GetChildren()) do
3013
      if guy:FindFirstChildOfClass("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
3014
        do
3015
          local humz = guy:FindFirstChildOfClass("Humanoid")
3016
          local hed = guy:FindFirstChild("Head")
3017
          humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints()
3018
          local db = Instance.new("StringValue")
3019
          db.Name = "alabo"
3020
          db.Parent = hed
3021
          delay(debtim, function()
3022
            db:Destroy()
3023
          end)
3024
        end
3025
      end
3026
    end
3027
  end
3028
end
3029
	
3030
	
3031
	
3032
	ang = CFrame.Angles
3033
rd = math.rad
3034
rd2 = math.random
3035
ov = false
3036
3037
3038
3039
nooutline = function(i)	
3040
	i.TopSurface = 10
3041
end
3042
makepart = function(l, m, n, o, p, q, r)	
3043
	local s = Instance.new("Part")
3044
	s.BrickColor = BrickColor.new(l)
3045
	s.Name = m
3046
	s.Transparency = o
3047
	nooutline(s)
3048
	s.Reflectance = n
3049
	s.Material = p
3050
	s.Anchored = true
3051
	s.CanCollide = false
3052
	s.Locked = true
3053
	s.CFrame = r
3054
	s.Size = Vector3.new(0.2, 0.2, 0.2)
3055
	s.Parent = q
3056
	return s
3057
end
3058
3059
makemesh = function(t, u, v, w)	
3060
	local x = Instance.new("SpecialMesh")
3061
	x.MeshType = t
3062
	x.Scale = u
3063
	if t == "FileMesh" then
3064
		x.MeshId = v
3065
	end
3066
	x.Parent = w
3067
	return x
3068
end
3069
3070
local H = {}
3071
3072
3073
	Barrage = function()
3074
	modz = Instance.new("Model")
3075
	modz.Name = "efx"
3076
	modz.Parent = char	
3077
	ov = true
3078
	hum.AutoRotate = false
3079
	local aN = nil
3080
	local a9 = true
3081
	local aa = {}
3082
	local ab = {}
3083
	local b7 = {}
3084
	for j = 1, 16 do
3085
		local ac = Instance.new("Part")
3086
		nooutline(ac)
3087
		ac.Anchored = true
3088
		ac.Locked = true
3089
		ac.CanCollide = false
3090
		ac.Material = "Neon"
3091
		ac.Size = Vector3.new(1, 1, 1)
3092
		ac.Transparency = 1
3093
		ac.CFrame = CFrame.new(0, 1000, 0)
3094
		ac.Parent = modz
3095
		ac.BrickColor = BrickColor.new("Really red")
3096
		makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
3097
		table.insert(aa, ac)
3098
	end
3099
	for j = 1, 40 do
3100
		local a3 = makepart("Really red", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
3101
		makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
3102
		table.insert(ab, a3)
3103
	end
3104
	for j = 1, 30 do
3105
		local a3 = makepart("Really red", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
3106
		makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
3107
		table.insert(b7, a3)
3108
	end
3109
	local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
3110
	local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
3111
	for I,aO in pairs(H) do
3112
		if aO.Parent == rarm or aO.Parent == larm then
3113
			aN = aO.Transparency
3114
			aO.Transparency = 1
3115
		end
3116
	end
3117
	local a8 = Instance.new("BodyGyro")
3118
	a8.MaxTorque = Vector3.new(1050, 3000, 750)
3119
	a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
3120
	a8.P = 580000
3121
	a8.D = 250
3122
	a8.Parent = root
3123-
		ac.BrickColor = BrickColor.new("Really blue")
3123+
3124
		while a8 do
3125
			swait()
3126
			a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
3127
		end
3128-
		local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
3128+
3129
	local af = 0
3130
	local ag = 0
3131
	repeat
3132
			ag = ag + 1
3133-
		local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
3133+
3134
				af = 1
3135
			else
3136
				af = af % 14 + 1
3137
			end
3138
		coroutine.resume(coroutine.create(function()		
3139
		local ah = aa[af]
3140
		local ai = ab[af]
3141
		local aj = ab[af + 14]
3142
		local ba = b7[af]
3143
		ah.Size = Vector3.new(1, 1, 2)
3144
		ah.CFrame = cf(root.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p)
3145
		ah.Transparency = 0.25
3146
		ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
3147
		ai.Transparency = 0.35
3148
		ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
3149
		aj.Transparency = 0.45
3150
		aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
3151
		aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90))
3152
		if af % 2 == 1 then
3153
			ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
3154
		else
3155
			if af % 2 == 0 then
3156
				ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
3157
			end
3158
		end
3159
		ba.CFrame = ah.CFrame * cf(0, 0, -8)
3160
		ba.Transparency = 0.4
3161
		ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
3162
		local bb = ah.CFrame * cf(0, 0, -5)
3163
		local bc = aj.CFrame * cf(0, -0.1, 0)
3164
		local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100)
3165
		local ak = false
3166
		for j = 1, 12 do
3167
			swait()
3168
			local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j))
3169
			local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true)
3170
			if a1 and ak == false then
3171
				ak = true
3172
				local a3 = makepart("Really blue", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
3173
				do
3174
					local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
3175
					game.Debris:AddItem(a3, 0.5)
3176
					local a5 = rd2(1, 12)
3177
					if a5 == 6 then
3178
						hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8)))
3179
					else
3180
						hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10)
3181
					end
3182
					coroutine.resume(coroutine.create(function()			
3183
			for I = 1, 4 do
3184
				swait()
3185
				a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8)
3186
				a3.Transparency = a3.Transparency + 0.2
3187
			end
3188
			a3:Destroy()
3189
		end))
3190
				end
3191
			end
3192
					ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5)
3193
					ah.CFrame = ah.CFrame:lerp(bb, 1)
3194
					ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
3195
					ah.Transparency = ah.Transparency + 0.0725
3196
					ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
3197
					ai.Transparency = ai.Transparency + 0.06
3198
					aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
3199
					aj.CFrame = aj.CFrame:lerp(bc, 0.3)
3200
					aj.Transparency = aj.Transparency + 0.05
3201
					ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
3202
					ba.CFrame = ba.CFrame:lerp(bd, 0.3)
3203
					ba.Transparency = ba.Transparency + 0.06
3204
		end
3205
	end))
3206
			swait()
3207
		until ov == false
3208
	for I,aO in pairs(H) do
3209
		if aO.Parent == rarm or aO.Parent == larm then
3210
			aO.Transparency = aN
3211
		end
3212
	end
3213
	b8:Destroy()
3214
	b9:Destroy()
3215
	a8:Destroy()
3216
	hum.AutoRotate = true
3217
	ov = false
3218
	wait(1)
3219
	for I,al in pairs(aa) do
3220
		al:Destroy()
3221
	end
3222
	for I,am in pairs(ab) do
3223
		am:Destroy()
3224
	end
3225
	for I,be in pairs(b7) do
3226
		be:Destroy()
3227
	end
3228
	end
3229
	
3230
	
3231
	
3232
	
3233
	
3234
	
3235
	function Kneel()
3236
		
3237
 for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
3238
        if v:FindFirstChild('Humanoid') then
3239
	
3240
	hum2 = v:FindFirstChild('Humanoid')
3241
    hum2.PlatformStand=true
3242
   
3243
end
3244
end
3245
	end
3246
	
3247
--[[mouse.KeyDown:connect(function(key)
3248
	if key == "g" and Trans == false and Strength then
3249
		Transformation()
3250
		Trans = true
3251
	end
3252
end)]]
3253
3254
3255
3256
mouse.KeyDown:connect(function(key)
3257
	if key == "e" then
3258
		GrabAndDrag()
3259
	end
3260
end)
3261
3262
3263
mouse.KeyDown:connect(function(key)
3264
	if key == "z"  then
3265
		AirSlam()
3266
	end
3267
end)
3268
3269
3270
3271
mouse.KeyDown:connect(function(key)
3272
	if key == "x"  then
3273
		SpinSlice()
3274
	end
3275
end)
3276
3277
3278
mouse.KeyDown:connect(function(key)
3279
	if key == "f"  and Full == false then
3280
		FullPower()
3281
	end
3282
end)
3283
3284
mouse.KeyDown:connect(function(key)
3285
	if key == "q"  then
3286
		Sound("rbxassetid://966268002",char,90,1,false)
3287
		Kneel()
3288
	end
3289
end)
3290
3291
mouse.KeyDown:connect(function(key)
3292
	if key == "c" then
3293
		if ov == false then
3294
		hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0)
3295
        wait()
3296
        local ChatService = game:GetService("Chat")
3297
	    wait()
3298
        local ChatService = game:GetService("Chat")
3299
coroutine.resume(coroutine.create(function()
3300
s = 0
3301
repeat
3302
s = s + 1
3303
Barrage()
3304
wait()
3305
until not ov
3306
end))
3307
if Full == true then
3308
coroutine.resume(coroutine.create(function()
3309
s = 0
3310
repeat
3311
s = s + 1
3312
Barrage()
3313
wait()
3314
until not ov
3315
end))	
3316
end
3317
mouse.KeyUp:connect(function(key)
3318
	if key == "c" then
3319
		wait(0.4)
3320
		ov = false
3321
		wait(0.1)
3322
end
3323
end)
3324
end
3325
end
3326
end)
3327
3328
3329
3330
3331
3332
-----animations-----
3333
3334
game:GetService("RunService").RenderStepped:connect(function()
3335
char.Humanoid.FreeFalling:connect(function(f)
3336
if f then
3337
ffing = true
3338
else
3339
ffing = false
3340
end
3341
end)
3342
sine = sine + add
3343
if ffing==true then
3344
anim="jump"
3345
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
3346
anim="idle"
3347
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
3348
anim = "walk"
3349
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
3350
anim = "run"
3351
end
3352
3353
if NoAnims==false then
3354
if anim=="idle" then
3355
add=0.5
3356
if trans == false then
3357
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05)
3358
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
3359
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
3360
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
3361
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
3362
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
3363
else
3364
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
3365
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
3366
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
3367
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm
3368
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm
3369
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
3370
end
3371
3372
elseif anim=="walk" then
3373
add=0.5
3374
if trans == false then
3375
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/3.5)/3,0)*CFrame.Angles(math.rad(-10),0,0),0.25)
3376
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/7)/2,-0.15+-math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/7)/2,0,0.05),0.25)
3377
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/7)/2,-0.15+math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/7)/2,0,-0.05),0.25)
3378
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/7)/7,0+math.sin(sine/14)/7)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/2,0,-6+-math.sin(sine/14)/7),0.1)
3379
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/10)/14,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
3380
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25)
3381
else
3382
change = 0.5
3383
          larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2)
3384
          rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2)
3385
          hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2)
3386
          lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4)
3387
          rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4)
3388
          torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2)
3389
end
3390
3391
elseif anim=="run" then
3392
add=0.5
3393
if trans == false then
3394
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/2)/3,0)*CFrame.Angles(math.rad(-37),0,0),0.025)
3395
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/4)/2,-0.15+-math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/4)/2,0,0.05),0.25)
3396
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/4)/2,-0.15+math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/4)/2,0,-0.05),0.25)
3397
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,-6),0.25)
3398
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,6),0.25)
3399
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25)
3400
else
3401
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25)
3402
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
3403
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
3404
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25)
3405
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25)
3406
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25)
3407
end
3408
3409
elseif anim=="jump" then
3410
add=0.5
3411
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05)
3412
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25)
3413
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25)
3414
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25)
3415
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25)
3416
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25)
3417
3418
end
3419
end
3420
                 
3421
end)
3422
3423
3424
--[[l = game.Lighting
3425
l.TimeOfDay = 1
3426
game.Lighting.Ambient = Color3.new(0,0,0)
3427
l.Brightness = 0.1]]--