View difference between Paste ID: mMbzbbDv and VzmA8sHF
SHOW: | | - or go back to the newest paste.
1
wait(0.2)
2
Player = game:GetService("Players").LocalPlayer
3
PlayerGui = Player.PlayerGui
4
Cam = workspace.CurrentCamera
5
Backpack = Player.Backpack
6
Character = Player.Character
7
Humanoid = Character.Humanoid
8
Mouse = Player:GetMouse()
9
RootPart = Character.HumanoidRootPart
10
Torso = Character.Torso
11
Head = Character.Head
12
RightArm = Character["Right Arm"]
13
LeftArm = Character["Left Arm"]
14
RightLeg = Character["Right Leg"]
15
LeftLeg = Character["Left Leg"]
16
RootJoint = RootPart.RootJoint
17
Neck = Torso.Neck
18
RightShoulder = Torso["Right Shoulder"]
19
LeftShoulder = Torso["Left Shoulder"]
20
RightHip = Torso["Right Hip"]
21
LeftHip = Torso["Left Hip"]
22
local LastBolt
23
local LightningBolts = {}
24
local GunPoint
25
IT = Instance.new
26
CF = CFrame.new
27
VT = Vector3.new
28
RAD = math.rad
29
C3 = Color3.new
30
UD2 = UDim2.new
31
BRICKC = BrickColor.new
32
ANGLES = CFrame.Angles
33
EULER = CFrame.fromEulerAnglesXYZ
34
COS = math.cos
35
ACOS = math.acos
36
SIN = math.sin
37
ASIN = math.asin
38
ABS = math.abs
39
MRANDOM = math.random
40
FLOOR = math.floor
41
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
42
	local NEWMESH = IT(MESH)
43
	if MESH == "SpecialMesh" then
44
		NEWMESH.MeshType = MESHTYPE
45
		if MESHID ~= "nil" and MESHID ~= "" then
46
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
47
		end
48
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
49
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
50
		end
51
	end
52
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
53
	NEWMESH.Scale = SCALE
54
	NEWMESH.Parent = PARENT
55
	return NEWMESH
56
end
57
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
58
	local NEWPART = IT("Part")
59
	NEWPART.formFactor = FORMFACTOR
60
	NEWPART.Reflectance = REFLECTANCE
61
	NEWPART.Transparency = TRANSPARENCY
62
	NEWPART.CanCollide = false
63
	NEWPART.Locked = true
64
	NEWPART.Anchored = true
65
	if ANCHOR == false then
66
		NEWPART.Anchored = false
67
	end
68
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
69
	NEWPART.Name = NAME
70
	NEWPART.Size = SIZE
71
	NEWPART.Position = Torso.Position
72
	NEWPART.Material = MATERIAL
73
	NEWPART:BreakJoints()
74
	NEWPART.Parent = PARENT
75
	return NEWPART
76
end
77
Player_Size = 1
78
Animation_Speed = 3
79
Frame_Speed = 0.016666666666666666
80
local Speed = 16
81
local Effects2 = {}
82
local weldBetween = function(a, b)
83
	local weldd = Instance.new("ManualWeld")
84
	weldd.Part0 = a
85
	weldd.Part1 = b
86
	weldd.C0 = CFrame.new()
87
	weldd.C1 = b.CFrame:inverse() * a.CFrame
88
	weldd.Parent = a
89
	return weldd
90
end
91
function createaccessory(attachmentpart, mesh, texture, scale, offset, color)
92
	local acs = Instance.new("Part")
93
	acs.CanCollide = false
94
	acs.Anchored = false
95
	acs.Size = Vector3.new(0, 0, 0)
96
	acs.CFrame = attachmentpart.CFrame
97
	acs.Parent = Character
98
	acs.BrickColor = color
99
	local meshs = Instance.new("SpecialMesh")
100
	meshs.MeshId = mesh
101
	meshs.TextureId = texture
102
	meshs.Parent = acs
103
	meshs.Scale = scale
104
	meshs.Offset = offset
105
	weldBetween(attachmentpart, acs)
106
end
107
function createbodypart(TYPE, COLOR, PART, OFFSET, SIZE)
108
	if TYPE == "Gem" then
109
		local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0, 0, 0))
110
		acs.Anchored = false
111
		acs.CanCollide = false
112
		acs.CFrame = PART.CFrame
113
		local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
114
		weldBetween(PART, acs)
115
	elseif TYPE == "Skull" then
116
		local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0, 0, 0))
117
		acs.Anchored = false
118
		acs.CanCollide = false
119
		acs.CFrame = PART.CFrame
120
		local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
121
		weldBetween(PART, acs)
122
	elseif TYPE == "Eye" then
123
		local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0, 0, 0))
124
		acs.Anchored = false
125
		acs.CanCollide = false
126
		acs.CFrame = PART.CFrame
127
		local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
128
		weldBetween(PART, acs)
129
	end
