View difference between Paste ID: qw2MxX5C and JqP4yhnu
SHOW: | | - or go back to the newest paste.
1
script.Name = "Burning Void"
2
--//====================================================\\--
3
--||   EDITED BY INFINITEONEWITHDANK	   CREATED BY SHACKLUSTER
4
--\\====================================================//--
5
6
print("NOTHING XD")
7
8
9
script:ClearAllChildren()
10
wait(0.2)
11
12-
Player = game:GetService("Players").LocalPlayer
12+
Player = game:GetService("Players").andreiek
13
PlayerGui = Player.PlayerGui
14
Cam = workspace.CurrentCamera
15
Backpack = Player.Backpack
16
Character = Player.Character
17
Humanoid = Character.Humanoid
18
Mouse = Player:GetMouse()
19
RootPart = Character["HumanoidRootPart"]
20
Torso = Character["Torso"]
21
Head = Character["Head"]
22
RightArm = Character["Right Arm"]
23
LeftArm = Character["Left Arm"]
24
RightLeg = Character["Right Leg"]
25
LeftLeg = Character["Left Leg"]
26
RootJoint = RootPart["RootJoint"]
27
Neck = Torso["Neck"]
28
RightShoulder = Torso["Right Shoulder"]
29
LeftShoulder = Torso["Left Shoulder"]
30
RightHip = Torso["Right Hip"]
31
LeftHip = Torso["Left Hip"]
32
local TIME = 0
33
local sick = Instance.new("Sound",Torso)
34
35
IT = Instance.new
36
CF = CFrame.new
37
VT = Vector3.new
38
RAD = math.rad
39
C3 = Color3.new
40
UD2 = UDim2.new
41
BRICKC = BrickColor.new
42
ANGLES = CFrame.Angles
43
EULER = CFrame.fromEulerAnglesXYZ
44
COS = math.cos
45
ACOS = math.acos
46
SIN = math.sin
47
ASIN = math.asin
48
ABS = math.abs
49
MRANDOM = math.random
50
FLOOR = math.floor
51
local RWINGS = {}
52
local LWINGS = {}
53
local GunPoint
54
Player_Size = 1
55
56
-- Thingy To Make Song Work
57
58
p = game.Players.LocalPlayer
59
	char = p.Character
60
61-
local plr = game:service'Players'.LocalPlayer
61+
local plr = game:service'Players'.andreiek
62
local char = plr.Character
63
local hum = char.Humanoid
64
local hed = char.Head
65
local root = char.HumanoidRootPart
66
local rootj = root.RootJoint
67
local tors = char.Torso
68
local ra = char["Right Arm"]
69
local la = char["Left Arm"]
70
local rl = char["Right Leg"]
71
local ll = char["Left Leg"]
72
local neck = tors["Neck"]
73
local mouse = plr:GetMouse()
74
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
75
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
76
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
77
local maincolor = BrickColor.new("Alder")
78
exploitable = true
79-
local Player = game.Players.localPlayer
79+
local Player = game.Players.andreiek
80
local Character = Player.Character
81
local Humanoid = Character.Humanoid
82
local Mouse = Player:GetMouse()
83
local LeftArm = Character["Left Arm"]
84
local RightArm = Character["Right Arm"]
85
local LeftLeg = Character["Left Leg"]
86
local RightLeg = Character["Right Leg"]
87
local Head = Character.Head
88
local Torso = Character.Torso
89
---------------------------[[[ LOOPED SONG ]]]--------------------------
90
local s = Instance.new("Sound",char)
91
	s.Name = "BGMusic"
92
	s.SoundId = "rbxassetid://848439234"
93
	s.Pitch = 1
94
	s.Volume = 40
95
	s.Looped = true
96
	s.archivable = false
97
	s.Parent = char.Head
98
	wait(0.1)
99
	s:play()
100
101
-- Rest of Script
102
-- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways.
103
104
--//=================================\\
105
--|| 	      PARTICLES N STUFF
106
--\\=================================//
107
108
local particleemitter = Instance.new('ParticleEmitter', LeftArm)
109
        particleemitter.VelocitySpread = 350
110
        particleemitter.Lifetime = NumberRange.new(1)
111
        particleemitter.Speed = NumberRange.new(0)
112
cringememe= {}
113
for i=0, 19 do
114
  cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
115
end
116
particleemitter.Size = NumberSequence.new(cringememe)
117
        particleemitter.Rate = 20
118
        particleemitter.LockedToPart = true
119
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
120
        particleemitter.LightEmission = 1
121
        particleemitter.Texture = "rbxassetid://332392312"
122
        particleemitter.Color = ColorSequence.new(BrickColor.new("Alder").Color)
123
124
        local particleemitter = Instance.new('ParticleEmitter', Torso)
125
        particleemitter.VelocitySpread = 250
126
        particleemitter.Lifetime = NumberRange.new(3)
127
        particleemitter.Speed = NumberRange.new(1.5)
128
youAreATHOT = {}
129
for i=0, 19 do
130
  youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
131
end
132
particleemitter.Size = NumberSequence.new(youAreATHOT)
133
        particleemitter.Rate = 10
134
        particleemitter.LockedToPart = false
135
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
136
        particleemitter.LightEmission = 1
137
        particleemitter.Texture = "rbxassetid://332392312"
138
        particleemitter.Color = ColorSequence.new(BrickColor.new("Alder").Color)
139
140
        local particleemitter = Instance.new('ParticleEmitter', RightArm)
141
        particleemitter.VelocitySpread = 350
142
        particleemitter.Lifetime = NumberRange.new(1)
143
        particleemitter.Speed = NumberRange.new(0)
144
cringememe2= {}
145
for i=0, 19 do
146
  cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
147
end
148
particleemitter.Size = NumberSequence.new(cringememe2)
149
        particleemitter.Rate = 20
150
        particleemitter.LockedToPart = true
151
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
152
        particleemitter.LightEmission = 1
153
        particleemitter.Texture = "rbxassetid://332392312"
154
        particleemitter.Color = ColorSequence.new(BrickColor.new("Alder").Color)
155
156
        local particleemitter = Instance.new('ParticleEmitter', RightLeg)
157
        particleemitter.VelocitySpread = 350
158
        particleemitter.Lifetime = NumberRange.new(1)
159
        particleemitter.Speed = NumberRange.new(0)
160
cringememe3= {}
161
for i=0, 19 do
162
  cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
163
end
164
particleemitter.Size = NumberSequence.new(cringememe3)
165
        particleemitter.Rate = 30
166
        particleemitter.LockedToPart = true
167
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
168
        particleemitter.LightEmission = 1
169
        particleemitter.Texture = "rbxassetid://332392312"
170
        particleemitter.Color = ColorSequence.new(BrickColor.new("Alder").Color)
171
172
        local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
173
        particleemitter.VelocitySpread = 350
174
        particleemitter.Lifetime = NumberRange.new(1)
175
        particleemitter.Speed = NumberRange.new(0)
176
cringememe4= {}
177
for i=0, 19 do
178
  cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
179
end
180
particleemitter.Size = NumberSequence.new(cringememe4)
181
        particleemitter.Rate = 30
182
        particleemitter.LockedToPart = true
183
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
184
        particleemitter.LightEmission = 1
185
        particleemitter.Texture = "rbxassetid://332392312"
186
        particleemitter.Color = ColorSequence.new(BrickColor.new("Alder").Color)
187
188
--//=================================\\
189
--|| 	      USEFUL VALUES
190
--\\=================================//
191
192
Animation_Speed = 1.5
193
local FORCERESET = false
194
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
195
local Speed = 16
196
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
197
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
198
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
199
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
200
local DAMAGEMULTIPLIER = 1
201
local ANIM = "Idle"
202
local ATTACK = false
203
local EQUIPPED = false
204
local HOLD = false
205
local COMBO = 1
206
local Rooted = false
207
local SINE = 0
208
local KEYHOLD = false
209
local CHANGE = 2 / Animation_Speed
210
local WALKINGANIM = false
211
local VALUE1 = false
212
local VALUE2 = false
213
local ROBLOXIDLEANIMATION = IT("Animation")
214
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
215
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
216
--ROBLOXIDLEANIMATION.Parent = Humanoid
217
local WEAPONGUI = IT("ScreenGui", PlayerGui)
218
WEAPONGUI.Name = "BanishV3Gui"
219
local Weapon = IT("Model")
220
Weapon.Name = "Adds"
221
local Effects = IT("Folder", Weapon)
222
Effects.Name = "Effects"
223
local ANIMATOR = Humanoid.Animator
224
local ANIMATE = Character:FindFirstChild("Animate")
225
local UNANCHOR = true
226
local TOBANISH = {}
227
script.Parent = PlayerGui
228
229
function StatLabel(CFRAME, TEXT, COLOR)
230
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
231
	STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
232
	local BODYGYRO = IT("BodyGyro", STATPART)
233
	game:GetService("Debris"):AddItem(STATPART ,5)
234
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
235
	BILLBOARDGUI.Adornee = STATPART
236
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
237
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
238
	BILLBOARDGUI.AlwaysOnTop = false
239
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
240
	TEXTLABEL.BackgroundTransparency = 1
241
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
242
	TEXTLABEL.Text = TEXT
243
	TEXTLABEL.Font = SKILLFONT
244
	TEXTLABEL.FontSize="Size42"
245
	TEXTLABEL.TextColor3 = COLOR
246
	TEXTLABEL.TextStrokeTransparency = 0
247
	TEXTLABEL.TextScaled = true
248
	TEXTLABEL.TextWrapped = true
249
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
250
		for i = 1, 50 do
251
			Swait()
252
			STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
253
			TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
254
			TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
255
		end
256
		THEPART.Parent = nil
257
	end),STATPART, TEXTLABEL)
258
end
259
260
--//=================================\\
261
--\\=================================//
262
263
264
--//=================================\\
265
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
266
--\\=================================//
267
268
ArtificialHB = Instance.new("BindableEvent", script)
269
ArtificialHB.Name = "ArtificialHB"
270
271
script:WaitForChild("ArtificialHB")
272
273
frame = Frame_Speed
274
tf = 0
275
allowframeloss = false
276
tossremainder = false
277
lastframe = tick()
278
script.ArtificialHB:Fire()
279
280
game:GetService("RunService").Heartbeat:connect(function(s, p)
281
	tf = tf + s
282
	if tf >= frame then
283
		if allowframeloss then
284
			script.ArtificialHB:Fire()
285
			lastframe = tick()
286
		else
287
			for i = 1, math.floor(tf / frame) do
288
				script.ArtificialHB:Fire()
289
			end
290
		lastframe = tick()
291
		end
292
		if tossremainder then
293
			tf = 0
294
		else
295
			tf = tf - frame * math.floor(tf / frame)
296
		end
297
	end
298
end)
299
300
--//=================================\\
301
--\\=================================//
302
303
--//=================================\\
304
--||          SOME TAG EDIT
305
--\\=================================//
306
307-
m = game.Players.LocalPlayer
307+
m = game.Players.andreiek
308
char = m.Character
309
local txt = Instance.new("BillboardGui", char)
310
txt.Adornee = char.Head
311
txt.Name = "_status"
312
txt.Size = UDim2.new(2, 0, 1.2, 0)
313
txt.StudsOffset = Vector3.new(-9, 8, 0)
314
local text = Instance.new("TextLabel", txt)
315
text.Size = UDim2.new(10, 0, 7, 0)
316
text.FontSize = "Size24"
317
text.TextScaled = true
318
text.TextTransparency = 0
319
text.BackgroundTransparency = 1
320
text.TextTransparency = 0
321
text.TextStrokeTransparency = 0
322
text.Font = "Bodoni"
323
text.TextStrokeColor3 = Color3.new(0, 0, 1)
324
v = Instance.new("Part")
325
v.Name = "ColorBrick"
326
v.Parent = m.Character
327
v.FormFactor = "Symmetric"
328
v.Anchored = true
329
v.CanCollide = false
330
v.BottomSurface = "Smooth"
331
v.TopSurface = "Smooth"
332
v.Size = Vector3.new(10, 5, 3)
333
v.Transparency = 1
334
v.CFrame = char.Torso.CFrame
335
v.BrickColor = BrickColor.new("Alder")
336
v.Transparency = 1
337
v.Shape = "Block"
338
spawn(function()
339
local TweenService = game:GetService("TweenService")
340
local Colours = {Color3.fromRGB(0,0,255),Color3.fromRGB(0,0,255),Color3.fromRGB(0,0,255),Color3.fromRGB(0,0,255),Color3.fromRGB(0,0,255),Color3.fromRGB(0,0,255),Color3.fromRGB(0,0,255),Color3.fromRGB(0,0,255)}
341
local Int = 0
342
while wait(0.5) do
343
    if Int == #Colours then Int = 0 end
344
    Int = Int+1
345
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
346
end
347
end)
348
text.Text = "Am The Burning Void"
349
        wait(2)
