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