View difference between Paste ID: CgXEp4s9 and ATE60c87
SHOW: | | - or go back to the newest paste.
1-
wait(1)
1+
2
	Character = Player.Character
3
	local txt = Instance.new("BillboardGui", Character)
4
	txt.Adornee = Character.Head
5
	txt.Name = "_status"
6
	txt.Size = UDim2.new(2, 0, 1.2, 0)
7
	txt.StudsOffset = Vector3.new(-9, 8, 0)
8
	local text = Instance.new("TextLabel", txt)
9
	text.Size = UDim2.new(10, 0, 7, 0)
10
	text.FontSize = "Size24"
11
	text.TextScaled = true
12
	text.TextTransparency = 0
13
	text.BackgroundTransparency = 1 
14
	text.TextTransparency = 0
15
	text.TextStrokeTransparency = 0
16
	text.Font = "Antique"
17
	text.TextStrokeColor3 = Color3.new(170,0,0)
18
        text.Text = ""
19-
        text.Text = "Head Hunter"
19+
20
--//====================================================\\--
21
--||			   CREATED BY SHACKLUSTER
22
--\\====================================================//--
23
24
script:ClearAllChildren()
25
wait(0.2)
26
27
Player = game:GetService("Players").LocalPlayer
28
PlayerGui = Player.PlayerGui
29
Cam = workspace.CurrentCamera
30
Backpack = Player.Backpack
31
Character = Player.Character
32
Humanoid = Character.Humanoid
33
Mouse = Player:GetMouse()
34
RootPart = Character["HumanoidRootPart"]
35
Torso = Character["Torso"]
36
Head = Character["Head"]
37
RightArm = Character["Right Arm"]
38
LeftArm = Character["Left Arm"]
39
RightLeg = Character["Right Leg"]
40
LeftLeg = Character["Left Leg"]
41
RootJoint = RootPart["RootJoint"]
42
Neck = Torso["Neck"]
43
RightShoulder = Torso["Right Shoulder"]
44
LeftShoulder = Torso["Left Shoulder"]
45
RightHip = Torso["Right Hip"]
46
LeftHip = Torso["Left Hip"]
47
local TIME = 0
48
local sick = Instance.new("Sound",Torso)
49
Player_Size = 1.15 --Size of the player.
50
Animation_Speed = 1.2
51
Attack_Animation_Speed = 2.5
52
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
53
IT = Instance.new
54
CF = CFrame.new
55
VT = Vector3.new
56
RAD = math.rad
57
C3 = Color3.new
58
UD2 = UDim2.new
59
BRICKC = BrickColor.new
60
ANGLES = CFrame.Angles
61
EULER = CFrame.fromEulerAnglesXYZ
62
COS = math.cos
63
ACOS = math.acos
64
SIN = math.sin
65
ASIN = math.asin
66
ABS = math.abs
67
MRANDOM = math.random
68
FLOOR = math.floor
69
70
--//=================================\\
71
--|| 	      USEFUL VALUES
72
--\\=================================//
73
local LAUGHS = {834001699,834001752,834001797,834001828}
74
Animation_Speed = 3
75
local FORCERESET = false
76
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
77
local Speed = 16
78
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
79
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
80
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
81
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
82
local DAMAGEMULTIPLIER = 1
83
local ANIM = "Idle"
84
local ATTACK = false
85
local EQUIPPED = false
86
local HOLD = false
87
local COMBO = 1
88
local Rooted = false
89
local SINE = 0
90
local KEYHOLD = false
91
local CHANGE = 2 / Animation_Speed
92
local WALKINGANIM = false
93
local VALUE1 = false
94
local VALUE2 = false
95
local ROBLOXIDLEANIMATION = IT("Animation")
96
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
97
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
98
--ROBLOXIDLEANIMATION.Parent = Humanoid
99
local WEAPONGUI = IT("ScreenGui", PlayerGui)
100
WEAPONGUI.Name = "BanishV3Gui"
101
local Weapon = IT("Model")
102
Weapon.Name = "Adds"
103
local Effects = IT("Folder", Weapon)
104
Effects.Name = "Effects"
105
local ANIMATOR = Humanoid.Animator
106
local ANIMATE = Character:FindFirstChild("Animate")
107
local UNANCHOR = true
108
local TOBANISH = {}
109
script.Parent = PlayerGui
110
111
--//=================================\\
112
--\\=================================//
113
114
115
--//=================================\\
116
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
117
--\\=================================//
118
119
ArtificialHB = Instance.new("BindableEvent", script)
120
ArtificialHB.Name = "ArtificialHB"
121
122
script:WaitForChild("ArtificialHB")
123
124
frame = Frame_Speed
125
tf = 0
126
allowframeloss = false
127
tossremainder = false
128
lastframe = tick()
129
script.ArtificialHB:Fire()
130
131
game:GetService("RunService").Heartbeat:connect(function(s, p)
132
	tf = tf + s
133
	if tf >= frame then
134
		if allowframeloss then
135
			script.ArtificialHB:Fire()
136
			lastframe = tick()
137
		else
138
			for i = 1, math.floor(tf / frame) do
139
				script.ArtificialHB:Fire()
140
			end
141
		lastframe = tick()
142
		end
143
		if tossremainder then
144
			tf = 0
145
		else
146
			tf = tf - frame * math.floor(tf / frame)
147
		end
148
	end
149
end)
150
151
--//=================================\\
152
--\\=================================//
153
154
--//=================================\\
155
--|| 	      SOME FUNCTIONS
156
--\\=================================//
157
158
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
159
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
160
end
161
162
function PositiveAngle(NUMBER)
163
	if NUMBER >= 0 then
164
		NUMBER = 0
165
	end
166
	return NUMBER
167
end
168
169
function NegativeAngle(NUMBER)
170
	if NUMBER <= 0 then
171
		NUMBER = 0
172
	end
173
	return NUMBER
174
end
175
176
function Swait(NUMBER)
177
	if NUMBER == 0 or NUMBER == nil then
178
		ArtificialHB.Event:wait()
179
	else
180
		for i = 1, NUMBER do
181
			ArtificialHB.Event:wait()
182
		end
183
	end
184
end
185
186
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
187
	local NEWMESH = IT(MESH)
188
	if MESH == "SpecialMesh" then
189
		NEWMESH.MeshType = MESHTYPE
190
		if MESHID ~= "nil" and MESHID ~= "" then
191
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
192
		end
193
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
194
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
195
		end
196
	end
197
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
198
	NEWMESH.Scale = SCALE
199
	NEWMESH.Parent = PARENT
200
	return NEWMESH
201
end
202
203
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
204
	local NEWPART = IT("Part")
205
	NEWPART.formFactor = FORMFACTOR
206
	NEWPART.Reflectance = REFLECTANCE
207
	NEWPART.Transparency = TRANSPARENCY
