View difference between Paste ID: URq5b3hi and D8u3NJpm
SHOW: | | - or go back to the newest paste.
1
script.Name = "Flamingo Banisher V2"
2
--//====================================================\\--
3
--||   EDITED BY INFINITEONEWITHDANK	   CREATED BY SHACKLUSTER
4
--\\====================================================//--
5
6
print("Load Finished")
7
print("Edited By InfiniteOneWithdank Hello User")
8
warn("Make Them All Suffer For Their Sins")
9
warn("KILL THEM NOW")
10-
warn("In Fact Make them Burn")
10+
11
wait(0.2)
12
13
Player = owner
14
PlayerGui = Player.PlayerGui
15
Cam = workspace.CurrentCamera
16
Backpack = Player.Backpack
17
Character = Player.Character
18
Humanoid = Character.Humanoid
19
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
20
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
21
do
22
	print("FE Compatibility code by Mokiros")
23
	script.Parent = Player.Character
24
25
	--RemoteEvent for communicating
26
	local Event = Instance.new("RemoteEvent")
27
	Event.Name = "UserInput_Event"
28
29
	--Fake event to make stuff like Mouse.KeyDown work
30
	local function fakeEvent()
31
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
32
		t.connect = t.Connect
33
		return t
34
	end
35
36
	--Creating fake input objects with fake variables
37
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
38
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
39
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
40
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
41
	end}
42
	--Merged 2 functions into one by checking amount of arguments
43
	CAS.UnbindAction = CAS.BindAction
44
45
	--This function will trigger the events that have been :Connect()'ed
46
	local function te(self,ev,...)
47
		local t = m[ev]
48
		if t and t._fakeEvent and t.Function then
49
			t.Function(...)
50
		end
51
	end
52
	m.TrigEvent = te
53
	UIS.TrigEvent = te
54
55
	Event.OnServerEvent:Connect(function(plr,io)
56
	    if plr~=Player then return end
57
		if io.isMouse then
58
			m.Target = io.Target
59
			m.Hit = io.Hit
60
		else
61
			local b = io.UserInputState == Enum.UserInputState.Begin
62
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
63
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[
77
	local Player = game:GetService("Players").LocalPlayer
78
	local Event = script:WaitForChild("UserInput_Event")
79
80
	local UIS = game:GetService("UserInputService")
81
	local input = function(io,a)
82
		if a then return end
83
		--Since InputObject is a client-side instance, we create and pass table instead
84
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
85
	end
86
	UIS.InputBegan:Connect(input)
87
	UIS.InputEnded:Connect(input)
88
89
	local Mouse = Player:GetMouse()
90
	local h,t
91
	--Give the server mouse data 30 times every second, but only if the values changed
92
	--If player is not moving their mouse, client won't fire events
93
	while wait(1/30) do
94
		if h~=Mouse.Hit or t~=Mouse.Target then
95
			h,t=Mouse.Hit,Mouse.Target
96
			Event:FireServer({isMouse=true,Target=t,Hit=h})
97
		end
98
	end]==],Player.Character)
99
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
100
end
101
RootPart = Character["HumanoidRootPart"]
102
Torso = Character["Torso"]
103
Head = Character["Head"]
104
RightArm = Character["Right Arm"]
105
LeftArm = Character["Left Arm"]
106
RightLeg = Character["Right Leg"]
107
LeftLeg = Character["Left Leg"]
108
RootJoint = RootPart["RootJoint"]
109
Neck = Torso["Neck"]
110
RightShoulder = Torso["Right Shoulder"]
111
LeftShoulder = Torso["Left Shoulder"]
112
RightHip = Torso["Right Hip"]
113
LeftHip = Torso["Left Hip"]
114
local TIME = 0
115
local sick = Instance.new("Sound",Torso)
116
117
IT = Instance.new
118
CF = CFrame.new
119
VT = Vector3.new
120
RAD = math.rad
121
C3 = Color3.new
122
UD2 = UDim2.new
123
BRICKC = BrickColor.new
124
ANGLES = CFrame.Angles
125
EULER = CFrame.fromEulerAnglesXYZ
126
COS = math.cos
127
ACOS = math.acos
128
SIN = math.sin
129
ASIN = math.asin
130
ABS = math.abs
131
MRANDOM = math.random
132
FLOOR = math.floor
133
134
--//=================================\\
135
--|| 	      USEFUL VALUES
136
--\\=================================//
137
138
Animation_Speed = 1.5
139
local FORCERESET = false
140
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
141
local Speed = 16
142
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
143
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
144
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
145
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
146
local DAMAGEMULTIPLIER = 1
147
local ANIM = "Idle"
148
local ATTACK = false
149
local EQUIPPED = false
150
local HOLD = false
151
local COMBO = 1
152
local Rooted = false
153
local SINE = 0
154
local KEYHOLD = false
155
local CHANGE = 2 / Animation_Speed
156
local WALKINGANIM = false
157
local VALUE1 = false
158
local VALUE2 = false
159
local PLAYSONG = true
160
local ROBLOXIDLEANIMATION = IT("Animation")
161
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
162
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
163
--ROBLOXIDLEANIMATION.Parent = Humanoid
164
local WEAPONGUI = IT("ScreenGui", PlayerGui)
165
WEAPONGUI.Name = "BanishV3Gui"
166
local Weapon = IT("Model")
167
Weapon.Name = "Adds"
168
local Effects = IT("Folder", Weapon)
169
Effects.Name = "Effects"
170
local Weapon2 = IT("Model")
171
Weapon2.Name = "Adds2"
172
local Effects = IT("Folder", Weapon2)
173
Effects.Name = "Effects"
174
local ANIMATOR = Humanoid.Animator
175
local ANIMATE = Character:FindFirstChild("Animate")
176
local UNANCHOR = true
177
local TOBANISH = {}
178
script.Parent = PlayerGui
179
180
function StatLabel(CFRAME, TEXT, COLOR)
181
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
182
	STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
183
	local BODYGYRO = IT("BodyGyro", STATPART)
184
	game:GetService("Debris"):AddItem(STATPART ,5)
185
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
186
	BILLBOARDGUI.Adornee = STATPART
187
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
188
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
189
	BILLBOARDGUI.AlwaysOnTop = false
190
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
191
	TEXTLABEL.BackgroundTransparency = 1
192
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
193
	TEXTLABEL.Text = TEXT
194
	TEXTLABEL.Font = SKILLFONT
195
	TEXTLABEL.FontSize="Size42"
196
	TEXTLABEL.TextColor3 = COLOR
197
	TEXTLABEL.TextStrokeTransparency = 0
198
	TEXTLABEL.TextScaled = true
199
	TEXTLABEL.TextWrapped = true
200
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
201
		for i = 1, 50 do
202
			Swait()
203
			STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
204
			TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
205
			TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
206
		end
207
		THEPART.Parent = nil
208
	end),STATPART, TEXTLABEL)
