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