208
	NEWPART.CanCollide = false
209
	NEWPART.Locked = true
210
	NEWPART.Anchored = true
211
	if ANCHOR == false then
212
		NEWPART.Anchored = false
213
	end
214
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
215
	NEWPART.Name = NAME
216
	NEWPART.Size = SIZE
217
	NEWPART.Position = Torso.Position
218
	NEWPART.Material = MATERIAL
219
	NEWPART:BreakJoints()
220
	NEWPART.Parent = PARENT
221
	return NEWPART
222
end
223
224
	local function weldBetween(a, b)
225
	    local weldd = Instance.new("ManualWeld")
226
	    weldd.Part0 = a
227
	    weldd.Part1 = b
228
	    weldd.C0 = CFrame.new()
229
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
230
	    weldd.Parent = a
231
	    return weldd
232
	end
233
234
235
function QuaternionFromCFrame(cf)
236
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
237
	local trace = m00 + m11 + m22
238
	if trace > 0 then 
239
		local s = math.sqrt(1 + trace)
240
		local recip = 0.5 / s
241
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
242
	else
243
		local i = 0
244
		if m11 > m00 then
245
			i = 1
246
		end
247
		if m22 > (i == 0 and m00 or m11) then
248
			i = 2
249
		end
250
		if i == 0 then
251
			local s = math.sqrt(m00 - m11 - m22 + 1)
252
			local recip = 0.5 / s
253
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
254
		elseif i == 1 then
255
			local s = math.sqrt(m11 - m22 - m00 + 1)
256
			local recip = 0.5 / s
257
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
258
		elseif i == 2 then
259
			local s = math.sqrt(m22 - m00 - m11 + 1)
260
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
261
		end
262
	end
263
end
264
 
265
function QuaternionToCFrame(px, py, pz, x, y, z, w)
266
	local xs, ys, zs = x + x, y + y, z + z
267
	local wx, wy, wz = w * xs, w * ys, w * zs
268
	local xx = x * xs
269
	local xy = x * ys
270
	local xz = x * zs
271
	local yy = y * ys
272
	local yz = y * zs
273
	local zz = z * zs
274
	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))
275
end
276
 
277
function QuaternionSlerp(a, b, t)
278
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
279
	local startInterp, finishInterp;
280
	if cosTheta >= 0.0001 then
281
		if (1 - cosTheta) > 0.0001 then
282
			local theta = ACOS(cosTheta)
283
			local invSinTheta = 1 / SIN(theta)
284
			startInterp = SIN((1 - t) * theta) * invSinTheta
285
			finishInterp = SIN(t * theta) * invSinTheta
286
		else
287
			startInterp = 1 - t
288
			finishInterp = t
289
		end
290
	else
291
		if (1 + cosTheta) > 0.0001 then
292
			local theta = ACOS(-cosTheta)
293
			local invSinTheta = 1 / SIN(theta)
294
			startInterp = SIN((t - 1) * theta) * invSinTheta
295
			finishInterp = SIN(t * theta) * invSinTheta
296
		else
297
			startInterp = t - 1
298
			finishInterp = t
299
		end
300
	end
301
	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
302
end
303
304
function Clerp(a, b, t)
305
	local qa = {QuaternionFromCFrame(a)}
306
	local qb = {QuaternionFromCFrame(b)}
307
	local ax, ay, az = a.x, a.y, a.z
308
	local bx, by, bz = b.x, b.y, b.z
309
	local _t = 1 - t
310
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
311
end
312
313
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
314
	local frame = IT("Frame")
315
	frame.BackgroundTransparency = TRANSPARENCY
316
	frame.BorderSizePixel = BORDERSIZEPIXEL
317
	frame.Position = POSITION
318
	frame.Size = SIZE
319
	frame.BackgroundColor3 = COLOR
320
	frame.BorderColor3 = BORDERCOLOR
321
	frame.Name = NAME
322
	frame.Parent = PARENT
323
	return frame
324
end
325
326
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
327
	local label = IT("TextLabel")
328
	label.BackgroundTransparency = 1
329
	label.Size = UD2(1, 0, 1, 0)
330
	label.Position = UD2(0, 0, 0, 0)
331
	label.TextColor3 = TEXTCOLOR
332
	label.TextStrokeTransparency = STROKETRANSPARENCY
333
	label.TextTransparency = TRANSPARENCY
334
	label.FontSize = TEXTFONTSIZE
335
	label.Font = TEXTFONT
336
	label.BorderSizePixel = BORDERSIZEPIXEL
337
	label.TextScaled = false
338
	label.Text = TEXT
339
	label.Name = NAME
340
	label.Parent = PARENT
341
	return label
342
end
343
344
function NoOutlines(PART)
345
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
346
end
347
348
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
349
	local NEWWELD = IT(TYPE)
350
	NEWWELD.Part0 = PART0
351
	NEWWELD.Part1 = PART1
352
	NEWWELD.C0 = C0
353
	NEWWELD.C1 = C1
354
	NEWWELD.Parent = PARENT
355
	return NEWWELD
356
end
357
358
local S = IT("Sound")
359
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
360
	local NEWSOUND = nil
361
	coroutine.resume(coroutine.create(function()
362
		NEWSOUND = S:Clone()
363
		NEWSOUND.Parent = PARENT
364
		NEWSOUND.Volume = VOLUME
365
		NEWSOUND.Pitch = PITCH
366
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
367
		NEWSOUND:play()
368
		if DOESLOOP == true then
369
			NEWSOUND.Looped = true
370
		else
371
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
372
			NEWSOUND:remove()
373
		end
374
	end))
375
	return NEWSOUND
376
end
377
378
function CFrameFromTopBack(at, top, back)
379
	local right = top:Cross(back)
380
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
381
end
382
383
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
384
function WACKYEFFECT(Table)
385
	local TYPE = (Table.EffectType or "Sphere")
386
	local SIZE = (Table.Size or VT(1,1,1))
387
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
388
	local TRANSPARENCY = (Table.Transparency or 0)
389
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
390
	local CFRAME = (Table.CFrame or Torso.CFrame)
391
	local MOVEDIRECTION = (Table.MoveToPos or nil)
392
	local ROTATION1 = (Table.RotationX or 0)
393
	local ROTATION2 = (Table.RotationY or 0)
394
	local ROTATION3 = (Table.RotationZ or 0)
395
	local MATERIAL = (Table.Material or "Neon")
396
	local COLOR = (Table.Color or C3(1,1,1))
397
	local TIME = (Table.Time or 45)
398
	local SOUNDID = (Table.SoundID or nil)
399
	local SOUNDPITCH = (Table.SoundPitch or nil)
400
	local SOUNDVOLUME = (Table.SoundVolume or nil)