209
end
210
211
--//=================================\\
212
--\\=================================//
213
214
215
--//=================================\\
216
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
217
--\\=================================//
218
219
ArtificialHB = Instance.new("BindableEvent", script)
220
ArtificialHB.Name = "ArtificialHB"
221
222
script:WaitForChild("ArtificialHB")
223
224
frame = Frame_Speed
225
tf = 0
226
allowframeloss = false
227
tossremainder = false
228
lastframe = tick()
229
script.ArtificialHB:Fire()
230
231
game:GetService("RunService").Heartbeat:connect(function(s, p)
232
	tf = tf + s
233
	if tf >= frame then
234
		if allowframeloss then
235
			script.ArtificialHB:Fire()
236
			lastframe = tick()
237
		else
238
			for i = 1, math.floor(tf / frame) do
239
				script.ArtificialHB:Fire()
240
			end
241
		lastframe = tick()
242
		end
243
		if tossremainder then
244
			tf = 0
245
		else
246
			tf = tf - frame * math.floor(tf / frame)
247
		end
248
	end
249
end)
250
251
--//=================================\\
252
--\\=================================//
253
254
--//=================================\\
255
--||          SOME TAG EDIT
256
--\\=================================//
257
258
m = owner
259
char = m.Character
260
local txt = Instance.new("BillboardGui", char)
261
txt.Adornee = char.Head
262
txt.Name = "_status"
263
txt.Size = UDim2.new(2, 0, 1.2, 0)
264
txt.StudsOffset = Vector3.new(-9, 8, 0)
265
local text = Instance.new("TextLabel", txt)
266
text.Size = UDim2.new(10, 0, 7, 0)
267
text.FontSize = "Size24"
268
text.TextScaled = true
269
text.TextTransparency = 0
270
text.BackgroundTransparency = 1
271
text.TextTransparency = 0
272
text.TextStrokeTransparency = 0
273
text.Font = "Bodoni"
274
text.TextStrokeColor3 = Color3.new(0, 0, 0)
275
spawn(function()
276
local TweenService = game:GetService("TweenService")
277
local Colours = {Color3.fromRGB(0,0,0),Color3.fromRGB(255,255,255),Color3.fromRGB(0,255,0),Color3.fromRGB(0,0,255)}
278
local Int = 0
279
while wait(0.5) do
280
    if Int == #Colours then Int = 0 end
281
    Int = Int+1
282
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
283
end
284
end)
285
text.Text = "Insane"
286-
text.Text = "Flamingo"
286+
287
--//=================================\\
288
--\\=================================//
289
290
--//=================================\\
291
--|| 	      SOME FUNCTIONS
292
--\\=================================//
293
294
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
295
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
296
end
297
298
function PositiveAngle(NUMBER)
299
	if NUMBER >= 0 then
300
		NUMBER = 0
301
	end
302
	return NUMBER
303
end
304
305
function NegativeAngle(NUMBER)
306
	if NUMBER <= 0 then
307
		NUMBER = 0
308
	end
309
	return NUMBER
310
end
311
312
function Swait(NUMBER)
313
	if NUMBER == 0 or NUMBER == nil then
314
		ArtificialHB.Event:wait()
315
	else
316
		for i = 1, NUMBER do
317
			ArtificialHB.Event:wait()
318
		end
319
	end
320
end
321
322
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
323
	local NEWMESH = IT(MESH)
324
	if MESH == "SpecialMesh" then
325
		NEWMESH.MeshType = MESHTYPE
326
		if MESHID ~= "nil" and MESHID ~= "" then
327
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
328
		end
329
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
330
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
331
		end
332
	end
333
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
334
	NEWMESH.Scale = SCALE
335
	NEWMESH.Parent = PARENT
336
	return NEWMESH
337
end
338
339
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
340
	local NEWPART = IT("Part")
341
	NEWPART.formFactor = FORMFACTOR
342
	NEWPART.Reflectance = REFLECTANCE
343
	NEWPART.Transparency = TRANSPARENCY
344
	NEWPART.CanCollide = false
345
	NEWPART.Locked = true
346
	NEWPART.Anchored = true
347
	if ANCHOR == false then
348
		NEWPART.Anchored = false
349
	end
350
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
351
	NEWPART.Name = NAME
352
	NEWPART.Size = SIZE
353
	NEWPART.Position = Torso.Position
354
	NEWPART.Material = MATERIAL
355
	NEWPART:BreakJoints()
356
	NEWPART.Parent = PARENT
357
	return NEWPART
358
end
359
360
	local function weldBetween(a, b)
361
	    local weldd = Instance.new("ManualWeld")
362
	    weldd.Part0 = a
363
	    weldd.Part1 = b
364
	    weldd.C0 = CFrame.new()
365
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
366
	    weldd.Parent = a
367
	    return weldd
368
	end
369
370
371
function QuaternionFromCFrame(cf)
372
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
373
	local trace = m00 + m11 + m22
374
	if trace > 0 then 
375
		local s = math.sqrt(1 + trace)
376
		local recip = 0.5 / s
377
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
378
	else
379
		local i = 0
380
		if m11 > m00 then
381
			i = 1
382
		end
383
		if m22 > (i == 0 and m00 or m11) then
384
			i = 2
385
		end
386
		if i == 0 then
387
			local s = math.sqrt(m00 - m11 - m22 + 1)
388
			local recip = 0.5 / s
389
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
390
		elseif i == 1 then
391
			local s = math.sqrt(m11 - m22 - m00 + 1)
392
			local recip = 0.5 / s
393
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
394
		elseif i == 2 then
395
			local s = math.sqrt(m22 - m00 - m11 + 1)
396
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
397
		end
398
	end
399
end
400
 
401
function QuaternionToCFrame(px, py, pz, x, y, z, w)
402
	local xs, ys, zs = x + x, y + y, z + z
403
	local wx, wy, wz = w * xs, w * ys, w * zs
404
	local xx = x * xs
405
	local xy = x * ys
406
	local xz = x * zs
407
	local yy = y * ys
408
	local yz = y * zs
409
	local zz = z * zs
410
	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))
411
end
412
 
413
function QuaternionSlerp(a, b, t)
414
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
415
	local startInterp, finishInterp;
416
	if cosTheta >= 0.0001 then
417
		if (1 - cosTheta) > 0.0001 then
418
			local theta = ACOS(cosTheta)
419
			local invSinTheta = 1 / SIN(theta)
420
			startInterp = SIN((1 - t) * theta) * invSinTheta
421
			finishInterp = SIN(t * theta) * invSinTheta
422
		else
423
			startInterp = 1 - t
424
			finishInterp = t
425
		end
426
	else
427
		if (1 + cosTheta) > 0.0001 then
428
			local theta = ACOS(-cosTheta)
429
			local invSinTheta = 1 / SIN(theta)
430
			startInterp = SIN((t - 1) * theta) * invSinTheta
431
			finishInterp = SIN(t * theta) * invSinTheta
432
		else
433
			startInterp = t - 1
434
			finishInterp = t
435
		end
436
	end
437
	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
438
end
439
440
function Clerp(a, b, t)
441
	local qa = {QuaternionFromCFrame(a)}
