View difference between Paste ID: G2qGLfTe and z4PdNB1R
SHOW: | | - or go back to the newest paste.
1
--[[ Name : Gale Fighter ]]--
2
-------------------------------------------------------
3
--A Collaboration Between makhail07 and KillerDarkness0105
4
5
--Base Animaion by makhail07, attacks by KillerDarkness0105
6
-------------------------------------------------------
7
8
9
local FavIDs = {
10
	340106355, --Nefl Crystals
11
	927529620, --Dimension
12
	876981900, --Fantasy
13
	398987889, --Ordinary Days
14
	1117396305, --Oh wait, it's you.
15
	885996042, --Action Winter Journey
16
	919231299, --Sprawling Idiot Effigy
17
	743466274, --Good Day Sunshine
18
	727411183, --Knife Fight
19
	1402748531, --The Earth Is Counting On You!
20
	595230126 --Robot Language
21
	}
22
23
24
25
--The reality of my life isn't real but a Universe -makhail07
26
wait(0.2)
27
local plr = game:service'Players'.LocalPlayer
28
print('Local User is '..plr.Name)
29
print('Gale Fighter Loaded')
30
print('The Fighter that is as fast as wind, a true Fighter')
31
local char = plr.Character
32
local hum = char.Humanoid
33
local hed = char.Head
34
local root = char.HumanoidRootPart
35
local rootj = root.RootJoint
36
local tors = char.Torso
37
local ra = char["Right Arm"]
38
local la = char["Left Arm"]
39
local rl = char["Right Leg"]
40
local ll = char["Left Leg"]
41
local neck = tors["Neck"]
42
local mouse = plr:GetMouse()
43
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
44
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
45
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
46
local maincolor = BrickColor.new("Institutional white")
47
hum.MaxHealth = 200
48
hum.Health = 200
49
50
-------------------------------------------------------
51
--Start Good Stuff--
52
-------------------------------------------------------
53
cam = game.Workspace.CurrentCamera
54
CF = CFrame.new
55
angles = CFrame.Angles
56
attack = false
57
Euler = CFrame.fromEulerAnglesXYZ
58
Rad = math.rad
59
IT = Instance.new
60
BrickC = BrickColor.new
61
Cos = math.cos
62
Acos = math.acos
63
Sin = math.sin
64
Asin = math.asin
65
Abs = math.abs
66
Mrandom = math.random
67
Floor = math.floor
68
-------------------------------------------------------
69
--End Good Stuff--
70
-------------------------------------------------------
71
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
72
RSH, LSH = nil, nil 
73
RW = Instance.new("Weld") 
74
LW = Instance.new("Weld")
75
RH = tors["Right Hip"]
76
LH = tors["Left Hip"]
77
RSH = tors["Right Shoulder"] 
78
LSH = tors["Left Shoulder"] 
79
RSH.Parent = nil 
80
LSH.Parent = nil 
81
RW.Name = "RW"
82
RW.Part0 = tors 
83
RW.C0 = CF(1.5, 0.5, 0)
84
RW.C1 = CF(0, 0.5, 0) 
85
RW.Part1 = ra
86
RW.Parent = tors 
87
LW.Name = "LW"
88
LW.Part0 = tors 
89
LW.C0 = CF(-1.5, 0.5, 0)
90
LW.C1 = CF(0, 0.5, 0) 
91
LW.Part1 = la
92
LW.Parent = tors
93
vt = Vector3.new
94
Effects = {}
95
-------------------------------------------------------
96
--Start HeartBeat--
97
-------------------------------------------------------
98
ArtificialHB = Instance.new("BindableEvent", script)
99
ArtificialHB.Name = "Heartbeat"
100
script:WaitForChild("Heartbeat")
101
102
frame = 1 / 90
103
tf = 0
104
allowframeloss = false
105
tossremainder = false
106
107
108
lastframe = tick()
109
script.Heartbeat:Fire()
110
111
112
game:GetService("RunService").Heartbeat:connect(function(s, p)
113
	tf = tf + s
114
	if tf >= frame then
115
		if allowframeloss then
116
			script.Heartbeat:Fire()
117
			lastframe = tick()
118
		else
119
			for i = 1, math.floor(tf / frame) do
120
				script.Heartbeat:Fire()
121
			end
122
			lastframe = tick()
123
		end
124
		if tossremainder then
125
			tf = 0
126
		else
127
			tf = tf - frame * math.floor(tf / frame)
128
		end
129
	end
130
end)
131
-------------------------------------------------------
132
--End HeartBeat--
133
-------------------------------------------------------
134
135
-------------------------------------------------------
136
--Start Combo Function--
137
-------------------------------------------------------
138
local comboing = false
139
local combohits = 0
140
local combotime = 0
141
local maxtime = 65
142
143
144
145
function sandbox(var,func)
146
	local env = getfenv(func)
147
	local newenv = setmetatable({},{
148
		__index = function(self,k)
149
			if k=="script" then
150
				return var
151
			else
152
				return env[k]
153
			end
154
		end,
155
	})
156
	setfenv(func,newenv)
157
	return func
158
end
159
cors = {}
160
mas = Instance.new("Model",game:GetService("Lighting"))
161
comboframe = Instance.new("ScreenGui")
162
Frame1 = Instance.new("Frame")
163
Frame2 = Instance.new("Frame")
164
TextLabel3 = Instance.new("TextLabel")
165
comboframe.Name = "combinserter"
166
comboframe.Parent = mas
167
Frame1.Name = "combtimegui"
168
Frame1.Parent = comboframe
169
Frame1.Size = UDim2.new(0, 300, 0, 14)
170
Frame1.Position = UDim2.new(0, 900, 0.629999971, 0)
171
Frame1.BackgroundColor3 = Color3.new(0, 0, 0)
172
Frame1.BorderColor3 = Color3.new(0.0313726, 0.0470588, 0.0627451)
173
Frame1.BorderSizePixel = 5
174
Frame2.Name = "combtimeoverlay"
175
Frame2.Parent = Frame1
176
Frame2.Size = UDim2.new(0, 0, 0, 14)
177
Frame2.BackgroundColor3 = Color3.new(0, 1, 0)
178
Frame2.ZIndex = 2
179
TextLabel3.Parent = Frame2
180
TextLabel3.Transparency = 0
181
TextLabel3.Size = UDim2.new(0, 300, 0, 50)
182
TextLabel3.Text ="Hits:  "..combohits
183
TextLabel3.Position = UDim2.new(0, 0, -5.5999999, 0)
184
TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
185
TextLabel3.BackgroundTransparency = 1
186
TextLabel3.Font = Enum.Font.Bodoni
187
TextLabel3.FontSize = Enum.FontSize.Size60
188
TextLabel3.TextColor3 = Color3.new(0, 1, 0)
189
TextLabel3.TextStrokeTransparency = 0
190
gui = game:GetService("Players").LocalPlayer.PlayerGui
191
for i,v in pairs(mas:GetChildren()) do
192
	v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
193
	pcall(function() v:MakeJoints() end)
194
end
195
mas:Destroy()
196
for i,v in pairs(cors) do
197
	spawn(function()
198
		pcall(v)
199
	end)
200
end
201
202
203
204
coroutine.resume(coroutine.create(function()
205
	while true do
206
		wait()
207
		
208
		
209
		if combotime>65 then
210
		    combotime = 65
211
	    end
212
	    
213
	    
214
	    
215
	    
216
	    
217
		if combotime>.1 and comboing == true then
218
		    TextLabel3.Transparency = 0
219
		    TextLabel3.TextStrokeTransparency = 0
220
		    TextLabel3.BackgroundTransparency = 1
221
		    Frame1.Transparency = 0
222
		    Frame2.Transparency = 0
223
		       TextLabel3.Text ="Hits:  "..combohits
224
		    combotime = combotime - .14
225
Frame2.Size = Frame2.Size:lerp(UDim2.new(0, combotime/maxtime*300, 0, 14),0.42)
226
    end
227
    
228-
		    combotime = combotime - .34
228+
229
    
230
    
231
	    if combotime<.1 then
232
	        		    TextLabel3.BackgroundTransparency = 1
233
	        		    TextLabel3.Transparency = 1
234
		    TextLabel3.TextStrokeTransparency = 1
235
236
Frame2.Size = UDim2.new(0, 0, 0, 14)
237
	        combotime = 0
238
	        comboing = false
239
	       		    Frame1.Transparency = 1
240
		    Frame2.Transparency = 1
241
		   combohits = 0 
242
	        
243
	        end
244
end
245
end))
246
247
248
249
-------------------------------------------------------
250
--End Combo Function--
251
-------------------------------------------------------
252
253
-------------------------------------------------------
254
--Start Important Functions--
255
-------------------------------------------------------
256
function swait(num)
257
	if num == 0 or num == nil then
258
		game:service("RunService").Stepped:wait(0)
259
	else
260
		for i = 0, num do
261
			game:service("RunService").Stepped:wait(0)
262
		end
263
	end
264
end
265
function thread(f)
266
	coroutine.resume(coroutine.create(f))
267
end
268
function clerp(a, b, t)
269
	local qa = {
270
		QuaternionFromCFrame(a)
271
	}
272
	local qb = {
273
		QuaternionFromCFrame(b)
274
	}
275
	local ax, ay, az = a.x, a.y, a.z
276
	local bx, by, bz = b.x, b.y, b.z
277
	local _t = 1 - t
278
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
279
end
280
function QuaternionFromCFrame(cf)
281
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
282
	local trace = m00 + m11 + m22
283
	if trace > 0 then
284
		local s = math.sqrt(1 + trace)
285
		local recip = 0.5 / s
286
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
287
	else
288
		local i = 0
289
		if m00 < m11 then
290
			i = 1
291
		end
292
		if m22 > (i == 0 and m00 or m11) then
293
			i = 2
294
		end
295
		if i == 0 then
296
			local s = math.sqrt(m00 - m11 - m22 + 1)
297
			local recip = 0.5 / s
298
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
299
		elseif i == 1 then
300
			local s = math.sqrt(m11 - m22 - m00 + 1)
301
			local recip = 0.5 / s
302
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
303
		elseif i == 2 then
304
			local s = math.sqrt(m22 - m00 - m11 + 1)
305
			local recip = 0.5 / s
306
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
307
		end
308
	end
309
end
310
function QuaternionToCFrame(px, py, pz, x, y, z, w)
311
	local xs, ys, zs = x + x, y + y, z + z