401
	coroutine.resume(coroutine.create(function()
402
		local PLAYSSOUND = false
403
		local SOUND = nil
404
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
405
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
406
			PLAYSSOUND = true
407
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
408
		end
409
		EFFECT.Color = COLOR
410
		local MSH = nil
411
		if TYPE == "Sphere" then
412
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
413
		elseif TYPE == "Block" then
414
			MSH = IT("BlockMesh",EFFECT)
415
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
416
		elseif TYPE == "Wave" then
417
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
418
		elseif TYPE == "Ring" then
419
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
420
		elseif TYPE == "Slash" then
421
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
422
		elseif TYPE == "Round Slash" then
423
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
424
		elseif TYPE == "Swirl" then
425
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
426
		elseif TYPE == "Skull" then
427
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
428
		elseif TYPE == "Crystal" then
429
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
430
		end
431
		if MSH ~= nil then
432
			local MOVESPEED = nil
433
			if MOVEDIRECTION ~= nil then
434
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
435
			end
436
			local GROWTH = SIZE - ENDSIZE
437
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
438
			if TYPE == "Block" then
439
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
440
			else
441
				EFFECT.CFrame = CFRAME
442
			end
443
			for LOOP = 1, TIME+1 do
444
				Swait()
445
				MSH.Scale = MSH.Scale - GROWTH/TIME
446
				if TYPE == "Wave" then
447
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
448
				end
449
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
450
				if TYPE == "Block" then
451
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
452
				else
453
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
454
				end
455
				if MOVEDIRECTION ~= nil then
456
					local ORI = EFFECT.Orientation
457
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
458
					EFFECT.Orientation = ORI
459
				end
460
			end
461
			if PLAYSSOUND == false then
462
				EFFECT:remove()
463
			else
464
				SOUND.Stopped:Connect(function()
465
					EFFECT:remove()
466
				end)
467
			end
468
		else
469
			if PLAYSSOUND == false then
470
				EFFECT:remove()
471
			else
472
				repeat Swait() until SOUND.Playing == false
473
				EFFECT:remove()
474
			end
475
		end
476
	end))
477
end
478
479
function MakeForm(PART,TYPE)
480
	if TYPE == "Cyl" then
481
		local MSH = IT("CylinderMesh",PART)
482
	elseif TYPE == "Ball" then
483
		local MSH = IT("SpecialMesh",PART)
484
		MSH.MeshType = "Sphere"
485
	elseif TYPE == "Wedge" then
486
		local MSH = IT("SpecialMesh",PART)
487
		MSH.MeshType = "Wedge"
488
	end
489
end
490
491
function SpawnTrail(FROM,TO,BIG)
492
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
493
	MakeForm(TRAIL,"Cyl")
494
	local DIST = (FROM - TO).Magnitude
495
	if BIG == true then
496
		TRAIL.Size = VT(0.5,DIST,0.5)
497
	else
498
		TRAIL.Size = VT(0.25,DIST,0.25)
499
	end
500
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
501
	coroutine.resume(coroutine.create(function()
502
		for i = 1, 5 do
503
			Swait()
504
			TRAIL.Transparency = TRAIL.Transparency + 0.1
505
		end
506
		TRAIL:remove()
507
	end))
508
end
509
510
Debris = game:GetService("Debris")
511
512
function CastProperRay(StartPos, EndPos, Distance, Ignore)
513
	local DIRECTION = CF(StartPos,EndPos).lookVector
514
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
515
end
516
517
function turnto(position)
518
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
519
end
520
521
--//=================================\\
522
--||	     WEAPON CREATION
523
--\\=================================//
524
525
local Particle = IT("ParticleEmitter",nil)
526
Particle.Enabled = false
527
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
528
Particle.LightEmission = 0.5
529
Particle.Rate = 150
530
Particle.ZOffset = 0.2
531
Particle.Rotation = NumberRange.new(-180, 180)
532
Particle.RotSpeed = NumberRange.new(-180, 180)
533
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
534
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
535
536
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
537
function ParticleEmitter(Table)
538
	local PRTCL = Particle:Clone()
539
	local Speed = Table.Speed or 5
540
	local Drag = Table.Drag or 0
541
	local Size1 = Table.Size1 or 1
542
	local Size2 = Table.Size2 or 5
543
	local Lifetime1 = Table.Lifetime1 or 1
544
	local Lifetime2 = Table.Lifetime2 or 1.5
545
	local Parent = Table.Parent or Torso
546
	local Emit = Table.Emit or 100
547
	local Offset = Table.Offset or 360
548
	local Acel = Table.Acel or VT(0,0,0)
549
	local Enabled = Table.Enabled or false
550
	PRTCL.Parent = Parent
551
	PRTCL.Size = NumberSequence.new(Size1,Size2)
552
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
553
	PRTCL.Speed = NumberRange.new(Speed)
554
	PRTCL.VelocitySpread = Offset
555
	PRTCL.Drag = Drag
556
	PRTCL.Acceleration = Acel
557
	if Enabled == false then
558
		PRTCL:Emit(Emit)
559
		Debris:AddItem(PRTCL,Lifetime2)
560
	else
561
		PRTCL.Enabled = true
562
	end
563
	return PRTCL
564
end
565
566
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
567
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
568
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
569
MakeForm(Part,"Wedge")
570
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
571
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
572
MakeForm(Part,"Wedge")
573
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
574
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
575
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
576
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
577
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
578
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
579
MakeForm(Part,"Cyl")
580
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
581
for i = 1, 8 do
582
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
583
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
584
end
585
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
586
MakeForm(Part,"Cyl")
587
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
588
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
589
MakeForm(Part,"Ball")
590
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
591
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
592
MakeForm(Part,"Wedge")
593
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
594
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
595
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
596
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
597
MakeForm(Part,"Cyl")
598
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
599
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
600
MakeForm(Part,"Cyl")
601
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
602
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
603
MakeForm(Part,"Cyl")
604
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
605
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
606
MakeForm(Part,"Wedge")
607
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
608
local LASTPART = Handle
609
for i = 1, 10 do
610
	if LASTPART == Handle then
611
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
612
		LASTPART = Part
613
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
614
	else
615
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
616
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
617
		LASTPART = Part
618
	end
619
end
620
621
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
622
MakeForm(Barrel,"Cyl")
623
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
624
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
625
MakeForm(Part,"Cyl")
626
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
627
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
628
MakeForm(Part,"Wedge")
629
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
630
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
631
MakeForm(Hole,"Cyl")
632
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
633
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
634
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
635
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
636
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
637
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
638
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
639
coroutine.resume(coroutine.create(function()
640
	while wait() do
641
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
642
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
643
	end
644
end))
645
646
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
647
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
648
649
for _, c in pairs(Weapon:GetDescendants()) do
650
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
651
		c.Material = "Glass"
652
		c.Color = C3(0,0,0)
