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