312
	local wx, wy, wz = w * xs, w * ys, w * zs
313
	local xx = x * xs
314
	local xy = x * ys
315
	local xz = x * zs
316
	local yy = y * ys
317
	local yz = y * zs
318
	local zz = z * zs
319
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
320
end
321
function QuaternionSlerp(a, b, t)
322
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
323
	local startInterp, finishInterp
324
	if cosTheta >= 1.0E-4 then
325
		if 1 - cosTheta > 1.0E-4 then
326
			local theta = math.acos(cosTheta)
327
			local invSinTheta = 1 / Sin(theta)
328
			startInterp = Sin((1 - t) * theta) * invSinTheta
329
			finishInterp = Sin(t * theta) * invSinTheta
330
		else
331
			startInterp = 1 - t
332
			finishInterp = t
333
		end
334
	elseif 1 + cosTheta > 1.0E-4 then
335
		local theta = math.acos(-cosTheta)
336
		local invSinTheta = 1 / Sin(theta)
337
		startInterp = Sin((t - 1) * theta) * invSinTheta
338
		finishInterp = Sin(t * theta) * invSinTheta
339
	else
340
		startInterp = t - 1
341
		finishInterp = t
342
	end
343
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
344
end
345
function rayCast(Position, Direction, Range, Ignore)
346
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
347
end
348
local RbxUtility = LoadLibrary("RbxUtility")
349
local Create = RbxUtility.Create
350
351
-------------------------------------------------------
352
--Start Damage Function--
353
-------------------------------------------------------
354
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
355
	if hit.Parent == nil then
356
		return
357
	end
358
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
359
	for _, v in pairs(hit.Parent:children()) do
360
		if v:IsA("Humanoid") then
361
			h = v
362
		end
363
	end
364
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
365
	
366
         hit.Parent:FindFirstChild("Head"):BreakJoints()
367
         end
368
369
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
370
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
371
			if hit.Parent.DebounceHit.Value == true then
372
				return
373
			end
374
		end
375
         if insta == true then
376
         hit.Parent:FindFirstChild("Head"):BreakJoints()
377
         end
378
		local c = Create("ObjectValue"){
379
			Name = "creator",
380
			Value = game:service("Players").LocalPlayer,
381
			Parent = h,
382
		}
383
		game:GetService("Debris"):AddItem(c, .5)
384
		if HitSound ~= nil and HitPitch ~= nil then
385
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
386
		end
387
		local Damage = math.random(minim, maxim)
388
		local blocked = false
389
		local block = hit.Parent:findFirstChild("Block")
390
		if block ~= nil then
391
			if block.className == "IntValue" then
392
				if block.Value > 0 then
393
					blocked = true
394
					block.Value = block.Value - 1
395
					print(block.Value)
396
				end
397
			end
398
		end
399
		if blocked == false then
400
			h.Health = h.Health - Damage
401
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
402
		else
403
			h.Health = h.Health - (Damage / 2)
404
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
405
		end
406
		if Type == "Knockdown" then
407
			local hum = hit.Parent.Humanoid
408
			hum.PlatformStand = true
409
			coroutine.resume(coroutine.create(function(HHumanoid)
410
				swait(1)
411
				HHumanoid.PlatformStand = false
412
			end), hum)
413
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
414
			local bodvol = Create("BodyVelocity"){
415
				velocity = angle * knockback,
416
				P = 5000,
417
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
418
				Parent = hit,
419
			}
420
			local rl = Create("BodyAngularVelocity"){
421
				P = 3000,
422
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
423
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
424
				Parent = hit,
425
			}
426
			game:GetService("Debris"):AddItem(bodvol, .5)
427
			game:GetService("Debris"):AddItem(rl, .5)
428
		elseif Type == "Normal" then
429
			local vp = Create("BodyVelocity"){
430
				P = 500,
431
				maxForce = Vector3.new(math.huge, 0, math.huge),
432
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
433
			}
434
			if knockback > 0 then
435
				vp.Parent = hit.Parent.Torso
436
			end
437
			game:GetService("Debris"):AddItem(vp, .5)
438
		elseif Type == "Up" then
439
			local bodyVelocity = Create("BodyVelocity"){
440
				velocity = Vector3.new(0, 20, 0),
441
				P = 5000,
442
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
443
				Parent = hit,
444
			}
445
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
446
		elseif Type == "DarkUp" then
447
			coroutine.resume(coroutine.create(function()
448
				for i = 0, 1, 0.1 do
449
					swait()
450
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
451
				end
452
			end))
453
			local bodyVelocity = Create("BodyVelocity"){
454
				velocity = Vector3.new(0, 20, 0),
455
				P = 5000,
456
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
457
				Parent = hit,
458
			}
459
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
460
		elseif Type == "Snare" then
461
			local bp = Create("BodyPosition"){
462
				P = 2000,
463
				D = 100,
464
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
465
				position = hit.Parent.Torso.Position,
466
				Parent = hit.Parent.Torso,
467
			}
468
			game:GetService("Debris"):AddItem(bp, 1)
469
		elseif Type == "Freeze" then
470
			local BodPos = Create("BodyPosition"){
471
				P = 50000,
472
				D = 1000,
473
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
474
				position = hit.Parent.Torso.Position,
475
				Parent = hit.Parent.Torso,
476
			}
477
			local BodGy = Create("BodyGyro") {
478
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
479
				P = 20e+003,
480
				Parent = hit.Parent.Torso,
481
				cframe = hit.Parent.Torso.CFrame,
482
			}
483
			hit.Parent.Torso.Anchored = true
484
			coroutine.resume(coroutine.create(function(Part) 
485
				swait(1.5)
486
				Part.Anchored = false
487
			end), hit.Parent.Torso)
488
			game:GetService("Debris"):AddItem(BodPos, 3)
489
			game:GetService("Debris"):AddItem(BodGy, 3)
490
		end
491
		local debounce = Create("BoolValue"){
492
			Name = "DebounceHit",
493
			Parent = hit.Parent,
494
			Value = true,
495
		}
496
		game:GetService("Debris"):AddItem(debounce, Delay)
497
		c = Create("ObjectValue"){
498
			Name = "creator",
499
			Value = Player,
500
			Parent = h,
501
		}
502
		game:GetService("Debris"):AddItem(c, .5)
503
	end
504
end
505
506
507
508
509
	kDamagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
510
        if hit.Parent==nil then
511
                return
512
        end
513
        h=hit.Parent:FindFirstChild("Humanoid")
514
        for _,v in pairs(hit.Parent:children()) do
515
        if v:IsA("Humanoid") then
516
        h=v
517
        end
518
        end
519
        if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
520
        h=hit.Parent.Parent:FindFirstChild("Humanoid")
521
        end
522
        if hit.Parent.className=="Hat" then
523
        hit=hit.Parent.Parent:findFirstChild("Head")
524
        end
525
        if h~=nil and hit.Parent.Name~=char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
526
        if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
527
        --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
528
                        return
529
                end]]
530
--                        hs(hit,1.2) 
531
                        c=Instance.new("ObjectValue")
532
                        c.Name="creator"
533
                        c.Value=game:service("Players").LocalPlayer
534
                        c.Parent=h
535
                        game:GetService("Debris"):AddItem(c,.5)
536
                Damage=math.random(minim,maxim)
537
--                h:TakeDamage(Damage)
538
                blocked=false
539
                block=hit.Parent:findFirstChild("Block")
540
                if block~=nil then
541
                print(block.className)
542
                if block.className=="NumberValue" then
543
                if block.Value>0 then
544
                blocked=true
545
                if decreaseblock==nil then
546
                block.Value=block.Value-1
547
                end
548
                end
549
                end
550
                if block.className=="IntValue" then
551
                if block.Value>0 then
552
                blocked=true
553
                if decreaseblock~=nil then
554
                block.Value=block.Value-1
555
                end
556
                end
557
                end
558
                end
559
                if blocked==false then
560
--                h:TakeDamage(Damage)
561
                h.Health=h.Health-Damage
562
                kshowDamage(hit.Parent,Damage,.5,BrickColor.new("White"))
563
                else
564
                h.Health=h.Health-(Damage/2)
565
                kshowDamage(hit.Parent,Damage/2,.5,BrickColor.new("White"))
566
                end
567
                if Type=="Knockdown" then
568
                hum=hit.Parent.Humanoid
569
hum.PlatformStand=true
570
coroutine.resume(coroutine.create(function(HHumanoid)
571
swait(1)
572
HHumanoid.PlatformStand=false
573
end),hum)
574
                local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
575
--hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
576
local bodvol=Instance.new("BodyVelocity")
577
bodvol.velocity=angle*knockback
578
bodvol.P=5000
579
bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
580
bodvol.Parent=hit
581
rl=Instance.new("BodyAngularVelocity")
582
rl.P=3000
583
rl.maxTorque=Vector3.new(500,500,500)
584
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
585
rl.Parent=hit
586
game:GetService("Debris"):AddItem(bodvol,.5)
587
game:GetService("Debris"):AddItem(rl,.5)
588
                elseif Type=="Normal" then
589
                vp=Instance.new("BodyVelocity")
590
                vp.P=500
591
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
592
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
593
                if KnockbackType==1 then
594
                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
595
                elseif KnockbackType==2 then
596
                vp.velocity=Property.CFrame.lookVector*knockback
597
                end
598
                if knockback>0 then
599
                        vp.Parent=hit.Parent.Torso
600
                end
601
                game:GetService("Debris"):AddItem(vp,.5)
602
            elseif Type=="Up" then
603
                hit.Parent.Humanoid.PlatformStand = true
604
                local bodyVelocity=Instance.new("BodyVelocity")
605
                bodyVelocity.velocity=vt(0,15,0)
606
                bodyVelocity.P=5000
607
                bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
608
                bodyVelocity.Parent=hit
609
                game:GetService("Debris"):AddItem(bodyVelocity,1)
610
                rl=Instance.new("BodyAngularVelocity")
611
                rl.P=3000
612
rl.AngularVelocity = Vector3.new(2000,2000,2000)
613
rl.MaxTorque = Vector3.new(40000,40000,40000)
614
                rl.Parent=hit
615
                hit.Parent.Humanoid.PlatformStand = false
616
                game:GetService("Debris"):AddItem(rl,.5)
617
                elseif Type=="Snare" then
618
                bp=Instance.new("BodyPosition")
619
                bp.P=2000