350
        text.Text = "I Came Here For..."
351
        wait(3)
352-
	text.Text = "DESTROY ALL WORLD"
352+
	text.Text = "TO SUB 2 PEW"
353
        wait(2)
354
text.Text = "Burning Void"
355
356
--//=================================\\
357
--\\=================================//
358
359
--//=================================\\
360
--|| 	      SOME FUNCTIONS
361
--\\=================================//
362
363
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
364
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
365
end
366
367
function PositiveAngle(NUMBER)
368
	if NUMBER >= 0 then
369
		NUMBER = 0
370
	end
371
	return NUMBER
372
end
373
374
function NegativeAngle(NUMBER)
375
	if NUMBER <= 0 then
376
		NUMBER = 0
377
	end
378
	return NUMBER
379
end
380
381
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
382
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
383
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
384
	wave.CFrame = CFRAME
385
	coroutine.resume(coroutine.create(function(PART)
386
		for i = 1, WAIT do
387
			Swait()
388
			mesh.Scale = mesh.Scale + GROW
389
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
390
			if DOESROT == true then
391
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
392
			end
393
			wave.Transparency = wave.Transparency + 0.5 / WAIT
394
			if wave.Transparency > 0.99 then
395
				wave:remove()
396
			end
397
		end
398
	end))
399
end
400
401
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
402
	for _, c in pairs(PARENT:GetChildren()) do
403
		if c.ClassName == "Model" then
404
			if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
405
				local HUMANOID = c:FindFirstChildOfClass("Humanoid")
406
				local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
407
				if DIST > (TORSO.Position - FROM).Magnitude then
408
					table.insert(TABLE, c)
409
				end
410
				AddChildrenToTable(FROM, c, DIST, TABLE)
411
			elseif c.ClassName == "Folder" then
412
				AddChildrenToTable(FROM, c, DIST, TABLE)
413
			end
414
		end
415
	end
416
end
417
418
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
419
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
420
	local mesh
421
	if KIND == "Base" then
422
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
423
	elseif KIND == "Thin" then
424
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
425
	elseif KIND == "Round" then
426
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
427
	end
428
	wave.CFrame = CFRAME
429
	coroutine.resume(coroutine.create(function(PART)
430
		for i = 1, WAIT do
431
			Swait()
432
			mesh.Scale = mesh.Scale + GROW / 10
433
			wave.Transparency = wave.Transparency + 0.5 / WAIT
434
			if wave.Transparency > 0.99 then
435
				wave:remove()
436
			end
437
		end
438
	end))
439
end
440
441
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
442
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
443
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
444
	wave.CFrame = CFRAME
445
	coroutine.resume(coroutine.create(function(PART)
446
		for i = 1, WAIT do
447
			Swait()
448
			mesh.Scale = mesh.Scale + GROW
449
			wave.Transparency = wave.Transparency + 1 / WAIT
450
			if wave.Transparency > 0.99 then
451
				wave:remove()
452
			end
453
		end
454
	end))
455
end
456
457
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
458
	local TORSO = Torso
459
	local HUM = Humanoid
460
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
461
		coroutine.wrap(function()
462
			VT = Vector3.new
463
			MRANDOM = math.random
464
			local A = TIME
465
			local B = INTENSITY
466
			local C = true
467
			local HUMANOID = Humanoid
468
			local TIMER = A or 35
469
			local SHAKE = B or 5
470
			local FADE = C or true
471
			if HUMANOID then
472
				local FADER = SHAKE / TIMER
473
				for i = 1, TIMER do
474
					wait()
475
					HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
476
				end
477
				HUMANOID.CameraOffset = VT(0, 0, 0)
478
			end
479
480
		end)()
481
	end
482
end
483
484
function Effect(data)
485
	local FX = data.Effect or 'ResizeAndFade'
486
	local Parent = data.Parent or Effects
487
	local Color = data.Color or C3.N(0,0,255)
488
	local Size = data.Size or V3.N(1,1,1)
489
	local MoveDir = data.MoveDirection or nil
490
	local MeshData = data.Mesh or nil
491
	local SndData = data.Sound or nil
492
	local Frames = data.Frames or 45
493
	local Manual = data.Manual or nil
494
	local Material = data.Material or nil
495
	local CFra = data.CFrame or Torso.CFrame
496
	local Settings = data.FXSettings or {}
497
	local Snd,Prt,Msh;
498
	local Shape = data.Shape or Enum.PartType.Block
499
	coroutine.resume(coroutine.create(function()
500
		if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
501
			Prt = Manual
502
		else
503
			Prt = Part(Parent,Color,Material,Size,CFra,true,false)
504
			Prt.Shape = Shape
505
		end
506
		if(typeof(MeshData) == 'table')then
507
			Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
508
		elseif(typeof(MeshData) == 'Instance')then
509
			Msh = MeshData:Clone()
510
			Msh.Parent = Prt
511
		elseif(Shape == Enum.PartType.Block)then
512
			Msh = Mesh(Prt,Enum.MeshType.Brick)
513
		end
514
		if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
515
			Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
516
		end
517
		if(Snd)then
518
			repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
519
			Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
520
		end
521
		local MoveSpeed = nil;
522
		if(MoveDir)then
523
			MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
524
		end
525
		local Inc = M.RNG()-M.RNG()
526
		local Thingie = 0
527
		local Thingie2 = M.RNG(50,100)/100
528
		if(FX ~= 'Arc')then
529
			for i = 1, Frames do
530
				if(swait and typeof(swait) == 'function')then
531
					swait()
532
				else
533
					wait()
534
				end
535
				if(FX == 'ResizeAndFade')then
536
					if(not Settings.EndSize)then
537
						Settings.EndSize = V3.N(0,0,0)
538
					end
539
					local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
540
					if(Settings.EndIsIncrement)then
541
						Prt.Size = Prt.Size + Settings.EndSize					
542
					else
543
						Prt.Size = Prt.Size - grow/Frames
544
					end 
545
					Prt.Transparency = (i/Frames)
546
				elseif(FX == 'Fade')then
547
					Prt.Transparency = (i/Frames)
548
				end
549
				
550
				if(Settings.RandomizeCFrame)then
551
					Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
552
				end
553
				if(MoveDir and MoveSpeed)then
554
					local Orientation = Prt.Orientation
555
					Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
556
					Prt.Orientation = Orientation
557
				end
558
			end
559
			Prt:destroy() 
560
		else
561
			local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
562
			if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
563
			local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
564
			local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
565
			assert(start ~= nil,"You need to specify a start point!")
566
			assert(endP ~= nil,"You need to specify an end point!")
567
			for i = 0, 1, Settings.Speed or 0.01 do
568
				if(swait and typeof(swait) == 'function')then
569
					swait()
570
				else
571
					wait()
572
				end
573
				if(Settings.Home)then
574
					endP = Settings.Home.CFrame
575
				end
576
				Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
577
			end
578
			if(Settings.RemoveOnGoal)then
579
				Prt:destroy()
580
			end
581
		end
582
	end))
583
	return Prt,Msh,Snd
584
end
585
586
function RightWing()
587
	for i = 1, 2 do
588
		local PART
589
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.5, 0.5, 0.5), false)
590
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0))
591
		table.insert(RWINGS, WingWeld)
592
		PART = Wing
593
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "LargeWing", VT(1, 1.7, 1), false)
594
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
595
		PART = Wing
596
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.5, 0.5, 0.5), false)
597
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
598
		local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Alder", "WingPart", VT(1, 0.2, 0.51), false)
599
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
600
		PART = Wing
601
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.2, 0.5, 0.2), false)
602
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
603
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.8, 0.15, 0.15), false)
604
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
605
		local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Alder", "WingPart", VT(0.25, 0.2, 0.25), false)
606
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
607
		PART = Wing
608
		table.insert(RWINGS, WingWeld)
609
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.4, 0.5, 0.4), false)
610
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
611
		local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Alder", "WingPart", VT(0.45, 0.2, 0.45), false)
612
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
613
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 0.15, 0.15), false)
614
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
615
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 0.1, 0.1), false)
616
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
617
		PART = Wing
618
		table.insert(RWINGS, WingWeld)
619
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.2, 0.5, 0.2), false)
620
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
621
		PART = Wing
622
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.5, 0.5, 0.5), false)
623
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
624
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 0.3, 0.3), false)
625
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
626
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 0.2, 0.2), false)
627
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
628
		PART = Wing
629
		table.insert(RWINGS, WingWeld)
630
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 1, 1), false)
631
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
632
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.3, 0.3, 0.3), false)
633
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
634
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.7, 0.7, 0.7), false)
635
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
636
		local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "WingPart", VT(0.45, 0.45, 0.45), false)
637
		table.insert(EYES, Wing1)
638
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
639
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 0.1, 0.1), false)
640
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
641
		PART = Wing
642
		table.insert(RWINGS, WingWeld)
643
	end
644
	BODY = {}
645
	for _, c in pairs(Character:GetDescendants()) do
646
		if c:IsA("BasePart") then
647
			table.insert(BODY, {
648
				c,
649
				c.Parent,
650
				c.Material,
651
				c.Color
652
			})
653
		elseif c:IsA("JointInstance") then
654
			table.insert(BODY, {
655
				c,
656
				c.Parent,
657
				nil,
658
				nil
659
			})
660
		end
661
	end
662
end
663
function LeftWing()
664
	for i = 1, 2 do
665
		local PART
666
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.5, 0.5, 0.5), false)
667
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0))
668
		table.insert(LWINGS, WingWeld)
669
		PART = Wing
670
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "LargeWing", VT(1, 1.7, 1), false)
671
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
672
		PART = Wing
673
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.5, 0.5, 0.5), false)
674
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
675
		local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Alder", "WingPart", VT(1, 0.2, 0.51), false)
676
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
677
		PART = Wing
678
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.2, 0.5, 0.2), false)
679
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
680
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.8, 0.15, 0.15), false)
681
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
682
		local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Alder", "WingPart", VT(0.25, 0.2, 0.25), false)
683
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
684
		PART = Wing
685
		table.insert(LWINGS, WingWeld)
686
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.4, 0.5, 0.4), false)
687
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
688
		local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Alder", "WingPart", VT(0.45, 0.2, 0.45), false)
689
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
690
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 0.15, 0.15), false)
691
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
692
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 0.1, 0.1), false)
693
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
694
		PART = Wing
695
		table.insert(LWINGS, WingWeld)
696
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.2, 0.5, 0.2), false)
697
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
698
		PART = Wing
699
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.5, 0.5, 0.5), false)
700
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
701
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 0.3, 0.3), false)
702
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
703
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 0.2, 0.2), false)
704
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
705
		PART = Wing
706
		table.insert(LWINGS, WingWeld)
707
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 1, 1), false)
708
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
709
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.3, 0.3, 0.3), false)
710
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
711
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(0.7, 0.7, 0.7), false)
712
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
713
		local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "WingPart", VT(0.45, 0.45, 0.45), false)
714
		table.insert(EYES, Wing1)
715
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
716
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Alder", "WingPart", VT(1, 0.1, 0.1), false)
717
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
718
		PART = Wing
719
		table.insert(LWINGS, WingWeld)
720
	end
721
	BODY = {}
722
	for _, c in pairs(Character:GetDescendants()) do
723
		if c:IsA("BasePart") then
724
			table.insert(BODY, {
725
				c,
726
				c.Parent,
727
				c.Material,
728
				c.Color
729
			})
730
		elseif c:IsA("JointInstance") then
731
			table.insert(BODY, {
732
				c,
733
				c.Parent,
734
				nil,
735
				nil
736
			})
737
		end
738
	end
