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