130
end
131
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
132
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
133
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
134
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
135
local CHANGEDEFENSE = 0
136
local CHANGEDAMAGE = 0
137
local CHANGEMOVEMENT = 0
138
local ANIM = "Idle"
139
local ATTACK = false
140
local EQUIPPED = false
141
local HOLD = false
142
local COMBO = 1
143
local Rooted = false
144
local SINE = 0
145
local KEYHOLD = false
146
local CHANGE = 2 / Animation_Speed
147
local WALKINGANIM = false
148
local WALK = 0
149
local VALUE1 = false
150
local VALUE2 = false
151
local ROBLOXIDLEANIMATION = IT("Animation")
152
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
153
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
154
local WEAPONGUI = IT("ScreenGui", PlayerGui)
155
WEAPONGUI.Name = "Weapon GUI"
156
local Weapon = IT("Model")
157
Weapon.Name = "Adds"
158
local Delete = IT("Model", Character)
159
Delete.Name = "Those who must be banished."
160
local Effects = IT("Folder", Weapon)
161
Effects.Name = "Effects"
162
local ANIMATOR = Humanoid.Animator
163
local ANIMATE = Character.Animate
164
local HITPLAYERSOUNDS = {
165
	"263032172",
166
	"263032182",
167
	"263032200",
168
	"263032221",
169
	"263032252",
170
	"263033191"
171
}
172
local HITARMORSOUNDS = {
173
	"199149321",
174
	"199149338",
175
	"199149367",
176
	"199149409",
177
	"199149452"
178
}
179
local HITWEAPONSOUNDS = {
180
	"199148971",
181
	"199149025",
182
	"199149072",
183
	"199149109",
184
	"199149119"
185
}
186
local HITBLOCKSOUNDS = {"199148933", "199148947"}
187
local UNANCHOR = true
188
local SKILLTEXTCOLOR = C3(1, 0, 0)
189
ArtificialHB = Instance.new("BindableEvent", script)
190
ArtificialHB.Name = "ArtificialHB"
191
script:WaitForChild("ArtificialHB")
192
frame = Frame_Speed
193
tf = 0
194
allowframeloss = false
195
tossremainder = false
196
lastframe = tick()
197
script.ArtificialHB:Fire()
198
game:GetService("RunService").Heartbeat:connect(function(s, p)
199
	tf = tf + s
200
	if tf >= frame then
201
		if allowframeloss then
202
			script.ArtificialHB:Fire()
203
			lastframe = tick()
204
		else
205
			for i = 1, math.floor(tf / frame) do
206
				script.ArtificialHB:Fire()
207
			end
208
			lastframe = tick()
209
		end
210
		if tossremainder then
211
			tf = 0
212
		else
213
			tf = tf - frame * math.floor(tf / frame)
214
		end
215
	end
216
end)
217
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
218
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
219
end
220
function PositiveAngle(NUMBER)
221
	if NUMBER >= 0 then
222
		NUMBER = 0
223
	end
224
	return NUMBER
225
end
226
function NegativeAngle(NUMBER)
227
	if NUMBER <= 0 then
228
		NUMBER = 0
229
	end
230
	return NUMBER
231
end
232
function Swait(NUMBER)
233
	if NUMBER == 0 or NUMBER == nil then
234
		ArtificialHB.Event:wait()
235
	else
236
		for i = 1, NUMBER do
237
			ArtificialHB.Event:wait()
238
		end
239
	end
240
end
241
function QuaternionFromCFrame(cf)
242
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
243
	local trace = m00 + m11 + m22
244
	if trace > 0 then
245
		local s = math.sqrt(1 + trace)
246
		local recip = 0.5 / s
247
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
248
	else
249
		local i = 0
250
		if m00 < m11 then
251
			i = 1
252
		end
253
		if m22 > (i == 0 and m00 or m11) then
254
			i = 2
255
		end
256
		if i == 0 then
257
			local s = math.sqrt(m00 - m11 - m22 + 1)
258
			local recip = 0.5 / s
259
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
260
		elseif i == 1 then
261
			local s = math.sqrt(m11 - m22 - m00 + 1)
262
			local recip = 0.5 / s
263
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
264
		elseif i == 2 then
265
			local s = math.sqrt(m22 - m00 - m11 + 1)
266
			local recip = 0.5 / s
267
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
268
		end
269
	end
270
end
271
function QuaternionToCFrame(px, py, pz, x, y, z, w)
272
	local xs, ys, zs = x + x, y + y, z + z
273
	local wx, wy, wz = w * xs, w * ys, w * zs
274
	local xx = x * xs
275
	local xy = x * ys
276
	local xz = x * zs
277
	local yy = y * ys
278
	local yz = y * zs
279
	local zz = z * zs
280
	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))
281
end
282
function QuaternionSlerp(a, b, t)
283
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
284
	local startInterp, finishInterp
285
	if cosTheta >= 1.0E-4 then
286
		if 1 - cosTheta > 1.0E-4 then
287
			local theta = ACOS(cosTheta)
288
			local invSinTheta = 1 / SIN(theta)
289
			startInterp = SIN((1 - t) * theta) * invSinTheta
290
			finishInterp = SIN(t * theta) * invSinTheta
291
		else
292
			startInterp = 1 - t
293
			finishInterp = t
294
		end
295
	elseif 1 + cosTheta > 1.0E-4 then
296
		local theta = ACOS(-cosTheta)
297
		local invSinTheta = 1 / SIN(theta)
298
		startInterp = SIN((t - 1) * theta) * invSinTheta
299
		finishInterp = SIN(t * theta) * invSinTheta
300
	else
301
		startInterp = t - 1
302
		finishInterp = t
303
	end
304
	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
305
end
306
function Clerp(a, b, t)
307
	local qa = {
308
		QuaternionFromCFrame(a)
309
	}
310
	local qb = {
311
		QuaternionFromCFrame(b)
312
	}
313
	local ax, ay, az = a.x, a.y, a.z
314
	local bx, by, bz = b.x, b.y, b.z
315
	local _t = 1 - t
316
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
317
end
318
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
319
	local frame = IT("Frame")
320
	frame.BackgroundTransparency = TRANSPARENCY
321
	frame.BorderSizePixel = BORDERSIZEPIXEL
322
	frame.Position = POSITION
323
	frame.Size = SIZE
324
	frame.BackgroundColor3 = COLOR
325
	frame.BorderColor3 = BORDERCOLOR
326
	frame.Name = NAME
327
	frame.Parent = PARENT
328
	return frame
329
end
330
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
331
	local label = IT("TextLabel")
332
	label.BackgroundTransparency = 1
333
	label.Size = UD2(1, 0, 1, 0)
334
	label.Position = UD2(0, 0, 0, 0)
335
	label.TextColor3 = TEXTCOLOR
336
	label.TextStrokeTransparency = STROKETRANSPARENCY
337
	label.TextTransparency = TRANSPARENCY
338
	label.FontSize = TEXTFONTSIZE
339
	label.Font = TEXTFONT
340
	label.BorderSizePixel = BORDERSIZEPIXEL
341
	label.TextScaled = false
342
	label.Text = TEXT
343
	label.Name = NAME
344
	label.Parent = PARENT
345
	return label
346
end
347
function NoOutlines(PART)
348
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
349
end
350
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
351
	local NEWWELD = IT(TYPE)
352
	NEWWELD.Part0 = PART0
353
	NEWWELD.Part1 = PART1
354
	NEWWELD.C0 = C0
355
	NEWWELD.C1 = C1