739
end
740
741
function Swait(NUMBER)
742
	if NUMBER == 0 or NUMBER == nil then
743
		ArtificialHB.Event:wait()
744
	else
745
		for i = 1, NUMBER do
746
			ArtificialHB.Event:wait()
747
		end
748
	end
749
end
750
751
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
752
	local NEWMESH = IT(MESH)
753
	if MESH == "SpecialMesh" then
754
		NEWMESH.MeshType = MESHTYPE
755
		if MESHID ~= "nil" and MESHID ~= "" then
756
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
757
		end
758
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
759
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
760
		end
761
	end
762
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
763
	NEWMESH.Scale = SCALE
764
	NEWMESH.Parent = PARENT
765
	return NEWMESH
766
end
767
768
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
769
	local NEWPART = IT("Part")
770
	NEWPART.formFactor = FORMFACTOR
771
	NEWPART.Reflectance = REFLECTANCE
772
	NEWPART.Transparency = TRANSPARENCY
773
	NEWPART.CanCollide = false
774
	NEWPART.Locked = true
775
	NEWPART.Anchored = true
776
	if ANCHOR == false then
777
		NEWPART.Anchored = false
778
	end
779
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
780
	NEWPART.Name = NAME
781
	NEWPART.Size = SIZE
782
	NEWPART.Position = Torso.Position
783
	NEWPART.Material = MATERIAL
784
	NEWPART:BreakJoints()
785
	NEWPART.Parent = PARENT
786
	return NEWPART
787
end
788
789
	local function weldBetween(a, b)
790
	    local weldd = Instance.new("ManualWeld")
791
	    weldd.Part0 = a
792
	    weldd.Part1 = b
793
	    weldd.C0 = CFrame.new()
794
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
795
	    weldd.Parent = a
796
	    return weldd
797
	end
798
799
800
function QuaternionFromCFrame(cf)
801
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
802
	local trace = m00 + m11 + m22
803
	if trace > 0 then 
804
		local s = math.sqrt(1 + trace)
805
		local recip = 0.5 / s
806
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
807
	else
808
		local i = 0
809
		if m11 > m00 then
810
			i = 1
811
		end
812
		if m22 > (i == 0 and m00 or m11) then
813
			i = 2
814
		end
815
		if i == 0 then
816
			local s = math.sqrt(m00 - m11 - m22 + 1)
817
			local recip = 0.5 / s
818
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
819
		elseif i == 1 then
820
			local s = math.sqrt(m11 - m22 - m00 + 1)
821
			local recip = 0.5 / s
822
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
823
		elseif i == 2 then
824
			local s = math.sqrt(m22 - m00 - m11 + 1)
825
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
826
		end
827
	end
828
end
829
 
830
function QuaternionToCFrame(px, py, pz, x, y, z, w)
831
	local xs, ys, zs = x + x, y + y, z + z
832
	local wx, wy, wz = w * xs, w * ys, w * zs
833
	local xx = x * xs
834
	local xy = x * ys
835
	local xz = x * zs
836
	local yy = y * ys
837
	local yz = y * zs
838
	local zz = z * zs
839
	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))
840
end
841
 
842
function QuaternionSlerp(a, b, t)
843
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
844
	local startInterp, finishInterp;
845
	if cosTheta >= 0.0001 then
846
		if (1 - cosTheta) > 0.0001 then
847
			local theta = ACOS(cosTheta)
848
			local invSinTheta = 1 / SIN(theta)
849
			startInterp = SIN((1 - t) * theta) * invSinTheta
850
			finishInterp = SIN(t * theta) * invSinTheta
851
		else
852
			startInterp = 1 - t
853
			finishInterp = t
854
		end
855
	else
856
		if (1 + cosTheta) > 0.0001 then
857
			local theta = ACOS(-cosTheta)
858
			local invSinTheta = 1 / SIN(theta)
859
			startInterp = SIN((t - 1) * theta) * invSinTheta
860
			finishInterp = SIN(t * theta) * invSinTheta
861
		else
862
			startInterp = t - 1
863
			finishInterp = t
864
		end
865
	end
866
	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
867
end
868
869
function Clerp(a, b, t)
870
	local qa = {QuaternionFromCFrame(a)}
871
	local qb = {QuaternionFromCFrame(b)}
872
	local ax, ay, az = a.x, a.y, a.z
873
	local bx, by, bz = b.x, b.y, b.z
874
	local _t = 1 - t
875
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
876
end
877
878
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
879
	local frame = IT("Frame")
880
	frame.BackgroundTransparency = TRANSPARENCY
881
	frame.BorderSizePixel = BORDERSIZEPIXEL
882
	frame.Position = POSITION
883
	frame.Size = SIZE
884
	frame.BackgroundColor3 = COLOR
885
	frame.BorderColor3 = BORDERCOLOR
886
	frame.Name = NAME
887
	frame.Parent = PARENT
888
	return frame
889
end
890
891
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
892
local type = type
893
local rng = Instance.new("Part", char)
894
        rng.Anchored = true
895
        rng.BrickColor = color
896
        rng.CanCollide = false
897
        rng.FormFactor = 3
898
        rng.Name = "Ring"
899
        rng.Material = "Neon"
900
        rng.Size = Vector3.new(1, 1, 1)
901
        rng.Transparency = 0
902
        rng.TopSurface = 0
903
        rng.BottomSurface = 0
904
        rng.CFrame = pos
905
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
906
        local rngm = Instance.new("SpecialMesh", rng)
907
        rngm.MeshType = "Brick"
908
rngm.Scale = VT(x1,y1,z1)
909
if rainbowmode == true then
910
rng.Color = Color3.new(r/255,g/255,b/255)
911
end
912
local scaler2 = 1
913
local speeder = FastSpeed/10
914
if type == "Add" then
915
scaler2 = 1*value
916
elseif type == "Divide" then
917
scaler2 = 1/value
918
end
919
coroutine.resume(coroutine.create(function()
920
for i = 0,10/bonuspeed,0.1 do
921
swait()
922
if type == "Add" then
923
scaler2 = scaler2 - 0.01*value/bonuspeed
924
elseif type == "Divide" then
925
scaler2 = scaler2 - 0.01/value*bonuspeed
926
end
927
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
928
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
929
rng.Transparency = rng.Transparency + 0.01*bonuspeed
930
end
931
rng:Destroy()
932
end))
933
end
934
935
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
936
	local label = IT("TextLabel")
937
	label.BackgroundTransparency = 1
938
	label.Size = UD2(1, 0, 1, 0)
939
	label.Position = UD2(0, 0, 0, 0)
940
	label.TextColor3 = TEXTCOLOR
941
	label.TextStrokeTransparency = STROKETRANSPARENCY
942
	label.TextTransparency = TRANSPARENCY
943
	label.FontSize = TEXTFONTSIZE
944
	label.Font = TEXTFONT
945
	label.BorderSizePixel = BORDERSIZEPIXEL
946
	label.TextScaled = false
947
	label.Text = TEXT
948
	label.Name = NAME
949
	label.Parent = PARENT
950
	return label
951
end
952
953
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
954
    local type = type
955
    local rng = Instance.new("Part", char)
956
    rng.Anchored = true
957
    rng.BrickColor = color
958
    rng.CanCollide = false
959
    rng.FormFactor = 3
960
    rng.Name = "Ring"
961
    rng.Material = "Neon"
962
    rng.Size = Vector3.new(1, 1, 1)
963
    rng.Transparency = 0
964
    rng.TopSurface = 0
965
    rng.BottomSurface = 0
966
    rng.CFrame = pos
967
    rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
968
    local rngm = Instance.new("SpecialMesh", rng)
969
    rngm.MeshType = MType
970
    rngm.Scale = Vector3.new(x1, y1, z1)
971
    local scaler2 = 1
972
    local speeder = FastSpeed
973
    if type == "Add" then
974
        scaler2 = 1 * value
975
    elseif type == "Divide" then
976
        scaler2 = 1 / value
977
    end
978
    coroutine.resume(coroutine.create(function()
979
        for i = 0, 10 / bonuspeed, 0.1 do
980
            swait()
981
            if type == "Add" then
982
                scaler2 = scaler2 - 0.01 * value / bonuspeed
983
            elseif type == "Divide" then
984
                scaler2 = scaler2 - 0.01 / value * bonuspeed
985
            end
986
            speeder = speeder - 0.01 * FastSpeed * bonuspeed
987
            rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
988
            rng.Transparency = rng.Transparency + 0.01 * bonuspeed
989
            rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
990
        end
991
        rng:Destroy()
992
    end))
993
end
994
995
function NoOutlines(PART)
996
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
997
end
998
999
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
1000
	local NEWWELD = IT(TYPE)
1001
	NEWWELD.Part0 = PART0
1002
	NEWWELD.Part1 = PART1
1003
	NEWWELD.C0 = C0
1004
	NEWWELD.C1 = C1
1005
	NEWWELD.Parent = PARENT
1006
	return NEWWELD
1007
end
1008
1009
local S = IT("Sound")
1010
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
1011
	local NEWSOUND = nil
1012
	coroutine.resume(coroutine.create(function()
1013
		NEWSOUND = S:Clone()
1014
		NEWSOUND.Parent = PARENT
1015
		NEWSOUND.Volume = VOLUME
1016
		NEWSOUND.Pitch = PITCH
1017
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
1018
		NEWSOUND:play()
1019
		if DOESLOOP == true then
1020
			NEWSOUND.Looped = true
1021
		else
1022
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
1023
			NEWSOUND:remove()
1024
		end
1025
	end))
1026
	return NEWSOUND
1027
end
1028
1029
function CFrameFromTopBack(at, top, back)
1030
	local right = top:Cross(back)
1031
	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)
1032
end
1033
1034
--Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
1035
function Lightning(Table)
1036
	local Color = Table.Color or C3(0,0,255)
1037
	local StartPos = Table.Start or Torso.Position
1038
	local EndPos = Table.End or Mouse.Hit.p
1039
	local SegmentLength = Table.SegmentL or 2
1040
	local Thickness = Table.Thickness or 0.1
1041
	local Dissapear = Table.DoesFade or false
1042
	local Parent = Table.Ignore or Character
1043
	local MaxDist = Table.MaxDist or 400
1044
	local Branches = Table.Branches or false
1045
	local Thicken = Table.Thicken or false
1046
	local FadeTime = Table.FadeTime or 15
1047
	local FadeIn = Table.FadeIn or false
1048
	local Material = Table.Material or "Neon"
1049
	local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
1050
	local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
1051
	local LIGHTNINGMODEL = IT("Model",Effects)
1052
	LIGHTNINGMODEL.Name = "Lightning"
1053
	local LastBolt = nil
1054
	for E = 1, DISTANCE do
1055
		local ExtraSize = 0
1056
		if Thicken == true then
1057
			ExtraSize = (DISTANCE-E)/15
1058
		end
1059
		local TRANSPARENCY = 0
1060
		if FadeIn == true then
1061
			TRANSPARENCY = 1-(E/(DISTANCE/1.5))
1062
			if TRANSPARENCY < 0 then
1063
				TRANSPARENCY = 0
1064
			end
1065
		end
1066
		local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
1067
		PART.Color = Color
1068
		MakeForm(PART,"Cyl")
1069
		if LastBolt == nil then
1070
			PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1071
		else
1072
			PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1073
		end
1074
		LastBolt = PART
1075
		if Branches == true and E < (DISTANCE-5) then
1076
			local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
1077
			if CHOICE == 1 then
1078
				local LASTBRANCH = nil
1079
				for i = 1, MRANDOM(2,5) do
1080
					local ExtraSize2 = 0
1081
					if Thicken == true then
1082
						ExtraSize = ((DISTANCE-E)/25)/i
1083
					end
1084
					local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
1085
					PART.Color = Color
1086
					MakeForm(PART,"Cyl")
1087
					if LASTBRANCH == nil then
1088
						PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1089
					else
1090
						PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1091
					end
1092
					LASTBRANCH = PART
1093
				end
1094
			end
1095
		end
1096
	end
1097
	if Dissapear == true then
1098
		coroutine.resume(coroutine.create(function()
1099
			for i = 1, FadeTime do
1100
				Swait()
1101
				for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
1102
					if c.ClassName == "Part" then
1103
						c.Transparency = c.Transparency + (i/FadeTime)/10
1104
					end
1105
				end
1106
			end
1107
			LIGHTNINGMODEL:remove()
1108
		end))