620
                bp.D=100
621
                bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
622
                bp.position=hit.Parent.Torso.Position
623
                bp.Parent=hit.Parent.Torso
624
                game:GetService("Debris"):AddItem(bp,1)
625
            elseif Type=="Float" then
626
                hit.Parent.Humanoid.PlatformStand = true
627
                                bp=Instance.new("BodyPosition")
628
                bp.P=2000
629
                bp.D=400
630
                bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
631
                bp.position=hit.Parent.Torso.Position+vt(0,35,24)
632
                                bp.Parent=hit.Parent.Torso
633
                	
634
local	rl=Instance.new("BodyAngularVelocity",hit.Parent.Torso)
635
rl.P=377705
636
rl.maxTorque=Vector3.new(1,1,1)*500
637
rl.angularvelocity=Vector3.new(math.random(-3,3),math.random(-6,6),math.random(-3,3))
638
639
 local BF = Instance.new("BodyForce",hit.Parent.Torso)
640
            BF.force = Vector3.new(0, workspace.Gravity/1.10, 0)
641
                game:GetService("Debris"):AddItem(bp,5)
642
game:GetService("Debris"):AddItem(BF,5)
643
game:GetService("Debris"):AddItem(rl,5)
644
                elseif Type=="Target" then
645
                if Targetting==false then
646
                ZTarget=hit.Parent.Torso
647
                coroutine.resume(coroutine.create(function(Part) 
648
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
649
                swait(5)
650
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
651
                end),ZTarget)
652
                TargHum=ZTarget.Parent:findFirstChild("Humanoid")
653
                targetgui=Instance.new("BillboardGui")
654
                targetgui.Parent=ZTarget
655
                targetgui.Size=UDim2.new(10,100,10,100)
656
                targ=Instance.new("ImageLabel")
657
                targ.Parent=targetgui
658
                targ.BackgroundTransparency=1
659
                targ.Image="rbxassetid://4834067"
660
                targ.Size=UDim2.new(1,0,1,0)
661
                cam.CameraType="Scriptable"
662
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
663
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
664
                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
665
                Targetting=true
666
                RocketTarget=ZTarget
667
                for i=1,Property do
668
                --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
669
                if Humanoid.Health>0 and char.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
670
                swait()
671
                end
672
                --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
673
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
674
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
675
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
676
                end
677
                Targetting=false
678
                RocketTarget=nil
679
                targetgui.Parent=nil
680
                cam.CameraType="Custom"
681
                end
682
                end
683
                        debounce=Instance.new("BoolValue")
684
                        debounce.Name="DebounceHit"
685
                        debounce.Parent=hit.Parent
686
                        debounce.Value=true
687
                        game:GetService("Debris"):AddItem(debounce,Delay)
688
                        c=Instance.new("ObjectValue")
689
                        c.Name="creator"
690
                        c.Value=Player
691
                        c.Parent=h
692
                        game:GetService("Debris"):AddItem(c,.5)
693
                CRIT=false
694
                hitDeb=true
695
                AttackPos=6
696
                comboing = true
697
                combohits = combohits+1
698
                combotime = combotime+3.4
699
700
701
                
702
                if hitfloor == nil then
703
                    
704
    local velo=Instance.new("BodyVelocity")
705
                velo.velocity=vt(0,5.5,0)
706
                velo.P=8000
707
                velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
708
                velo.Parent=root
709
                game:GetService("Debris"):AddItem(velo,0.06)
710
                
711
                                   local hitvelo=Instance.new("BodyVelocity")
712
                hitvelo.velocity=vt(0,5.5,0)
713
                hitvelo.P=8000
714
                hitvelo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
715
                hitvelo.Parent=hit
716
                             game:GetService("Debris"):AddItem(hitvelo,0.06)
717
                             
718
                                                          coroutine.resume(coroutine.create(function()
719
                                 for i = 0,3.7,0.1 do
720
   swait()
721
         hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,0,-2.4)
722
        root.Velocity = root.CFrame.lookVector*0
723
        hit.Velocity = hit.CFrame.lookVector*130
724
end
725
end))
726
         coroutine.resume(coroutine.create(function()
727
             while ultra == true do
728
                 swait()
729
                 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,0,-2.4)
730
             end
731
             end))
732
                             
733
                
734
                end
735
                
736
                
737
        end
738
end
739
 
740
kshowDamage=function(Char,Dealt,du,Color)
741
        m=Instance.new("Model")
742
        m.Name=tostring(Dealt)
743
        h=Instance.new("Humanoid")
744
        h.Health=0
745
        h.MaxHealth=0
746
        h.Parent=m
747
        c=Instance.new("Part")
748
        c.Transparency=0
749
        c.BrickColor=Color
750
        c.Name="Head"
751
        c.Material = "Neon"
752
        c.TopSurface=0
753
        c.BottomSurface=0
754
        c.formFactor="Plate"
755
        c.Size=Vector3.new(1,.4,1)
756
        ms=Instance.new("CylinderMesh")
757
        ms.Scale=Vector3.new(.8,.8,.8)
758
        if CRIT==true then
759
                ms.Scale=Vector3.new(1,1.25,1)
760
        end
761
        ms.Parent=c
762
        c.Reflectance=0
763
        Instance.new("BodyGyro").Parent=c
764
        c.Parent=m
765
        if Char:findFirstChild("Head")~=nil then
766
        c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
767
        elseif Char.Parent:findFirstChild("Head")~=nil then
768
        c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
769
        end
770
        f=Instance.new("BodyPosition")
771
        f.P=2000
772
        f.D=220
773
        f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
774
        f.position=c.Position+Vector3.new(0,3,0)
775
        f.Parent=c
776
        game:GetService("Debris"):AddItem(m,.5+du)
777
        c.CanCollide=false
778
        m.Parent=workspace
779
        c.CanCollide=false
780
    
781
end
782
783
-------------------------------------------------------
784
--End Damage Function--
785
-------------------------------------------------------
786
787
-------------------------------------------------------
788
--Start Damage Function Customization--
789
-------------------------------------------------------
790
function ShowDamage(Pos, Text, Time, Color)
791
	local Rate = (1 / 30)
792
	local Pos = (Pos or Vector3.new(0, 0, 0))
793
	local Text = (Text or "")
794
	local Time = (Time or 2)
795
	local Color = (Color or Color3.new(1, 0, 1))
796
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
797
	EffectPart.Anchored = true
798
	local BillboardGui = Create("BillboardGui"){
799
		Size = UDim2.new(3, 0, 3, 0),
800
		Adornee = EffectPart,
801
		Parent = EffectPart,
802
	}
803
	local TextLabel = Create("TextLabel"){
804
		BackgroundTransparency = 1,
805
		Size = UDim2.new(1, 0, 1, 0),
806
		Text = Text,
807
		Font = "Bodoni",
808
		TextColor3 = Color,
809
		TextScaled = true,
810
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
811
		Parent = BillboardGui,
812
	}
813
	game.Debris:AddItem(EffectPart, (Time))
814
	EffectPart.Parent = game:GetService("Workspace")
815
	delay(0, function()
816
		local Frames = (Time / Rate)
817
		for Frame = 1, Frames do
818
			wait(Rate)
819
			local Percent = (Frame / Frames)
820
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
821
			TextLabel.TextTransparency = Percent
822
		end
823
		if EffectPart and EffectPart.Parent then
824
			EffectPart:Destroy()
825
		end
826
	end)
827
end
828
-------------------------------------------------------
829
--End Damage Function Customization--
830
-------------------------------------------------------
831
832
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
833
  for _, c in pairs(workspace:children()) do
834
    local hum = c:findFirstChild("Humanoid")
835
    if hum ~= nil then
836
      local head = c:findFirstChild("Head")
837
      if head ~= nil then
838
        local targ = head.Position - Part.Position
839
        local mag = targ.magnitude
840
        if magni >= mag and c.Name ~= plr.Name then
841
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
842
        end
843
      end
844
    end
845
  end
846
end
847
848
849
CFuncs = {
850
	Part = {
851
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
852
			local Part = Create("Part")({
853
				Parent = Parent,
854
				Reflectance = Reflectance,
855
				Transparency = Transparency,
856
				CanCollide = false,
857
				Locked = true,
858
				BrickColor = BrickColor.new(tostring(BColor)),
859
				Name = Name,
860
				Size = Size,
861
				Material = Material
862
			})
863
			RemoveOutlines(Part)
864
			return Part
865
		end
866
	},
867
	Mesh = {
868
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
869
			local Msh = Create(Mesh)({
870
				Parent = Part,
871
				Offset = OffSet,
872
				Scale = Scale
873
			})
874
			if Mesh == "SpecialMesh" then
875
				Msh.MeshType = MeshType
876
				Msh.MeshId = MeshId
877
			end
878
			return Msh
879
		end
880
	},
881
	Mesh = {
882
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
883
			local Msh = Create(Mesh)({
884
				Parent = Part,
885
				Offset = OffSet,
886
				Scale = Scale
887
			})
888
			if Mesh == "SpecialMesh" then
889
				Msh.MeshType = MeshType
890
				Msh.MeshId = MeshId
891
			end
892
			return Msh
893
		end
894
	},
895
	Weld = {
896
		Create = function(Parent, Part0, Part1, C0, C1)
897
			local Weld = Create("Weld")({
898
				Parent = Parent,
899
				Part0 = Part0,
900
				Part1 = Part1,
901
				C0 = C0,
902
				C1 = C1
903
			})
904
			return Weld
905
		end
906
	},
907
	Sound = {
908
		Create = function(id, par, vol, pit)
909
			coroutine.resume(coroutine.create(function()
910
				local S = Create("Sound")({
911
					Volume = vol,
912
					Pitch = pit or 1,
913
					SoundId = id,
914
					Parent = par or workspace
915
				})
916
				wait()
917
				S:play()
918
				game:GetService("Debris"):AddItem(S, 6)
919
			end))
920
		end
921
	},
922
	ParticleEmitter = {
923
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
924
			local fp = Create("ParticleEmitter")({
925
				Parent = Parent,
926
				Color = ColorSequence.new(Color1, Color2),
927
				LightEmission = LightEmission,
928
				Size = Size,
929
				Texture = Texture,
930
				Transparency = Transparency,
931
				ZOffset = ZOffset,
932
				Acceleration = Accel,
933
				Drag = Drag,
934
				LockedToPart = LockedToPart,
935
				VelocityInheritance = VelocityInheritance,
936
				EmissionDirection = EmissionDirection,
937
				Enabled = Enabled,
938
				Lifetime = LifeTime,
939
				Rate = Rate,
940
				Rotation = Rotation,
941
				RotSpeed = RotSpeed,
942
				Speed = Speed,
943
				VelocitySpread = VelocitySpread
944
			})
945
			return fp
946
		end
947
	}
948
}
949
function RemoveOutlines(part)
950
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
951
end
952
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
953
	local Part = Create("Part")({
954
		formFactor = FormFactor,
955
		Parent = Parent,
956
		Reflectance = Reflectance,
957
		Transparency = Transparency,
958
		CanCollide = false,
959
		Locked = true,
960
		BrickColor = BrickColor.new(tostring(BColor)),
961
		Name = Name,
962
		Size = Size,
963
		Material = Material
964
	})