442
	local qb = {QuaternionFromCFrame(b)}
443
	local ax, ay, az = a.x, a.y, a.z
444
	local bx, by, bz = b.x, b.y, b.z
445
	local _t = 1 - t
446
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
447
end
448
449
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
450
	local frame = IT("Frame")
451
	frame.BackgroundTransparency = TRANSPARENCY
452
	frame.BorderSizePixel = BORDERSIZEPIXEL
453
	frame.Position = POSITION
454
	frame.Size = SIZE
455
	frame.BackgroundColor3 = COLOR
456
	frame.BorderColor3 = BORDERCOLOR
457
	frame.Name = NAME
458
	frame.Parent = PARENT
459
	return frame
460
end
461
462
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
463
	local label = IT("TextLabel")
464
	label.BackgroundTransparency = 1
465
	label.Size = UD2(1, 0, 1, 0)
466
	label.Position = UD2(0, 0, 0, 0)
467
	label.TextColor3 = TEXTCOLOR
468
	label.TextStrokeTransparency = STROKETRANSPARENCY
469
	label.TextTransparency = TRANSPARENCY
470
	label.FontSize = TEXTFONTSIZE
471
	label.Font = TEXTFONT
472
	label.BorderSizePixel = BORDERSIZEPIXEL
473
	label.TextScaled = false
474
	label.Text = TEXT
475
	label.Name = NAME
476
	label.Parent = PARENT
477
	return label
478
end
479
480
function NoOutlines(PART)
481
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
482
end
483
484
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
485
	local NEWWELD = IT(TYPE)
486
	NEWWELD.Part0 = PART0
487
	NEWWELD.Part1 = PART1
488
	NEWWELD.C0 = C0
489
	NEWWELD.C1 = C1
490
	NEWWELD.Parent = PARENT
491
	return NEWWELD
492
end
493
494
local S = IT("Sound")
495
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
496
	local NEWSOUND = nil
497
	coroutine.resume(coroutine.create(function()
498
		NEWSOUND = S:Clone()
499
		NEWSOUND.Parent = PARENT
500
		NEWSOUND.Volume = VOLUME
501
		NEWSOUND.Pitch = PITCH
502
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
503
		NEWSOUND:play()
504
		if DOESLOOP == true then
505
			NEWSOUND.Looped = true
506
		else
507
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
508
			NEWSOUND:remove()
509
		end
510
	end))
511
	return NEWSOUND
512
end
513
514
function CFrameFromTopBack(at, top, back)
515
	local right = top:Cross(back)
516
	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)
517
end
518
519
--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,255,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
520
function WACKYEFFECT(Table)
521
	local TYPE = (Table.EffectType or "Sphere")
522
	local SIZE = (Table.Size or VT(1,1,1))
523
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
524
	local TRANSPARENCY = (Table.Transparency or 0)
525
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
526
	local CFRAME = (Table.CFrame or Torso.CFrame)
527
	local MOVEDIRECTION = (Table.MoveToPos or nil)
528
	local ROTATION1 = (Table.RotationX or 0)
529
	local ROTATION2 = (Table.RotationY or 0)
530
	local ROTATION3 = (Table.RotationZ or 0)
531
	local MATERIAL = (Table.Material or "Neon")
532
	local COLOR = (Table.Color or C3(0,255,0))
533
	local TIME = (Table.Time or 45)
534
	local SOUNDID = (Table.SoundID or nil)
535
	local SOUNDPITCH = (Table.SoundPitch or nil)
536
	local SOUNDVOLUME = (Table.SoundVolume or nil)
537
	coroutine.resume(coroutine.create(function()
538
		local PLAYSSOUND = false
539
		local SOUND = nil
540
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
541
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
542
			PLAYSSOUND = true
543
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
544
		end
545
		EFFECT.Color = COLOR
546
		local MSH = nil
547
		if TYPE == "Sphere" then
548
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
549
		elseif TYPE == "Block" then
550
			MSH = IT("BlockMesh",EFFECT)
551
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
552
		elseif TYPE == "Wave" then
553
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
554
		elseif TYPE == "Ring" then
555
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
556
		elseif TYPE == "Slash" then
557
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
558
		elseif TYPE == "Round Slash" then
559
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
560
		elseif TYPE == "Swirl" then
561
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
562
		elseif TYPE == "Skull" then
563
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
564
		elseif TYPE == "Crystal" then
565
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
566
		end
567
		if MSH ~= nil then
568
			local MOVESPEED = nil
569
			if MOVEDIRECTION ~= nil then
570
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
571
			end
572
			local GROWTH = SIZE - ENDSIZE
573
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
574
			if TYPE == "Block" then
575
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
576
			else
577
				EFFECT.CFrame = CFRAME
578
			end
579
			for LOOP = 1, TIME+1 do
580
				Swait()
581
				MSH.Scale = MSH.Scale - GROWTH/TIME
582
				if TYPE == "Wave" then
583
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
584
				end
585
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
586
				if TYPE == "Block" then
587
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
588
				else
589
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
590
				end
591
				if MOVEDIRECTION ~= nil then
592
					local ORI = EFFECT.Orientation
593
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
594
					EFFECT.Orientation = ORI
595
				end
596
			end
597
			if PLAYSSOUND == false then
598
				EFFECT:remove()
599
			else
600
				SOUND.Stopped:Connect(function()
601
					EFFECT:remove()
602
				end)
603
			end
604
		else
605
			if PLAYSSOUND == false then
606
				EFFECT:remove()
607
			else
608
				repeat Swait() until SOUND.Playing == false
609
				EFFECT:remove()
610
			end
611
		end
612
	end))
613
end
614
615
function MakeForm(PART,TYPE)
616
	if TYPE == "Cyl" then
617
		local MSH = IT("CylinderMesh",PART)
618
	elseif TYPE == "Ball" then
619
		local MSH = IT("SpecialMesh",PART)
620
		MSH.MeshType = "Sphere"
621
	elseif TYPE == "Wedge" then
622
		local MSH = IT("SpecialMesh",PART)
623
		MSH.MeshType = "Wedge"
624
	end
625
end
626
627
function SpawnTrail(FROM,TO,BIG)
628
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Trail", VT(0,0,0))
629
	MakeForm(TRAIL,"Cyl")
630
	local DIST = (FROM - TO).Magnitude
631
	if BIG == true then
632
		TRAIL.Size = VT(10,DIST,10)
633
	else
634
		TRAIL.Size = VT(0.25,DIST,0.25)
635
	end
636
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
637
	coroutine.resume(coroutine.create(function()
638
		for i = 1, 5 do
639
			Swait()
640
			TRAIL.Transparency = 0
641
		end
642
		TRAIL:remove()
643
	end))
644
end
645
646
function SpawnTrailDeathBound(FROM,TO,BIG)
647
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "White", "Trail", VT(0,0,0))
648
	MakeForm(TRAIL,"Cyl")
649
	local DIST = (FROM - TO).Magnitude
650
	if BIG == true then
651
		TRAIL.Size = VT(10,DIST,10)
652
	else