1109
	elseif Dissapear == false then
1110
		Debris:AddItem(LIGHTNINGMODEL,0.1)
1111
	end
1112
	return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
1113
end
1114
1115
--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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1116
function WACKYEFFECT(Table)
1117
	local TYPE = (Table.EffectType or "Sphere")
1118
	local SIZE = (Table.Size or VT(6,6,6))
1119
	local ENDSIZE = (Table.Size2 or VT(7,7,7))
1120
	local TRANSPARENCY = (Table.Transparency or 0)
1121
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1122
	local CFRAME = (Table.CFrame or Torso.CFrame)
1123
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1124
	local ROTATION1 = (Table.RotationX or 0)
1125
	local ROTATION2 = (Table.RotationY or 0)
1126
	local ROTATION3 = (Table.RotationZ or 0)
1127
	local MATERIAL = "Neon"
1128
	local COLOR = color
1129
	local TIME = (Table.Time or 45)
1130
	local SOUNDID = (Table.SoundID or nil)
1131
	local SOUNDPITCH = (Table.SoundPitch or nil)
1132
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1133
	coroutine.resume(coroutine.create(function()
1134
		local PLAYSSOUND = false
1135
		local SOUND = nil
1136
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1137
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1138
			PLAYSSOUND = true
1139
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1140
		end
1141
		EFFECT.Color = color
1142
		local MSH = nil
1143
		if TYPE == "Sphere" then
1144
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1145
		elseif TYPE == "Block" then
1146
			MSH = IT("BlockMesh",EFFECT)
1147
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1148
		elseif TYPE == "Wave" then
1149
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1150
		elseif TYPE == "Ring" then
1151
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1152
		elseif TYPE == "Slash" then
1153
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1154
		elseif TYPE == "Round Slash" then
1155
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1156
		elseif TYPE == "Swirl" then
1157
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1158
		elseif TYPE == "Skull" then
1159
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1160
		elseif TYPE == "Crystal" then
1161
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1162
		end
1163
		if MSH ~= nil then
1164
			local MOVESPEED = nil
1165
			if MOVEDIRECTION ~= nil then
1166
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1167
			end
1168
			local GROWTH = SIZE - ENDSIZE
1169
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1170
			if TYPE == "Block" then
1171
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1172
			else
1173
				EFFECT.CFrame = CFRAME
1174
			end
1175
			for LOOP = 1, TIME+1 do
1176
				Swait()
1177
				MSH.Scale = MSH.Scale - GROWTH/TIME
1178
				if TYPE == "Wave" then
1179
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1180
				end
1181
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1182
				if TYPE == "Block" then
1183
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1184
				else
1185
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1186
				end
1187
				if MOVEDIRECTION ~= nil then
1188
					local ORI = EFFECT.Orientation
1189
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1190
					EFFECT.Orientation = ORI
1191
				end
1192
			end
1193
			if PLAYSSOUND == false then
1194
				EFFECT:remove()
1195
			else
1196
				SOUND.Stopped:Connect(function()
1197
					EFFECT:remove()
1198
				end)
1199
			end
1200
		else
1201
			if PLAYSSOUND == false then
1202
				EFFECT:remove()
1203
			else
1204
				repeat Swait() until SOUND.Playing == false
1205
				EFFECT:remove()
1206
			end
1207
		end
1208
	end))
1209
end
1210
function MakeForm(PART,TYPE)
1211
	if TYPE == "Cyl" then
1212
		local MSH = IT("CylinderMesh",PART)
1213
	elseif TYPE == "Ball" then
1214
		local MSH = IT("SpecialMesh",PART)
1215
		MSH.MeshType = "Sphere"
1216
	elseif TYPE == "Wedge" then
1217
		local MSH = IT("SpecialMesh",PART)
1218
		MSH.MeshType = "Wedge"
1219
	end
1220
end
1221
function SpawnTrail(FROM,TO,BIG)
1222
    local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
1223
    MakeForm(TRAIL,"Cyl")
1224
    local DIST = (FROM - TO).Magnitude
1225
    if BIG == true then
1226
        TRAIL.Size = VT(0.5,DIST,0.5)
1227
    else
1228
        TRAIL.Size = VT(0.25,DIST,0.25)
1229
    end
1230
    TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1231
    coroutine.resume(coroutine.create(function()
1232
        for i = 1, 5 do
1233
            Swait()
1234
            TRAIL.Transparency = TRAIL.Transparency + 0.1
1235
        end
1236
        TRAIL:remove()
1237
    end))
1238
end
1239
 
1240
Debris = game:GetService("Debris")
1241
1242
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1243
	local DIRECTION = CF(StartPos,EndPos).lookVector
1244
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1245
end
1246
1247
function turnto(position)
1248
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1249
end
1250
Circle = nil
1251
CircleParts = {}
1252
Equipped = false
1253
 
1254
function RayCast(Position, Direction, MaxDistance, IgnoreList)
1255
    return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
1256
end
1257
1258
    Equipped = true
1259
    Circle = Instance.new("Model")
1260
    Circle.Name = "Circle"
1261
    Angle = 0
1262
    for i = 1, 1 do
1263
        local CirclePart = Instance.new("Part")
1264
        CirclePart.Name = "CirclePart"
1265
        CirclePart.Transparency = 1
1266
        CirclePart.BrickColor = BrickColor.new("Deep orange")
1267
        CirclePart.Material = Enum.Material.Plastic
1268
        CirclePart.Shape = Enum.PartType.Block
1269
        CirclePart.FormFactor = Enum.FormFactor.Custom
1270
        CirclePart.TopSurface = Enum.SurfaceType.Smooth
1271
        CirclePart.BottomSurface = Enum.SurfaceType.Smooth
1272
        CirclePart.Anchored = true
1273
        CirclePart.CanCollide = false
1274
        CirclePart.Locked = true
1275
        CirclePart.Size = Vector3.new(10, 0.2, 10)
1276
        local Aura = Instance.new('ParticleEmitter')
1277
Aura.Name = "Aura"
1278
Aura.Texture = "rbxassetid://332392312"
1279
Aura.Parent = CirclePart
1280
Aura.LightEmission = 0
1281
Aura.Transparency = NumberSequence.new(0.2,0.4,1)
1282
Aura.Color = ColorSequence.new(Color3.new(0,0,255),Color3.new(0,0,255))
1283
Aura.Size = NumberSequence.new(0.9,0.5,0.3)
1284
Aura.LockedToPart = false
1285
Aura.Lifetime = NumberRange.new(1)
1286
Aura.Rate = 50
1287
Aura.Speed = NumberRange.new(2.5)
1288
Aura.SpreadAngle = Vector2.new(80,80)
1289
        local BlockMesh = Instance.new("BlockMesh")
1290
        BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
1291
        BlockMesh.Parent = CirclePart
1292
        CirclePart.Parent = Circle
1293
        local Star = Instance.new("Decal", CirclePart)
1294
        Star.Texture = "http://www.roblox.com/asset/?id=332392312"
1295
        Star.Face = "Top"
1296
        local Light = Instance.new("PointLight", CirclePart)
1297
        Light.Color = Color3.new(0,0,255)
1298
        Light.Brightness = 100
1299
        Light.Range = 15
1300
        table.insert(CircleParts, CirclePart)
1301
    end
1302
    Spawn(function()
1303
        while Equipped and Humanoid.Parent and Torso.Parent do
1304
            if Angle == 360 then
1305
                Angle = 0
1306
            end
1307
            Angle = Angle + 0.05
1308
            local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
1309
            if Hit then
1310
                if not Circle.Parent then
1311
                    Circle.Parent = Character
1312
                end
1313
                for i, v in pairs(CircleParts) do
1314
                    v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
1315
                end
1316
            else
1317
                Circle.Parent = nil
1318
            end
1319
            wait()
1320
        end
1321
    end)
1322
--//=================================\\
1323
--||	     WEAPON CREATION
1324
--\\=================================//
1325
local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
1326
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(-15)), CF(0, 0, 0))
1327
local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false)
1328
CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1329
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Light", VT(0.35,1.4,0.35),false)
1330
CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1331
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
1332
CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1333
 
1334
local DECAL = IT("Decal",Part)
1335
DECAL.Texture = "http://www.roblox.com/asset/?id=332392312"
1336
DECAL.Face = "Top"
1337
 
1338
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
1339
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1340
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
1341
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
1342
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
1343
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
1344
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
1345
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1346
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Eon", VT(0.5,0.5,1.25),false)
1347
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1348
--------------------------------------------------------------------------
1349
---------------------------------------
1350
local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
1351
1352
for i = 1, 35 do
1353
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
1354
	FACE.Color = C3(0,0,255)
1355
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
1356
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
1357
end
1358
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Alder", "Eye", VT(0.6,0.1,1)/2,false)
1359
MakeForm(Eye,"Ball")
1360
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1361
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Alder", "Eye", VT(0.6,0.1,1)/2,false)
1362
MakeForm(Eye,"Ball")
1363
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1364
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Alder", "Eye", VT(0.1,1,1)/2,false)
1365
MakeForm(Eye,"Ball")
1366
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1367
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Alder", "Eye", VT(0.1,1,1)/2,false)
1368
MakeForm(Eye,"Ball")
1369
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1370
1371
local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Alder", "Eon", VT(0.5,0.5,1.25),false)
1372
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1373
1374
local Particle = IT("ParticleEmitter",nil)
1375
Particle.Enabled = false
1376
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
1377
Particle.LightEmission = 0.5
1378
Particle.Rate = 150
1379
Particle.ZOffset = 0.2
1380
Particle.Rotation = NumberRange.new(-180, 180)
1381
Particle.RotSpeed = NumberRange.new(-180, 180)
1382
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1383
Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255),C3(0,0,255),C3(0,0,255),C3(0,0,255),C3(0,0,255),C3(0,0,255),C3(0,0,255))
1384
1385
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1386
function ParticleEmitter(Table)
1387
	local PRTCL = Particle:Clone()
1388
	local Speed = Table.Speed or 5
1389
	local Drag = Table.Drag or 0
1390
	local Size1 = Table.Size1 or 1
1391
	local Size2 = Table.Size2 or 5
1392
	local Lifetime1 = Table.Lifetime1 or 1
1393
	local Lifetime2 = Table.Lifetime2 or 1.5
1394
	local Parent = Table.Parent or Torso
1395
	local Emit = Table.Emit or 100
1396
	local Offset = Table.Offset or 360
1397
	local Acel = Table.Acel or VT(0,0,0)
1398
	local Enabled = Table.Enabled or false
1399
	PRTCL.Parent = Parent
1400
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1401
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1402
	PRTCL.Speed = NumberRange.new(Speed)
1403
	PRTCL.VelocitySpread = Offset
1404
	PRTCL.Drag = Drag
1405
	PRTCL.Acceleration = Acel
1406
	if Enabled == false then
1407
		PRTCL:Emit(Emit)
1408
		Debris:AddItem(PRTCL,Lifetime2)
1409
	else
1410
		PRTCL.Enabled = true
1411
	end
1412
	return PRTCL
1413
end
1414
1415
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.2,0.6,0.2),false)
1416
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1417
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.2,0.5,0.2),false)
1418
MakeForm(Part,"Wedge")
1419
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1420
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.2,0.3,0.2),false)
1421
MakeForm(Part,"Wedge")
1422
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1423
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.3,0.3,0.3),false)
1424
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1425
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.3,0.5,0.5),false)
1426
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1427
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.4,0.4,0.4),false)
1428
MakeForm(Part,"Cyl")
1429
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1430
for i = 1, 8 do
1431
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Eye", VT(0,0.35,0.41),false)
1432
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1433
end
1434
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Eye", VT(0.38,0.41,0.38),false)
1435
MakeForm(Part,"Cyl")
1436
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1437
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.37,0.5,0.37),false)
1438
MakeForm(Part,"Ball")
1439
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1440
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.2,0.7,0.4),false)
1441
MakeForm(Part,"Wedge")
1442
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1443
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.3,0.4,0.2),false)
1444
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1445
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.35,0.35,0.35),false)
1446
MakeForm(Part,"Cyl")
1447
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1448
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.5,0.1,0.5),false)
1449
MakeForm(Part,"Cyl")
1450
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1451
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.5,0.1,0.45),false)
1452
MakeForm(Part,"Cyl")
1453
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1454
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.2,0.5,0.2),false)
1455
MakeForm(Part,"Wedge")
1456
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1457
local LASTPART = Handle
1458
for i = 1, 10 do
1459
	if LASTPART == Handle then