356
	NEWWELD.Parent = PARENT
357
	return NEWWELD
358
end
359
local SOUND = IT("Sound", nil)
360
function CreateSound(ID, PARENT, VOLUME, PITCH)
361
	local NEWSOUND
362
	coroutine.resume(coroutine.create(function()
363
		NEWSOUND = SOUND:Clone()
364
		NEWSOUND.Parent = PARENT
365
		NEWSOUND.Volume = VOLUME
366
		NEWSOUND.Pitch = PITCH
367
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
368
		NEWSOUND:play()
369
		repeat
370
			Swait()
371
		until NEWSOUND.Playing == false
372
		NEWSOUND:remove()
373
	end))
374
	return NEWSOUND
375
end
376
function CFrameFromTopBack(at, top, back)
377
	local right = top:Cross(back)
378
	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)
379
end
380
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
381
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
382
	local mesh = IT("SpecialMesh", wave)
383
	mesh.MeshType = "FileMesh"
384
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
385
	mesh.Scale = SIZE
386
	mesh.Offset = VT(0, 0, -SIZE.X / 8)
387
	wave.CFrame = CFRAME
388
	coroutine.resume(coroutine.create(function(PART)
389
		for i = 1, WAIT do
390
			Swait()
391
			mesh.Scale = mesh.Scale + GROW
392
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
393
			if DOESROT == true then
394
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
395
			end
396
			wave.Transparency = wave.Transparency + 0.5 / WAIT
397
			if wave.Transparency > 0.99 then
398
				wave:remove()
399
			end
400
		end
401
	end))
402
end
403
function CreateCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
404
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
405
	local mesh = IT("SpecialMesh", wave)
406
	mesh.MeshType = "FileMesh"
407
	mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
408
	mesh.Scale = SIZE
409
	mesh.Offset = VT(0, 0, -SIZE.X / 8)
410
	wave.CFrame = CFRAME
411
	coroutine.resume(coroutine.create(function(PART)
412
		for i = 1, WAIT do
413
			Swait()
414
			mesh.Scale = mesh.Scale + GROW
415
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
416
			if DOESROT == true then
417
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
418
			end
419
			wave.Transparency = wave.Transparency + 0.5 / WAIT
420
			if wave.Transparency > 0.99 then
421
				wave:remove()
422
			end
423
		end
424
	end))
425
end
426
function CreateIceCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
427
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
428
	local mesh = IT("SpecialMesh", wave)
429
	mesh.MeshType = "FileMesh"
430
	mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
431
	mesh.Scale = SIZE
432
	mesh.Offset = VT(0, 0, -SIZE.X / 8)
433
	wave.CFrame = CFRAME
434
	coroutine.resume(coroutine.create(function(PART)
435
		for i = 1, WAIT do
436
			Swait()
437
			mesh.Scale = mesh.Scale + GROW
438
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
439
			if DOESROT == true then
440
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
441
			end
442
			wave.Transparency = wave.Transparency + 0.5 / WAIT
443
			if wave.Transparency > 0.99 then
444
				wave:remove()
445
			end
446
		end
447
	end))
