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