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