448
end
449
function CreateSpikeball(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
450
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
451
	local mesh = IT("SpecialMesh", wave)
452
	mesh.MeshType = "FileMesh"
453
	mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
454
	mesh.Scale = SIZE
455
	mesh.Offset = VT(0, 0, -SIZE.X / 8)
456
	wave.CFrame = CFRAME
457
	coroutine.resume(coroutine.create(function(PART)
458
		for i = 1, WAIT do
459
			Swait()
460
			mesh.Scale = mesh.Scale + GROW
461
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
462
			if DOESROT == true then
463
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
464
			end
465
			wave.Transparency = wave.Transparency + 0.5 / WAIT
466
			if wave.Transparency > 0.99 then
467
				wave:remove()
468
			end
469
		end
470
	end))
471
end
472
function CreateSwirl(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
473
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
474
	local mesh = IT("SpecialMesh", wave)
475
	mesh.MeshType = "FileMesh"
476
	mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
477
	mesh.Scale = SIZE
478
	wave.CFrame = CFRAME
479
	coroutine.resume(coroutine.create(function(PART)
480
		for i = 1, WAIT do
481
			Swait()
482
			mesh.Scale = mesh.Scale + GROW
483
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
484
			if DOESROT == true then
485
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
486
			end
487
			wave.Transparency = wave.Transparency + 0.5 / WAIT
488
			if wave.Transparency > 0.99 then
489
				wave:remove()
490
			end
491
		end
492
	end))
493
end
494
function CreateTornado(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
495
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
496
	local mesh = IT("SpecialMesh", wave)
497
	mesh.MeshType = "FileMesh"
498
	mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
499
	mesh.Scale = SIZE
500
	wave.CFrame = CFRAME
501
	coroutine.resume(coroutine.create(function(PART)
502
		for i = 1, WAIT do
503
			Swait()
504
			mesh.Scale = mesh.Scale + GROW
505
			if DOESROT == true then
506
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
507
			end
508
			wave.Transparency = wave.Transparency + 0.5 / WAIT
509
			if wave.Transparency > 0.99 then
510
				wave:remove()
511
			end
512
		end
513
	end))
514
end
515
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
516
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
517
	local mesh = IT("SpecialMesh", wave)
518
	mesh.MeshType = "FileMesh"
519
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
520
	mesh.Scale = SIZE
521
	mesh.Offset = VT(0, 0, 0)
522
	wave.CFrame = CFRAME
523
	coroutine.resume(coroutine.create(function(PART)
524
		for i = 1, WAIT do
525
			Swait()
526
			mesh.Scale = mesh.Scale + GROW
527
			if DOESROT == true then
528
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
529
			end
530
			wave.Transparency = wave.Transparency + 0.5 / WAIT
531
			if wave.Transparency > 0.99 then
532
				wave:remove()
533
			end
534
		end
535
	end))
536
end
537
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
538
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
539
	local mesh = IT("SpecialMesh", wave)
540
	mesh.MeshType = "Sphere"
541
	mesh.Scale = SIZE
542
	mesh.Offset = VT(0, 0, 0)
543
	wave.CFrame = CFRAME
544
	coroutine.resume(coroutine.create(function(PART)
545
		for i = 1, WAIT do
546
			Swait()
547
			mesh.Scale = mesh.Scale + GROW
548
			wave.Transparency = wave.Transparency + 1 / WAIT
549
			if wave.Transparency > 0.99 then
550
				wave:remove()
551
			end
552
		end
553
	end))
554
end
555
function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
556
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
557
	local mesh = IT("BlockMesh", wave)
558
	wave.CFrame = CFRAME
559
	coroutine.resume(coroutine.create(function(PART)
560
		for i = 1, WAIT do
561
			Swait()
562
			mesh.Scale = mesh.Scale + GROW
563
			wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
564
			wave.Transparency = wave.Transparency + 1 / WAIT
565
			if wave.Transparency > 0.99 then
566
				wave:remove()
567
			end
568
		end
569
	end))
570
end
571
function MakeForm(PART, TYPE)
572
	if TYPE == "Cyl" then
573
		local MSH = IT("CylinderMesh", PART)
574
	elseif TYPE == "Ball" then
575
		local MSH = IT("SpecialMesh", PART)
576
		MSH.MeshType = "Sphere"
577
	elseif TYPE == "Wedge" then
578
		local MSH = IT("SpecialMesh", PART)
579
		MSH.MeshType = "Wedge"
580
	end
581
end
582
function CheckTableForString(Table, String)
583
	for i, v in pairs(Table) do
584
		if string.find(string.lower(String), string.lower(v)) then
585
			return true
586
		end
587
	end
588
	return false
589
end
590
function CheckIntangible(Hit)
591
	local ProjectileNames = {
592
		"Water",
593
		"Arrow",
594
		"Projectile",
595
		"Effect",
596
		"Rail",
597
		"Lightning",
598
		"Bullet"
599
	}
600
	if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
601
		return true
602
	end
603
	return false
604
end
605
Debris = game:GetService("Debris")
606
BaseLightning = IT("Part")
607
BaseLightning.Anchored = true
608
BaseLightning.CanCollide = false
609
BaseLightning.Material = "Neon"
610
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
611
	local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
612
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
613
	if RayHit and CheckIntangible(RayHit) then
614
		if DelayIfHit then
615
			wait()
616
		end
617
		RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
618
	end
619
	return RayHit, RayPos, RayNormal
620
end
621
function Zap(Table)
622
	local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
623
	local Duration = Table.Duration or 2
624
	local FadeRate = Table.FadeRate or 0.05
625
	local Offset = Table.Offset or 2
626
	local Individualize = Table.Individualize or false
627
	local MaxRange = Table.MaxRange or 200
628
	local SegmentLength = Table.SegmentLength or 5
629
	local TimeToFade = Table.TimeToFade or 0.5
630
	local Ignore = Table.Ignore or {}
631
	local SIZE = Table.Size or 0.3
632
	if not (StartPos and TargetPos) or not Character then
633
		return
634
	end
635
	local LightningModel = IT("Folder", Effects)
636
	LightningModel.Name = "ZAPP"
637
	for i, v in pairs({Character, LightningModel}) do
638
		table.insert(Ignore, v)
639
	end
640
	local LastPos = StartPos
641
	local Direction = CFrame.new(StartPos, TargetPos).lookVector
642
	local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
643
	local RayLength = (StartPos - RayPos).Magnitude
644
	local Struck = false
645
	local TotalSegments = math.ceil(RayLength / SegmentLength)
646
	Direction = CFrame.new(StartPos, RayPos).lookVector
647
	local LightningBolt = IT("Model", Effects)
648
	LightningBolt.Name = "Lightning"
649
	if not Individualize then
650
		table.insert(LightningBolts, LightningBolt)
651
	end
652
	LastBolt = LightningBolt
653
	Debris:AddItem(LightningBolt, Duration)
654
	LightningBolt.Parent = LightningModel
655
	for i = 1, TotalSegments do
656
		if not Struck then
657
			local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
658
			local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
659
			local SegmentVec = NewPos - LastPos
660
			local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
661
			local RayVec = LastPos - RayPos
662
			local LightningPart = BaseLightning:Clone()
663
			LightningPart.BrickColor = BrickColor.new(Color)
664
			LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
665
			LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
666
			table.insert(Effects2, {
667
				LightningPart,
668
				"Disappear",
669
				0.025,
670
				1,
671
				1,
672
				1,
673
				2
674
			})
675
			local CylinderMesh = IT("CylinderMesh", LightningPart)
676
			local OrigCF = LightningPart.CFrame
677
			LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
678
			LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
679
			LightningPart.Parent = LightningBolt
680
			LastPos = NewPos
681
		end
682
	end
683
	return {
684
		RayHit = RayHit,
685
		RayPos = RayPos,
686
		RayNormal = RayNormal,
687
		LightningModel = LightningModel
688
	}
689
end
690
function turnto(position)
691
	RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
692
end
693
function chatfunc(text, waitt)
694
	local chat = coroutine.wrap(function()
695
		if Character:FindFirstChild("TalkingBillBoard") ~= nil then
696
			Character:FindFirstChild("TalkingBillBoard").Parent = nil
697
		end
698
		local naeeym2 = Instance.new("BillboardGui", Character)
699
		naeeym2.Size = UDim2.new(0, 100, 0, 40)
700
		naeeym2.StudsOffset = Vector3.new(0, 2, 0)
701
		naeeym2.Adornee = Character.Head
702
		naeeym2.Name = "TalkingBillBoard"
703
		naeeym2.AlwaysOnTop = true
704
		local tecks2 = Instance.new("TextLabel", naeeym2)
705
		tecks2.BackgroundTransparency = 1
706
		tecks2.BorderSizePixel = 0
707
		tecks2.Text = ""
708
		tecks2.Font = "Antique"
709
		tecks2.TextSize = 30
710
		tecks2.TextStrokeTransparency = 1
711
		tecks2.TextColor3 = SKILLTEXTCOLOR
712
		tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
713
		tecks2.Size = UDim2.new(1, 0, 0.5, 0)
714
		for i = 1, string.len(text) do
715
			if naeeym2.Parent ~= nil then
716
				CreateSound("418252437", Effects, 1, MRANDOM(9, 11) / 10)
717
			end
718
			tecks2.Text = string.sub(text, 1, i)
719
			Swait(3)
720
		end
721
		wait(waitt / 10)
722
		coroutine.resume(coroutine.create(function()
723
			for i = 1, 10 do
724
				tecks2.TextTransparency = tecks2.TextTransparency + 0.1
725
				Swait()
726
			end
727
			naeeym2:Destroy()
728
		end))
729
	end)
730
	chat()
731
end
732
for _, c in pairs(Weapon:GetChildren()) do
733
	if c.ClassName == "Part" then
734
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
735
	end
736
end
737
Weapon.Parent = Character
738
Humanoid.Died:connect(function()
739
	ATTACK = true
740
end)
741
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
742
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
743
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
744
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 4 Frame")
745
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 5 Frame")
746
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher bullet", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
747
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Banishing rampage", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
748
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Warp vector", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 3")
749
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Spectral banish", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 4")
750
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] De-banish", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 5")
751
function CastWarpOutlines(TARGET)
752
	coroutine.resume(coroutine.create(function()
753
		local T = TARGET:GetChildren()
754
		for i = 1, #T do
755
			local child = T[i]
756
			if child.ClassName == "Part" or child.ClassName == "MeshPart" then
757
				do
758
					local clone = child:Clone()
759
					clone.Parent = Effects
760
					clone.Anchored = true
761
					clone.CanCollide = false
762
					clone:ClearAllChildren()
763
					clone.CFrame = child.CFrame
764
					if clone.Name == "Head" then
765
						clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
766
					end
767
					if clone.ClassName == "MeshPart" then
768
						clone.TextureID = ""
769
					end
770
					clone.Color = C3(1, 0, 0)
771
					clone.Material = "Neon"
772
					coroutine.resume(coroutine.create(function()
773
						for i = 1, 100 do
774
							Swait()
775
							clone.Transparency = clone.Transparency + 0.01
776
							clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
777
						end
778
						clone:remove()
779
					end))
780
				end
781
			end
782
		end
783
	end))