965
	RemoveOutlines(Part)
966
	return Part
967
end
968
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
969
	local Msh = Create(Mesh)({
970
		Parent = Part,
971
		Offset = OffSet,
972
		Scale = Scale
973
	})
974
	if Mesh == "SpecialMesh" then
975
		Msh.MeshType = MeshType
976
		Msh.MeshId = MeshId
977
	end
978
	return Msh
979
end
980
function CreateWeld(Parent, Part0, Part1, C0, C1)
981
	local Weld = Create("Weld")({
982
		Parent = Parent,
983
		Part0 = Part0,
984
		Part1 = Part1,
985
		C0 = C0,
986
		C1 = C1
987
	})
988
	return Weld
989
end
990
991
992
-------------------------------------------------------
993
--Start Effect Function--
994
-------------------------------------------------------
995
EffectModel = Instance.new("Model", char)
996
Effects = {
997
  Block = {
998
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
999
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1000
      prt.Anchored = true
1001
      prt.CFrame = cframe
1002
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1003
      game:GetService("Debris"):AddItem(prt, 10)
1004
      if Type == 1 or Type == nil then
1005
        table.insert(Effects, {
1006
          prt,
1007
          "Block1",
1008
          delay,
1009
          x3,
1010
          y3,
1011
          z3,
1012
          msh
1013
        })
1014
      elseif Type == 2 then
1015
        table.insert(Effects, {
1016
          prt,
1017
          "Block2",
1018
          delay,
1019
          x3,
1020
          y3,
1021
          z3,
1022
          msh
1023
        })
1024
      else
1025
        table.insert(Effects, {
1026
          prt,
1027
          "Block3",
1028
          delay,
1029
          x3,
1030
          y3,
1031
          z3,
1032
          msh
1033
        })
1034
      end
1035
    end
1036
  },
1037
  Sphere = {
1038
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1039
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1040
      prt.Anchored = true
1041
      prt.CFrame = cframe
1042
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1043
      game:GetService("Debris"):AddItem(prt, 10)
1044
      table.insert(Effects, {
1045
        prt,
1046
        "Cylinder",
1047
        delay,
1048
        x3,
1049
        y3,
1050
        z3,
1051
        msh
1052
      })
1053
    end
1054
  },
1055
  Cylinder = {
1056
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1057
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1058
      prt.Anchored = true
1059
      prt.CFrame = cframe
1060
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1061
      game:GetService("Debris"):AddItem(prt, 10)
1062
      table.insert(Effects, {
1063
        prt,
1064
        "Cylinder",
1065
        delay,
1066
        x3,
1067
        y3,
1068
        z3,
1069
        msh
1070
      })
1071
    end
1072
  },
1073
  Wave = {
1074
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1075
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1076
      prt.Anchored = true
1077
      prt.CFrame = cframe
1078
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
1079
      game:GetService("Debris"):AddItem(prt, 10)
1080
      table.insert(Effects, {
1081
        prt,
1082
        "Cylinder",
1083
        delay,
1084
        x3 / 60,
1085
        y3 / 60,
1086
        z3 / 60,
1087
        msh
1088
      })
1089
    end
1090
  },
1091
  Ring = {
1092
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1093
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1094
      prt.Anchored = true
1095
      prt.CFrame = cframe
1096
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1097
      game:GetService("Debris"):AddItem(prt, 10)
1098
      table.insert(Effects, {
1099
        prt,
1100
        "Cylinder",
1101
        delay,
1102
        x3,
1103
        y3,
1104
        z3,
1105
        msh
1106
      })
1107
    end
1108
  },
1109
  Break = {
1110
    Create = function(brickcolor, cframe, x1, y1, z1)
1111
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1112
      prt.Anchored = true
1113
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1114
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1115
      local num = math.random(10, 50) / 1000
1116
      game:GetService("Debris"):AddItem(prt, 10)
1117
      table.insert(Effects, {
1118
        prt,
1119
        "Shatter",
1120
        num,
1121
        prt.CFrame,
1122
        math.random() - math.random(),
1123
        0,
1124
        math.random(50, 100) / 100
1125
      })
1126
    end
1127
  },
1128
Spiral = {
1129
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1130
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1131
      prt.Anchored = true
1132
      prt.CFrame = cframe
1133
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1134
      game:GetService("Debris"):AddItem(prt, 10)
1135
      table.insert(Effects, {
1136
        prt,
1137
        "Cylinder",
1138
        delay,
1139
        x3,
1140
        y3,
1141
        z3,
1142
        msh
1143
      })
1144
    end
1145
  },
1146
Push = {
1147
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1148
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1149
      prt.Anchored = true
1150
      prt.CFrame = cframe
1151
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1152
      game:GetService("Debris"):AddItem(prt, 10)
1153
      table.insert(Effects, {
1154
        prt,
1155
        "Cylinder",
1156
        delay,
1157
        x3,
1158
        y3,
1159
        z3,
1160
        msh
1161
      })
1162
    end
1163
  }
1164
}
1165
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
1166
	local fp = IT("Part")
1167
	fp.formFactor = formfactor 
1168
	fp.Parent = parent
1169
	fp.Reflectance = reflectance
1170
	fp.Transparency = transparency
1171
	fp.CanCollide = false 
1172
	fp.Locked = true
1173
	fp.BrickColor = brickcolor
1174
	fp.Name = name
1175
	fp.Size = size
1176
	fp.Position = tors.Position 
1177
	RemoveOutlines(fp)
1178
	fp.Material = "SmoothPlastic"
1179
	fp:BreakJoints()
1180
	return fp 
1181
end 
1182
 
1183
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1184
	local mesh = IT(Mesh) 
1185
	mesh.Parent = part
1186
	if Mesh == "SpecialMesh" then
1187
		mesh.MeshType = meshtype
1188
	if meshid ~= "nil" then
1189
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
1190
		end
1191
	end
1192
	mesh.Offset = offset
1193
	mesh.Scale = scale
1194
	return mesh
1195
end
1196
1197
function Magic(bonuspeed, type, pos, scale, value, color, MType)
1198
	local type = type
1199
	local rng = Instance.new("Part", char)
1200
	rng.Anchored = true
1201
	rng.BrickColor = color
1202
	rng.CanCollide = false
1203
	rng.FormFactor = 3
1204
	rng.Name = "Ring"
1205
	rng.Material = "Neon"
1206
	rng.Size = Vector3.new(1, 1, 1)
1207
	rng.Transparency = 0
1208
	rng.TopSurface = 0
1209
	rng.BottomSurface = 0
1210
	rng.CFrame = pos
1211
	local rngm = Instance.new("SpecialMesh", rng)
1212
	rngm.MeshType = MType
1213
	rngm.Scale = scale
1214
	local scaler2 = 1
1215
	if type == "Add" then
1216
		scaler2 = 1 * value
1217
	elseif type == "Divide" then
1218
		scaler2 = 1 / value
1219
	end
1220
	coroutine.resume(coroutine.create(function()
1221
		for i = 0, 10 / bonuspeed, 0.1 do
1222
			swait()
1223
			if type == "Add" then
1224
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1225
			elseif type == "Divide" then
1226
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1227
			end
1228
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1229
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
1230
		end
1231
		rng:Destroy()
1232
	end))
1233
end
1234
1235
function Eviscerate(dude)
1236
	if dude.Name ~= char then
1237
		local bgf = IT("BodyGyro", dude.Head)
1238
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1239
		local val = IT("BoolValue", dude)
1240
		val.Name = "IsHit"
1241
		local ds = coroutine.wrap(function()
1242
			dude:WaitForChild("Head"):BreakJoints()
1243
			wait(0.5)
1244
			target = nil
1245
			coroutine.resume(coroutine.create(function()
1246
				for i, v in pairs(dude:GetChildren()) do
1247
					if v:IsA("Accessory") then
1248
						v:Destroy()
1249
					end
1250
					if v:IsA("Humanoid") then
1251
						v:Destroy()
1252
					end
1253
					if v:IsA("CharacterMesh") then
1254
						v:Destroy()
1255
					end
1256
					if v:IsA("Model") then
1257
						v:Destroy()
1258
					end
1259
					if v:IsA("Part") or v:IsA("MeshPart") then
1260
						for x, o in pairs(v:GetChildren()) do
1261
							if o:IsA("Decal") then
1262
								o:Destroy()
1263
							end
1264
						end
1265
						coroutine.resume(coroutine.create(function()
1266
							v.Material = "Neon"
1267
							v.CanCollide = false
1268
							local PartEmmit1 = IT("ParticleEmitter", v)
1269
							PartEmmit1.LightEmission = 1
1270
							PartEmmit1.Texture = "rbxassetid://284205403"
1271
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1272
							PartEmmit1.Rate = 150
1273
							PartEmmit1.Lifetime = NumberRange.new(1)
1274
							PartEmmit1.Size = NumberSequence.new({
1275
								NumberSequenceKeypoint.new(0, 0.75, 0),
1276
								NumberSequenceKeypoint.new(1, 0, 0)
1277
							})
1278
							PartEmmit1.Transparency = NumberSequence.new({
1279
								NumberSequenceKeypoint.new(0, 0, 0),
1280
								NumberSequenceKeypoint.new(1, 1, 0)
1281
							})
1282
							PartEmmit1.Speed = NumberRange.new(0, 0)
1283
							PartEmmit1.VelocitySpread = 30000
1284
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1285
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1286
							local BodPoss = IT("BodyPosition", v)
1287
							BodPoss.P = 3000
1288
							BodPoss.D = 1000
1289
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1290
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1291
							v.Color = maincolor.Color
1292
							coroutine.resume(coroutine.create(function()
1293
								for i = 0, 49 do
1294
									swait(1)
1295
									v.Transparency = v.Transparency + 0.08
1296
								end
1297
								wait(0.5)
1298
								PartEmmit1.Enabled = false
1299
								wait(3)
1300
								v:Destroy()
1301
								dude:Destroy()
1302
							end))
1303
						end))
1304
					end
1305
				end
1306
			end))
1307
		end)