653
		TRAIL.Size = VT(0.25,DIST,0.25)
654
	end
655
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
656
	coroutine.resume(coroutine.create(function()
657
		for i = 1, 5 do
658
			Swait()
659
			TRAIL.Transparency = TRAIL.Transparency + 0.1
660
		end
661
		TRAIL:remove()
662
	end))
663
end
664
665
Debris = game:GetService("Debris")
666
667
function CastProperRay(StartPos, EndPos, Distance, Ignore)
668
	local DIRECTION = CF(StartPos,EndPos).lookVector
669
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
670
end
671
672
function turnto(position)
673
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
674
end
675
676
--//=================================\\
677
--||	     WEAPON CREATION
678
--\\=================================//
679
680
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))
681
682
local Particle = IT("ParticleEmitter",nil)
683
Particle.Enabled = false
684
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
685
Particle.LightEmission = 0.5
686
Particle.Rate = 150
687
Particle.ZOffset = 0.2
688
Particle.Rotation = NumberRange.new(-180, 180)
689
Particle.RotSpeed = NumberRange.new(-180, 180)
690
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
691
Particle.Color = ColorSequence.new(C3(18/255,238/255,212/255))
692
693
local Particle2 = IT("ParticleEmitter",nil)
694
Particle2.Enabled = false
695
Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
696
Particle2.LightEmission = 0.5
697
Particle2.Rate = 150
698
Particle2.ZOffset = 0.2
699
Particle2.Rotation = NumberRange.new(-180, 180)
700
Particle2.RotSpeed = NumberRange.new(-180, 180)
701
Particle2.Texture = "http://www.roblox.com/asset/?id=304437537"
702
Particle2.Color = ColorSequence.new(C3(0/255, 255/255, 0/255))
703
704
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
705
function ParticleEmitter(Table)
706
	local PRTCL = Particle:Clone()
707
	local Speed = Table.Speed or 5
708
	local Drag = Table.Drag or 0
709
	local Size1 = Table.Size1 or 1
710
	local Size2 = Table.Size2 or 5
711
	local Lifetime1 = Table.Lifetime1 or 1
712
	local Lifetime2 = Table.Lifetime2 or 1.5
713
	local Parent = Table.Parent or Torso
714
	local Emit = Table.Emit or 100
715
	local Offset = Table.Offset or 360
716
	local Acel = Table.Acel or VT(0,0,0)
717
	local Enabled = Table.Enabled or false
718
	PRTCL.Parent = Parent
719
	PRTCL.Size = NumberSequence.new(Size1,Size2)
720
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
721
	PRTCL.Speed = NumberRange.new(Speed)
722
	PRTCL.VelocitySpread = Offset
723
	PRTCL.Drag = Drag
724
	PRTCL.Acceleration = Acel
725
	if Enabled == false then
726
		PRTCL:Emit(Emit)
727
		Debris:AddItem(PRTCL,Lifetime2)
728
	else
729
		PRTCL.Enabled = true
730
	end
731
	return PRTCL
732
end
733
734
function ParticleEmitter2(Table)
735
	local PRTCL = Particle2:Clone()
736
	local Speed = Table.Speed or 5
737
	local Drag = Table.Drag or 0
738
	local Size1 = Table.Size1 or 1
739
	local Size2 = Table.Size2 or 5
740
	local Lifetime1 = Table.Lifetime1 or 1
741
	local Lifetime2 = Table.Lifetime2 or 1.5
742
	local Parent = Table.Parent or Torso
743
	local Emit = Table.Emit or 100
744
	local Offset = Table.Offset or 360
745
	local Acel = Table.Acel or VT(0,0,0)
746
	local Enabled = Table.Enabled or false
747
	PRTCL.Parent = Parent
748
	PRTCL.Size = NumberSequence.new(Size1,Size2)
749
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
750
	PRTCL.Speed = NumberRange.new(Speed)
751
	PRTCL.VelocitySpread = Offset
752
	PRTCL.Drag = Drag
753
	PRTCL.Acceleration = Acel
754
	if Enabled == false then
755
		PRTCL:Emit(Emit)
756
		Debris:AddItem(PRTCL,Lifetime2)
757
	else
758
		PRTCL.Enabled = true
759
	end
760
	return PRTCL
761
end
762
763
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
764
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
765
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
766
MakeForm(Part,"Wedge")
767
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
768
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
769
MakeForm(Part,"Wedge")
770
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
771
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
772
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
773
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
774
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
775
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
776
MakeForm(Part,"Cyl")
777
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
778
for i = 1, 8 do
779
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
780
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
781
end
782
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
783
MakeForm(Part,"Cyl")
784
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
785
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
786
MakeForm(Part,"Ball")
787
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
788
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
789
MakeForm(Part,"Wedge")
790
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
791
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
792
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
793
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
794
MakeForm(Part,"Cyl")
795
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
796
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
797
MakeForm(Part,"Cyl")
798
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
799
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
800
MakeForm(Part,"Cyl")
801
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
802
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
803
MakeForm(Part,"Wedge")
804
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
805
local LASTPART = Handle
806
for i = 1, 10 do
807
	if LASTPART == Handle then
808
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
809
		LASTPART = Part
810
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
811
	else
812
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
813
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
814
		LASTPART = Part
815
	end