784
end
785
function killnearest(position, range, maxstrength)
786
	for i, v in ipairs(workspace:GetChildren()) do
787
		local body = v:GetChildren()
788
		for part = 1, #body do
789
			if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
790
				CastWarpOutlines(v)
791
				v:remove()
792
				if game.Players:FindFirstChild(v.Name) then
793
					local Value = IT("BoolValue", Delete)
794
					Value.Name = v.Name
795
				end
796
			end
797
		end
798
	end
799
end
800
function CastProperRay(StartPos, Vec, Length, Ignore)
801
	local Direction = CFrame.new(StartPos, Vec).lookVector
802
	local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
803
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
804
	return RayHit, RayPos, RayNormal
805
end
806
function Debree(POS, SWAIT)
807
	coroutine.resume(coroutine.create(function()
808
		local HOLDER = IT("Model", Effects)
809
		HOLDER.Name = "Debree"
810
		local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
811-
		MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
811+
		MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Gold", VT(0, 0, 0))
812-
		MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
812+
		MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Gold", VT(0, 0, 0))
813-
		MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
813+
		MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Gold", VT(0, 0, 0))
814
		repeat
815
			Swait()
816
		until HITFLOOR ~= nil
817
		local O = 0
818
		for i = 1, 18 do
819
			do
820
				local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
821
				Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
822
				O = O - 2.25 + i / 4
823
				coroutine.resume(coroutine.create(function()
824
					Swait(SWAIT)
825
					for i = 1, 60 do
826
						Swait()
827
						local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
828
						Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
829
					end
830
					for i = 1, 50 do
831
						Swait()
832
						Part.Size = Part.Size * 0.9
833
					end
834
				end))
835
			end
836
		end
837
		local O = 0
838
		for i = 1, 18 do
839
			do
840
				local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
841
				Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
842
				O = O + 2.25 - i / 4
843
				coroutine.resume(coroutine.create(function()
844
					Swait(SWAIT)
845
					for i = 1, 60 do
846
						Swait()
847
						local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
848
						Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
849
					end
850
					for i = 1, 50 do
851
						Swait()
852
						Part.Size = Part.Size * 0.9
853
					end
854
				end))
855
			end
856
		end
857
		Swait(SWAIT + 110)
858
		HOLDER:remove()
859
	end))
860
end
861
function Intro()
862
	coroutine.resume(coroutine.create(function()
863
		ATTACK = true
864
		Rooted = true
865
		for i = 0, 3, 0.1 / Animation_Speed do
866
			Swait()
867
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
868
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
869
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
870
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
871
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
872
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
873
		end
874
		CreateSound("649634100", Head, 10, 0.5)
875
		for i = 0, 1, 0.1 / Animation_Speed do
876
			Swait()
877
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
878
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
879
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
880
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
881
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
882
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
883
		end
884
		local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
885
		repeat
886
			Swait()
887
			HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
888
		until HITFLOOR ~= nil
889
		for i = 0, 0.5, 0.1 / Animation_Speed do
890
			Swait()
891
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 0.5 / Animation_Speed)
892
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
893
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
894
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
895
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
896
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
897
		end
898
		CreateSound("289842971", RightArm, 10, 1)
899
		Debree(CF(RightArm.Position) * CF(0, -0.75, 0).p, 200)
900
		Swait(45)
901-
		local Gun = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0), false)
901+
Handle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "Handle", Vector3.new(0.399999946, 0.899999976, 0.400000095))
902-
		local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
902+
HandleWeld = CFuncs["Weld"].Create(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199958801, -0.0500774384, -1.09998882, -1, 0, 0, 0, 0, -1, -0, -1, -0))
903-
		local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.7, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
