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