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