1308
		ds()
1309
	end
1310
end
1311
1312
function FindNearestHead(Position, Distance, SinglePlayer)
1313
	if SinglePlayer then
1314
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1315
	end
1316
	local List = {}
1317
	for i, v in pairs(workspace:GetChildren()) do
1318
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1319
			table.insert(List, v)
1320
		end
1321
	end
1322
	return List
1323
end
1324
1325
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1326
	local type = type
1327
	local rng = Instance.new("Part", char)
1328
	rng.Anchored = true
1329
	rng.BrickColor = color
1330
	rng.CanCollide = false
1331
	rng.FormFactor = 3
1332
	rng.Name = "Ring"
1333
	rng.Material = "Neon"
1334
	rng.Size = Vector3.new(1, 1, 1)
1335
	rng.Transparency = 0
1336
	rng.TopSurface = 0
1337
	rng.BottomSurface = 0
1338
	rng.CFrame = pos
1339
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1340
	local rngm = Instance.new("SpecialMesh", rng)
1341
	rngm.MeshType = MType
1342
	rngm.Scale = Vector3.new(x1, y1, z1)
1343
	local scaler2 = 1
1344
	local speeder = FastSpeed
1345
	if type == "Add" then
1346
		scaler2 = 1 * value
1347
	elseif type == "Divide" then
1348
		scaler2 = 1 / value
1349
	end
1350
	coroutine.resume(coroutine.create(function()
1351
		for i = 0, 10 / bonuspeed, 0.1 do
1352
			swait()
1353
			if type == "Add" then
1354
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1355
			elseif type == "Divide" then
1356
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1357
			end
1358
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1359
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1360
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1361
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1362
		end
1363
		rng:Destroy()
1364
	end))
1365
end
1366
1367
function SoulSteal(dude)
1368
if dude.Name ~= char then
1369
local bgf = IT("BodyGyro", dude.Head)
1370
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1371
local val = IT("BoolValue", dude)
1372
val.Name = "IsHit"
1373
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1374
local soulst = coroutine.wrap(function()
1375
local soul = Instance.new("Part",dude)
1376
soul.Size = Vector3.new(1,1,1)
1377
soul.CanCollide = false
1378
soul.Anchored = false
1379
soul.Position = torso.Position
1380
soul.Transparency = 1
1381
local PartEmmit1 = IT("ParticleEmitter", soul)
1382
PartEmmit1.LightEmission = 1
1383
PartEmmit1.Texture = "rbxassetid://569507414"
1384
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1385
PartEmmit1.Rate = 250
1386
PartEmmit1.Lifetime = NumberRange.new(1.6)
1387
PartEmmit1.Size = NumberSequence.new({
1388
	NumberSequenceKeypoint.new(0, 1, 0),
1389
	NumberSequenceKeypoint.new(1, 0, 0)
1390
})
1391
PartEmmit1.Transparency = NumberSequence.new({
1392
	NumberSequenceKeypoint.new(0, 0, 0),
1393
	NumberSequenceKeypoint.new(1, 1, 0)
1394
})
1395
PartEmmit1.Speed = NumberRange.new(0, 0)
1396
PartEmmit1.VelocitySpread = 30000
1397
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1398
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1399
local BodPoss = IT("BodyPosition", soul)
1400
BodPoss.P = 3000
1401
BodPoss.D = 1000
1402
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1403
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1404
wait(1.6)
1405
soul.Touched:connect(function(hit)
1406
	if hit.Parent == char then
1407
	soul:Destroy()
1408
	end
1409
end)
1410
wait(1.2)
1411
while soul do
1412
	swait()
1413
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1414
	BodPoss.Position = tors.Position
1415
end
1416
end)
1417
	soulst()
1418
	end
1419
end
1420
1421
1422
1423
1424
--killer's effects
1425
1426
1427
1428
1429
1430
		function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1431
	local Part = Create("Part"){
1432
		Parent = Parent,
1433
		Reflectance = Reflectance,
1434
		Transparency = Transparency,
1435
		CanCollide = false,
1436
		Locked = true,
1437
		BrickColor = BrickColor.new(tostring(BColor)),
1438
		Name = Name,
1439
		Size = Size,
1440
		Material = Material,
1441
	}
1442
	RemoveOutlines(Part)
1443
	return Part
1444
end
1445
	
1446
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1447
	local Msh = Create(Mesh){
1448
		Parent = Part,
1449
		Offset = OffSet,
1450
		Scale = Scale,
1451
	}
1452
	if Mesh == "SpecialMesh" then
1453
		Msh.MeshType = MeshType
1454
		Msh.MeshId = MeshId
1455
	end
1456
	return Msh
1457
end
1458
		
1459
		
1460
		
1461
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1462
	local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1463
	prt.Anchored = true
1464
	prt.CFrame = cframe
1465
	local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1466
	game:GetService("Debris"):AddItem(prt, 10)
1467
	if Type == 1 or Type == nil then
1468
		table.insert(Effects, {
1469
			prt,
1470
			"Block1",
1471
			delay,
1472
			x3,
1473
			y3,
1474
			z3,
1475
			msh
1476
		})
1477
	elseif Type == 2 then
1478
		table.insert(Effects, {
1479
			prt,
1480
			"Block2",
1481
			delay,
1482
			x3,
1483
			y3,
1484
			z3,
1485
			msh
1486
		})
1487
	end
1488
end
1489
1490
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1491
	local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1492
	prt.Anchored = true
1493
	prt.CFrame = cframe
1494
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1495
	game:GetService("Debris"):AddItem(prt, 10)
1496
	table.insert(Effects, {
1497
		prt,
1498
		"Cylinder",
1499
		delay,
1500
		x3,
1501
		y3,
1502
		z3,
1503
		msh
1504
	})
1505
end
1506
1507
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1508
local prt=CreatePart(workspace,"Neon",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1509
prt.Anchored=true
1510
prt.CFrame=cframe
1511
msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
1512
game:GetService("Debris"):AddItem(prt,2)
1513
coroutine.resume(coroutine.create(function(Part,Mesh,num) 
1514
for i=0,1,delay do
1515
swait()
1516
Part.Transparency=i
1517
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1518
end
1519
Part.Parent=nil
1520
end),prt,msh,(math.random(0,1)+math.random())/5)
1521
end
1522
1523
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1524
	local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1525
	prt.Anchored = true
1526
	prt.CFrame = cframe
1527
	local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1528
	game:GetService("Debris"):AddItem(prt, 10)
1529
	table.insert(Effects, {
1530
		prt,
1531
		"Cylinder",
1532
		delay,
1533
		x3,
1534
		y3,
1535
		z3,
1536
		msh
1537
	})
1538
end
1539
1540
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1541
	local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1542
	prt.Anchored = true
1543
	prt.CFrame = cframe
1544
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1545
	game:GetService("Debris"):AddItem(prt, 10)
1546
	table.insert(Effects, {
1547
		prt,
1548
		"Cylinder",
1549
		delay,
1550
		x3,
1551
		y3,
1552
		z3,
1553
		msh
1554
	})
1555
end
1556
1557
function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1558
	local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1559
	prt.Anchored = true
1560
	prt.CFrame = cframe
1561
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1562
	game:GetService("Debris"):AddItem(prt, 10)
1563
	table.insert(Effects, {
1564
		prt,
1565
		"Cylinder",
1566
		delay,
1567
		x3,
1568
		y3,
1569
		z3,
1570
		msh
1571
	})
1572
end
1573
1574
1575
function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1576
	local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1577
	prt.Anchored = true
1578
	prt.CFrame = cframe
1579
	local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1580
	game:GetService("Debris"):AddItem(prt, 10)
1581
	table.insert(Effects, {
1582
		prt,
1583
		"Cylinder",
1584
		delay,
1585
		x3,
1586
		y3,
1587
		z3,
1588
		msh
1589
	})
1590
end
1591
1592
function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1593
	local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1594
	prt.Anchored = true
1595
	prt.CFrame = cframe
1596
	local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1597
	game:GetService("Debris"):AddItem(prt, 10)
1598
	table.insert(Effects, {
1599
		prt,
1600
		"Cylinder",
1601
		delay,
1602
		x3,
1603
		y3,
1604
		z3,
1605
		msh
1606
	})
1607
end
1608
1609
function BreakEffect(brickcolor, cframe, x1, y1, z1)
1610
	local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1611
	prt.Anchored = true
1612
	prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1613
	local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1614
	local num = math.random(10, 50) / 1000
1615
	game:GetService("Debris"):AddItem(prt, 10)
1616
	table.insert(Effects, {
1617
		prt,
1618
		"Shatter",
1619
		num,
1620
		prt.CFrame,
1621
		math.random() - math.random(),
1622
		0,
1623
		math.random(50, 100) / 100
1624
	})
1625
end
1626
1627
1628
1629
1630
1631
						       so = function(id,par,vol,pit)
1632
		coroutine.resume(coroutine.create(function()
1633
		local sou = Instance.new("Sound",par or workspace)
1634
		sou.Volume=vol
1635
		sou.Pitch=pit or 1
1636
		sou.SoundId=id
1637
		sou:play()
1638
		game:GetService("Debris"):AddItem(sou,8)
1639
		end))
1640
		end
1641
1642
1643
--end of killer's effects
1644
1645
1646
function FaceMouse()
1647
local	Cam = workspace.CurrentCamera
1648
	return {
1649
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1650
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1651
	}
1652
end
1653
-------------------------------------------------------
1654
--End Effect Function--
1655
-------------------------------------------------------
1656
function Cso(ID, PARENT, VOLUME, PITCH)
1657
	local NSound = nil
1658
	coroutine.resume(coroutine.create(function()
1659
		NSound = IT("Sound", PARENT)
1660
		NSound.Volume = VOLUME
1661
		NSound.Pitch = PITCH
1662
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1663
		swait()
1664
		NSound:play()
1665
		game:GetService("Debris"):AddItem(NSound, 10)
1666
	end))
1667
	return NSound
1668
end
1669
function CameraEnshaking(Length, Intensity)
1670
	coroutine.resume(coroutine.create(function()
1671
		local intensity = 1 * Intensity
1672
		local rotM = 0.01 * Intensity
1673
		for i = 0, Length, 0.1 do
1674
			swait()
1675
			intensity = intensity - 0.05 * Intensity / Length
1676
			rotM = rotM - 5.0E-4 * Intensity / Length
1677
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1678
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
1679
		end
1680
		hum.CameraOffset = Vector3.new(0, 0, 0)
1681
	end))
1682
end
1683
-------------------------------------------------------
1684
--End Important Functions--
1685
-------------------------------------------------------
1686
1687
1688
-------------------------------------------------------
1689
--Start Customization--
1690
-------------------------------------------------------
1691
local Player_Size = 1
1692
if Player_Size ~= 1 then
1693
root.Size = root.Size * Player_Size
1694
tors.Size = tors.Size * Player_Size
1695
hed.Size = hed.Size * Player_Size
1696
ra.Size = ra.Size * Player_Size
1697
la.Size = la.Size * Player_Size
1698
rl.Size = rl.Size * Player_Size
1699
ll.Size = ll.Size * Player_Size
1700
----------------------------------------------------------------------------------
1701
rootj.Parent = root
1702
neck.Parent = tors
1703
RW.Parent = tors
1704
LW.Parent = tors
1705
RH.Parent = tors
1706
LH.Parent = tors
1707
----------------------------------------------------------------------------------
1708
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1709
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1710
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1711
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1712
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1713
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1714
----------------------------------------------------------------------------------
1715
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1716
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1717
RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1718
LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1719
--hat.Parent = Character
1720
end
1721
----------------------------------------------------------------------------------
1722
local SONG = 142534278 --142534278
1723
local SONG2 = 0
1724
local Music = Instance.new("Sound",tors)
1725
Music.Volume = 2
1726-
local SONG = 900817147 --900817147
1726+
1727
Music.Pitch = 1 --Pitcher
1728
----------------------------------------------------------------------------------
1729-
Music.Volume = 0.7
1729+
1730
local idle = 0
1731
local change = 1
1732
local val = 0
1733
local toim = 0
1734
local idleanim = 0.4
1735
local sine = 0
1736
local Sit = 1
1737
local attacktype = 1
1738
local attackdebounce = false
1739
local euler = CFrame.fromEulerAnglesXYZ
1740
local cankick = false
1741
----------------------------------------------------------------------------------
1742
hum.WalkSpeed = 8
1743
hum.JumpPower = 57
1744
--[[
1745
local ROBLOXIDLEANIMATION = IT("Animation")
1746
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
1747
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
1748
]]
1749
local ANIMATOR = hum.Animator
1750
local ANIMATE = char.Animate
1751
ANIMATE.Parent = nil
1752
ANIMATOR.Parent = nil
1753
-------------------------------------------------------
1754
--End Customization--
1755
-------------------------------------------------------
1756
1757
1758
-------------------------------------------------------
1759
--Start Attacks N Stuff--
1760
-------------------------------------------------------
1761
1762
--pls be proud mak i did my best
1763
1764
1765
1766
function attackone()
1767
    
1768
    attack = true
1769
    
1770
          for i = 0, 1.35, 0.1 do
1771
        swait()
1772
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4-2*i), math.rad(4+2*i), math.rad(-40-11*i)), 0.2)
1773
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40+11*i)), 0.2)
1774
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6, 0.2) * angles(math.rad(90+4*i), math.rad(-43), math.rad(16+6*i)), 0.3)
1775
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-43)), 0.3)
1776
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, 0) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
1777
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, -0.2) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
1778
      end