903+
FakeHandle = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "FakeHandle", Vector3.new(0.399999946, 0.899999976, 0.400000095))
904
FakeHandleWeld = CFuncs["Weld"].Create(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
905
Barrel = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "Barrel", Vector3.new(0.399999946, 0.399999976, 0.400000095))
906
BarrelWeld = CFuncs["Weld"].Create(m, FakeHandle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.749999046, -1.50000024, 1, 0, 0, 0, 1, 0, 0, 0, 1))
907
Part = CFuncs["Part"].Create(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.399999946, 0.299999952, 0.400000095))
908
PartWeld = CFuncs["Weld"].Create(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.300000191, -0.400000095, 1, 0, 0, 0, 1, 0, 0, 0, 1))
909
CFuncs["Mesh"].Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "rbxassetid://435840330", Vector3.new(0, 0, 0), Vector3.new(0.00200000009, 0.00200000009, 0.00200000009))
910
Part.Mesh.TextureId = "rbxassetid://435840335"
911
912
		GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
913
		local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
914
		local sick = Instance.new("Sound", Character)
915
		sick.SoundId = "rbxassetid://1140442110"
916
		sick.Looped = true
917
		sick.Pitch = 1
918
		sick.Volume = 1
919
		sick:Play()
920
		Swait(5)
921
		for i = 0, 1, 0.1 / Animation_Speed do
922
			Swait()
923
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
924
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
925
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1.25, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
926
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
927
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
928
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
929
		end
930
		VALUE1 = true
931
		Swait(10)
932
		ATTACK = false
933
		Rooted = false
934
	end))
935
end
936
function BanishingBullet()
937
	ATTACK = true
938
	Rooted = false
939
	for i = 0, 0.4, 0.1 / Animation_Speed do
940
		Swait()
941
		turnto(Mouse.Hit.p)
942
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
943
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
944
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
945
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
946
		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)
947
		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)
948
	end
949
	repeat
950
		for i = 0, 0.2, 0.1 / Animation_Speed do
951
			Swait()
952
			turnto(Mouse.Hit.p)
953-
		MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
953+
954-
		MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
954+
955
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
956
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
957
			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)
958
			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)
959
		end
960
		CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
961
		MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Gold", VT(0.1, 0.1, 0.1))
962
		MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Gold", VT(0.05, 0.05, 0.05))
963
		local RayHit, Way = CastProperRay(GunPoint.Position, Mouse.Hit.p, 1500, Character)
964
		local distance = (GunPoint.Position - Way).magnitude
965
		for i = 1, 5 do
966
			local laser = Instance.new("Part", Effects)
967-
			MagicSphere(VT(0.1, 0.1, 0.1), 45, CF(Way), "Really red", VT(0.05, 0.05, 0.05))
967+
968
			laser.CanCollide = false
969
			laser.Anchored = true
970
			laser.Color = C3(1, 0, 0)
971
			laser.Material = "Neon"
972
			laser.formFactor = Enum.FormFactor.Custom
973
			laser.Size = Vector3.new(0.15, 0.15, distance)
974
			laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
975
			MagicSphere(VT(0.1, 0.1, 0.1), 45, CF(Way), "Gold", VT(0.05, 0.05, 0.05))
976
			for i = 1, 5 do
977
				MagicSphere(VT(0.2, 0.2, 1), 65, CF(CF(Way) * CF(MRANDOM(-1, 1), MRANDOM(-1, 1), MRANDOM(-1, 1)).p, Way), "Really red", VT(0.001, 0.001, 0), 0.5)
978
			end
979
			table.insert(Effects2, {
980
				laser,
981
				"Disappear",
982
				0.1,
983
				1,
984
				1,
985
				1,
986
				2
987
			})
988
			if RayHit ~= nil then
989
				local v = RayHit.Parent
990
				if v ~= nil and v.ClassName == "Model" then
991
					CastWarpOutlines(v)
992
					v.Parent = nil
993
					if game.Players:FindFirstChild(v.Name) then
994
						local Value = IT("BoolValue", Delete)
995
						Value.Name = v.Name
996
					end
997
				end
998
			end
999
		end
1000
		for i = 0, 0.3, 0.1 / Animation_Speed do
1001
			Swait()
1002
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1003
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1004
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1005
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1006
			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)
1007
			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)
1008
		end
1009
	until KEYHOLD == false
1010
	ATTACK = false
1011
	Rooted = false
1012
end
1013
function WarpVector()
1014
	ATTACK = true
1015
	Rooted = true
1016
	for i = 0, 1, 0.1 / Animation_Speed do
1017
		Swait()
1018
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1019
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1020
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1021
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1022
		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.5 / Animation_Speed)
1023
		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.5 / Animation_Speed)
1024
	end
1025
	Debree(CF(RootPart.Position) * CF(0, -2.8, 0).p, 75)
1026
	UNANCHOR = false
1027
	RootPart.Anchored = true
1028
	for i = 0, 2, 0.1 / Animation_Speed do
1029
		Swait()
1030
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1031
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1032
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1033
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1034
		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.5 / Animation_Speed)
1035
		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.5 / Animation_Speed)
1036
	end
1037
	local POS = RootPart.Position
1038
	RootPart.CFrame = CF(CF(Mouse.Hit.p) * CF(0, 2.8, 0).p, POS)
1039
	Debree(CF(RootPart.Position) * CF(0, -2.5, 0).p, 150)
1040
	for i = 0, 2, 0.1 / Animation_Speed do
1041
		Swait()
1042
		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)
1043
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1044
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1045
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1046
		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.5 / Animation_Speed)
1047
		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.5 / Animation_Speed)
1048
	end
1049
	ATTACK = false
1050
	Rooted = false
1051
end
1052
function BanishingRampage()
1053
	ATTACK = true
1054
	Rooted = false
1055
	chatfunc("Be gone...", 3)
1056
	for i = 0, 2, 0.1 / Animation_Speed do
1057
		Swait()
1058
		turnto(Mouse.Hit.p)
1059
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
1060
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
1061
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1062
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1063
		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)
1064
		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)
1065
	end
1066
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
1067
	repeat
1068
		Swait()
1069
		HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
1070
	until HITFLOOR ~= nil
1071
	CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
1072-
				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)
1072+
1073
	CreateSound("138677306", Effects, 7, 1.2)