1460
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.1,0.2,0),false)
1461
		LASTPART = Part
1462
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1463
	else
1464
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.1,0.05,0),false)
1465
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1466
		LASTPART = Part
1467
	end
1468
end
1469
1470
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.15,2,0.15),false)
1471
MakeForm(Barrel,"Cyl")
1472
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1473
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0.25,1,0.25),false)
1474
MakeForm(Part,"Cyl")
1475
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1476
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0,0.1,0.2),false)
1477
MakeForm(Part,"Wedge")
1478
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1479
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Eye", VT(0.125,0,0.125),false)
1480
MakeForm(Hole,"Cyl")
1481
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1482
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Alder", "Part", VT(0,0,0),false)
1483
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1484
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1485
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Alder", "Eye", VT(0,0,0),false)
1486
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1487
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1488
coroutine.resume(coroutine.create(function()
1489
	while wait() do
1490
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1491
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1492
	end
1493
end))
1494
1495
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
1496
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
1497
1498
1499
Weapon.Parent = Character
1500
for _, c in pairs(Weapon:GetChildren()) do
1501
	if c.ClassName == "Part" then
1502
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1503
	end
1504
end
1505
1506
function swait(num)
1507
	if num == 0 or num == nil then
1508
		ArtificialHB.Event:wait()
1509
	else
1510
		for i = 0, num do
1511
			ArtificialHB.Event:wait()
1512
		end
1513
	end
1514
end
1515
1516
function chatfunc(text)
1517
	local chat = coroutine.wrap(function()
1518
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
1519
		Character:FindFirstChild("TalkingBillBoard"):destroy()
1520
	end
1521
	local Bill = Instance.new("BillboardGui",Character)
1522
	Bill.Size = UDim2.new(0,100,0,40)
1523
	Bill.StudsOffset = Vector3.new(0,3,0)
1524
	Bill.Adornee = Character.Head
1525
	Bill.Name = "TalkingBillBoard"
1526
	local Hehe = Instance.new("TextLabel",Bill)
1527
	Hehe.BackgroundTransparency = 1
1528
	Hehe.BorderSizePixel = 0
1529
	Hehe.Text = ""
1530
	Hehe.Font = "Bodoni"
1531
	Hehe.TextSize = 40
1532
	Hehe.TextStrokeTransparency = 0
1533
	Hehe.Size = UDim2.new(1,0,0.5,0)
1534
	coroutine.resume(coroutine.create(function()
1535
		while Hehe ~= nil do
1536
			swait()	
1537
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
1538
			Hehe.Rotation = math.random(-5,5)
1539
			Hehe.TextColor3 = Color3.new(0,0,255)
1540
			Hehe.TextStrokeColor3 = Color3.new(0,0,255)
1541
		end
1542
	end))
1543
	for i = 1,string.len(text),1 do
1544
		swait()
1545
		Hehe.Text = string.sub(text,1,i)
1546
	end
1547
	swait(90)--Re[math.random(1, 93)]
1548
	for i = 0, 1, .025 do
1549
		swait()
1550
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
1551
		Hehe.TextStrokeTransparency = i
1552
		Hehe.TextTransparency = i
1553
	end
1554
	Bill:Destroy()
1555
	end)
1556
chat()
1557
end
1558
1559
function onChatted(msg)
1560
	chatfunc(msg)
1561
end
1562
1563
Player.Chatted:connect(onChatted)
1564
1565
local BODY = {}
1566
for _, c in pairs(Character:GetDescendants()) do
1567
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1568
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1569
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1570
		end
1571
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
1572
	elseif c:IsA("JointInstance") then
1573
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
1574
	end
1575
end
1576
1577
function refit()
1578
	Character.Parent = workspace
1579
	for e = 1, #BODY do
1580
		if BODY[e] ~= nil then
1581
			local STUFF = BODY[e]
1582
			local PART = STUFF[1]
1583
			local PARENT = STUFF[2]
1584
			local MATERIAL = STUFF[3]
1585
			local COLOR = STUFF[4]
1586
			local TRANSPARENCY = STUFF[5]
1587
			--local SIZE = STUFF[6]
1588
			local NAME = STUFF[7]
1589
			if PART.ClassName == "Part" and PART ~= RootPart then
1590
				PART.Material = MATERIAL
1591
				PART.Transparency = TRANSPARENCY
1592
				PART.Name = NAME
1593
			end
1594
			if PART.Parent ~= PARENT then
1595
				Humanoid:remove()
1596
				PART.Parent = PARENT
1597
				Humanoid = IT("Humanoid",Character)
1598
			end
1599
		end
1600
	end
1601
end
1602
1603
local SKILLTEXTCOLOR = C3(0,0,255)
1604
local SKILLFONT = "Code"
1605
local SKILLTEXTSIZE = 7
1606
1607
Humanoid.Died:connect(function()
1608
	           refit()
1609
end)
1610
1611
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1612
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1613
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1614
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1615
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1616
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1617
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
1618
local SKILL8FRAME = 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 8 Frame")
1619
local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.4, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
1620
local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.4, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame")
1621
local SKILL11FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.5, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 11 Frame")
1622
local SKILL12FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.5, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 12 Frame")
1623
1624
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Burning Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
1625
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
1626
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Burning Barrage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
1627
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Burning Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
1628
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Burning Fury", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
1629
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] Dance Boi", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
1630
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7")
1631
local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[G] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8")
1632
local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] Burning Ravage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 9")
1633
local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[Y] Overflowing Burn", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 10")
1634
local SKILL11TEXT = CreateLabel(SKILL11FRAME, "[J] Supernova", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 11")
1635
local SKILL12TEXT = CreateLabel(SKILL12FRAME, "[U] Everyone's Hopes", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 12")
1636
1637
function printbye(Name)
1638
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
1639
	chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1640
end
1641
1642
workspace.ChildAdded:connect(function(instance)
1643
    for BANISH = 1, #TOBANISH do
1644
		if TOBANISH[BANISH] ~= nil then
1645
			if instance.Name == TOBANISH[BANISH] then
1646
				coroutine.resume(coroutine.create(function()
1647
					printbye(instance.Name)
1648
					instance:ClearAllChildren()
1649
					Debris:AddItem(instance,0.0005)
1650
				end))
1651
			end
1652
		end
1653
	end
1654
end)
1655
1656
--//=================================\\
1657
--||			DAMAGING
1658
--\\=================================//
1659
1660
function Banish(Foe)
1661
	if Foe then
1662
		coroutine.resume(coroutine.create(function()
1663
			--if game.Players:FindFirstChild(Foe.Name) then
1664
				table.insert(TOBANISH,Foe.Name)
1665
				printbye(Foe.Name)
1666
			--end
1667
			Foe.Archivable = true
1668
			local CLONE = Foe:Clone()
1669
			Foe:Destroy()
1670
			CLONE.Parent = Effects
1671
			CLONE:BreakJoints()
1672
			local MATERIALS = {"Glass","Neon"}
1673
			for _, c in pairs(CLONE:GetDescendants()) do
1674
				if c:IsA("BasePart") then
1675
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1676
 						CreateSound(340722848, c, 10, 1, false)
1677
					end
1678
					c.Anchored = true
1679
					c.Transparency = c.Transparency + 0.2
1680
					c.Material = MATERIALS[MRANDOM(1,2)]
1681
					c.Color = C3(0,0,255)
1682
					if c.ClassName == "MeshPart" then
1683
						c.TextureID = ""
1684
					end
1685
					if c:FindFirstChildOfClass("SpecialMesh") then
1686
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1687
					end
1688
					if c:FindFirstChildOfClass("Decal") then
1689
						c:FindFirstChildOfClass("Decal"):remove()
1690
					end
1691
					c.Name = "Banished"
1692
					c.CanCollide = false
1693
				else
1694
					c:remove()
1695
				end
1696
			end
1697
			local A = false
1698
			for i = 1, 35 do
1699
				if A == false then
1700
					A = true
1701
				elseif A == true then
1702
					A = false
1703
				end
1704
				for _, c in pairs(CLONE:GetDescendants()) do
1705
					if c:IsA("BasePart") then
1706
						c.Anchored = true
1707
						c.Material = MATERIALS[MRANDOM(1,2)]
1708
						c.Transparency = c.Transparency + 0.8/35
1709
						if A == false then
1710
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1711
						elseif A == true then
1712
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1713
						end
1714
					end
1715
				end
1716
				Swait()
1717
			end
1718
			CLONE:remove()
1719
		end))
1720
	end
1721
end
1722
1723
1724
1725
1726
function ApplyAoE(POSITION,RANGE,ISBANISH)
1727
	local CHILDREN = workspace:GetDescendants()
1728
	for index, CHILD in pairs(CHILDREN) do
1729
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1730
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1731
			if HUM then
1732
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1733
				if TORSO then
1734
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1735
						if ISBANISH == true then
1736
							Banish(CHILD)
1737
						else
1738
							if ISBANISH == "Gravity" then
1739
								HUM.PlatformStand = true
1740
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1741
									local grav = Instance.new("BodyPosition",TORSO)
1742
									grav.D = 15
1743
									grav.P = 20000
1744
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1745
									grav.position = TORSO.Position
1746
									grav.Name = "V3BanishForce"..Player.Name
1747
								else
1748
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1749
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1750
								end
1751
							else
1752
								HUM.PlatformStand = false
1753
							end
1754
						end
1755
					elseif ISBANISH == "Gravity" then
1756
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1757
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1758
							HUM.PlatformStand = false
1759
						end
1760
					end
1761
				end
1762
			end
1763
		end
1764
	end
1765
end
1766
1767
UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
1768
1769
--//=================================\\
1770
--||	ATTACK FUNCTIONS AND STUFF
1771
--\\=================================//
1772
local LAUGHS = {"907329532", "907329893", "865772398", "907333294"}
1773
1774
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1775
MakeForm(RightHole,"Cyl")
1776
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1777
MakeForm(LeftHole,"Cyl")
1778
1779
function getbloody(victim,amount)
1780
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
1781
	PART.CFrame = victim.CFrame
1782
	local HITPLAYERSOUNDS = {"356551938","264486467"}
1783
	Debris:AddItem(PART,5)
1784
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1785
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1786
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1787
	local prtcl = asd:Clone()
1788
	prtcl.Parent = PART
1789
	prtcl:Emit(amount*10)
1790
end
1791
1792
GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Alder", "Point blank", VT(0, 0, 0), false)
1793
1794
function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
1795
	if DoesCourontine == false then
1796
		local Direction = CF(Part.Position, ToLocation)
1797
		local Distance = (Part.Position - ToLocation).magnitude
1798
		for i = 1, AmountOfTime do
1799
			Swait()
1800
			Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
1801
			Direction = Part.CFrame
1802
		end
1803
		Part:remove()
1804
	elseif DoesCourontine == true then
1805
		coroutine.resume(coroutine.create(function()
1806
			local Direction = CF(Part.Position, ToLocation)
1807
			local Distance = (Part.Position - ToLocation).magnitude
1808
			for i = 1, AmountOfTime do
1809
				Swait()
1810
				Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
1811
				Direction = Part.CFrame
1812
			end
1813
			Part:remove()
1814
		end))
1815
	end
1816
end
1817
1818
function Absoluteum()
1819
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
1820
	if HITFLOOR ~= nil then
1821
		do
1822
			local HITBODIES = {}
1823
			ATTACK = true
1824
			Rooted = true
1825
			local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0))
1826
			MakeForm(ABSOLUTE, "Ball")
1827
			CreateSound("416200578", RootPart, 10, 1)
1828
			for i = 0, 8, 0.1 / Animation_Speed do
1829
				Swait()
1830
				ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
1831
				ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
1832
				ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
1833
				local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(2, 2, 2))
1834
				MakeForm(CHARGE, "Ball")
1835
				CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
1836
				FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
1837
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1838
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1839
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1840
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1841
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1842
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1843
			end