1779
      
1780
      so("http://roblox.com/asset/?id=1340545854",ra,1,math.random(0.7,1))
1781
1782
1783
con5=ra.Touched:connect(function(hit)
1784
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1785
if attackdebounce == false then
1786
attackdebounce = true  
1787
1788
kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
1789
1790
so("http://roblox.com/asset/?id=636494529",ra,2,1)
1791
 
1792
 RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
1793
RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
1794
SphereEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
1795
1796
1797
coroutine.resume(coroutine.create(function()
1798
    for i = 0,1,0.1 do
1799
        swait()
1800
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
1801
end
1802
end))
1803
1804
1805
      wait(0.34)
1806
attackdebounce = false
1807
1808
end
1809
end
1810
end)
1811
                for i = 0, 1.12, 0.1 do
1812
        swait()
1813
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(6), math.rad(23)), 0.35)
1814
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(-23)), 0.35)
1815
        RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -0.8) * angles(math.rad(110), math.rad(23), math.rad(2)), 0.4)
1816
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.2) * angles(math.rad(-37), math.rad(0), math.rad(-13)), 0.35)
1817
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(6)), 0.3)
1818
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0.05) * LHCF * angles(math.rad(-22), math.rad(0), math.rad(23)), 0.3)
1819
      end
1820
      
1821
      con5:Disconnect()
1822
          attack = false
1823
          
1824
      end
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
function attacktwo()
1838
    
1839
    attack = true
1840
    
1841
          for i = 0, 1.35, 0.1 do
1842
        swait()
1843
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
1844
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
1845
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(46)), 0.3)
1846
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(6)), 0.3)
1847
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
1848
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
1849
      end
1850
      
1851
      so("http://roblox.com/asset/?id=1340545854",la,1,math.random(0.7,1))
1852
1853
1854
con5=la.Touched:connect(function(hit)
1855
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1856
if attackdebounce == false then
1857
attackdebounce = true  
1858
1859
kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
1860
1861
so("http://roblox.com/asset/?id=636494529",la,2,1)
1862
 
1863
 RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
1864
RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
1865
SphereEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
1866
1867
1868
coroutine.resume(coroutine.create(function()
1869
    for i = 0,1,0.1 do
1870
        swait()
1871
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
1872
end
1873
end))
1874
1875
1876
      wait(0.34)
1877
attackdebounce = false
1878
1879
end
1880
end
1881
end)
1882
1883
1884
1885
1886
                for i = 0, 1.12, 0.1 do
1887
        swait()
1888
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(-6), math.rad(-27)), 0.35)
1889
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(27)), 0.35)
1890
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.16) * angles(math.rad(-33), math.rad(0), math.rad(23)), 0.4)
1891
        LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.67, -0.9) * angles(math.rad(116), math.rad(-28), math.rad(1)), 0.35)
1892
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0.05) * RHCF * angles(math.rad(-22), math.rad(0), math.rad(-18)), 0.3)
1893
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.3) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(4)), 0.3)
1894
      end
1895
      
1896
      con5:Disconnect()
1897
attack = false
1898
          
1899
      end
1900
1901
1902
1903
1904
1905
function attackthree()
1906
    
1907
    attack = true
1908
    
1909
    
1910
              for i = 0, 1.14, 0.1 do
1911
        swait()
1912
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
1913
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
1914
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-46)), 0.3)
1915
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(36)), 0.3)
1916
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
1917
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-12), math.rad(0), math.rad(34)), 0.2)
1918
      end
1919
    
1920
    con5=hum.Touched:connect(function(hit)
1921
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1922
if attackdebounce == false then
1923
attackdebounce = true  
1924
1925
kDamagefunc(hit,4,5,math.random(3,4),"Normal",root,0,1)
1926
so("http://roblox.com/asset/?id=636494529",ll,2,1)
1927
 
1928
 RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
1929
RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
1930
SphereEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
1931
1932
1933
coroutine.resume(coroutine.create(function()
1934
    for i = 0,1,0.1 do
1935
        swait()
1936
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
1937
end
1938
end))
1939
1940
    
1941
          wait(0.34)
1942
attackdebounce = false
1943
1944
end
1945
end
1946
end)
1947
1948
        so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
1949
          for i = 0, 9.14, 0.3 do
1950
        swait()
1951
        BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
1952
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-54*i)), 0.35)
1953
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
1954
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
1955
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
1956
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
1957
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
1958
      end
1959
      attack = false
1960
      con5:disconnect()
1961
end
1962
1963
1964
1965
function attackfour()
1966
    
1967
    attack = true
1968
            so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
1969
     WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
1970
              for i = 0, 5.14, 0.1 do
1971
        swait()
1972
        SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
1973
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24+4*i), math.rad(0), math.rad(0)), 0.2)
1974
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0+11*i), math.rad(0), math.rad(0)), 0.2)
1975
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(36+4*i)), 0.3)
1976
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(-36-4*i)), 0.3)
1977
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28+4*i)), 0.2)
1978
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34-4*i)), 0.2)
1979
      end
1980
              so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
1981
       local velo=Instance.new("BodyVelocity")
1982
                velo.velocity=vt(0,25,0)
1983
                velo.P=8000
1984
                velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
1985
                velo.Parent=root
1986
                game:GetService("Debris"):AddItem(velo,0.7)
1987
1988
1989
1990
con5=hum.Touched:connect(function(hit)
1991
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1992
if attackdebounce == false then
1993
attackdebounce = true  
1994
coroutine.resume(coroutine.create(function()
1995
    for i = 0,1.5,0.1 do
1996
        swait()
1997
 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.6,-1.8)
1998
end
1999
end))
2000
kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
2001
so("http://roblox.com/asset/?id=636494529",rl,2,1)
2002
 RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2003
RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2004
SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
2005
2006
2007
2008
coroutine.resume(coroutine.create(function()
2009
    for i = 0,1,0.1 do
2010
        swait()
2011
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8)),0.44)
2012
end
2013
end))
2014
2015
2016
      wait(0.14)
2017
attackdebounce = false
2018
end
2019
end
2020
end)
2021
2022
                    for i = 0, 5.11, 0.15 do
2023
        swait()
2024
        BlockEffect(BrickColor.new("White"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
2025
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.2*i) * angles(math.rad(-10-80*i), math.rad(0), math.rad(0)), 0.42)
2026
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
2027
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
2028
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
2029
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
2030
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
2031
      end
2032
2033
2034
      attack = false
2035
      con5:disconnect()
2036
    end
2037
2038
2039
2040
2041
2042
local cooldown = false
2043
function quickkick()
2044
    attack = true
2045
    
2046
    