653
	elseif c.ClassName == "Part" and c.Name == "Eye" then
654
		c.Color = C3(1,0,0)
655
		c.Material = "Neon"
656
	end
657
end
658
659
Weapon.Parent = Character
660
for _, c in pairs(Weapon:GetChildren()) do
661
	if c.ClassName == "Part" then
662
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
663
	end
664
end
665
666
local SKILLTEXTCOLOR = C3(1,0,0)
667
local SKILLFONT = "Antique"
668-
for _, c in pairs(Character:GetDescendants()) do
668+
669-
	if c:IsA("BasePart") and c.Name ~= "Handle" then
669+
670-
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
670+
671-
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
671+
672
end)
673-
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
673+
674-
	elseif c:IsA("JointInstance") then
674+
675-
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
675+
676
---local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
677
--local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
678
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
679
680-
	if BODY[e] ~= nil then
680+
681-
		local STUFF = BODY[e]
681+
682-
		local PART = STUFF[1]
682+
683-
		local PARENT = STUFF[2]
683+
684-
		local MATERIAL = STUFF[3]
684+
685-
		local COLOR = STUFF[4]
685+
686-
		local TRANSPARENCY = STUFF[5]
686+
687-
		if PART.ClassName == "Part" and PART ~= RootPart then
687+
688-
			PART.Material = MATERIAL
688+
689-
			PART.Color = COLOR
689+
690-
			PART.Transparency = TRANSPARENCY
690+
691
workspace.ChildAdded:connect(function(instance)
692-
		PART.AncestryChanged:Connect(function()
692+
693-
			PART.Parent = PARENT
693+
694-
		end)
694+
695
				coroutine.resume(coroutine.create(function()
696
					printbye(instance.Name)
697
					instance:ClearAllChildren()
698
					Debris:AddItem(instance,0.0005)
699-
	Character.Parent = workspace
699+
700-
	for e = 1, #BODY do
700+
701-
		if BODY[e] ~= nil then
701+
702-
			local STUFF = BODY[e]
702+
703-
			local PART = STUFF[1]
703+
704-
			local PARENT = STUFF[2]
704+
705-
			local MATERIAL = STUFF[3]
705+
706-
			local COLOR = STUFF[4]
706+
707-
			local TRANSPARENCY = STUFF[5]
707+
708-
			if PART.ClassName == "Part" and PART ~= RootPart then
708+
709-
				PART.Material = MATERIAL
709+
710-
				PART.Color = COLOR
710+
711-
				PART.Transparency = TRANSPARENCY
711+
712
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
713-
			if PART.Parent ~= PARENT then
713+
714-
				Humanoid:remove()
714+
715-
				PART.Parent = PARENT
715+
716-
				Humanoid = IT("Humanoid",Character)
716+
717
asd.Acceleration = Vector3.new(0, -15, 0)
718
asd.LockedToPart = false
719
asd.EmissionDirection = "Back"
720
asd.Lifetime = NumberRange.new(1, 2)
721
asd.Rotation = NumberRange.new(-100, 100)
722
asd.RotSpeed = NumberRange.new(-100, 100)
723
asd.Speed = NumberRange.new(10)
724
asd.Enabled = false
725-
	refit()
725+
726
727
function getbloody(victim,amount)
728
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
729
	PART.CFrame = victim.CFrame
730
	local HITPLAYERSOUNDS = {"356551938","264486467"}
731
	Debris:AddItem(PART,5)
732
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
733
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
734
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
735
	local prtcl = asd:Clone()
736-
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.6, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
736+
737
	prtcl:Emit(amount*10)
738
end
739
function Kill(Char)
740
	local NewCharacter = IT("Model",Effects)
741
	NewCharacter.Name = "Ow im ded ;-;"
742
	for _, c in pairs(Char:GetDescendants()) do
743-
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[C] Smite/Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
743+
744
			if c.Parent == Char then
745
				getbloody(c,5)
746
			end
747
			c:BreakJoints()
748
			c.Material = "Glass"
749
			c.Color = C3(0.5,0,0)
750
			c.CanCollide = true
751
			c.Transparency = 0.3
752
			if c:FindFirstChildOfClass("SpecialMesh") then
753
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
754
			end
755
			if c.Name == "Head" then
756
				c:ClearAllChildren()
757
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
758
			end
759
			if c.ClassName == "MeshPart" then
760
				c.TextureID = ""
761
			end
762
			if c:FindFirstChildOfClass("BodyPosition") then
763
				c:FindFirstChildOfClass("BodyPosition"):remove()
764
			end
765
			if c:FindFirstChildOfClass("ParticleEmitter") then
766
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
767
			end
768
			c.Parent = NewCharacter
769
			c.Name = "DeadPart"
770
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
771
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
772
		end
773
	end
774
	Char:remove()
775
	Debris:AddItem(NewCharacter,5)
776
end
777
778
function Banish(Foe)
779
	if Foe then
780
		coroutine.resume(coroutine.create(function()
781
			--if game.Players:FindFirstChild(Foe.Name) then
782
				table.insert(TOBANISH,Foe.Name)
783
				printbye(Foe.Name)
784
			--end
785
			Foe.Archivable = true
786
			local CLONE = Foe:Clone()
787
			Foe:Destroy()
788
			CLONE.Parent = Effects
789
			CLONE:BreakJoints()
790
			local MATERIALS = {"Glass","Neon"}
791
			for _, c in pairs(CLONE:GetDescendants()) do
792
				if c:IsA("BasePart") then
793
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
794
 						CreateSound(340722848, c, 10, 1, false)
795
					end
796
					c.Anchored = true
797
					c.Transparency = c.Transparency + 0.2
798
					c.Material = MATERIALS[MRANDOM(1,2)]
799
					c.Color = C3(1,0,0)
800
					if c.ClassName == "MeshPart" then
801
						c.TextureID = ""
802
					end
803
					if c:FindFirstChildOfClass("SpecialMesh") then
804
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
805
					end
806
					if c:FindFirstChildOfClass("Decal") then
807
						c:FindFirstChildOfClass("Decal"):remove()
808
					end
809
					c.Name = "Banished"
810
					c.CanCollide = false
811
				else
812
					c:remove()
813
				end
814
			end
815
			local A = false
816
			for i = 1, 35 do
817
				if A == false then
818
					A = true
819
				elseif A == true then
820
					A = false
821
				end
822
				for _, c in pairs(CLONE:GetDescendants()) do
823
					if c:IsA("BasePart") then
824
						c.Anchored = true
825
						c.Material = MATERIALS[MRANDOM(1,2)]
826
						c.Transparency = c.Transparency + 0.8/35
827
						if A == false then
828
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
829
						elseif A == true then
830
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
831
						end
832
					end
833
				end
834
				Swait()
835
			end
836
			CLONE:remove()
837
		end))
838
	end
839
end
840
841
function ApplyAoE(POSITION,RANGE,ISBANISH)
842
	local CHILDREN = workspace:GetDescendants()
843
	for index, CHILD in pairs(CHILDREN) do
844
		if CHILD.ClassName == "Model" and CHILD ~= Character then
845
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
846
			if HUM then
847
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
848
				if TORSO then
849
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
850
						if ISBANISH == true then
851
							Banish(CHILD)
852
						else
853
							if ISBANISH == "Gravity" then
854
								HUM.PlatformStand = true
855
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
856
									local grav = Instance.new("BodyPosition",TORSO)
857
									grav.D = 15
858
									grav.P = 20000
859
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
860
									grav.position = TORSO.Position
861
									grav.Name = "V3BanishForce"..Player.Name
862
								else
863
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
864
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
865
								end
866
							else
867
								HUM.PlatformStand = false
868
							end
869
						end
870
					elseif ISBANISH == "Gravity" then
871
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
872
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
873
							HUM.PlatformStand = false
874
						end
875
					end
876
				end
877
			end
878
		end
879
	end
880
end
881
882
--//=================================\\
883
--||	ATTACK FUNCTIONS AND STUFF
884
--\\=================================//
885
function RayCast(Position, Direction, MaxDistance, IgnoreList)
886
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
887
end
888
function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset)
889
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
890
	local mesh = IT("SpecialMesh",wave)
891
	mesh.MeshType = "FileMesh"
892
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
893
	mesh.Scale = VT(size,size,size)
894
	mesh.Offset = VT(0,0,-size/8)
895
	wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
896
	coroutine.resume(coroutine.create(function(PART)
897
		for i = 1, waitt do
898
			Swait()
899
			mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
900
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
901
			if doesrotate == true then
902
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
903
			end
904
			wave.Transparency = wave.Transparency + (0.5/waitt)
905
			if wave.Transparency > 0.99 then
906
				wave:remove()
907
			end
908
		end
909
	end))
910
end
911
912
function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2)
913
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
914
	local mesh = IT("SpecialMesh",wave)
915
	mesh.MeshType = "FileMesh"
916
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
917
	mesh.Scale = VT(size,size,size)
918
	mesh.Offset = VT(0,0,0)
919
	wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
920
	coroutine.resume(coroutine.create(function(PART)
921
		for i = 1, waitt do
922
			Swait()
923
			mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
924
			if doesrotate == true then
925
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
926
			end
927
			wave.Transparency = wave.Transparency + (0.5/waitt)
928
			if wave.Transparency > 0.99 then
929
				wave:remove()
930
			end
931
		end
932
	end))
933
end
934
935
function CreatePentagram(size,doesrotate,rotatedirection,waitt,cframe,offset)
936
	local sinkhole = IT("Part",Effects)
937
	sinkhole.Size = VT(size,0,size)
938
	sinkhole.CFrame = cframe * CF(0,offset,0)
939
	sinkhole.Material = "Neon"
940
	sinkhole.Color = C3(170, 0, 170)
941
	sinkhole.Anchored = true
942
	sinkhole.CanCollide = false
943
	sinkhole.Transparency = 1
944
	local decal = IT("Decal",sinkhole)
945
	decal.Face = "Top"
946
	decal.Texture = "http://www.roblox.com/asset/?id=177470914"
947
	coroutine.resume(coroutine.create(function(PART)
948
		for i = 1, waitt do
949
			Swait()
950
			if doesrotate == true then
951
				sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
952
			end
953
			if i > waitt-11 then
954
				decal.Transparency = decal.Transparency + 0.1
955
			end
956
		end
957
		sinkhole:remove()
958
	end))
959
	return sinkhole
960
end
961
function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset)
962
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Torso.BrickColor, "Effect", VT(0,0,0))
963
	local mesh = IT("SpecialMesh",wave)
