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