2047
con5=hum.Touched:connect(function(hit)
2048
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2049
if attackdebounce == false then
2050
attackdebounce = true  
2051
2052
coroutine.resume(coroutine.create(function()
2053
    for i = 0,1.5,0.1 do
2054
        swait()
2055
 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.3,-1.8)
2056
end
2057
end))
2058
2059
kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
2060
so("http://roblox.com/asset/?id=636494529",rl,2,1)
2061
 RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2062
RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2063
SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
2064
2065
2066
2067
coroutine.resume(coroutine.create(function()
2068
    for i = 0,1,0.1 do
2069
        swait()
2070
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8)),0.44)
2071
end
2072
end))
2073
2074
2075
      wait(0.08)
2076
attackdebounce = false
2077
end
2078
end
2079
end)
2080
2081
        so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
2082
          for i = 0, 49.14, 0.8 do
2083
        swait()
2084
        root.Velocity = root.CFrame.lookVector * 30
2085
        BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
2086-
          for i = 0, 11.14, 0.3 do
2086+
2087
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
2088
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
2089
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
2090
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
2091
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
2092
      end
2093
      attack = false
2094
      con5:disconnect()
2095
end
2096
2097
    
2098
    
2099
    
2100
    
2101
    
2102
    
2103
    
2104
function Taunt()
2105
	attack = true
2106
	hum.WalkSpeed = 0
2107
	Cso("1535995570", hed, 8.45, 1)
2108
	for i = 0, 8.2, 0.1 do
2109
		swait()
2110
		hum.WalkSpeed = 0
2111
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
2112
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(16 * Cos(sine / 12))), 0.2)
2113
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
2114
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
2115
		RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
2116
		LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
2117
	end
2118
	attack = false
2119
	hum.WalkSpeed = 8
2120
end
2121
    
2122
    
2123
2124
2125
2126
2127
2128
function Hyperkickcombo()
2129
    
2130
    attack = true
2131
            so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
2132
     WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
2133
      for i = 0, 7.14, 0.1 do
2134
        swait()
2135
        SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
2136
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
2137
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
2138
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(36)), 0.3)
2139
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-36)), 0.3)
2140
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
2141
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
2142
      end
2143
local Cracking = Cso("292536356", tors, 10, 1)
2144
 for i = 0, 7.14, 0.1 do
2145
        swait()
2146
		hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
2147
		Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Lime green", 0, "Sphere")
2148
		WaveEffect(BrickColor.new("Lime green"), root.CFrame * CFrame.new(0, -6, 0) * euler(0, math.random(-25, 25), 0), 1, 1, 1, 1, 0.2, 1, 0.05)
2149
        SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
2150
		SphereEffect(BrickColor.new("Lime green"),ll.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
2151
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
2152
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
2153
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(36)), 0.3)
2154
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-36)), 0.3)
2155
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
2156
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
2157
      end
2158
      Cracking.Playing = false
2159
      so("http://www.roblox.com/asset/?id=197161452", char, 3, 0.8)
2160
              so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
2161
              SphereEffect(BrickColor.new("Lime green"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
2162
       local velo=Instance.new("BodyVelocity")
2163
                velo.velocity=vt(0,27,0)
2164
                velo.P=11000
2165
                velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
2166
                velo.Parent=root
2167
                game:GetService("Debris"):AddItem(velo,1.24)
2168
2169
2170
2171
con5=hum.Touched:connect(function(hit)
2172
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2173
if attackdebounce == false then
2174
attackdebounce = true  
2175
coroutine.resume(coroutine.create(function()
2176
    for i = 0,1.5,0.1 do
2177
        swait()
2178
 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,3.4,-1.8)
2179
end
2180
end))
2181
kDamagefunc(hit,2,3,math.random(0,0),"Normal",root,0,1)
2182
so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
2183
 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2184
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2185
SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
2186
2187
2188
2189
coroutine.resume(coroutine.create(function()
2190
    for i = 0,1,0.1 do
2191
        swait()
2192
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
2193
end
2194
end))
2195
2196
2197
      wait(0.09)
2198
attackdebounce = false
2199
end
2200
end
2201
end)
2202
2203
                    for i = 0, 9.11, 0.3 do
2204
        swait()
2205
        BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
2206
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.12*i) * angles(math.rad(-10-95*i), math.rad(0), math.rad(0)), 0.42)
2207-
                    for i = 0, 9.11, 0.2 do
2207+
2208
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
2209
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
2210
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
2211
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
2212
      end
2213
2214
2215
2216
2217
      con5:disconnect()
2218
      
2219
      
2220
      
2221
      
2222
      
2223
      
2224
      con5=hum.Touched:connect(function(hit)
2225
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2226
if attackdebounce == false then
2227
attackdebounce = true  
2228
coroutine.resume(coroutine.create(function()
2229
    for i = 0,1.5,0.1 do
2230
        swait()
2231
 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
2232
end
2233
end))
2234
kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
2235
                       
2236
so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
2237
 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2238
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2239
SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
2240
2241
2242
2243
coroutine.resume(coroutine.create(function()
2244
    for i = 0,1,0.1 do
2245
        swait()
2246
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
2247
end
2248
end))
2249
2250
2251
      wait(0.08)
2252
attackdebounce = false
2253
end
2254
end
2255
end)
2256
      
2257
      
2258
      
2259
        so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
2260
          for i = 0, 11.14, 0.5 do
2261
        swait()
2262
               root.Velocity = root.CFrame.lookVector * 20
2263
        BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
2264
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(53), math.rad(8), math.rad(0-54*i)), 0.35)
2265
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
2266
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
2267
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
2268
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
2269
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
2270
      end
2271
      
2272
      
2273
      
2274
            con5:disconnect()
2275
      
2276
      
2277
      
2278
      con5=hum.Touched:connect(function(hit)
2279
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2280
if attackdebounce == false then
2281
attackdebounce = true  
2282
coroutine.resume(coroutine.create(function()
2283
    for i = 0,1.5,0.1 do
2284
        swait()
2285
 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
2286
end
2287
end))
2288
kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
2289
so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
2290
 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2291
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2292
SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
2293
2294
2295
2296
coroutine.resume(coroutine.create(function()
2297
    for i = 0,1,0.1 do
2298
        swait()
2299
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
2300
end
2301
end))
2302
2303
2304
      wait(0.05)
2305
attackdebounce = false
2306
end
2307
end
2308
end)
2309
      
2310
      
2311
              so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
2312
          for i = 0, 19.14, 0.42 do
2313
        swait()
2314
        root.Velocity = root.CFrame.lookVector * 20
2315
        BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
2316-
          for i = 0, 15.14, 0.32 do
2316+
2317
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
2318
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
2319
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
2320
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
2321
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-4*i)), 0.35)
2322
      end
2323
      
2324
      attack = false
2325
      con5:disconnect()
2326
      
2327
    end
2328
2329
2330
2331
2332
2333
local ultra = false
2334
2335
function Galekicks()
2336
    
2337
    attack = true
2338
                so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
2339
          for i = 0, 1.65, 0.1 do
2340
        swait()
2341
        root.Velocity = root.CFrame.lookVector * 0
2342
        SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
2343
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
2344
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
2345
        RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
2346
        LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
2347
        RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
2348
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
2349
      end
2350
2351
2352
for i = 1, 47 do
2353
    
2354
          con5=hum.Touched:connect(function(hit)
2355
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2356-
for i = 1, 17 do
2356+
2357
attackdebounce = true  
2358
coroutine.resume(coroutine.create(function()
2359
    for i = 0,1.5,0.1 do
2360
        swait()
2361
 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
2362
end
2363
end))
2364
kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
2365
so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
2366
 RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2367
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2368
SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
2369
2370
2371
2372
coroutine.resume(coroutine.create(function()
2373
    for i = 0,1,0.1 do
2374
        swait()
2375
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
2376
end
2377
end))
2378
2379
2380
      wait(0.02)
2381
attackdebounce = false
2382
end
2383
end
2384
end)
2385
    
2386
          for i = 0, .1, 0.6 do
2387
        swait()
2388
                BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
2389
                root.Velocity = root.CFrame.lookVector * 10
2390-
          for i = 0, .1, 0.2 do
2390+
2391
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
2392
        RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
2393
        LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
2394
        RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
2395
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
2396
      end
2397
2398
      so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
2399
      
2400
          for i = 0, 0.4, 0.6 do
2401
        swait()
2402
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
2403
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
2404-
          for i = 0, 0.4, 0.2 do
2404+
2405
        LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
2406
        RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
2407
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
2408
      end
2409
      con5:disconnect()
2410
end
2411
2412
          		    		    
2413
        u =   mouse.KeyDown:connect(function(key)
2414
          	if key == 'r' and combohits >= 100 then
2415
		    ultra = true
2416
		    SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,15,15,15,0.04)
2417
		    end
2418-
          	if key == 'r' and combohits >= 150 then
2418+
2419
          wait(0.3)
2420
         if ultra == true then 
2421
combohits = 0
2422
wait(0.1)
2423
 for i = 0, 1.65, 0.1 do
2424
        swait()
2425
        root.Velocity = root.CFrame.lookVector * 0
2426
        SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
2427
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
2428
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
2429
        RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
2430
        LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
2431
        RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
2432
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
2433
      end
2434
2435
2436
so("http://roblox.com/asset/?id=146094803",hed,1,1.2)
2437
2438
for i = 1, 95 do
2439
    --Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Really red", 0, "Brick")
2440
          con5=hum.Touched:connect(function(hit)
2441
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2442-
for i = 1, 65 do
2442+
2443
attackdebounce = true  
2444
coroutine.resume(coroutine.create(function()
2445
    for i = 0,1.5,0.1 do
2446
        swait()
2447
 hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
2448
end
2449
end))
2450
kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
2451
2452
            
2453
            
2454
            
2455
so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
2456
 RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2457
RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2458
SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
2459
2460
2461
2462
coroutine.resume(coroutine.create(function()
2463
    for i = 0,1,0.1 do
2464
        swait()
2465
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
2466
end
2467
end))
2468
2469
2470
      wait(0.05)
2471
attackdebounce = false
2472
end
2473
end
2474
end)
2475
    
2476
          for i = 0, .03, 0.1 do
2477
        swait()
2478
                BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
2479
                root.Velocity = root.CFrame.lookVector * 10
2480
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
2481
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
2482
        RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
2483
        LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
2484
        RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
2485
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
2486
      end
2487
2488
      so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
2489
      
2490
          for i = 0, 0.07, 0.1 do
2491
        swait()
2492
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
2493
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
2494
        RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
