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