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