816
end
817
818
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
819
MakeForm(Barrel,"Cyl")
820
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
821
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
822
MakeForm(Part,"Cyl")
823
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
824
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
825
MakeForm(Part,"Wedge")
826
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
827
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
828
MakeForm(Hole,"Cyl")
829
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
830
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
831
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
832
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
833
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0,0),false)
834
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
835
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
836
coroutine.resume(coroutine.create(function()
837
	while wait() do
838
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
839
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
840
	end
841
end))
842
843
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)})
844
--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)})
845
846
local GRIP2 = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, 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))
847
848
local Handle2 = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
849
local LeftArmGrasp2 = CreateWeldOrSnapOrMotor("Weld", Handle2, LeftArm, Handle2, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
850
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
851
MakeForm(Part,"Wedge")
852
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
853
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
854
MakeForm(Part,"Wedge")
855
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
856
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
857
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
858
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
859
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
860
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
861
MakeForm(Part,"Cyl")
862
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
863
for i = 1, 8 do
864
	local Piece = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye2", VT(0,0.35,0.41),false)
865
	CreateWeldOrSnapOrMotor("Weld", Handle2, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
866
end
867
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye2", VT(0.38,0.41,0.38),false)
868
MakeForm(Part,"Cyl")
869
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
870
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
871
MakeForm(Part,"Ball")
872
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
873
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
874
MakeForm(Part,"Wedge")
875
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
876
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
877
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
878
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
879
MakeForm(Part,"Cyl")
880
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
881
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
882
MakeForm(Part,"Cyl")
883
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
884
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
885
MakeForm(Part,"Cyl")
886
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
887
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
888
MakeForm(Part,"Wedge")
889
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
890
local LASTPART = Handle2
891
for i = 1, 10 do
892
	if LASTPART == Handle2 then
893
		local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
894
		LASTPART = Part
895
		CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
896
	else
897
		local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
898
		CreateWeldOrSnapOrMotor("Weld", Handle2, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
899
		LASTPART = Part
900
	end
901
end
902
903
local Barrel = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
904
MakeForm(Barrel,"Cyl")
905
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
906
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
907
MakeForm(Part,"Cyl")
908
CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
909
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
910
MakeForm(Part,"Wedge")
911
CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
912
local Hole2 = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye2", VT(0.125,0,0.125),false)
913
MakeForm(Hole2,"Cyl")
914
CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
915
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
916
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
917
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
918
local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye2", VT(0,0,0),false)
919
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
920
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
921
coroutine.resume(coroutine.create(function()
922
	while wait() do
923
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
924
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
925
	end
926
end))
927
928
ParticleEmitter2({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
929
--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)})
930
931
for _, c in pairs(Weapon:GetDescendants()) do
932
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
933
		c.Material = "Glass"
934
		c.Color = C3(0/255,255/255,0/255)
935
	elseif c.ClassName == "Part" and c.Name == "Eye" then
936
		c.Color = C3(0/255,255/255,0/255)
937
		c.Material = "Neon"
938
	end
939
end
940
941
for _, c in pairs(Weapon2:GetDescendants()) do
942
	if c.ClassName == "Part" and c.Name ~= "Eye2" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
943
		c.Material = "Glass"
944
		c.Color = C3(18/255,238/255,212/255)
945
	elseif c.ClassName == "Part" and c.Name == "Eye2" then
946
		c.Color = C3(18/255,238/255,212/255)
947
		c.Material = "Neon"
948
	end
949
end
950
951
Weapon.Parent = Character
952
for _, c in pairs(Weapon:GetChildren()) do
953
	if c.ClassName == "Part" then
954
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
955
	end
956
end
957
958
Weapon2.Parent = Character
959
for _, c in pairs(Weapon2:GetChildren()) do
960
	if c.ClassName == "Part" then
961
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
962
	end
963
end
964
965
function swait(num)
966
	if num == 0 or num == nil then
967
		ArtificialHB.Event:wait()
968
	else
969
		for i = 0, num do
970
			ArtificialHB.Event:wait()
971
		end
972
	end
973
end
974
975
function chatfunc(text)
976
	local chat = coroutine.wrap(function()
977
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
978
		Character:FindFirstChild("TalkingBillBoard"):destroy()
979
	end
980
	local Bill = Instance.new("BillboardGui",Character)
981
	Bill.Size = UDim2.new(0,100,0,40)
982
	Bill.StudsOffset = Vector3.new(0,3,0)
983
	Bill.Adornee = Character.Head
984
	Bill.Name = "TalkingBillBoard"
985
	local Hehe = Instance.new("TextLabel",Bill)
986
	Hehe.BackgroundTransparency = 1
987
	Hehe.BorderSizePixel = 0
988
	Hehe.Text = ""
989
	Hehe.Font = "Bodoni"
990
	Hehe.TextSize = 40
991
	Hehe.TextStrokeTransparency = 0
992
	Hehe.Size = UDim2.new(1,0,0.5,0)
993
	coroutine.resume(coroutine.create(function()
994
		while Hehe ~= nil do
995
			swait()	
996
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
997
			Hehe.Rotation = math.random(-5,5)
998
			Hehe.TextColor3 = Color3.new(0,255,0)
999
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
1000
		end
1001
	end))
1002
	for i = 1,string.len(text),1 do
1003
		swait()
1004
		Hehe.Text = string.sub(text,1,i)
1005
	end
1006
	swait(90)--Re[math.random(1, 93)]
1007
	for i = 0, 1, .025 do
1008
		swait()
1009
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
1010
		Hehe.TextStrokeTransparency = i
1011
		Hehe.TextTransparency = i
1012
	end
1013
	Bill:Destroy()
1014
	end)
1015
chat()
1016
end
1017
1018
function onChatted(msg)
1019
	chatfunc(msg)
1020
end
1021
1022
Player.Chatted:connect(onChatted)
1023
1024
local BODY = {}
1025
for _, c in pairs(Character:GetDescendants()) do
1026
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1027
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1028
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1029
		end
1030
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
1031
	elseif c:IsA("JointInstance") then
1032
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
1033
	end
1034
end
1035
for e = 1, #BODY do
1036
	if BODY[e] ~= nil then
1037
		local STUFF = BODY[e]
1038
		local PART = STUFF[1]
1039
		local PARENT = STUFF[2]
1040
		local MATERIAL = STUFF[3]
1041
		local COLOR = STUFF[4]
1042
		local TRANSPARENCY = STUFF[5]
1043
		if PART.ClassName == "Part" and PART ~= RootPart then
1044
			PART.Material = MATERIAL
1045
			PART.Color = COLOR
1046
			PART.Transparency = TRANSPARENCY
1047
		end
1048
		PART.AncestryChanged:Connect(function()
1049
			PART.Parent = PARENT
1050
		end)
1051
	end
1052
end
1053
function refit()
1054
	Character.Parent = workspace
1055
	for e = 1, #BODY do
1056
		if BODY[e] ~= nil then
1057
			local STUFF = BODY[e]
1058
			local PART = STUFF[1]
1059
			local PARENT = STUFF[2]
1060
			local MATERIAL = STUFF[3]
1061
			local COLOR = STUFF[4]
1062
			local TRANSPARENCY = STUFF[5]
1063
			if PART:IsA("BasePart") and PART ~= RootPart then
1064
				PART.Material = MATERIAL
1065
				PART.Color = COLOR
1066
				PART.Transparency = TRANSPARENCY+0
1067
			end
1068
			if PART.Parent ~= PARENT then
1069
				Humanoid:remove()
1070
				PART.Parent = PARENT
1071
				Humanoid = IT("Humanoid",Character)
1072
			end
1073
		end
1074
	end
1075
end
1076
1077
Humanoid.Died:connect(function()
1078
	refit()
1079
end)
1080
1081
local SKILLTEXTCOLOR = C3(0/255,255/255,0/255)
1082
local SKILLTEXTCOLOR2 = C3(18/255,238/255,212/255)
1083
local SKILLFONT = "Code"
1084
local SKILLTEXTSIZE = 7
1085
1086
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1087
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1088
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")
1089
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")
1090
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")
1091
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1092
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
1093
1094
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Laser", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
1095
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
1096
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Laser Barrage", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
1097
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Flaming Beam", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
1098
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Exploding Fury", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
1099
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[Q] Forgive Sins", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7")
1100
1101
function printbye(Name)
1102
	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, "}
1103
	chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1104
end
1105
1106
workspace.ChildAdded:connect(function(instance)
1107
    for BANISH = 1, #TOBANISH do
1108
		if TOBANISH[BANISH] ~= nil then
1109
			if instance.Name == TOBANISH[BANISH] then
1110
				coroutine.resume(coroutine.create(function()
1111
					printbye(instance.Name)
1112
					instance:ClearAllChildren()
1113
					Debris:AddItem(instance,0.0005)
1114
				end))
1115
			end
1116
		end
1117
	end
1118
end)
1119
1120
--//=================================\\
1121
--||			DAMAGING
1122
--\\=================================//
1123
1124
function Banish(Foe)
1125
	if Foe then
1126
		coroutine.resume(coroutine.create(function()
1127
			--if game.Players:FindFirstChild(Foe.Name) then
1128
				table.insert(TOBANISH,Foe.Name)
1129
				printbye(Foe.Name)
1130
			--end
1131
			Foe.Archivable = true
1132
			local CLONE = Foe:Clone()
1133
			Foe:Destroy()
1134
			CLONE.Parent = Effects
1135
			CLONE:BreakJoints()
1136
			local MATERIALS = {"Glass","Neon"}
1137
			for _, c in pairs(CLONE:GetDescendants()) do
1138
				if c:IsA("BasePart") then
1139
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1140
 						CreateSound(340722848, c, 10, 1, false)
1141
					end
1142
					c.Anchored = true
1143
					c.Transparency = c.Transparency + 0.2
1144
					c.Material = MATERIALS[MRANDOM(1,2)]
1145
					c.Color = C3(0,255,0)
1146
					if c.ClassName == "MeshPart" then
1147
						c.TextureID = ""
1148
					end
1149
					if c:FindFirstChildOfClass("SpecialMesh") then
1150
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1151
					end
1152
					if c:FindFirstChildOfClass("Decal") then
1153
						c:FindFirstChildOfClass("Decal"):remove()
1154
					end
1155
					c.Name = "Banished"
1156
					c.CanCollide = false
1157
				else
1158
					c:remove()
1159
				end
1160
			end
1161
			local A = false
1162
			for i = 1, 35 do
1163
				if A == false then
1164
					A = true
1165
				elseif A == true then
1166
					A = false
1167
				end
1168
				for _, c in pairs(CLONE:GetDescendants()) do
1169
					if c:IsA("BasePart") then
1170
						c.Anchored = true
1171
						c.Material = MATERIALS[MRANDOM(1,2)]
1172
						c.Transparency = c.Transparency + 0.8/35
1173
						if A == false then
1174
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1175
						elseif A == true then
1176
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1177
						end
1178
					end
1179
				end
1180
				Swait()
1181
			end
1182
			CLONE:remove()
1183
		end))
1184
	end
1185
end
1186
1187
function ApplyAoE(POSITION,RANGE,ISBANISH)
1188
	local CHILDREN = workspace:GetDescendants()
1189
	for index, CHILD in pairs(CHILDREN) do
1190
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1191
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1192
			if HUM then
1193
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1194
				if TORSO then
1195
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1196
						if ISBANISH == true then
1197
							Banish(CHILD)
1198
						else
1199
							if ISBANISH == "Gravity" then
1200
								HUM.PlatformStand = true
1201
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1202
									local grav = Instance.new("BodyPosition",TORSO)
1203
									grav.D = 15
1204
									grav.P = 20000
1205
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1206
									grav.position = TORSO.Position
1207
									grav.Name = "V3BanishForce"..Player.Name
1208
								else
1209
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1210
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1211
								end
1212
							else
1213
								HUM.PlatformStand = false
1214
							end
1215
						end
1216
					elseif ISBANISH == "Gravity" then
1217
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1218
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1219
							HUM.PlatformStand = false
1220
						end
1221
					end
1222
				end
1223
			end
1224
		end
1225
	end
1226
end
1227
1228
--//=================================\\
1229
--||	ATTACK FUNCTIONS AND STUFF
1230
--\\=================================//
1231
local LAUGHS = {"907329532"}
1232
1233
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1234
MakeForm(RightHole,"Cyl")
1235
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1236
MakeForm(LeftHole,"Cyl")
1237
1238
function Kill(Char)
1239
	local NewCharacter = IT("Model",Effects)
1240
	NewCharacter.Name = "Ow im ded ;-;"
1241
	for _, c in pairs(Char:GetDescendants()) do
1242
		if c:IsA("BasePart") and c.Transparency == 0 then
1243
			c:BreakJoints()
1244
			c.Material = "Glass"
1245
			c.Color = C3(0.5,0,0)
1246
			c.CanCollide = true
1247
			c.Transparency = 0.3
1248
			if c:FindFirstChildOfClass("SpecialMesh") then
1249
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1250
			end
1251
			if c.Name == "Head" then
1252
				c:ClearAllChildren()
1253
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1254
			end
1255
			if c.ClassName == "MeshPart" then
1256
				c.TextureID = ""
1257
			end
1258
			if c:FindFirstChildOfClass("BodyPosition") then
1259
				c:FindFirstChildOfClass("BodyPosition"):remove()
1260
			end
1261
			if c:FindFirstChildOfClass("ParticleEmitter") then
1262
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1263
			end
1264
			c.Parent = NewCharacter
1265
			c.Name = "DeadPart"
1266
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1267
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1268
		end
1269
	end
1270
	Char:remove()
1271
	Debris:AddItem(NewCharacter,5)
1272
end
1273
1274
function Banisher_Bullet()
1275
	ATTACK = true
1276
	Rooted = false
1277
	for i=0, 0.05, 0.1 / Animation_Speed do
1278
		Swait()
1279
		turnto(Mouse.Hit.p)
1280
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1281
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1282
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1283
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1284
		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)