964
	mesh.MeshType = "FileMesh"
965
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
966
	mesh.Scale = VT(size,size,size)
967
	mesh.Offset = VT(0,0,-size/8)
968
	wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
969
	coroutine.resume(coroutine.create(function(PART)
970
		for i = 1, waitt do
971
			Swait()
972
			mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
973
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
974
			if doesrotate == true then
975
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
976
			end
977
			wave.Transparency = wave.Transparency + (0.5/waitt)
978
			if wave.Transparency > 0.99 then
979
				wave:remove()
980
			end
981
		end
982
	end))
983
end
984
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
985
	local STATPART = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Effect", VT())
986
	STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
987
	local BODYGYRO = IT("BodyGyro", STATPART)
988
	local BODYPOSITION = IT("BodyPosition", STATPART)
989
	BODYPOSITION.P = 2000
990
	BODYPOSITION.D = 100
991
	BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
992
	if LABELTYPE == "Normal" then
993
		BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
994
	elseif LABELTYPE == "Debuff" then
995
		BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
996
	elseif LABELTYPE == "Interruption" then
997
		BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
998
	end
999
	game:GetService("Debris"):AddItem(STATPART ,5)
1000
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
1001
	BILLBOARDGUI.Adornee = STATPART
1002
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
1003
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
1004
	BILLBOARDGUI.AlwaysOnTop = true
1005
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
1006
	TEXTLABEL.BackgroundTransparency = 1
1007
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
1008
	TEXTLABEL.Text = TEXT
1009
	TEXTLABEL.Font = "Antique"
1010
	TEXTLABEL.FontSize="Size42"
1011
	TEXTLABEL.TextColor3 = COLOR
1012
	TEXTLABEL.TextStrokeTransparency = 1
1013
	TEXTLABEL.TextScaled = true
1014
	TEXTLABEL.TextWrapped = true
1015
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
1016
		wait(0.2)
1017
		for i=1, 5 do
1018
			wait()
1019
			THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
1020
		end
1021
		wait(1.2)
1022
		for i=1, 5 do
1023
			wait()
1024
			THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
1025
			THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
1026
			THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
1027
		end
1028
		THEPART.Parent = nil
1029
	end),STATPART, BODYPOSITION, TEXTLABEL)
1030
end
1031
function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
1032
	local dmg = math.random(min,max)
1033
	for i,v in ipairs(workspace:GetChildren()) do
1034
	if v:FindFirstChild("HitBy"..Player.Name) == nil then
1035
		local body = v:GetChildren()
1036
			for part = 1, #body do
1037
				if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1038
					if(body[part].Position - position).Magnitude < radius then
1039
						if v.ClassName == "Model" then
1040
							if v:FindFirstChild("Humanoid") then
1041
								if v.Humanoid.Health ~= 0 then
1042
									if CanBeDodgedByJumping == true then
1043
										if body[part].Position.Y < position.Y+5 then
1044
											if math.random(1,100) < critrate+1 then
1045
												v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
1046
												StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
1047
											else