1844
			CreateSound(LAUGHS[MRANDOM(1, #LAUGHS)], Head, 10, 0.9)
1845
			CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
1846
			for i = 1, 45 do
1847
				Swait()
1848
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1849
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1850
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1851
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1852
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1853
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1854
			end
1855
			coroutine.resume(coroutine.create(function()
1856
				local IMPACT = false
1857
				local BULLET = ABSOLUTE
1858
				MakeForm(BULLET, "Ball")
1859
				BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
1860
				for i = 1, 500 do
1861
					Swait()
1862
					BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
1863
					local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
1864
					MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really red", VT(-10, -10, -10) / 55)
1865
					if HIT ~= nil then
1866
						IMPACT = true
1867
						break
1868
					end
1869
				end
1870
				if IMPACT == false then
1871
					for i = 1, 40 do
1872
						Swait()
1873
						BULLET.Size = BULLET.Size * 0.9
1874
					end
1875
					BULLET:remove()
1876
				else
1877
					CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
1878
					for i = 1, 175 do
1879
						Swait()
1880
						BULLET.Size = BULLET.Size * 0.99
1881
						Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 85)
1882
					end
1883
					CreateSound("438666001", BULLET, 10, 3)
1884
					Swait(35)
1885
					BULLET.Transparency = 1
1886
					for i = 1, 20 do
1887
						for e = 1, 5 do
1888
							MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0)
1889
							Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3)
1890
						end
1891
						AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
1892
						CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
1893
						CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
1894
						MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
1895
						Swait(5)
1896
						for e = 1, #HITBODIES do
1897
							if HITBODIES[e] ~= nil then
1898
								local BOD = HITBODIES[e]
1899
								local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
1900
								if TORS then
1901
									BOD:BreakJoints()
1902
									for _, c in pairs(BOD:GetChildren()) do
1903
										if c.ClassName == "Part" or c.ClassName == "MeshPart" then
1904
											local bv = Instance.new("BodyVelocity")
1905
											bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1906
											bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
1907
											bv.Parent = c
1908
											Debris:AddItem(bv, 0.2)
1909
										end
1910
									end
1911
								end
1912
							end
1913
						end
1914
						CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really red", VT(i, 0, i) * 2)
1915
					end
1916
					MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12))
1917
					Debris:AddItem(BULLET, 10)
1918
				end
1919
			end))
1920
			ATTACK = false
1921
			Rooted = false
1922
		end
1923
	end
1924
end
1925
1926
function Nuke()
1927
	ATTACK = true
1928
	Rooted = true
1929
	local CHARGE = false
1930
	local BLASTS = {468991944, 468991990}
1931
	coroutine.resume(coroutine.create(function()
1932
		repeat
1933
			Swait()
1934
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
1935
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
1936
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
1937
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
1938
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
1939
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
1940
		until CHARGE == true
1941
		for i = 0, 0.4, 0.1 / Animation_Speed do
1942
			Swait()
1943
			WACKYEFFECT({
1944
				Time = 15,
1945
				EffectType = "Sphere",
1946
				Size = VT(60, 60, 60),
1947
				Size2 = VT(0, 0, 0),
1948
				Transparency = 1,
1949
				Transparency2 = 0.7,
1950
				CFrame = CF(RootPart.Position),
1951
				MoveToPos = nil,
1952
				RotationX = 0,
1953
				RotationY = 0,
1954
				RotationZ = 0,
1955
				Material = "Neon",
1956
				Color = C3(0, 0, 1),
1957
				SoundID = nil,
1958
				SoundPitch = nil,
1959
				SoundVolume = nil
1960
			})
1961
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
1962
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1963
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1964
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1965
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1966
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1967
		end
1968
		coroutine.resume(coroutine.create(function()
1969
			local POS = RootPart.Position
1970
			wait(0.2)
1971
			for i = 1, 5 do
1972
				WACKYEFFECT({
1973
					Time = 65,
1974
					EffectType = "Sphere",
1975
					Size = VT(2, 2, 2),
1976
					Size2 = VT(0, 0, 500),
1977
					Transparency = 1,
1978
					Transparency2 = 0,
1979
					CFrame = CF(POS),
1980
					MoveToPos = nil,
1981
					RotationX = MRANDOM(-2, 2),
1982
					RotationY = MRANDOM(-12, 12),
1983
					RotationZ = MRANDOM(-2, 2),
1984
					Material = "Neon",
1985
					Color = C3(0, 0, 1),
1986
					SoundID = nil,
1987
					SoundPitch = nil,
1988
					SoundVolume = nil
1989
				})
1990
			end
1991
			wait(1)
1992
			SHAKECAM(POS, 9999999999, 25, 25)
1993
			ApplyAoE(POS, 450)
1994
			WACKYEFFECT({
1995
				Time = 85,
1996
				EffectType = "Sphere",
1997
				Size = VT(120, 120, 120),
1998
				Size2 = VT(350, 350, 350),
1999
				Transparency = 0,
2000
				Transparency2 = 1,
2001
				CFrame = CF(POS),
2002
				MoveToPos = nil,
2003
				RotationX = 0,
2004
				RotationY = 0,
2005
				RotationZ = 0,
2006
				Material = "Neon",
2007
				Color = C3(0, 0, 1),
2008
				SoundID = nil,
2009
				SoundPitch = 1,
2010
				SoundVolume = 10
2011
			})
2012
			for i = 1, 20 do
2013
				WACKYEFFECT({
2014
					Time = 85,
2015
					EffectType = "Sphere",
2016
					Size = VT(120, 120, 120),
2017
					Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
2018
					Transparency = 0.8,
2019
					Transparency2 = 1,
2020
					CFrame = CF(POS),
2021
					MoveToPos = nil,
2022
					RotationX = 0,
2023
					RotationY = 0,
2024
					RotationZ = 0,
2025
					Material = "Neon",
2026
					Color = C3(0, 0, 1),
2027
					SoundID = nil,
2028
					SoundPitch = 1,
2029
					SoundVolume = 10
2030
				})
2031
				WACKYEFFECT({
2032
					Time = 100,
2033
					EffectType = "Wave",
2034
					Size = VT(25, 2, 25),
2035
					Size2 = VT(400, 0, 400) * 1.2,
2036
					Transparency = 0,
2037
					Transparency2 = 1,
2038
					CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2039
					MoveToPos = nil,
2040
					RotationX = 0,
2041
					RotationY = 0,
2042
					RotationZ = 0,
2043
					Material = "Neon",
2044
					Color = C3(0, 0, 1),
2045
					SoundID = nil,
2046
					SoundPitch = nil,
2047
					SoundVolume = nil
2048
				})
2049
			end
2050
			local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
2051
			for i = 1, 5 do
2052
				CreateSound(438666077, Effects, 15, 1 - i / 15, false)
2053
				WACKYEFFECT({
2054
					Time = 120,
2055
					EffectType = "Wave",
2056
					Size = VT(150, 2, 150),
2057
					Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
2058
					Transparency = 0,
2059
					Transparency2 = 1,
2060
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
2061
					MoveToPos = nil,
2062
					RotationX = 0,
2063
					RotationY = 0,
2064
					RotationZ = 0,
2065
					Material = "Neon",
2066
					Color = C3(0, 0, 1),
2067
					SoundID = nil,
2068
					SoundPitch = nil,
2069
					SoundVolume = nil
2070
				})
2071
			end
2072
		end))
2073
		for i = 0, 1, 0.1 / Animation_Speed do
2074
			Swait()
2075
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
2076
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2077
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2078
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2079
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2080
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2081
		end
2082
		ATTACK = false
2083
		Rooted = false
2084
	end))
2085
	for i = 1, 30 do
2086
		wait(0.01)
2087
		local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
2088
		local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
2089
		if HITFLOOR then
2090
			ApplyAoE(HITPOS, 65, true)
2091
			local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
2092
			WACKYEFFECT({
2093
				Time = 25,
2094
				EffectType = "Sphere",
2095
				Size = VT(22, 22, 22),
2096
				Size2 = VT(85, 85, 85),
2097
				Transparency = 0,
2098
				Transparency2 = 1,
2099
				CFrame = CF(HITPOS),
2100
				MoveToPos = nil,
2101
				RotationX = 0,
2102
				RotationY = 0,
2103
				RotationZ = 0,
2104
				Material = "Neon",
2105
				Color = C3(0, 0, 1),
2106
				SoundID = BLASTS[MRANDOM(1, #BLASTS)],
2107
				SoundPitch = MRANDOM(9, 12) / 10,
2108
				SoundVolume = 10
2109
			})
2110
			for e = 1, 3 do
2111
				WACKYEFFECT({
2112
					EffectType = "Wave",
2113
					Size = VT(25, 0, 25),
2114
					Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
2115
					Transparency = 0,
2116
					Transparency2 = 1,
2117
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
2118
					MoveToPos = nil,
2119
					RotationX = 0,
2120
					RotationY = 3,
2121
					RotationZ = 0,
2122
					Material = "Neon",
2123
					Color = C3(0, 0, 1),
2124
					SoundID = nil,
2125
					SoundPitch = nil,
2126
					SoundVolume = nil
2127
				})
2128
				WACKYEFFECT({
2129
					Time = 35,
2130
					EffectType = "Sphere",
2131
					Size = VT(22, 45, 22),
2132
					Size2 = VT(25, 45 + e * 75, 25),
2133
					Transparency = 0,
2134
					Transparency2 = 1,
2135
					CFrame = CF(HITPOS) * TURN,
2136
					MoveToPos = nil,
2137
					RotationX = 0,
2138
					RotationY = 0,
2139
					RotationZ = 0,
2140
					Material = "Neon",
2141
					Color = C3(0, 0, 1),
2142
					SoundID = nil,
2143
					SoundPitch = MRANDOM(9, 12) / 10,
2144
					SoundVolume = 10
2145
				})
2146
			end
2147
		end
2148
	end
2149
	CHARGE = true
2150
end
2151
2152
function SpectralBanishing()
2153
	ATTACK = true
2154
	Rooted = false
2155
	chatfunc("If you desire to be a ghost...", 20)
2156
	for i = 0, 5, 0.1 / Animation_Speed do
2157
		Swait()
2158
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
2159
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
2160
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
2161
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
2162
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
2163
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
2164
	end
2165
	chatfunc("Then move on to the afterlife!", 6)
2166
	CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
2167
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
2168
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
2169
	local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
2170
	local distance = (GunPoint.Position - Way).magnitude
2171
	for i = 1, 5 do
2172
		local laser = Instance.new("Part", Effects)
2173
		laser.Transparency = 0
2174
		laser.CanCollide = false
2175
		laser.Anchored = true
2176
		laser.Color = C3(0, 0, 1)
2177
		laser.Material = "Neon"
2178
		laser.formFactor = Enum.FormFactor.Custom
2179
		laser.Size = Vector3.new(0.15, 0.15, distance)
2180
		laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
2181
		table.insert(Effects2, {
2182
			laser,
2183
			"Disappear",
2184
			0.1,
2185
			1,
2186
			1,
2187
			1,
2188
			2
2189
		})
2190
	end
2191
	coroutine.resume(coroutine.create(function()
2192
		Swait(15)
2193
		local FILTER = IT("ColorCorrectionEffect", game.Lighting)
2194
		for i = 1, 25 do
2195
			Swait()
2196
			FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50)
2197
		end
2198
		local GAME = game.Players:GetChildren()
2199
		for PLAYER = 1, #GAME do
2200
			do
2201
				local PLAY = GAME[PLAYER]
2202
				if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then
2203
					PLAY.Character.Parent = nil
2204
					coroutine.resume(coroutine.create(function()
2205
						if PLAY.Character:FindFirstChild("HumanoidRootPart") then
2206
							PLAY.Character.Parent = workspace
2207
							local Value = IT("BoolValue", Delete)
2208
							Value.Name = PLAY.Name
2209
						end
2210
					end))
2211
				end
2212
			end
2213
		end
2214
		for i = 1, 25 do
2215
			Swait()
2216
			FILTER.TintColor = C3(0, 0, 1)
2217
		end
2218
	end))
2219
	for i = 0, 2, 0.1 / Animation_Speed do
2220
		Swait()
2221
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
2222
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
2223
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
2224
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
2225
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
2226
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
2227
	end
2228
	ATTACK = false
2229
	Rooted = false
2230
end
2231
2232
function Madness()
2233
	ATTACK = true
2234
	Rooted = false
2235
	local GYRO = IT("BodyGyro",RootPart)
2236
	GYRO.D = 750
2237
	GYRO.P = 20000
2238
	GYRO.MaxTorque = VT(0,40000000,0)
2239
	local LOCKED = true
2240
	local SHOT = false
2241
	coroutine.resume(coroutine.create(function()
2242
		for i=0, 1, 0.1 / Animation_Speed do
2243
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2244
			Swait()
2245
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2246
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2247
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2248
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2249
		end
2250
		LOCKED = false
2251
		SHOT = true
2252
		repeat
2253
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2254
			Swait()
2255
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2256
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2257
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2258
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2259
		until HOLD == false and SHOT == false
2260
		for i=0, 0.3, 0.1 / Animation_Speed do
2261
			Swait()
2262
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2263
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2264
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2265
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2266
		end
2267
		GYRO:remove()
2268
		ATTACK = false
2269
		Rooted = false
2270
	end))
2271
	repeat wait() until LOCKED == false
2272
	repeat
2273
		SHOT = true
2274
		wait(0.2)
2275
		SHOT = false
2276
		local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(0,0,255), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
2277
		local HIT = BULLET.Hit
2278
		local HITPOS = BULLET.End
2279
		if HIT then
2280
			if HIT.Parent:FindFirstChildOfClass("Humanoid") then
2281
				Banish(HIT.Parent)
2282
			end
2283
		end
2284
		WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(0,0,255), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1})