1285
		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)
1286
	end
1287
	repeat
1288
		for i=0, 0.05, 0.1 / Animation_Speed do
1289
			Swait()
1290
			turnto(Mouse.Hit.p)
1291
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1292
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1293
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1294
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1295
			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)
1296
			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)
1297
		end
1298
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1299
		SpawnTrail(Hole.Position,POS,true)
1300
		if HIT ~= nil then
1301
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1302
				Banish(HIT.Parent)
1303
			end
1304
		end
1305
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(18/255,238/255,212/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1306
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(18/255,238/255,212/255), SoundID = 340722848, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1307
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(18/255,238/255,212/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1308
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(18/255,238/255,212/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1309
		for i=0, 0.05, 0.1 / Animation_Speed do
1310
			Swait()
1311
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1312
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1313
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1314
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1315
			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)
1316
			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)
1317
		end
1318
	until KEYHOLD == false
1319
	ATTACK = false
1320
	Rooted = false
1321
end
1322
function Taunt2()
1323
	ATTACK = true
1324
	Rooted = true
1325
	local TAUNT = CreateSound(159882635, Torso, 20, 1.2, false)
1326
	repeat
1327
		Swait()
1328
		TAUNT.Parent = Torso
1329
		TAUNT.Playing = true
1330
		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)
1331
		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)
1332
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1333
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1334
		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)
1335
		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)
1336
	until TAUNT.TimePosition >= 1.25
1337
	for i=0, 1.6, 0.1 / Animation_Speed do
1338
		Swait()
1339
		TAUNT.Parent = Torso
1340
		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)
1341
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
1342
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1343
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1344
		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)
1345
		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)
1346
	end
1347
	ATTACK = false
1348
	Rooted = false