1074
	coroutine.resume(coroutine.create(function()
1075
		local CFRAME = RootPart.CFrame * CF(0, -1.2, -3)
1076
		local SIZE = 1
1077
		while true do
1078
			Swait()
1079
			for i = 1, 2 do
1080
				MagicSphere(VT(SIZE / 5, SIZE / 5, SIZE * 2), 65, CF(CFRAME * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, CFRAME.p), "Gold", VT(0.001, 0.001, 0), 0.5)
1081
			end
1082
			do
1083
				local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
1084
				Part.CFrame = CFRAME * CF(SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
1085
				coroutine.resume(coroutine.create(function()
1086
					Swait(200)
1087-
				MagicSphere(VT(SIZE, SIZE, SIZE), 75, CFRAME, "Really red", VT(-SIZE / 75, -SIZE / 75, -SIZE / 75))
1087+
1088
				end))
1089
				local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
1090
				Part.CFrame = CFRAME * CF(-SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
1091
				coroutine.resume(coroutine.create(function()
1092
					Swait(200)
1093
					Part.Anchored = false
1094
				end))
1095
				MagicSphere(VT(SIZE, SIZE, SIZE), 75, CFRAME, "Gold", VT(-SIZE / 75, -SIZE / 75, -SIZE / 75))
1096
				killnearest(CFRAME.p, SIZE, 0)
1097-
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
1097+
1098-
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
1098+
1099
				if SOUND.Playing == false then
1100
					break
1101
				end
1102
			end
1103
		end
1104
	end))
1105
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Gold", VT(0.1, 0.1, 0.1))
1106
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Gold", VT(0.05, 0.05, 0.05))
1107
	for i = 0, 3, 0.1 / Animation_Speed do
1108
		Swait()
1109
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
1110
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
1111
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1112
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1113
		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)
1114
		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)
1115
	end
1116
	ATTACK = false
1117
	Rooted = false
1118
end
1119
function SpectralBanishing()
1120
	ATTACK = true
1121
	Rooted = false
1122
	chatfunc("If you desire to be a ghost...", 20)
1123
	for i = 0, 5, 0.1 / Animation_Speed do
1124
		Swait()
1125
		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)
1126-
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
1126+
1127-
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
1127+
1128
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
1129
		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)
1130
		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)
1131
	end
1132
	chatfunc("Then move on to the afterlife!", 6)
1133
	CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
1134
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Gold", VT(0.1, 0.1, 0.1))
1135
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Gold", VT(0.05, 0.05, 0.05))
1136
	local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
1137
	local distance = (GunPoint.Position - Way).magnitude
1138
	for i = 1, 5 do
1139
		local laser = Instance.new("Part", Effects)
1140
		laser.Transparency = 0
1141
		laser.CanCollide = false
1142
		laser.Anchored = true
1143
		laser.Color = C3(1, 0, 0)
1144
		laser.Material = "Neon"
1145
		laser.formFactor = Enum.FormFactor.Custom
1146
		laser.Size = Vector3.new(0.15, 0.15, distance)
1147
		laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
1148
		table.insert(Effects2, {
1149
			laser,
1150
			"Disappear",
1151
			0.1,
1152
			1,
1153
			1,
1154
			1,
1155
			2
1156
		})
1157
	end
1158
	coroutine.resume(coroutine.create(function()
1159
		Swait(15)
1160
		local FILTER = IT("ColorCorrectionEffect", game.Lighting)
1161
		for i = 1, 25 do
1162
			Swait()
1163
			FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50)
1164
		end
1165
		local GAME = game.Players:GetChildren()
1166
		for PLAYER = 1, #GAME do
1167
			do
1168
				local PLAY = GAME[PLAYER]
1169
				if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then
1170
					PLAY.Character.Parent = nil
1171
					coroutine.resume(coroutine.create(function()
1172
						if PLAY.Character:FindFirstChild("HumanoidRootPart") then
1173
							PLAY.Character.Parent = workspace
1174
							local Value = IT("BoolValue", Delete)
1175
							Value.Name = PLAY.Name
1176
						end
1177
					end))
1178
				end
1179
			end
1180
		end
1181
		for i = 1, 25 do
1182
			Swait()
1183
			FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50)
1184
		end
1185
	end))
1186
	for i = 0, 2, 0.1 / Animation_Speed do
1187
		Swait()
1188
		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)
1189
		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)
1190
		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)
1191
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
1192
		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)
1193
		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)
1194
	end
1195
	ATTACK = false
1196
	Rooted = false
1197
end
1198
function Taunt()
1199
	ATTACK = true
1200
	Rooted = true
1201
	CreateSound("649634100", Head, 10, 0.5)
1202
	for i = 1, 3 do
1203
		for i = 0, 0.7, 0.1 / Animation_Speed do
1204
			Swait()
1205
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
1206
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.5 / Animation_Speed)
1207
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5)
1208
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-145)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 0.5)
1209
			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)
1210
			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)
1211
		end
1212
		for i = 0, 0.7, 0.1 / Animation_Speed do
1213
			Swait()
1214
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
1215
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
1216
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5)
1217
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-145)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 0.5)
1218
			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)
1219
			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)
1220
		end
1221
	end
1222
	ATTACK = false
1223
	Rooted = false
1224
end
1225
function MouseDown(Mouse)
1226
	if ATTACK == false then
1227
	end
1228
end
1229
function MouseUp(Mouse)
1230
	HOLD = false
1231
end
1232
function KeyDown(Key)
1233
	KEYHOLD = true
1234
	if Key == "z" and ATTACK == false then
1235
		BanishingBullet()
1236
	end
1237
	if Key == "b" and ATTACK == false then
1238
		BanishingRampage()
1239
	end
1240
	if Key == "c" and ATTACK == false then
1241
		WarpVector()
1242
	end
1243
	if Key == "v" and ATTACK == false then
1244
		SpectralBanishing()
1245
	end
1246
	if Key == "x" and ATTACK == false then
1247
		chatfunc("I will show you mercy.", 2)
1248
		Delete:ClearAllChildren()
1249
	end
1250
	if Key == "t" and ATTACK == false then
1251
		Taunt()
1252
	end
1253
end
1254
function KeyUp(Key)
1255
	KEYHOLD = false
1256
end
1257
Mouse.Button1Down:connect(function(NEWKEY)
1258
	MouseDown(NEWKEY)
1259
end)
1260
Mouse.Button1Up:connect(function(NEWKEY)
1261
	MouseUp(NEWKEY)
1262
end)
1263
Mouse.KeyDown:connect(function(NEWKEY)
1264
	KeyDown(NEWKEY)
1265
end)
1266
Mouse.KeyUp:connect(function(NEWKEY)
1267
	KeyUp(NEWKEY)
1268
end)
1269
function unanchor()
1270
	if UNANCHOR == true then