2285
		WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,255), SoundID = nil, SoundPitch = 1, SoundVolume = 2})
2286
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,255), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
2287
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,255), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
2288
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,255), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
2289
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,255), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
2290
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,255), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
2291
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
2292
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,255), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
2293
	until HOLD == false
2294
end
2295
2296
function EMOTE()
2297
	ATTACK = true
2298
	Rooted = false
2299
	local LOOP = 0
2300
	for i=0, 0.1, 0.1 / Animation_Speed do
2301
		Swait()
2302
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2303
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2304
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2305
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2306
	end
2307
	for i=0, 3, 0.1 / Animation_Speed do
2308
		Swait()
2309
		LOOP = LOOP + 1
2310
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2311
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2312
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2313
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2314
	end
2315
	for i=0, 0.1, 0.1 / Animation_Speed do
2316
		Swait()
2317
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2318
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2319
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2320
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2321
	end
2322
	ATTACK = false
2323
	Rooted = false
2324
end
2325
2326
function Kill(Char)
2327
	local NewCharacter = IT("Model",Effects)
2328
	NewCharacter.Name = "Ow im ded ;-;"
2329
	for _, c in pairs(Char:GetDescendants()) do
2330
		if c:IsA("BasePart") and c.Transparency == 0 then
2331
			if c.Parent == Char then
2332
				getbloody(c,5)
2333
			end
2334
			c:BreakJoints()
2335
			c.Material = "Glass"
2336
			c.Color = C3(0,0,255)
2337
			c.CanCollide = true
2338
			c.Transparency = 0.3
2339
			if c:FindFirstChildOfClass("SpecialMesh") then
2340
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2341
			end
2342
			if c.Name == "Head" then
2343
				c:ClearAllChildren()
2344
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
2345
			end
2346
			if c.ClassName == "MeshPart" then
2347
				c.TextureID = ""
2348
			end
2349
			if c:FindFirstChildOfClass("BodyPosition") then
2350
				c:FindFirstChildOfClass("BodyPosition"):remove()
2351
			end
2352
			if c:FindFirstChildOfClass("ParticleEmitter") then
2353
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2354
			end
2355
			c.Parent = NewCharacter
2356
			c.Name = "DeadPart"
2357
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
2358
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
2359
		end
2360
	end
2361
	Char:remove()
2362
	Debris:AddItem(NewCharacter,5)
2363
end
2364
2365
function Taunt()
2366
	ATTACK = true
2367
	Rooted = true
2368
	local TAUNT = CreateSound(580806904, Torso, 7, 1, false)
2369
	repeat
2370
		Swait()
2371
		TAUNT.Parent = Torso
2372
		TAUNT.Playing = true
2373
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2374
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
2375
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2376
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2377
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2378
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2379
	until TAUNT.TimePosition >= 1.25
2380
	for i=0, 1.6, 0.1 / Animation_Speed do
2381
		Swait()
2382
		TAUNT.Parent = Torso
2383
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
2384
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
2385
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2386
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2387
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2388
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2389
	end
2390
	ATTACK = false
2391
	Rooted = false
2392
end
2393
2394
function oofBeam()
2395
	ATTACK = true
2396
	Rooted = false
2397
    VALUE2 = true
2398
	local GYRO = IT("BodyGyro", RootPart)
2399
	GYRO.D = 20
2400
	GYRO.P = 4000
2401
	GYRO.MaxTorque = VT(0, 40000, 0)
2402
	local POS = RootPart.Position + VT(0, 25, 0)
2403
	CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
2404
		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)
2405
		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)
2406
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2407
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2408
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2409
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2410
	coroutine.resume(coroutine.create(function()
2411
		local E = 0
2412
		repeat
2413
			E = E + 5
2414
			GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
2415
			Swait()
2416
		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)
2417
		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)
2418
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2419
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2420
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2421
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2422
		until ATTACK == false
2423
		GYRO:remove()
2424
	end))
2425
	for i = 1, 50 do
2426
		Swait()
2427
	end
2428
	for i = 1, 25 do
2429
		Swait()
2430
		WACKYEFFECT({
2431
			Time = 15,
2432
			EffectType = "Skull",
2433
			Size = VT(4, 4, 4),
2434
			Size2 = VT(0, 0, 0),
2435
			Transparency = 1,
2436
			Transparency2 = 0,
2437
			CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
2438
			MoveToPos = Eon.Position,
2439
			RotationX = 0,
2440
			RotationY = 0,
2441
			RotationZ = 0,
2442
			Material = "Neon",
2443
			Color = C3(0, 0, 1),
2444
			SoundID = nil,
2445
			SoundPitch = nil,
2446
			SoundVolume = nil
2447
		})
2448
	end
2449
	local LOOP = 0
2450
	local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Beamo", VT(0,0,0))
2451
	MakeForm(BEAMO, "Ball")
2452
	local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Beam", VT(0, 0, 0), true)
2453
	MakeForm(BEAM, "Cyl")
2454
	repeat
2455
		local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
2456
		if DISTANCE < 2000 then
2457
			BEAMO.Size = VT(3 + 1 * COS(SINE / 4),  3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
2458
	        BEAMO.CFrame = CF(Eon.Position)
2459
			BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
2460
			BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
2461
			ApplyAoE(Mouse.Hit.p, 14,true,false)
2462
			WACKYEFFECT({
2463
				Time = 35,
2464
				EffectType = "Sphere",
2465
				Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
2466
				Size2 = VT(5, 75, 5),
2467
				Transparency = 0,
2468
				Transparency2 = 1,
2469
				CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2470
				MoveToPos = nil,
2471
				RotationX = 0,
2472
				RotationY = 0,
2473
				RotationZ = 0,
2474
				Material = "Neon",
2475
				Color = C3(0, 0, 1),
2476
				SoundID = nil,
2477
				SoundPitch = MRANDOM(9, 12) / 10,
2478
				SoundVolume = 10
2479
			})
2480
		WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame, MoveToPos = Eon.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2481
			Swait()
2482
			LOOP = LOOP + 1
2483
		end
2484
	until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
2485
	coroutine.resume(coroutine.create(function()
2486
		for i = 1, 15 do
2487
			Swait()
2488
			BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
2489
			BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
2490
			BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
2491
			BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
2492
end
2493
		BEAM:remove()
2494
		BEAMO:remove()
2495
	end))
2496
	ATTACK = false
2497
	Rooted = false
2498
    VALUE2 = false
2499
end
2500
2501
function TakeOnMe()
2502
	Speed = 5
2503
	local MEME = CreateSound(0, Effects, 2, 1, false)
2504
	ATTACK = true
2505
	Rooted = false
2506
	local DANCE = true
2507
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
2508
		if NEWKEY == "p" then
2509
			DANCE = false
2510
		end
2511
	end)
2512
	PLAYSONG = false
2513
	while true do
2514
		for i = 1, 15 do
2515
			Swait()
2516
			MEME.Parent = Effects
2517
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2518
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2519
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2520
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2521
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2522
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2523
		end
2524
		if DANCE == false then
2525
			break
2526
		end
2527
		for i = 1, 15 do
2528
			Swait()
2529
			MEME.Parent = Effects
2530
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2531
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2532
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2533
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2534
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2535
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2536
		end
2537
	end
2538
	PLAYSONG = true
2539
	KEY:Disconnect()
2540
	MEME:remove()
2541
	Speed = 25
2542
	ATTACK = false
2543
	Rooted = false
2544
end
2545
2546
function Banisher_Bullet()
2547
	ATTACK = true
2548
	Rooted = false
2549
	for i=0, 0.05, 0.1 / Animation_Speed do
2550
		Swait()
2551
		turnto(Mouse.Hit.p)
2552
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2553
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2554
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2555
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2556
		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)
2557
		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)
2558
	end
2559
	repeat
2560
		for i=0, 0.05, 0.1 / Animation_Speed do
2561
			Swait()
2562
			turnto(Mouse.Hit.p)
2563
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2564
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2565
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2566
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2567
			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)
2568
			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)
2569
		end
2570
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
2571
		SpawnTrail(Hole.Position,POS)
2572
		if HIT ~= nil then
2573
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
2574
				Banish(HIT.Parent)
2575
			end
2576
		end
2577
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), 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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2578
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,255), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2579
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(0,0,255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2580
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(0,0,255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2581
		for i=0, 0.05, 0.1 / Animation_Speed do
2582
			Swait()
2583
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2584
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
2585
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2586
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2587
			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)
2588
			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)
2589
		end
2590
	until KEYHOLD == false
2591
	ATTACK = false
2592
	Rooted = false
2593
end
2594
function Execute()
2595
	ATTACK = true
2596
	Rooted = false
2597
	local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
2598
	Part.Color = C3(0,0,1)
2599
	MakeForm(Part,"Wedge")
2600
	Part.CanCollide = true
2601
	CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
2602
	for i=0, 1, 0.1 / Animation_Speed do
2603
		Swait()
2604
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
2605
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
2606
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2607
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2608
		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)
2609
		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)
2610
	end
2611
	CreateSound(541909867, RightBarrel, 7, 1, false)
2612
	local TOCH = Part.Touched:Connect(function(hit)
2613
		if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
2614
			Banish(hit.Parent)
2615
		end
2616
	end)
2617
	for i=0, 0.35, 0.1 / Animation_Speed do
2618
		Swait()
2619
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
2620
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
2621
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2622
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2623
		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)
2624
		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)
2625
	end
2626
	TOCH:disconnect()
2627
	for i=0, 0.35, 0.1 / Animation_Speed do
2628
		Swait()
2629
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
2630
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
2631
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2632
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2633
		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)
2634
		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)
2635
	end
2636
	Part:remove()
2637
	ATTACK = false
2638
	Rooted = false
2639
end
2640
function Banisher_Burn()
2641
	ATTACK = true
2642
	Rooted = true
2643
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
2644
	for i=0, 1, 0.1 / Animation_Speed do
2645
		Swait()
2646
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2647
		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)
2648
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2649
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2650
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2651
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2652
	end	
2653
	coroutine.resume(coroutine.create(function()
2654
		local POS = Mouse.Hit.p
2655
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Strike", VT(0,2000,0))
2656
		MakeForm(RAY,"Cyl")
2657
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Strike", VT(0,0,0))
2658
		MakeForm(SPHERE,"Ball")
2659
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Strike", VT(0,0,0))
2660
		MakeForm(SHIELD,"Ball")
2661
		SHIELD.CFrame = CF(POS)
2662
		RAY.CFrame = CF(POS)
2663
		SPHERE.CFrame = CF(POS)
2664
		CreateSound(440145570, SPHERE, 10, 0.8, false)
2665
		CreateSound(415700134, SPHERE, 10, 0.8, false)
2666
		for i = 1, 200 do
2667
			Swait()
2668
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2669
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
2670
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
2671
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
2672
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
2673
		end	
2674
		for i = 1, 45 do
2675
			Swait()
2676
			RAY.Transparency = RAY.Transparency + 1/45
2677
			SPHERE.Transparency = RAY.Transparency 
2678
			SHIELD.Transparency = SPHERE.Transparency + 1/45
2679
		end
2680
		RAY:remove()
2681
		SHIELD:remove()
2682
		SPHERE:remove()
2683
	end))