1048
												v.Humanoid.Health = v.Humanoid.Health - dmg
1049
												StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
1050
											end
1051
											local defence = Instance.new("BoolValue",v)
1052
											defence.Name = ("HitBy"..Player.Name)
1053
											game:GetService("Debris"):AddItem(defence, 0.5)
1054
										end
1055
									else
1056
										if beserk == true then
1057
											v.Humanoid.Health = 0
1058
										end
1059
										if math.random(1,100) < critrate+1 then
1060
											v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
1061
											StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
1062
										else
1063
											v.Humanoid.Health = v.Humanoid.Health - dmg
1064
											StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
1065
										end
1066
										local defence = Instance.new("BoolValue",v)
1067
										defence.Name = ("HitBy"..Player.Name)
1068
										game:GetService("Debris"):AddItem(defence, 0.5)
1069
									end
1070
								end
1071
							end
1072
						end
1073
						body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
1074
					end
1075
				end
1076
			end
1077
			if v.ClassName == "Part" then
1078
				if v.Anchored == false and (v.Position - position).Magnitude < radius then
1079
					v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
1080
				end
1081
			end
1082
		end
1083
	end
1084
end
1085
function killnearest(position,range,maxstrength)
1086
	for i,v in ipairs(workspace:GetChildren()) do
1087
	local body = v:GetChildren()
1088
		for part = 1, #body do
1089
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1090
				if(body[part].Position - position).Magnitude < range then
1091
					if v.ClassName == "Model" then
1092
						v:BreakJoints()
1093
					end
1094
					--table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
1095
					body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
1096
				end
1097
			end
1098
		end
1099
		if v.ClassName == "Part" then
1100
			if v.Anchored == false and (v.Position - position).Magnitude < range then
1101
				--table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
1102
				v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
1103
			end
1104
		end
1105
	end
1106
end
1107
1108
local EyeSizes={
1109
	NumberSequenceKeypoint.new(0,1.2,0),
1110
	NumberSequenceKeypoint.new(1,0,0)
1111
}
1112
local EyeTrans={
1113
	NumberSequenceKeypoint.new(0,0.8,0),
1114
	NumberSequenceKeypoint.new(1,1,0)
1115
}
1116
local PE=Instance.new("ParticleEmitter")
1117
PE.LightEmission=0
1118
PE.Size=NumberSequence.new(EyeSizes)
1119
PE.Transparency=NumberSequence.new(EyeTrans)
1120
PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
1121
PE.Rotation=NumberRange.new(0,360)
1122
PE.Rate=999
1123
PE.Acceleration = Vector3.new(0,0,0)
1124
PE.Drag = 5
1125
PE.LockedToPart = false
1126
PE.Speed = NumberRange.new(0,0,0)
1127
PE.Rotation = NumberRange.new(-100, 100)
1128
PE.RotSpeed = NumberRange.new(-100, 100)
1129
PE.Texture="http://www.roblox.com/asset/?id=669492379"
1130
PE.Color = ColorSequence.new(Color3.new(170, 0, 170))
1131
PE.ZOffset = 0
1132
PE.Name = "Reign"
1133
PE.Enabled = false
1134
PE.VelocitySpread = 10000
1135
function particles(art)
1136
local o = PE:Clone()
1137
o.Parent = art
1138
o.Enabled = true
1139
return o
1140
end
1141
function Shot()
1142
	ATTACK = true
1143
	Rooted = false
1144
	for i=0, 0.4, 0.1 / Animation_Speed do
1145
		Swait()
1146
		turnto(Mouse.Hit.p)
1147
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1148
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1149
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1150
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1151
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1152
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1153
	end
1154
	repeat
1155
		for i=0, 0.2, 0.1 / Animation_Speed do
1156
			Swait()
1157
			turnto(Mouse.Hit.p)
1158
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1159
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1160
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1161
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1162
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1163
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1164
		end
1165
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1166
		SpawnTrail(Hole.Position,POS)
1167
		if HIT ~= nil then
1168
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1169
				Banish(HIT.Parent)
1170
			end
1171
		end
1172
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1173
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1174
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1175
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1176
		for i=0, 0.3, 0.1 / Animation_Speed do
1177
			Swait()
1178
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1179
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1180
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1181
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1182
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1183
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1184
		end
1185
	until KEYHOLD == false
1186
	ATTACK = false
1187
	Rooted = false
1188
end
1189
function Sinnerwave()
1190
    ATTACK = true
1191
    Rooted = true
1192
    for i=0, 2, 0.1 / Animation_Speed do
1193
        Swait()
1194
        Rooted = true
1195
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1196
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1197
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1198
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1199
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1200
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(-5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1201
    end
1202
    Rooted = true
1203
    local Animation_Speed2 = Animation_Speed/2
1204
    for i=0, 1, 0.1 / Animation_Speed2 do
1205
        Swait()
1206
        Rooted = true
1207
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
1208
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
1209
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
1210
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
1211
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
1212
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
1213
    end
1214
    CreateWave(0,4,true,0.2,45,RootPart,-5)
1215
    CreateWave(0,4.5,true,-0.2,40,RootPart,-5)
1216
    CreateWave(0,5,true,0.2,35,RootPart,-5)
1217
    CreateWave(0,5.5,true,-0.2,30,RootPart,-5)
1218
    CreateWave(0,6,true,0.2,25,RootPart,-5)
1219
    CreateSound("971126018", Torso, 2, 1)
1220
    coroutine.resume(coroutine.create(function()
1221
        local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -1, 0), (10000), {Character})
1222
        local SpawnPosition = RayPos
1223
        local floor = RayHit
1224
        local needcframe = RootPart.CFrame
1225
        local LastPosition = RootPart.Position
1226
        local Delay = 1
1227
        for i = 1, 6 do
1228
            local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
1229
            local End = RayPos
1230
            LastPosition = End
1231
            local locatepart = Instance.new("Part",Effects)
1232
            locatepart.Size = VT(0.5,0.5,0.5)
1233
            locatepart.Position = End
1234
            locatepart.CanCollide = false
1235
            locatepart.Anchored = true
1236
            locatepart.Transparency = 1
1237
                if SpawnPosition then
1238
                    if i ~= 6 then
1239
                        CreateSound("971125740", locatepart, 7, 1)
1240
                        AoEDamage(End,15,25,30,15,false,5,3,false)
1241
                        CreateWave(0,2.5,true,-0.05,25,locatepart,-2)
1242
                        CreateWave(0,2,true,0.05,25,locatepart,-2)
1243
                        CreateWave(0,1.5,true,-0.05,25,locatepart,-2)
1244
                        CreateWave(0,1,true,0.05,25,locatepart,-2)
1245
                    else
1246
                        CreateRing(0,15,true,-0.2,35,locatepart,0,0.3,0.3)
1247
                        CreateRing(0,12.5,true,0.2,35,locatepart,0,0.3,-0.3)
1248
                        CreateRing(0,10,true,-0.2,35,locatepart,0,-0.3,0.3)
1249
                        CreateRing(0,7.5,true,0.2,35,locatepart,0,-0.3,-0.3)
1250
                        CreatePentagram(85,true,-0.05,75,CF(End),0)
1251
                        CreateSound("971125740", locatepart, 7, 0.5)
1252
                        AoEDamage(End,25,45,60,15,false,5,3,false)
1253
                        CreateWave(0,6.5,true,-0.05,45,locatepart,-2)
1254
                        CreateWave(0,6,true,0.05,45,locatepart,-2)
1255
                        CreateWave(0,5.5,true,-0.05,45,locatepart,-2)
1256
                        CreateWave(0,5,true,0.05,45,locatepart,-2)
1257
                        local particle = particles(locatepart)
1258
                        particle.Enabled = false
1259
                        particle.Drag = 1
1260
                        particle.Lifetime=NumberRange.new(2.35,2.35,2.35)
1261
                        particle.Speed = NumberRange.new(25,25,25)
1262
                        particle:Emit(250)
1263
                    end
1264
                end
1265
            Swait(5)
1266
            game:GetService("Debris"):AddItem(locatepart, 5)
1267
        end
1268
    end))