1349
end
1350
function Execute()
1351
	ATTACK = true
1352
	Rooted = false
1353
	local Part = CreatePart(3, Character, "Neon", 1, 1, "Mid gray", "Part", VT(0,1,4),false)
1354
	Part.Color = C3(0,0,0)
1355
	MakeForm(Part,"Wedge")
1356
	Part.CanCollide = true
1357
	CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
1358
	for i=0, 1, 0.1 / Animation_Speed do
1359
		Swait()
1360
		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)
1361
		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)
1362
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1363
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
1364
		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)
1365
		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)
1366
	end
1367
	CreateSound(541909867, RightArm, 7, 1, false)
1368
	local TOCH = Part.Touched:Connect(function(hit)
1369
		if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
1370
			Banish(hit.Parent)
1371
		end
1372
	end)
1373
	for i=0, 0.35, 0.1 / Animation_Speed do
1374
		Swait()
1375
		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)
1376
		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)
1377
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1378
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
1379
		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)
1380
		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)
1381
	end
1382
	TOCH:disconnect()
1383
	for i=0, 0.35, 0.1 / Animation_Speed do
1384
		Swait()
1385
		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)
1386
		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)
1387
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1388
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
1389
		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)
1390
		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)
1391
	end
1392
	Part:remove()
1393
	ATTACK = false
1394
	Rooted = false
1395
end
1396
function Banisher_Burn()
1397
	ATTACK = true
1398
	Rooted = true
1399
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
1400
	for i=0, 1, 0.1 / Animation_Speed do
1401
		Swait()
1402
		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)
1403
		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)
1404
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1405
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1406
		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)
1407
		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)
1408
	end	
1409
	coroutine.resume(coroutine.create(function()
1410
		local POS = Mouse.Hit.p
1411
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0))
1412
		MakeForm(RAY,"Cyl")
1413
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
1414
		MakeForm(SPHERE,"Ball")
1415
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
1416
		MakeForm(SHIELD,"Ball")
1417
		SHIELD.CFrame = CF(POS)
1418
		RAY.CFrame = CF(POS)
1419
		SPHERE.CFrame = CF(POS)
1420
		CreateSound(440145570, SPHERE, 10, 0.8, false)
1421
		CreateSound(415700134, SPHERE, 10, 0.8, false)
1422
		for i = 1, 200 do
1423
			Swait()
1424
			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,255/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1425
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
1426
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
1427
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
1428
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
1429
		end	
1430
		for i = 1, 45 do
1431
			Swait()
1432
			RAY.Transparency = RAY.Transparency + 1/45
1433
			SPHERE.Transparency = RAY.Transparency 
1434
			SHIELD.Transparency = SPHERE.Transparency + 1/45
1435
		end
1436
		RAY:remove()
1437
		SHIELD:remove()
1438
		SPHERE:remove()
1439
	end))
1440
	for i=0, 1, 0.1 / Animation_Speed do
1441
		Swait()
1442
		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)
1443
		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)
1444
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1445
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1446
		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)
1447
		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)
1448
	end
1449
	ATTACK = false
1450
	Rooted = false
1451
end
1452
function Teleport()
1453
	ATTACK = true
1454
	Rooted = false
1455
	for i=0, 0.5, 0.1 / Animation_Speed do
1456
		Swait()
1457
		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)
1458
		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)
1459
	end
1460
	local pos = RootPart.Position
1461
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
1462
	CreateSound(769380905, Torso, 10, 1)
1463
	for i=0, 0.5, 0.1 / Animation_Speed do
1464
		Swait()
1465
		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)
1466
		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)
1467
	end
1468
	for i=0, 0.1, 0.1 / Animation_Speed do
1469
		Swait()
1470
		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)
1471
	end
1472
	ATTACK = false
1473
	Rooted = false
1474
end
1475
function BanishmentBeam()
1476
	ATTACK = true
1477
	Rooted = false
1478
	local GYRO = IT("BodyGyro",RootPart)
1479
	GYRO.D = 100
1480
	GYRO.P = 2000
1481
	GYRO.MaxTorque = VT(0,4000000,0)
1482
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1483
	CreateSound("93724183", RightArm, 5, 1, false)
1484
	for i=1, 35 do
1485
		Swait()
1486
		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})
1487
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1488
		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)
1489
		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)
1490
		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)
1491
		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)
1492
		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)
1493
		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)
1494
	end
1495
	local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Toothpaste", "Lazer", VT(0,0,0))
1496
	local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
1497
	local TOCH = BEAM.Touched:Connect(function(hit)
1498
	end)
1499
	local I = 0
1500
	repeat
1501
		Swait()
1502
		I = I + 1
1503
		if I <= 10 then
1504
			BEAM.Transparency = BEAM.Transparency - 0.5
1505
		end
1506
		local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
1507
		local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
1508
		local DISTANCE = (STARTPOS - ENDPOS).Magnitude
1509
		BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
1510
		BEAM.Size = VT(2,2,DISTANCE)
1511
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1512
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0.75, Transparency2 = 0.005, 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})
1513
		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)
1514
		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)
1515
		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)
1516
		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)
1517
		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)
1518
		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)
1519
		if ENDHIT ~= nil then
1520
			if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
1521
				Kill(ENDHIT.Parent)
1522
			end
1523
		end
1524
	until LOOP.Playing == false
1525
	GYRO:remove()
1526
	BEAM:remove()
1527
	ATTACK = false
1528
	Rooted = false
1529
end
1530
function MusicActivation()
1531
	if PLAYSONG == true then
1532
		PLAYSONG = false
1533
	elseif PLAYSONG == false then
1534
		PLAYSONG = true
1535
	end
1536
end
1537
function Deathbound()
1538
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
1539
	ATTACK = true
1540
	Rooted = true
1541
	for i=0, 1, 0.1 / Animation_Speed do
1542
		Swait()
1543
		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)
1544
		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)
1545
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1546
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1547
		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)
1548
		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)
1549
	end
1550
	local DONE = false
1551
	local GATE = nil
1552
	local GATESPIN = true
1553
	coroutine.resume(coroutine.create(function()
1554
		repeat
1555
			Swait()
1556
			if GATE ~= nil then
1557
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
1558
			end
1559
		until GATESPIN == false
1560
	end))
1561
	coroutine.resume(coroutine.create(function()
1562
		repeat
1563
			Swait()
1564
			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)
1565
			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)
1566
			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)
1567
			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)
1568
			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)
1569
			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)
1570
		until DONE == true
1571
		Swait(50)
1572
		for i = 1, 35 do
1573
			Swait(4)
1574
			local FIRED = false
1575
			local CHILDREN = workspace:GetDescendants()
1576
			for index, CHILD in pairs(CHILDREN) do
1577
				if CHILD.ClassName == "Model" and CHILD ~= Character then
1578
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1579
					if HUM then
1580
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1581
						if TORSO then
1582
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
1583
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
1584
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
1585
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
1586
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1587
								SpawnTrailDeathBound(CFRAME.p,CFRAME*CF(0,1000,0).p)		
1588
								Banish(CHILD)
