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