1269
    Swait(50)
1270
    ATTACK = false
1271
    Rooted = false
1272
end
1273
function Deathbound()
1274
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
1275
	ATTACK = true
1276
	Rooted = true
1277
	for i=0, 1, 0.1 / Animation_Speed do
1278
		Swait()
1279
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1280
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1281
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1282
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1283
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1284
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1285
	end
1286
	local DONE = false
1287
	local GATE = nil
1288
	local GATESPIN = true
1289
	coroutine.resume(coroutine.create(function()
1290
		repeat
1291
			Swait()
1292
			if GATE ~= nil then
1293
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
1294
			end
1295
		until GATESPIN == false
1296
	end))
1297
	coroutine.resume(coroutine.create(function()
1298
		repeat
1299
			Swait()
1300
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1301
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1302
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1303
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1304
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1305
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1306
		until DONE == true
1307
		Swait(50)
1308
		for i = 1, 35 do
1309
			Swait(4)
1310
			local FIRED = false
1311
			local CHILDREN = workspace:GetDescendants()
1312
			for index, CHILD in pairs(CHILDREN) do
1313
				if CHILD.ClassName == "Model" and CHILD ~= Character then
1314
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1315
					if HUM then
1316
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1317
						if TORSO then
1318
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
1319
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
1320
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
1321
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
1322
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1323
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
1324
								Banish(CHILD)
1325
								FIRED = true
1326
								break
1327
							end
1328
						end
1329
					end
1330
				end
1331
			end
1332-
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
1332+
1333-
	if FLOOR ~= nil then
1333+
1334
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
1335-
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
1335+
1336-
			PART.CFrame = CF(POSITION)
1336+
1337-
			for i = 1, 45 do
1337+
1338-
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
1338+
1339-
				RingPiece.Material = FLOOR.Material
1339+
1340-
				RingPiece.Color = FLOOR.Color
1340+
1341-
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
1341+
1342-
				Debris:AddItem(RingPiece,SWAIT)
1342+
1343
			end
1344-
			PART:remove()
1344+
1345
		for i = 1, 45 do
1346
			Swait()
1347
			GATE.Size = GATE.Size - VT(3,0,3)
1348
		end
1349-
function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
1349+
1350-
	if FLOOR ~= nil then
1350+
1351-
		for i = 1, AMOUNT do
1351+
1352-
			local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
1352+
1353-
			DEBREE.Material = FLOOR.Material
1353+
1354-
			DEBREE.Color = FLOOR.Color
1354+
1355-
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
1355+
1356-
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
1356+
1357-
			coroutine.resume(coroutine.create(function()
1357+
1358-
				Swait(15)
1358+
1359-
				DEBREE.Parent = workspace
1359+
1360-
				DEBREE.CanCollide = true
1360+
1361-
				Debris:AddItem(DEBREE,SWAIT)
1361+
1362-
			end))
1362+
1363
	end
1364
	CreateSound(145080998, Handle, 7, 1, false)
1365
	CreateSound(145080998, Handle, 7, 1, false)
1366
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Handle.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1367-
function SpawnSmite(POS)
1367+
1368-
	local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
1368+
1369-
	local EMITPOS = HITPOS
1369+
1370-
	if HITFLOOR ~= nil then
1370+
1371-
		if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
1371+
1372-
			HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
1372+
1373-
			EMITPOS = HITPOS
1373+
1374-
		elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1374+
1375-
			HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
1375+
1376-
			EMITPOS = HITPOS
1376+
1377
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1378
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1379-
	if HITFLOOR ~= nil then
1379+
1380-
		ApplyAoE(EMITPOS,10)
1380+
1381-
		WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
1381+
1382-
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1382+
1383-
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1383+
1384
	ATTACK = false
1385-
			local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
1385+
1386-
			WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
1386+
1387
1388
--//=================================\\
1389
--||	  ASSIGN THINGS TO KEYS
1390-
function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
1390+
1391
1392-
		local METEOR = IT("Model",Effects)
1392+
1393-
		METEOR.Name = "Meteorite"
1393+
1394-
		local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
1394+
1395-
		METEOR.PrimaryPart = CENTER
1395+
1396-
		local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
1396+
1397-
		PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1397+
1398-
		for i = 1, 15 do
1398+
1399-
			local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
1399+
1400-
			FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1400+
1401
function KeyDown(Key)
1402-
		if ISDEBREE ~= true then
1402+
1403-
			METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
1403+
1404
		Shot()
1405-
			METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
1405+
1406
1407-
		local IMPACT = false
1407+
1408-
		CreateSound(463593339, CENTER, 10, 0.6)
1408+
1409-
		if SIZE >= 3.5 then
1409+
1410-
			for i = 1, MRANDOM(3,7) do
1410+
1411-
				SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
1411+
1412
1413
	if Key == "v" and ATTACK == false then
1414-
		for i = 1, 200 do
1414+
1415
1416-
			local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
1416+
1417-
			if HITFLOOR == nil then
1417+
1418-
				local ORI = CENTER.Orientation
1418+
1419-
				METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
1419+
1420
1421-
				if HITFLOOR.Anchored == true then
1421+
1422-
					CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
1422+
1423-
					CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
1423+
1424
1425-
				IMPACT = true
1425+
1426-
				break
1426+
1427
	end)
1428
	Mouse.Button1Up:connect(function(NEWKEY)
1429-
		if IMPACT == true then
1429+
1430-
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
1430+
1431-
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
1431+
1432-
			WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
1432+
1433-
			ApplyAoE(CENTER.Position,30*SIZE)
1433+
1434
	Mouse.KeyUp:connect(function(NEWKEY)
1435-
		METEOR:remove()
1435+
1436
	end)
1437
1438
--//=================================\\
1439
--\\=================================//
1440
1441
1442
function unanchor()
1443
	if UNANCHOR == true then
1444
		g = Character:GetChildren()
1445
		for i = 1, #g do
1446
			if g[i].ClassName == "Part" then
1447
				g[i].Anchored = false
1448
			end
1449
		end
1450
	end
1451
end
1452
1453
1454
--//=================================\\
1455
--||	WRAP THE WHOLE SCRIPT UP
1456
--\\=================================//
1457
1458
Humanoid.Changed:connect(function(Jump)
1459
	if Jump == "Jump" and (Disable_Jump == true) then
1460
		Humanoid.Jump = false
1461
	end
1462
end)
1463
1464
local CONNECT = nil
1465
1466
while true do
1467
	Swait()
1468
	ANIMATE.Parent = nil
1469
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1470
		Humanoid = IT("Humanoid",Character)
1471
	end
1472
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1473
	    v:Stop();
1474
	end
1475
	SINE = SINE + CHANGE
1476
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1477
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1478
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1479
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1480
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1481
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1482
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1483
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1484
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1485
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1486
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1487
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1488
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1489
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1490
	end
1491
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1492
		ANIM = "Jump"
1493
		if ATTACK == false then
1494
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1495
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1496
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1497
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1498
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1499
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1500
	    end
1501
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1502
		ANIM = "Fall"
1503
		if ATTACK == false then
1504
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1505
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1506
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1507
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1508
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1509
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1510
		end
1511
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1512
		ANIM = "Idle"
1513
		if ATTACK == false then
1514
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
1515
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
1516
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1517
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1518
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1519
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1520
		end
1521
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1522
		ANIM = "Walk"
1523
		if ATTACK == false then
1524
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1525
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1526
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1527
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
1528
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
1529
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
1530
		end
1531
	end
1532
	unanchor()
1533
	Humanoid.MaxHealth = "inf"
1534
	Humanoid.Health = "inf"
1535
	if Rooted == false then
1536
		Disable_Jump = false
1537
		Humanoid.WalkSpeed = Speed
1538
	elseif Rooted == true then
1539
		Disable_Jump = true
1540
		Humanoid.WalkSpeed = 0
1541
	end
1542
	sick.Parent = Torso
1543
	sick:resume()
1544
	sick.Volume = 8.2
1545
	sick.Pitch = 1
1546
	sick.SoundId = "rbxassetid://900318768"
1547
	sick.Name = "Dead"
1548
end
1549
local BODY = {}
1550
LeftArm = char["Left Arm"]
1551
RightLeg = char["Right Leg"]
1552
LeftLeg = char["Left Leg"]
1553-
function Smite()
1553+
for _, c in pairs(char:GetDescendants()) do
1554
    if c:IsA("BasePart") and c.Name ~= "Handle" then
1555
        if c ~= char.HumanoidRootPart and c ~= char.Torso and c ~= char.Head and c ~= char["Right Arm"] and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1556-
	CreateSound(1368573150, RightArm, 3, 1.5)
1556+
            c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1557-
	for i=0, 0.6, 0.1 / Animation_Speed do
1557+
1558
        table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
1559-
		WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1559+
    elseif c:IsA("JointInstance") then
1560-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1560+
        table.insert(BODY,{c,c.Parent,nil,nil,nil})
1561-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
1561+
1562
end
1563-
	local POWER = 0
1563+
1564-
	repeat 
1564+
    if BODY[e] ~= nil then
1565-
		Swait() 
1565+
        local STUFF = BODY[e]
1566-
		WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1566+
        local PART = STUFF[1]
1567-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1567+
        local PARENT = STUFF[2]
1568-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
1568+
        local MATERIAL = STUFF[3]
1569-
		POWER = POWER + 0.5 
1569+
        local TRANSPARENCY = STUFF[5]
1570-
		if POWER >= 85 then
1570+
        if PART.ClassName == "Part" and PART ~= char.HumanoidRootPart then
1571-
			POWER = 85
1571+
            PART.Material = MATERIAL
1572
            PART.Transparency = TRANSPARENCY
1573
        end
1574-
	if POWER < 0.6 then
1574+
        PART.AncestryChanged:Connect(function()
1575-
		SpawnSmite(Mouse.Hit.p)
1575+
            PART.Parent = PARENT
1576
        end)
1577-
		if POWER < 15 then
1577+
1578-
			POWER = 15
1578+
1579
1580-
		SpawnMeteor(Mouse.Hit.p,POWER/15)
1580+
1581
--//====================================================\\--
1582
--||			  		 ANTI DEATH
1583
--\\====================================================//--
1584
char = game.Players.LocalPlayer.Character
1585-
function Taunt()
1585+
RootPart = char.HumanoidRootPart
1586
function refit()
1587
   char.Parent = workspace
1588-
	local TAUNT = true
1588+
    for e = 1, #BODY do
1589-
	for i=0, 0.1, 0.1 / Animation_Speed do
1589+
        if BODY[e] ~= nil then
1590
            local STUFF = BODY[e]
1591-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1591+
            local PART = STUFF[1]
1592-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1592+
            local PARENT = STUFF[2]
1593-
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1593+
            local MATERIAL = STUFF[3]
1594
            local TRANSPARENCY = STUFF[5]
1595-
	for i=0, 3, 0.1 / Animation_Speed do
1595+
            if PART.ClassName == "Part" and PART ~= RootPart then
1596
                PART.Material = MATERIAL
1597-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1597+
                PART.Transparency = TRANSPARENCY
1598-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1598+
            end
1599-
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1599+
            if PART.Parent ~= PARENT then
1600
                char:FindFirstChildOfClass("Humanoid"):remove()
1601-
	CreateSound(363808674, Torso, 10, 1.3)
1601+
                PART.Parent = PARENT
1602
                local Humanoid = Instance.new("Humanoid",char)
1603
            end
1604-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
1604+
1605-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
1605+
1606-
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1606+
1607
char.Humanoid.Name = "nil"
1608-
	WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1608+
char:FindFirstChildOfClass("Humanoid").Died:connect(function()
1609-
	CreateSound(649634100, Torso, 10, 0.8)
1609+
    refit() -- To prevent the player from dieing.
1610-
	for i=0, 0.01, 0.1 / Animation_Speed do
1610+
1611
while true do
1612-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
1612+
wait(0)
1613-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1613+
refit()
1614-
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1614+
1615
1616
1617
1618-
	TAUNT = false
1618+
1619
--//====================================================\\--
1620
--||			  		 END OF SCRIPT
1621
--\\====================================================//--