1271
		g = Character:GetChildren()
1272
		for i = 1, #g do
1273
			if g[i].ClassName == "Part" then
1274
				g[i].Anchored = false
1275
			end
1276
		end
1277
	end
1278
end
1279
Humanoid.Changed:connect(function(Jump)
1280
	if Jump == "Jump" and Disable_Jump == true then
1281
		Humanoid.Jump = false
1282
	end
1283
end)
1284
local BOLT
1285
local FF = IT("ForceField", Character)
1286
FF.Visible = false
1287
while true do
1288
	Swait()
1289
	if BOLT ~= nil then
1290
		BOLT:remove()
1291
	end
1292
	ANIMATE.Parent = nil
1293
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1294
	IDLEANIMATION:Play()
1295
	SINE = SINE + CHANGE
1296
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1297
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1298
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1299
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
1300
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1301
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1302
		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)
1303
		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)
1304
		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)
1305
		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)
1306
	elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
1307
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1308
		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)
1309
		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)
1310
		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)
1311
	end
1312
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1313
		ANIM = "Jump"
1314
		if ATTACK == false then
1315
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1316
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1317
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1318
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1319
			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)
1320
			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)
1321
		end
1322
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1323
		ANIM = "Fall"
1324
		if ATTACK == false then
1325
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1326
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1327
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(55), RAD(0), RAD(55)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1328
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1329
			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)
1330
			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)
1331
		end
1332
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1333
		ANIM = "Idle"
1334
		if ATTACK == false then
1335
			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)
1336
			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)
1337
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1338
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1339
			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)
1340
			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)
1341
		end
1342
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1343
		ANIM = "Walk"
1344
		WALK = WALK + 1 / Animation_Speed
1345
		if WALK >= 15 - 5 * (Humanoid.WalkSpeed / 16 / Player_Size) then
1346
			WALK = 0
1347
			if WALKINGANIM == true then
1348
				WALKINGANIM = false
1349
			elseif WALKINGANIM == false then
1350
				WALKINGANIM = true
1351
			end
1352
		end
1353
		if ATTACK == false then
1354
			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)
1355
			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)
1356
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1357
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1358
			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)
1359
			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)
1360
		end
1361
	end
1362
	if #Effects2 > 0 then
1363
		for e = 1, #Effects2 do
1364
			if Effects2[e] ~= nil then
1365
				local Thing = Effects2[e]
1366
				if Thing ~= nil then
1367
					local Part = Thing[1]
1368
					local Mode = Thing[2]
1369
					local Delay = Thing[3]
1370
					local IncX = Thing[4]
1371
					local IncY = Thing[5]
1372
					local IncZ = Thing[6]
1373
					local Part2 = Thing[8]
1374
					if Thing[1].Transparency <= 1 then
1375
						if Thing[2] == "Block1" then
1376
							Thing[1].CFrame = Thing[1].CFrame
1377
							Mesh = Thing[1].Mesh
1378
							Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
1379
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1380
						elseif Thing[2] == "Cylinder" then
1381
							Mesh = Thing[1].Mesh
1382
							Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
1383
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1384
						elseif Thing[2] == "Blood" then
1385
							Mesh = Thing[7]
1386
							Thing[1].CFrame = Thing[1].CFrame * CF(0, 0.5, 0)
1387
							Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
1388
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1389
						elseif Thing[2] == "Elec" then
1390
							Mesh = Thing[1].Mesh
1391
							Mesh.Scale = Mesh.Scale + VT(Thing[7], Thing[8], Thing[9])
1392
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1393
						elseif Thing[2] == "Disappear" then
1394
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1395
						end
1396
					else
1397
						Part.Parent = nil
1398
						table.remove(Effects2, e)
1399
					end
1400
				end
1401
			end
1402
		end
1403
	end
1404
	unanchor()
1405
	Humanoid.MaxHealth = "inf"
1406
	Humanoid.Health = "inf"
1407
	if Rooted == false then
1408
		Disable_Jump = false
1409
		Humanoid.WalkSpeed = Speed
1410
	elseif Rooted == true then
1411
		Disable_Jump = true
1412
		Humanoid.WalkSpeed = 0
1413
	end
1414
	if VALUE1 == true then
1415
		local RayData = Zap({
1416
			SegmentLength = 0.6,
1417
			Offset = 0.3,
1418
			Size = 0.05,
1419
			MaxRange = 1.5,
1420
			StartPosition = GunPoint.Position,
1421
			TargetPosition = RightArm.Position,
1422
			Character = workspace,
1423
			Color = "Really red",
1424
			Individual = true
1425
		})
1426
		BOLT = RayData.LightningModel
1427
		MagicSphere(VT(0.5, 0.5, 0.5), 15, GunPoint.CFrame, "Really red", VT(-0.03333333333333333, -0.03333333333333333, -0.03333333333333333))
1428
		SKILL1TEXT.TextTransparency = 0
1429
		SKILL2TEXT.TextTransparency = 0
1430
		SKILL3TEXT.TextTransparency = 0
1431
		SKILL4TEXT.TextTransparency = 0
1432
		SKILL5TEXT.TextTransparency = 0
1433
	elseif VALUE1 == false then
1434
		if ATTACK == false then
1435
			Intro()
1436
		end
1437
		SKILL1TEXT.TextTransparency = 1
1438
		SKILL2TEXT.TextTransparency = 1
1439
		SKILL3TEXT.TextTransparency = 1
1440
		SKILL4TEXT.TextTransparency = 1
1441
		SKILL5TEXT.TextTransparency = 1
1442
	end
1443
	local MATHS = {"0", "1"}
1444
	Humanoid.Name = MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)]
1445
	Humanoid.PlatformStand = false
1446
	local GAME = game.Players:GetChildren()
1447
	for PLAYER = 1, #GAME do
1448
		local PLAY = GAME[PLAYER]
1449
		if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then
1450
			PLAY.Character:remove()
1451
		end
1452
	end
1453
end