2684
	for i=0, 1, 0.1 / Animation_Speed do
2685
		Swait()
2686
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2687
		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)
2688
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2689
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2690
		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)
2691
		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)
2692
	end
2693
	ATTACK = false
2694
	Rooted = false
2695
end
2696
function Teleport()
2697
	ATTACK = true
2698
	Rooted = false
2699
	for i=0, 0.5, 0.1 / Animation_Speed do
2700
		Swait()
2701
		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)
2702
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
2703
	end
2704
	for e = 1, #BODY do
2705
		if BODY[e] ~= nil then
2706
			local STUFF = BODY[e]
2707
			local PART = STUFF[1]
2708
			if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
2709
				local PRT = PART:Clone()
2710
				PRT.Anchored = true
2711
				PRT.CanCollide = false
2712
				PRT.Material = "Neon"
2713
				PRT.Color = C3(0,0,255)
2714
				PRT.Name = "WarpEffect"
2715
				PRT.Parent = Effects
2716
				PRT.CFrame = PART.CFrame
2717
				PRT:BreakJoints()
2718
				if PRT:FindFirstChildOfClass("Sound") then
2719
					PRT:FindFirstChildOfClass("Sound"):remove()
2720
				end
2721
				if PRT:FindFirstChildOfClass("Decal") then
2722
					PRT:FindFirstChildOfClass("Decal"):remove()
2723
				end
2724
				coroutine.resume(coroutine.create(function()
2725
					for i = 1, 100 do
2726
						Swait()
2727
						PRT.Transparency = PRT.Transparency + 1/100
2728
					end
2729
					PRT:remove()
2730
				end))
2731
			end
2732
		end
2733
	end
2734
	CreateSound(217767125, Torso, 10, 1)
2735
	local POS = RootPart.Orientation
2736
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
2737
	RootPart.Orientation = POS
2738
	RootJoint.Parent = RootPart
2739
	for i=0, 0.5, 0.1 / Animation_Speed do
2740
		Swait()
2741
		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)
2742
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
2743
	end
2744
	for i=0, 0.1, 0.1 / Animation_Speed do
2745
		Swait()
2746
		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, 0.75 / Animation_Speed)
2747
	end
2748
	ATTACK = false
2749
	Rooted = false
2750
end
2751
function BanishmentBeam()
2752
	ATTACK = true
2753
	Rooted = false
2754
	local GYRO = IT("BodyGyro",RootPart)
2755
	GYRO.D = 100
2756
	GYRO.P = 2000
2757
	GYRO.MaxTorque = VT(0,4000000,0)
2758
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2759
	CreateSound("93724183", RightArm, 5, 1, false)
2760
	for i=1, 35 do
2761
		Swait()
2762
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
2763
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2764
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
2765
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
2766
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2767
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2768
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2769
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2770
	end
2771
	local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Lazer", VT(0,0,0))
2772
	local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
2773
	local TOCH = BEAM.Touched:Connect(function(hit)
2774
		if hit.Anchored == false and hit.Parent ~= Head and  hit.Parent ~= Character and hit.Parent ~= Effects then
2775
			Kill(hit)
2776
		end
2777
	end)
2778
	local I = 0
2779
	repeat
2780
		Swait()
2781
		I = I + 1
2782
		if I <= 10 then
2783
			BEAM.Transparency = BEAM.Transparency - 0.1
2784
		end
2785
		local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
2786
		local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
2787
		local DISTANCE = (STARTPOS - ENDPOS).Magnitude
2788
		BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
2789
		BEAM.Size = VT(2,2,DISTANCE)
2790
		WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2791
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
2792
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
2793
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2794
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
2795
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
2796
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2797
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2798
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2799
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2800
		if ENDHIT ~= nil then
2801
			if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
2802
				Banish(ENDHIT)
2803
			end
2804
		end
2805
	until LOOP.Playing == false
2806
	GYRO:remove()
2807
	BEAM:remove()
2808
	ATTACK = false
2809
	Rooted = false
2810
end
2811
function Deathbound()
2812
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
2813
	ATTACK = true
2814
	Rooted = true
2815
	for i=0, 1, 0.1 / Animation_Speed do
2816
		Swait()
2817
		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)
2818
		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)
2819
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2820
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2821
		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)
2822
		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)
2823
	end
2824
	local DONE = false
2825
	local GATE = nil
2826
	local GATESPIN = true
2827
	coroutine.resume(coroutine.create(function()
2828
		repeat
2829
			Swait()
2830
			if GATE ~= nil then
2831
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
2832
			end
2833
		until GATESPIN == false
2834
	end))
2835
	coroutine.resume(coroutine.create(function()
2836
		repeat
2837
			Swait()
2838
			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)
2839
			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)
2840
			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)
2841
			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)
2842
			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)
2843
			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)
2844
		until DONE == true
2845
		Swait(50)
2846
		for i = 1, 35 do
2847
			Swait(4)
2848
			local FIRED = false
2849
			local CHILDREN = workspace:GetDescendants()
2850
			for index, CHILD in pairs(CHILDREN) do
2851
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2852
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2853
					if HUM then
2854
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2855
						if TORSO then
2856
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2857
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2858
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2859
								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(0,0,255), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
2860
								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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2861
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2862
								Banish(CHILD)
2863
								FIRED = true
2864
								break
2865
							end
2866
						end
2867
					end
2868
				end
2869
			end
2870
			if FIRED == false then
2871
				local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2872
				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(0,0,255), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
2873
				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(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2874
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
2875
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2876
				if HITBOD ~= nil then
2877
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2878
						Kill(HITBOD.Parent)
2879
					end
2880
				end
2881
			end
2882
		end
2883
		for i = 1, 45 do
2884
			Swait()
2885
			GATE.Size = GATE.Size - VT(3,0,3)
2886
		end
2887
		GATESPIN = false
2888
		GATE:remove()
2889
	end))
2890
	Swait(15)
2891
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
2892
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
2893
	local DECAL = IT("Decal",GATE)
2894
	DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
2895
	DECAL.Face = "Top"
2896
	GATE.CFrame = CF(HITPOS)
2897
	CreateSound(160772554, GATE, 7, 1.3, false)
2898
	for i = 1, 45 do
2899
		Swait()
2900
		GATE.Size = GATE.Size + VT(3,0,3)
2901
	end
2902
	CreateSound(213603013, RightHole, 7, 1, false)
2903
	CreateSound(213603013, LeftHole, 7, 1, false)
2904
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2905
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2906
	ATTACK = false
2907
	Rooted = false
2908
	DONE = true
2909
end
2910
2911
2912
--//=================================\\
2913
--||	  ASSIGN THINGS TO KEYS
2914
--\\=================================//
2915
2916
function MouseDown(Mouse)
2917
	if ATTACK == false then
2918
	                EMOTE()
2919
	end
2920
end
2921
2922
function MouseUp(Mouse)
2923
HOLD = false
2924
end
2925
2926
function KeyDown(Key)
2927
	KEYHOLD = true
2928
	if Key == "z" and ATTACK == false then
2929
		Banisher_Bullet()
2930
	end
2931
2932
	if Key == "b" and ATTACK == false then
2933
                 Banisher_Burn()
2934
	end
2935
2936
	if Key == "c" and ATTACK == false then
2937
                 BanishmentBeam()
2938
	end
2939
2940
	if Key == "v" and ATTACK == false then
2941
                 Teleport()
2942
	end
2943
2944
	if Key == "t" and ATTACK == false then
2945
                 Taunt()
2946
	end
2947
2948
	if Key == "e" and ATTACK == false then
2949
                 Madness()
2950
	end	
2951
2952
	if Key == "j" and ATTACK == false then
2953
                 Nuke()
2954
	end	
2955
2956
	if Key == "y" and ATTACK == false then
2957
                 oofBeam()
2958
	end
2959
2960
	if Key == "u" and ATTACK == false then
2961
		Absoluteum()
2962
	end
2963
2964
	if Key == "g" and ATTACK == false then
2965
		               chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
2966
			       TOBANISH = {}
2967
	end
2968
2969
	if Key == "p" and ATTACK == false then
2970
		TakeOnMe()
2971
	end
2972
2973
	if Key == "x" and ATTACK == false then
2974
                 Deathbound()
2975
	end
2976
end
2977
2978
function KeyUp(Key)
2979
	KEYHOLD = false
2980
end
2981
2982
	Mouse.Button1Down:connect(function(NEWKEY)
2983
		MouseDown(NEWKEY)
2984
	end)
2985
	Mouse.Button1Up:connect(function(NEWKEY)
2986
		MouseUp(NEWKEY)
2987
	end)
2988
	Mouse.KeyDown:connect(function(NEWKEY)
2989
		KeyDown(NEWKEY)
2990
	end)
2991
	Mouse.KeyUp:connect(function(NEWKEY)
2992
		KeyUp(NEWKEY)
2993
	end)
2994
2995
--//=================================\\
2996
--\\=================================//
2997
2998
2999
function unanchor()
3000
	if UNANCHOR == true then
3001
		g = Character:GetChildren()
3002
		for i = 1, #g do
3003
			if g[i].ClassName == "Part" then
3004
				g[i].Anchored = false
3005
			end
3006
		end
3007
	end
3008
end
3009
3010
3011
--//=================================\\
3012
--||	WRAP THE WHOLE SCRIPT UP
3013
--\\=================================//
3014
3015
Humanoid.Changed:connect(function(Jump)
3016
	if Jump == "Jump" and (Disable_Jump == true) then
3017
		Humanoid.Jump = false
3018
	end
3019
end)
3020
3021
local CONNECT = nil
3022
3023
while true do
3024
	Swait()
3025
	ANIMATE.Parent = nil
3026
	if Character:FindFirstChildOfClass("Humanoid") == nil then
3027
		Humanoid = IT("Humanoid",Character)
3028
	end
3029
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
3030
	    v:Stop();
3031
	end
3032
    Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
3033
	SINE = SINE + CHANGE
3034
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
3035
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
3036
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3037
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
3038
    if ANIM == "Walk" and TORSOVELOCITY > 1 then
3039
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
3040
        Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
3041
        RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
3042
        LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
3043
    elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
3044
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3045
        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)
3046
        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.7 / Animation_Speed)
3047
        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.7 / Animation_Speed)
3048
    end
3049
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
3050
		ANIM = "Jump"
3051
		if ATTACK == false then
3052
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
3053
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
3054
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3055
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3056
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3057
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3058
        end
3059
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
3060
		ANIM = "Fall"
3061
		if ATTACK == false then
3062
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
3063
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
3064
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3065
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3066
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3067
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3068
        end
3069
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
3070
		ANIM = "Idle"
3071
		if ATTACK == false then
3072
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
3073
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
3074
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3075
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3076
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
3077
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
3078
		end
3079
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
3080
		ANIM = "Walk"
3081
		if ATTACK == false then
3082
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
3083
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
3084
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(-5), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3085
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3086
            RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3087
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3088
		end
3089
	end
3090
	unanchor()
3091
	Humanoid.MaxHealth = "inf"
3092
	Humanoid.Health = "inf"
3093
	if Rooted == false then
3094
		Disable_Jump = false
3095
		Humanoid.WalkSpeed = Speed
3096
	elseif Rooted == true then
3097
		Disable_Jump = true
3098
		Humanoid.WalkSpeed = 0
3099
	end
3100
refit()
3101
	sick.Parent = Torso
3102
	sick:resume()
3103
	sick.Volume = 5
3104
	sick.Pitch = 1
3105
	sick.SoundId = "rbxassetid://0"
3106
	sick.Name = "BanishV3Music"
3107
end
3108
3109
--//=================================\\
3110
--\\=================================//
3111
3112
3113
3114
3115
3116
--//====================================================\\--
3117
--||			  		 END OF SCRIPT
3118
--\\====================================================//--