2495
        LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
2496
        RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
2497
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
2498
      end
2499
      con5:disconnect()
2500
end
2501
2502
for i = 0, 1.65, 0.1 do
2503
        swait()
2504
        root.Velocity = root.CFrame.lookVector * 0
2505
        SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
2506
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
2507
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
2508
        RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
2509
        LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
2510
        RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
2511
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
2512
      end
2513
2514
con5=hum.Touched:connect(function(hit)
2515
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2516
if attackdebounce == false then
2517
attackdebounce = true  
2518
coroutine.resume(coroutine.create(function()
2519
    for i = 0,1.5,0.1 do
2520
        swait()
2521
 --hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
2522
end
2523
end))
2524
kDamagefunc(hit, 1, 3, 0,"Normal",root,0,1)
2525
so("http://roblox.com/asset/?id=636494529",rl,2,.63)
2526
 RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2527
RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
2528
SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
2529
2530
2531
coroutine.resume(coroutine.create(function()
2532
    for i = 0,1,0.1 do
2533
        swait()
2534
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
2535
end
2536
end))
2537
2538
2539
      wait(0.05)
2540
attackdebounce = false
2541
end
2542
end
2543
end)
2544
2545
              so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 1, 1.4)
2546
          SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
2547
   
2548
  for i = 0, 2, 0.1 do
2549
        swait()
2550
		--BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
2551
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
2552
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
2553
        RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
2554
        LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
2555
        RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0.2) * RHCF * angles(math.rad(-50), math.rad(0), math.rad(2)), 0.2)
2556
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
2557
      end
2558
        SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
2559
        
2560
        wait(0.25)
2561
        con5:Disconnect() 
2562
   
2563
2564
        
2565
        
2566
        con5=hum.Touched:connect(function(hit)
2567
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2568
if attackdebounce == false then
2569
attackdebounce = true  
2570
2571
kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
2572
so("http://roblox.com/asset/?id=565207203",ll,7,0.63)
2573
 
2574
 RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
2575
RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
2576
SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
2577
SpecialEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
2578
SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,5,18,5,0.04)
2579
WaveEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,1.5,16,1.5,0.04)
2580
2581
coroutine.resume(coroutine.create(function()
2582
    for i = 0,1,0.1 do
2583
        swait()
2584
        hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
2585
end
2586
end))
2587
    
2588
          wait(0.06)
2589
attackdebounce = false
2590
2591
end
2592
end
2593
end)
2594
2595
coroutine.resume(coroutine.create(function()
2596
    while ultra == true do
2597
        swait()
2598
        root.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(-2,2),math.random(-3,3))
2599
    end
2600
    end))
2601
2602
2603
        so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
2604
        for i = 1,3 do
2605
          for i = 0, 9.14, 0.45 do
2606
        swait()
2607
                root.Velocity = root.CFrame.lookVector * 30
2608
        BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
2609
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-94*i)), 0.35)
2610
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
2611
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
2612
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
2613
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
2614
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
2615
      end
2616
      end
2617
    
2618
    
2619
    for i = 1,3 do
2620
              for i = 0, 11.14, 0.45 do
2621
        swait()
2622
        root.Velocity = root.CFrame.lookVector * 30
2623
        BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
2624
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-110*i)), 0.35)
2625
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
2626
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
2627
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
2628
        RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(27), math.rad(0), math.rad(74)), 0.35)
2629
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-34-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
2630
      end
2631
      
2632
      
2633
      
2634
    end
2635
     so("http://www.roblox.com/asset/?id=197161452", char, 0.5, 0.8)
2636
    con5:disconnect()
2637
     
2638
     
2639
  end -- combo hit end
2640
            attack = false
2641
          ultra = false
2642
  u:disconnect()
2643
          
2644
      end
2645
2646
2647
2648
2649
-------------------------------------------------------
2650
--End Attacks N Stuff--
2651
-------------------------------------------------------
2652
mouse.KeyDown:connect(function(key)
2653
    if string.byte(key) == 48 then
2654
        Swing = 2
2655
        hum.WalkSpeed = 24.82
2656
	end
2657
end)
2658
mouse.KeyUp:connect(function(key)
2659
    if string.byte(key) == 48 then
2660
        Swing = 1
2661
        hum.WalkSpeed = 8
2662
	end
2663
end)
2664
2665
 
2666
2667
2668
2669
2670
2671
mouse.Button1Down:connect(function()
2672
 if attack==false then
2673
                if attacktype==1 then
2674
                        attack=true
2675
                        attacktype=2
2676
                        attackone()
2677
                elseif attacktype==2 then
2678
                        attack=true
2679
                        attacktype=3
2680
                        attacktwo()
2681
                elseif attacktype==3 then
2682
                        attack=true
2683
                        attacktype=4
2684
                        attackthree()
2685
                elseif attacktype==4 then
2686
                        attack=true
2687
                        attacktype=1
2688
                        attackfour()
2689
                end
2690
        end
2691
end)
2692
2693
2694
2695
2696
		  mouse.KeyDown:connect(function(key)
2697
		if key == 'e' and attack == false and cankick == true and cooldown == false then
2698
quickkick()
2699
cooldown = true
2700
2701
coroutine.resume(coroutine.create(function()
2702
    wait(2)
2703
cooldown = false
2704
end))
2705
2706
2707
2708
		end
2709
		end)
2710
2711
2712
2713
2714
2715
2716
2717
2718
mouse.KeyDown:connect(function(key)
2719
	if attack == false then
2720
		if key == 't' then
2721
			Taunt()
2722
		elseif key == 'f' then
2723
			Hyperkickcombo()
2724
					elseif key == 'r' then
2725
			Galekicks()
2726
		end
2727
	end
2728
end)
2729
2730
-------------------------------------------------------
2731
--Start Animations--
2732
-------------------------------------------------------
2733
print("By Makhail07 and KillerDarkness0105")
2734
print("Basic Animations by Makhail07")
2735
print("Attack Animations by KillerDarkness0105")
2736
print("This is pretty much our final script together")
2737
print("--------------------------------")
2738
print("Attacks")
2739
print("E in air: Quick Kicks")
2740
print("Left Mouse: 4 click combo")
2741
print("F: Hyper Kicks")
2742
print("R: Gale Kicks, Spam R if your combo is over 150 to do an ultra combo")
2743
print("--------------------------------")
2744
while true do
2745
	swait()
2746
	sine = sine + change
2747
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
2748
	local velderp = root.Velocity.y
2749
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
2750
	
2751
	if hitfloor == nil then
2752
	    cankick = true
2753
    else
2754
        cankick = false
2755
        end
2756
	
2757
	
2758
	if equipped == true or equipped == false then
2759
		if attack == false then
2760
			idle = idle + 1
2761
		else
2762
			idle = 0
2763
		end
2764
		if 1 < root.Velocity.y and hitfloor == nil then
2765
			Anim = "Jump"
2766
			if attack == false then
2767
			    hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
2768
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
2769
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
2770
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2771
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2772
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
2773
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
2774
			end
2775
		elseif -1 > root.Velocity.y and hitfloor == nil then
2776
			Anim = "Fall"
2777
			if attack == false then
2778
			    hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
2779
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
2780
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
2781
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
2782
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
2783
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
2784
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
2785
			end
2786
		elseif torvel < 1 and hitfloor ~= nil then
2787
			Anim = "Idle"
2788
			change = 1
2789
			if attack == false then
2790
			    hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
2791
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.1)
2792
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Sin(sine / 12)), Rad(0), Rad(-20)), 0.1)
2793
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.1)
2794
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, -0.2* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.1)
2795
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(6 + 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
2796
				LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(110), Rad(6 - 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
2797
			end
2798
		elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
2799
			Anim = "Walk"
2800
			change = 1
2801
			if attack == false then
2802
			    hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
2803
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
2804
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-1), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
2805
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-15 - 15 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
2806
         		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
2807
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(56)  * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
2808
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-56)  * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) ,	Rad(-6) + la.RotVelocity.Y / 75), 0.1)
2809
			end
2810
		elseif torvel >= 22 and hitfloor ~= nil then
2811
			Anim = "Sprint"
2812
			change = 1.35
2813
			if attack == false then
2814
			    hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
2815
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
2816
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-8.5 - 2 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
2817
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
2818
         	LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
2819
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
2820
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65)  , Rad(0) ,	Rad(-13) + la.RotVelocity.Y / 75), 0.15)
2821
			end
2822
		end
2823
	end
2824
	Music.SoundId = "rbxassetid://"..SONG
2825
	Music.Looped = true
2826
	Music.Pitch = 1
2827
	Music.Volume = 0.7
2828
	Music.Parent = tors
2829
	Music:Resume()
2830
	if 0 < #Effects then
2831
		for e = 1, #Effects do
2832
			if Effects[e] ~= nil then
2833
				local Thing = Effects[e]
2834
				if Thing ~= nil then
2835
					local Part = Thing[1]
2836
					local Mode = Thing[2]
2837
					local Delay = Thing[3]
2838
					local IncX = Thing[4]
2839
					local IncY = Thing[5]
2840
					local IncZ = Thing[6]
2841
					if 1 >= Thing[1].Transparency then
2842
						if Thing[2] == "Block1" then
2843
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2844
							local Mesh = Thing[1].Mesh
2845
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2846
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2847
						elseif Thing[2] == "Block2" then
2848
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
2849
							local Mesh = Thing[7]
2850
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2851
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2852
						elseif Thing[2] == "Block3" then
2853
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
2854
							local Mesh = Thing[7]
2855
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2856
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2857
						elseif Thing[2] == "Cylinder" then
2858
							local Mesh = Thing[1].Mesh
2859
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2860
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2861
						elseif Thing[2] == "Blood" then
2862
							local Mesh = Thing[7]
2863
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
2864
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2865
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2866
						elseif Thing[2] == "Elec" then
2867
							local Mesh = Thing[1].Mesh
2868
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2869
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2870
						elseif Thing[2] == "Disappear" then
2871
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2872
						elseif Thing[2] == "Shatter" then
2873
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2874
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2875
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2876
							Thing[6] = Thing[6] + Thing[5]
2877
						end
2878
					else
2879
						Part.Parent = nil
2880
						table.remove(Effects, e)
2881
					end
2882
				end
2883
			end
2884
		end
2885
	end
2886
end
2887
-------------------------------------------------------
2888
--End Animations And Script--
2889
-------------------------------------------------------