1589
								FIRED = true
1590
								break
1591
							end
1592
						end
1593
					end
1594
				end
1595
			end
1596
			if FIRED == false then
1597
				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)))
1598
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
1599
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1600
				SpawnTrailDeathBound(CFRAME.p,CFRAME*CF(0,1000,0).p)
1601
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
1602
				if HITBOD ~= nil then
1603
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
1604
						Kill(HITBOD.Parent)
1605
					end
1606
				end
1607
			end
1608
		end
1609
		for i = 1, 45 do
1610
			Swait()
1611
			GATE.Size = GATE.Size - VT(3,0,3)
1612
		end
1613
		GATESPIN = false
1614
		GATE:remove()
1615
	end))
1616
	Swait(15)
1617
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
1618
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
1619
	local DECAL = IT("Decal",GATE)
1620
	DECAL.Color3 = Color3.new(0,0,0)
1621
	DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
1622
	DECAL.Face = "Top"
1623
	GATE.CFrame = CF(HITPOS)
1624
	CreateSound(160772554, GATE, 7, 1.3, false)
1625
	for i = 1, 45 do
1626
		Swait()
1627
		GATE.Size = GATE.Size + VT(3,0,3)
1628
	end
1629
	CreateSound(213603013, RightHole, 7, 1, false)
1630
	CreateSound(213603013, LeftHole, 7, 1, false)
1631
	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})
1632
	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})
1633
	ATTACK = false
1634
	Rooted = false
1635
	DONE = true
1636
end
1637
SIZE = 1
1638
function Taunt()
1639
	ATTACK = true
1640
	local LAUGH = nil
1641
	coroutine.resume(coroutine.create(function()
1642
		repeat
1643
			Swait()
1644
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1645
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
1646
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1647
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1648
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1649
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1650
		until LAUGH ~= nil
1651
		repeat
1652
			Swait()
1653
			LAUGH.Parent = Torso
1654
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1655
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
1656
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1657
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1658
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1659
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1660
		until LAUGH.Playing == false
1661
	ATTACK = false
1662
	end))
1663
	wait(0.1)
1664
	LAUGH = CreateSound(525166232, Torso, 20, 1, false)
1665
end
1666
1667
function Forgive_Sins()
1668
	chatfunc("You are now debanished my child.")
1669
1670
	for p,v in next, TOBANISH do
1671
		TOBANISH[p] = nil
1672
	end
1673
end
1674
--//=================================\\
1675
--||	  ASSIGN THINGS TO KEYS
1676
--\\=================================//
1677
1678
function MouseDown(Mouse)
1679
	if ATTACK == false then
1680
	                Execute()
1681
	end
1682
end
1683
1684
function MouseUp(Mouse)
1685
HOLD = false
1686
end
1687
1688
function KeyDown(Key)
1689
	KEYHOLD = true
1690
	if Key == "z" and ATTACK == false then
1691
		Banisher_Bullet()
1692
	end
1693
1694
	if Key == "b" and ATTACK == false then
1695
                 Banisher_Burn()
1696
	end
1697
1698
	if Key == "c" and ATTACK == false then
1699
                 BanishmentBeam()
1700
	end
1701
1702
	if Key == "v" and ATTACK == false then
1703
                 Teleport()
1704
	end
1705
1706
	if Key == "x" and ATTACK == false then
1707
                 Deathbound()
1708
	end
1709
	
1710
	if Key == "t" and ATTACK == false then
1711
		Taunt()
1712
	end
1713
	
1714
	if Key == "y" and ATTACK == false then
1715
		Taunt2()
1716
	end
1717
	
1718
	if Key == "m" then
1719
		MusicActivation()
1720
	end
1721
	
1722
	if Key == "q" then
1723
		Forgive_Sins()
1724
	end
1725
end
1726
1727
function KeyUp(Key)
1728
	KEYHOLD = false
1729
end
1730
1731
	Mouse.Button1Down:connect(function(NEWKEY)
1732
		MouseDown(NEWKEY)
1733
	end)
1734
	Mouse.Button1Up:connect(function(NEWKEY)
1735
		MouseUp(NEWKEY)
1736
	end)
1737
	Mouse.KeyDown:connect(function(NEWKEY)
1738
		KeyDown(NEWKEY)
1739
	end)
1740
	Mouse.KeyUp:connect(function(NEWKEY)
1741
		KeyUp(NEWKEY)
1742
	end)
1743
1744
--//=================================\\
1745
--\\=================================//
1746
1747
1748
function unanchor()
1749
	if UNANCHOR == true then
1750
		g = Character:GetChildren()
1751
		for i = 1, #g do
1752
			if g[i].ClassName == "Part" then
1753
				g[i].Anchored = false
1754
			end
1755
		end
1756
	end
1757
end
1758
1759
1760
--//=================================\\
1761
--||	WRAP THE WHOLE SCRIPT UP
1762
--\\=================================//
1763
1764
Humanoid.Changed:connect(function(Jump)
1765
	if Jump == "Jump" and (Disable_Jump == true) then
1766
		Humanoid.Jump = false
1767
	end
1768
end)
1769
1770
local CONNECT = nil
1771
1772
while true do
1773
	Swait()
1774
	ANIMATE.Parent = nil
1775
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1776
		Humanoid = IT("Humanoid",Character)
1777
	end
1778
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1779
	    v:Stop();
1780
	end
1781
	SINE = SINE + CHANGE
1782
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1783
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1784
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1785
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
1786
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1787
		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)
1788
		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)
1789
		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)
1790
		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)
1791
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1792
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
1793
		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)
1794
		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)
1795
		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)
1796
	end
1797
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1798
		ANIM = "Jump"
1799
		if ATTACK == false then
1800
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1801
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1802
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1803
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1804
			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)
1805
			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)
1806
	    end
1807
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1808
		ANIM = "Fall"
1809
		if ATTACK == false then
1810
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1811
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1812
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1813
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1814
			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)
1815
			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)
1816
		end
1817
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1818
		ANIM = "Idle"
1819
		if ATTACK == false then
1820
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1821
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
1822
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1823
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1824
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1825
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1826
		end
1827
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1828
		ANIM = "Walk"
1829
		if ATTACK == false then
1830
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1831
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1832
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1833
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1834
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
1835
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
1836
		end
1837
	end
1838
	unanchor()
1839
	Humanoid.MaxHealth = "inf"
1840
	Humanoid.Health = "inf"
1841
	if Rooted == false then
1842
		Disable_Jump = false
1843
		Humanoid.WalkSpeed = Speed
1844
	elseif Rooted == true then
1845
		Disable_Jump = true
1846
		Humanoid.WalkSpeed = 0
1847
	end
1848
	refit()
1849
	sick.Parent = Torso
1850
	sick.Playing = PLAYSONG
1851
	sick.Volume = 5
1852
	sick.Pitch = 1
1853
	sick.SoundId = "rbxassetid://155334395"
1854-
	sick.SoundId = "rbxassetid://973281733"
1854+
1855
end
1856
1857
--//=================================\\
1858
--\\=================================//