View difference between Paste ID: uznWHyHn and MR61L0uS
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
4
local RealPlayer = Player
5
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
6
7
8
wait(0.2)
9
10
Player = game:GetService("Players").LocalPlayer
11
PlayerGui = Player.PlayerGui
12
Cam = workspace.CurrentCamera
13
Backpack = Player.Backpack
14
Character = Player.Character
15
Humanoid = Character.Humanoid
16
Mouse = Player:GetMouse()
17
RootPart = Character.HumanoidRootPart
18
Torso = Character.Torso
19
Head = Character.Head
20
RightArm = Character["Right Arm"]
21
LeftArm = Character["Left Arm"]
22
RightLeg = Character["Right Leg"]
23
LeftLeg = Character["Left Leg"]
24
RootJoint = RootPart.RootJoint
25
Neck = Torso.Neck
26
RightShoulder = Torso["Right Shoulder"]
27
LeftShoulder = Torso["Left Shoulder"]
28
RightHip = Torso["Right Hip"]
29
LeftHip = Torso["Left Hip"]
30
local sick = Instance.new("Sound", Torso)
31
sick.SoundId = "rbxassetid://158353213"
32
sick.Looped = true
33
sick.Pitch = 1
34
sick.Volume = 5
35
sick.Playing = true
36
IT = Instance.new
37
CF = CFrame.new
38
VT = Vector3.new
39
RAD = math.rad
40
C3 = Color3.new
41
UD2 = UDim2.new
42
BRICKC = BrickColor.new
43
ANGLES = CFrame.Angles
44
EULER = CFrame.fromEulerAnglesXYZ
45
COS = math.cos
46
ACOS = math.acos
47
SIN = math.sin
48
ASIN = math.asin
49
ABS = math.abs
50
MRANDOM = math.random
51
FLOOR = math.floor
52
Animation_Speed = 3
53
Frame_Speed = 0.016666666666666666
54
local Speed = 30
55
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
56
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
57
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
58
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
59
local DAMAGEMULTIPLIER = 1.0E298
60
local ANIM = "Idle"
61
local ATTACK = false
62
local EQUIPPED = false
63
local HOLD = false
64
local COMBO = 1
65
local Rooted = false
66
local SINE = 0
67
local KEYHOLD = false
68
local CHANGE = 2 / Animation_Speed
69
local WALKINGANIM = false
70
local VALUE1 = false
71
local VALUE2 = false
72
local POWERLEVEL = 10
73
local Player_Size = 1
74
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
75
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
76
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
77
local HITBLOCKSOUNDS = {"199148933", "199148947"}
78
local ROBLOXIDLEANIMATION = IT("Animation")
79
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
80
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
81
local WEAPONGUI = IT("ScreenGui", PlayerGui)
82
WEAPONGUI.Name = "Weapon GUI"
83
local Weapon = IT("Model")
84
Weapon.Name = "Adds"
85
local Effects = IT("Folder", Weapon)
86
Effects.Name = "Effects"
87
local ANIMATOR = Humanoid.Animator
88
local ANIMATE = Character.Animate
89
local SIZE = 1
90
local ATTACKEDTAUNTS = {
91
	"907332040",
92
	"907332525",
93
	"907330011"
94
}
95
local ATTACKTAUNTS = {
96
	"907329893",
97
	"907329532",
98
	"907333294",
99
	"907332856"
100
}
101
local ULTTAUNTS = {
102
	"907332997",
103
	"907332670",
104
	"907330103"
105
}
106
local UNANCHOR = true
107
local RWINGS = {}
108
local LWINGS = {}
109
local EYE, PUPIL
110
local BLINKLOOP = 0
111
local FINISHEDINTRO = false
112
local INTROING = false
113
local INSTANT = true
114
local EYES = {}
115
local Sine = 0
116
local DemonForm = true
117
local ChaosForm = true
118
RightArm.Transparency = 1
119
Character:WaitForChild("Head").BrickColor=BrickColor.new("Really black")
120
Character:WaitForChild("Torso").BrickColor=BrickColor.new("Really black")
121
Character:WaitForChild("Left Arm").BrickColor=BrickColor.new("Really black")
122
Character:WaitForChild("Right Arm").BrickColor=BrickColor.new("Really black")
123
Character:WaitForChild("Left Leg").BrickColor=BrickColor.new("Really black")
124
Character:WaitForChild("Right Leg").BrickColor=BrickColor.new("Really black")
125
ArtificialHB = Instance.new("BindableEvent", script)
126
ArtificialHB.Name = "ArtificialHB"
127
script:WaitForChild("ArtificialHB")
128
frame = Frame_Speed
129
tf = 0
130
allowframeloss = false
131
tossremainder = false
132
lastframe = tick()
133
script.ArtificialHB:Fire()
134
game:GetService("RunService").Heartbeat:connect(function(s, p)
135
	tf = tf + s
136
	if tf >= frame then
137
		if allowframeloss then
138
			script.ArtificialHB:Fire()
139
			lastframe = tick()
140
		else
141
			for i = 1, math.floor(tf / frame) do
142
				script.ArtificialHB:Fire()
143
			end
144
			lastframe = tick()
145
		end
146
		if tossremainder then
147
			tf = 0
148
		else
149
			tf = tf - frame * math.floor(tf / frame)
150
		end
151
	end
152
end)
153
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
154
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
155
end
156
function PositiveAngle(NUMBER)
157
	if NUMBER >= 0 then
158
		NUMBER = 0
159
	end
160
	return NUMBER
161
end
162
function NegativeAngle(NUMBER)
163
	if NUMBER <= 0 then
164
		NUMBER = 0
165
	end
166
	return NUMBER
167
end
168
function Swait(NUMBER)
169
	if NUMBER == 0 or NUMBER == nil then
170
		ArtificialHB.Event:wait()
171
	else
172
		for i = 1, NUMBER do
173
			ArtificialHB.Event:wait()
174
		end
175
	end
176
end
177
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
178
	local NEWMESH = IT(MESH)
179
	if MESH == "SpecialMesh" then
180
		NEWMESH.MeshType = MESHTYPE
181
		if MESHID ~= "nil" and MESHID ~= "" then
182
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
183
		end
184
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
185
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
186
		end
187
	end
188
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
189
	NEWMESH.Scale = SCALE
190
	NEWMESH.Parent = PARENT
191
	return NEWMESH
192
end
193
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
194
	local NEWPART = IT("Part")
195
	NEWPART.formFactor = FORMFACTOR
196
	NEWPART.Reflectance = REFLECTANCE
197
	NEWPART.Transparency = TRANSPARENCY
198
	NEWPART.CanCollide = false
199
	NEWPART.Locked = true
200
	NEWPART.Anchored = true
201
	if ANCHOR == false then
202
		NEWPART.Anchored = false
203
	end
204
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
205
	NEWPART.Name = NAME
206
	NEWPART.Size = SIZE
207
	NEWPART.Position = Torso.Position
208
	NEWPART.Material = MATERIAL
209
	NEWPART:BreakJoints()
210
	NEWPART.Parent = PARENT
211
	return NEWPART
212
end
213
214
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
215
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
216
	local mesh = IT("SpecialMesh",wave)
217
	mesh.MeshType = "Sphere"
218
	mesh.Scale = SIZE
219
	mesh.Offset = VT(0,0,0)
220
	wave.CFrame = CFRAME
221
	coroutine.resume(coroutine.create(function(PART)
222
		for i = 1, WAIT do
223
			Swait()
224
			mesh.Scale = mesh.Scale + GROW
225
			wave.Transparency = wave.Transparency + (1/WAIT)
226
			if wave.Transparency > 0.99 then
227
				wave:remove()
228
			end
229
		end
230
	end))
231
end
232
233
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
234
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
235
	local mesh = IT("SpecialMesh",wave)
236
	mesh.MeshType = "FileMesh"
237
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
238
	mesh.Scale = SIZE
239
	mesh.Offset = VT(0,0,0)
240
	wave.CFrame = CFRAME
241
	coroutine.resume(coroutine.create(function(PART)
242
		for i = 1, WAIT do
243
			Swait()
244
			mesh.Scale = mesh.Scale + GROW
245
			if DOESROT == true then
246
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
247
			end
248
			wave.Transparency = wave.Transparency + (0.5/WAIT)
249
			if wave.Transparency > 0.99 then
250
				wave:remove()
251
			end
252
		end
253
	end))
254
end
255
256
function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
257
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
258
	local mesh = IT("SpecialMesh",wave)
259
	mesh.MeshType = "FileMesh"
260
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
261
	mesh.Scale = SIZE
262
	mesh.Offset = VT(0,0,0)
263
	wave.CFrame = CFRAME
264
	coroutine.resume(coroutine.create(function(PART)
265
		for i = 1, WAIT do
266
			Swait()
267
			mesh.Scale = mesh.Scale + GROW
268
			if DOESROT == true then
269
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
270
			end
271
			wave.Transparency = wave.Transparency + (0.5/WAIT)
272
			if wave.Transparency > 0.99 then
273
				wave:remove()
274
			end
275
		end
276
	end))
277
end
278
279
function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
280
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
281
	local mesh = IT("SpecialMesh",wave)
282
	mesh.MeshType = "Sphere"
283
	mesh.Scale = SIZE
284
	mesh.Offset = VT(0,0,0)
285
	wave.CFrame = CFRAME
286
	coroutine.resume(coroutine.create(function(PART)
287
		for i = 1, WAIT do
288
			Swait()
289
			mesh.Scale = mesh.Scale + GROW
290
			wave.Transparency = wave.Transparency + (1/WAIT)
291
			if wave.Transparency > 0.99 then
292
				wave:remove()
293
			end
294
		end
295
	end))
296
end
297
298
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
299
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Effect", VT(0,0,0))
300
	local mesh = IT("SpecialMesh",wave)
301
	mesh.MeshType = "FileMesh"
302
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
303
	mesh.Scale = SIZE
304
	mesh.Offset = VT(0,0,-SIZE.X/8)
305
	wave.CFrame = CFRAME
306
	coroutine.resume(coroutine.create(function(PART)
307
		for i = 1, WAIT do
308
			Swait()
309
			mesh.Scale = mesh.Scale + GROW
310
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
311
			if DOESROT == true then
312
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
313
			end
314
			wave.Transparency = wave.Transparency + (0.5/WAIT)
315
			if wave.Transparency > 0.99 then
316
				wave:remove()
317
			end
318
		end
319
	end))
320
end
321
322
function CreateWave2(inair,size,doesrotate,rotatedirection,waitt,part,offset)
323
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright orange", "Effect", VT(0,0,0))
324
	local mesh = IT("SpecialMesh",wave)
325
	mesh.MeshType = "FileMesh"
326
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
327
	mesh.Scale = VT(size,size,size)
328
	mesh.Offset = VT(0,0,-size/8)
329
	wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
330
	coroutine.resume(coroutine.create(function(PART)
331
		for i = 1, waitt do
332
			Swait()
333
			mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
334
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
335
			if doesrotate == true then
336
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
337
			end
338
			wave.Transparency = wave.Transparency + (0.5/waitt)
339
			if wave.Transparency > 0.99 then
340
				wave:remove()
341
			end
342
		end
343
	end))
344
end
345
346
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
347
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Effect", VT(0,0,0))
348
	local mesh = IT("SpecialMesh",wave)
349
	mesh.MeshType = "FileMesh"
350
	mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
351
	mesh.Scale = SIZE
352
	wave.CFrame = CFRAME
353
	coroutine.resume(coroutine.create(function(PART)
354
		for i = 1, WAIT do
355
			Swait()
356
			mesh.Scale = mesh.Scale + GROW
357
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
358
			if DOESROT == true then
359
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
360
			end
361
			wave.Transparency = wave.Transparency + (0.5/WAIT)
362
			if wave.Transparency > 0.99 then
363
				wave:remove()
364
			end
365
		end
366
	end))
367
end
368
369
local weldBetween = function(a, b)
370
	local weldd = Instance.new("ManualWeld")
371
	weldd.Part0 = a
372
	weldd.Part1 = b
373
	weldd.C0 = CFrame.new()
374
	weldd.C1 = b.CFrame:inverse() * a.CFrame
375
	weldd.Parent = a
376
	return weldd
377
end
378
function QuaternionFromCFrame(cf)
379
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
380
	local trace = m00 + m11 + m22
381
	if trace > 0 then
382
		local s = math.sqrt(1 + trace)
383
		local recip = 0.5 / s
384
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
385
	else
386
		local i = 0
387
		if m00 < m11 then
388
			i = 1
389
		end
390
		if m22 > (i == 0 and m00 or m11) then
391
			i = 2
392
		end
393
		if i == 0 then
394
			local s = math.sqrt(m00 - m11 - m22 + 1)
395
			local recip = 0.5 / s
396
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
397
		elseif i == 1 then
398
			local s = math.sqrt(m11 - m22 - m00 + 1)
399
			local recip = 0.5 / s
400
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
401
		elseif i == 2 then
402
			local s = math.sqrt(m22 - m00 - m11 + 1)
403
			local recip = 0.5 / s
404
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
405
		end
406
	end
407
end
408
function QuaternionToCFrame(px, py, pz, x, y, z, w)
409
	local xs, ys, zs = x + x, y + y, z + z
410
	local wx, wy, wz = w * xs, w * ys, w * zs
411
	local xx = x * xs
412
	local xy = x * ys
413
	local xz = x * zs
414
	local yy = y * ys
415
	local yz = y * zs
416
	local zz = z * zs
417
	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))
418
end
419
function QuaternionSlerp(a, b, t)
420
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
421
	local startInterp, finishInterp
422
	if cosTheta >= 1.0E-4 then
423
		if 1 - cosTheta > 1.0E-4 then
424
			local theta = ACOS(cosTheta)
425
			local invSinTheta = 1 / SIN(theta)
426
			startInterp = SIN((1 - t) * theta) * invSinTheta
427
			finishInterp = SIN(t * theta) * invSinTheta
428
		else
429
			startInterp = 1 - t
430
			finishInterp = t
431
		end
432
	elseif 1 + cosTheta > 1.0E-4 then
433
		local theta = ACOS(-cosTheta)
434
		local invSinTheta = 1 / SIN(theta)
435
		startInterp = SIN((t - 1) * theta) * invSinTheta
436
		finishInterp = SIN(t * theta) * invSinTheta
437
	else
438
		startInterp = t - 1
439
		finishInterp = t
440
	end
441
	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
442
end
443
function Clerp(a, b, t)
444
	local qa = {
445
		QuaternionFromCFrame(a)
446
	}
447
	local qb = {
448
		QuaternionFromCFrame(b)
449
	}
450
	local ax, ay, az = a.x, a.y, a.z
451
	local bx, by, bz = b.x, b.y, b.z
452
	local _t = 1 - t
453
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
454
end
455
456
function clerp(startCF,endCF,alpha)
457
	return startCF:lerp(endCF, alpha)
458
end
459
460
461
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
462
	local frame = IT("Frame")
463
	frame.BackgroundTransparency = TRANSPARENCY
464
	frame.BorderSizePixel = BORDERSIZEPIXEL
465
	frame.Position = POSITION
466
	frame.Size = SIZE
467
	frame.BackgroundColor3 = COLOR
468
	frame.BorderColor3 = BORDERCOLOR
469
	frame.Name = NAME
470
	frame.Parent = PARENT
471
	return frame
472
end
473
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
474
	local label = IT("TextLabel")
475
	label.BackgroundTransparency = 1
476
	label.Size = UD2(1, 0, 1, 0)
477
	label.Position = UD2(0, 0, 0, 0)
478
	label.TextColor3 = TEXTCOLOR
479
	label.TextStrokeTransparency = STROKETRANSPARENCY
480
	label.TextTransparency = TRANSPARENCY
481
	label.FontSize = TEXTFONTSIZE
482
	label.Font = TEXTFONT
483
	label.BorderSizePixel = BORDERSIZEPIXEL
484
	label.TextScaled = false
485
	label.Text = TEXT
486
	label.Name = NAME
487
	label.Parent = PARENT
488
	return label
489
end
490
function NoOutlines(PART)
491
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
492
end
493
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
494
	local NEWWELD = IT(TYPE)
495
	NEWWELD.Part0 = PART0
496
	NEWWELD.Part1 = PART1
497
	NEWWELD.C0 = C0
498
	NEWWELD.C1 = C1
499
	NEWWELD.Parent = PARENT
500
	return NEWWELD
501
end
502
local S = IT("Sound")
503
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
504
	local NEWSOUND
505
	coroutine.resume(coroutine.create(function()
506
		NEWSOUND = S:Clone()
507
		NEWSOUND.Parent = PARENT
508
		NEWSOUND.Volume = VOLUME
509
		NEWSOUND.Pitch = PITCH
510
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
511
		NEWSOUND:play()
512
		if DOESLOOP == true then
513
			NEWSOUND.Looped = true
514
		else
515
			repeat
516
				Swait()
517
			until NEWSOUND.Playing == false
518
			NEWSOUND:remove()
519
		end
520
	end))
521
	return NEWSOUND
522
end
523
function CFrameFromTopBack(at, top, back)
524
	local right = top:Cross(back)
525
	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)
526
end
527
528
function WACKYEFFECT(Table)
529
	local TYPE = Table.EffectType or "Sphere"
530
	local SIZE = Table.Size or VT(1, 1, 1)
531
	local ENDSIZE = Table.Size2 or VT(0, 0, 0)
532
	local TRANSPARENCY = Table.Transparency or 0
533
	local ENDTRANSPARENCY = Table.Transparency2 or 1
534
	local CFRAME = Table.CFrame or Torso.CFrame
535
	local MOVEDIRECTION = Table.MoveToPos or nil
536
	local ROTATION1 = Table.RotationX or 0
537
	local ROTATION2 = Table.RotationY or 0
538
	local ROTATION3 = Table.RotationZ or 0
539
	local MATERIAL = Table.Material or "Neon"
540
	local COLOR = Table.Color or C3(1, 1, 1)
541
	local TIME = Table.Time or 45
542
	local SOUNDID = Table.SoundID or nil
543
	local SOUNDPITCH = Table.SoundPitch or nil
544
	local SOUNDVOLUME = Table.SoundVolume or nil
545
	coroutine.resume(coroutine.create(function()
546
		local PLAYSSOUND = false
547
		local SOUND
548
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
549
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
550
			PLAYSSOUND = true
551
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
552
		end
553
		EFFECT.Color = COLOR
554
		local MSH
555
		if TYPE == "Sphere" then
556
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
557
		elseif TYPE == "Block" then
558
			MSH = IT("BlockMesh", EFFECT)
559
			MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
560
		elseif TYPE == "Wave" then
561
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
562
		elseif TYPE == "Ring" then
563
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
564
		elseif TYPE == "Slash" then
565
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
566
		elseif TYPE == "Round Slash" then
567
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
568
		elseif TYPE == "Swirl" then
569
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
570
		elseif TYPE == "Skull" then
571
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
572
		elseif TYPE == "Crystal" then
573
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
574
		end
575
		if MSH ~= nil then
576
			local MOVESPEED
577
			if MOVEDIRECTION ~= nil then
578
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
579
			end
580
			local GROWTH = SIZE - ENDSIZE
581
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
582
			if TYPE == "Block" then
583
				EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
584
			else
585
				EFFECT.CFrame = CFRAME
586
			end
587
			for LOOP = 1, TIME do
588
				Swait()
589
				MSH.Scale = MSH.Scale - GROWTH / TIME
590
				if TYPE == "Wave" then
591
					MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
592
				end
593
				EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
594
				if TYPE == "Block" then
595
					EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
596
				else
597
					EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
598
				end
599
				if MOVEDIRECTION ~= nil then
600
					local ORI = EFFECT.Orientation
601
					EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
602
					EFFECT.Orientation = ORI
603
				end
604
			end
605
			if PLAYSSOUND == false then
606
				EFFECT:remove()
607
			else
608
				repeat
609
					Swait()
610
				until SOUND.Playing == false
611
				EFFECT:remove()
612
			end
613
		elseif PLAYSSOUND == false then
614
			EFFECT:remove()
615
		else
616
			repeat
617
				Swait()
618
			until SOUND.Playing == false
619
			EFFECT:remove()
620
		end
621
	end))
622
end
623
function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
624
	if FLOOR ~= nil then
625
		coroutine.resume(coroutine.create(function()
626
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
627
			PART.CFrame = CF(POSITION)
628
			for i = 1, 45 do
629
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
630
				RingPiece.Material = FLOOR.Material
631
				RingPiece.Color = FLOOR.Color
632
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
633
				Debris:AddItem(RingPiece, SWAIT)
634
			end
635
			PART:remove()
636
		end))
637
	end
638
end
639
function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
640
	if FLOOR ~= nil then
641
		for i = 1, AMOUNT do
642
			do
643
				local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
644
				DEBREE.Material = FLOOR.Material
645
				DEBREE.Color = FLOOR.Color
646
				DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
647
				DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
648
				coroutine.resume(coroutine.create(function()
649
					Swait(15)
650
					DEBREE.Parent = workspace
651
					DEBREE.CanCollide = true
652
					Debris:AddItem(DEBREE, SWAIT)
653
				end))
654
			end
655
		end
656
	end
657
end
658
659
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
660
	for _, c in pairs(PARENT:GetChildren()) do
661
		if c.ClassName == "Model" then
662
			if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
663
				local HUMANOID = c:FindFirstChildOfClass("Humanoid")
664
				local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
665
				if DIST > (TORSO.Position - FROM).Magnitude then
666
					table.insert(TABLE, c)
667
				end
668
				AddChildrenToTable(FROM, c, DIST, TABLE)
669
			elseif c.ClassName == "Folder" then
670
				AddChildrenToTable(FROM, c, DIST, TABLE)
671
			end
672
		end
673
	end
674
end
675
676
function MakeForm(PART, TYPE)
677
	if TYPE == "Cyl" then
678
		local MSH = IT("CylinderMesh", PART)
679
	elseif TYPE == "Ball" then
680
		local MSH = IT("SpecialMesh", PART)
681
		MSH.MeshType = "Sphere"
682
	elseif TYPE == "Wedge" then
683
		local MSH = IT("SpecialMesh", PART)
684
		MSH.MeshType = "Wedge"
685
	end
686
end
687
688
function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
689
	if DoesCourontine == false then
690
		local Direction = CF(Part.Position, ToLocation)
691
		local Distance = (Part.Position - ToLocation).magnitude
692
		for i = 1, AmountOfTime do
693
			Swait()
694
			Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
695
			Direction = Part.CFrame
696
		end
697
		Part:remove()
698
	elseif DoesCourontine == true then
699
		coroutine.resume(coroutine.create(function()
700
			local Direction = CF(Part.Position, ToLocation)
701
			local Distance = (Part.Position - ToLocation).magnitude
702
			for i = 1, AmountOfTime do
703
				Swait()
704
				Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
705
				Direction = Part.CFrame
706
			end
707
			Part:remove()
708
		end))
709
	end
710
end
711
712
function CheckTableForString(Table, String)
713
	for i, v in pairs(Table) do
714
		if string.find(string.lower(String), string.lower(v)) then
715
			return true
716
		end
717
	end
718
	return false
719
end
720
function CheckIntangible(Hit)
721
	local ProjectileNames = {
722
		"Water",
723
		"Arrow",
724
		"Projectile",
725
		"Effect",
726
		"Rail",
727
		"Lightning",
728
		"Bullet"
729
	}
730
	if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
731
		return true
732
	end
733
	return false
734
end
735
Debris = game:GetService("Debris")
736
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
737
	local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
738
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
739
	if RayHit and CheckIntangible(RayHit) then
740
		if DelayIfHit then
741
			wait()
742
		end
743
		RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
744
	end
745
	return RayHit, RayPos, RayNormal
746
end
747
748
NewInstance = function(instance,parent,properties)
749
	local inst = Instance.new(instance,parent)
750
	if(properties)then
751
		for i,v in next, properties do
752
			pcall(function() inst[i] = v end)
753
		end
754
	end
755
	return inst;
756
end
757
758
local plr = game:service'Players'.LocalPlayer
759
local char2 = plr.Character
760
local hum2 = char2.Humanoid
761
local ra = char2["Right Arm"]
762
local la= char2["Left Arm"]
763
local rl= char2["Right Leg"]
764
local ll = char2["Left Leg"]
765
local hed = char2.Head
766
767
768
function checkfriendlist(model)
769
local friend = false
770
local target = nil
771
if model.ClassName == "Player" then
772
target = model
773
else
774
target = game:GetService("Players"):GetPlayerFromCharacter(model)
775
end
776
if target ~= nil then
777
if target:IsFriendsWith(366099047) then friend = true end
778
end
779
return friend
780
end
781
if checkfriendlist(game:GetService("Players").LocalPlayer) == true then
782
	
783
end
784
785
if checkfriendlist(game:GetService("Players").LocalPlayer) == false then
786
	 
787
end
788
789
ff = Instance.new("ForceField",char2)
790
ff.Visible = false
791
hum2.Name = "Base"
792
hum2.MaxHealth = 1.0E298
793
hum2.Health = 1.0E298
794
game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
795
  if hum2.Health > 0.1 and hum2.Health < 1.0E298 then
796
    hum2.MaxHealth = 1.0E298
797
    hum2.Health = 1.0E298
798
  end
799
end)
800
801
802
function CastProperRay(StartPos, EndPos, Distance, Ignore)
803
	local DIRECTION = CF(StartPos, EndPos).lookVector
804
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
805
end
806
function turnto(position)
807
	RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
808
end
809
BaseLightning = IT("Part")
810
BaseLightning.Anchored = true
811
BaseLightning.CanCollide = false
812
BaseLightning.Material = "Neon"
813
local LightningBolts = {}
814
function Zap(Table)
815
	local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
816
	local Duration = Table.Duration or 2
817
	local Offset = Table.Offset or 2
818
	local Individualize = Table.Individualize or false
819
	local MaxRange = Table.MaxRange or 200
820
	local SegmentLength = Table.SegmentLength or 5
821
	local Transparency = Table.Transparency or 0
822
	local Ignore = Table.Ignore or {}
823
	local SIZE = Table.SIZE or 0.3
824
	if not (StartPos and TargetPos) or not Character then
825
		return
826
	end
827
	local LightningModel = IT("Folder", Effects)
828
	LightningModel.Name = "ZAPP"
829
	for i, v in pairs({Character, LightningModel}) do
830
		table.insert(Ignore, v)
831
	end
832
	local LastPos = StartPos
833
	local Direction = CFrame.new(StartPos, TargetPos).lookVector
834
	local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
835
	local RayLength = (StartPos - RayPos).Magnitude
836
	local Struck = false
837
	local TotalSegments = math.ceil(RayLength / SegmentLength)
838
	Direction = CFrame.new(StartPos, RayPos).lookVector
839
	local LightningBolt = IT("Model", Effects)
840
	LightningBolt.Name = "Lightning"
841
	LastBolt = LightningBolt
842
	Debris:AddItem(LightningBolt, Duration)
843
	LightningBolt.Parent = LightningModel
844
	for i = 1, TotalSegments do
845
		if not Struck then
846
			local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
847
			local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
848
			local SegmentVec = NewPos - LastPos
849
			local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
850
			local RayVec = LastPos - RayPos
851
			local LightningPart = BaseLightning:Clone()
852
			LightningPart.BrickColor = BrickColor.new(Color)
853
			LightningPart.Transparency = Transparency
854
			LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
855
			LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
856
			local CylinderMesh = IT("CylinderMesh", LightningPart)
857
			local OrigCF = LightningPart.CFrame
858
			LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
859
			LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
860
			LightningPart.Parent = LightningBolt
861
			LastPos = NewPos
862
		end
863
	end
864
	return {
865
		RayHit = RayHit,
866
		RayPos = RayPos,
867
		RayNormal = RayNormal,
868
		LightningModel = LightningModel
869
	}
870
end
871
872
function Blink()
873
	coroutine.resume(coroutine.create(function()
874
		if EYE ~= nil and PUPIL ~= nil then
875
			for i = 1, 5 do
876
				Swait()
877
				EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0, 0.2, 0)
878
				PUPIL.Mesh.Scale = PUPIL.Mesh.Scale - VT(0, 0.2, 0)
879
			end
880
			for i = 1, 7 do
881
				Swait()
882
				EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0, 0.2, 0)
883
				PUPIL.Mesh.Scale = PUPIL.Mesh.Scale + VT(0, 0.2, 0)
884
			end
885
			EYE.Mesh.Scale = VT(1, 1, 1)
886
			PUPIL.Mesh.Scale = VT(1, 1, 1)
887
		end
888
	end))
889
end
890
891
local BODY = {}
892
function Face()
893
	EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Eyeball", VT(0.15, 0.3, 0.15), false)
894
	MakeForm(EYE, "Ball")
895
	CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15, 0.26, -0.55), CF(0, 0, 0))
896
	PUPIL = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Eyeball", VT(0.05, 0.2, 0.05), false)
897
	PUPIL.Color = C3(0, 0, 0)
898
	MakeForm(PUPIL, "Ball")
899
	CreateWeldOrSnapOrMotor("Weld", Head, Head, PUPIL, CF(0.15, 0.26, -0.6), CF(0, 0, 0))
900
    local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(1.1,1,0.525),false)
901
    CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
902
    MakeForm(Part,"Wedge")
903
904
    local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
905
    PRT.Color = C3(0,0,0)
906
    local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
907
    CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
908
909
    local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
910
    PRT.Color = C3(0,0,0)
911
    CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
912
    CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
913
914
RightArm.Transparency = 1
915
local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2,1),false)
916
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
917
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1.4,1.4,1.4),false)
918
MakeForm(Sphere,"Ball")
919
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
920
local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.3,0.3,0.1),false)
921
MakeForm(LaserPart,"Ball")
922
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
923
local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.2),false)
924
MakeForm(Bump,"Ball")
925
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
926
local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.4,0,0.4),false)
927
MakeForm(BottomLaser,"Cyl")
928
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
929
local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
930
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
931
local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
932
CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
933
local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
934
CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
935
local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
936
CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
937
local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
938
CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
939
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.25,0.5),false)
940
CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
941
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.3,0.5),false)
942
CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
943
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
944
MakeForm(Part,"Cyl")
945
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
946
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
947
MakeForm(Part,"Cyl")
948
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
949
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false)
950
MakeForm(Sphere,"Ball")
951
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
952
953
    local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(1,1,1.2),false)
954
    CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
955
    local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.3,1.7,1.15),false)
956
    CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
957
    local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.3,1.7,1.15),false)
958
    CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
959
    local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.8,0.8,1.225),false)
960
    CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
961
    local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
962
    CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
963
964
New = function(Object, Parent, Name, Data)
965
	local Object = Instance.new(Object)
966
	for Index, Value in pairs(Data or {}) do
967
		Object[Index] = Value
968
	end
969
	Object.Parent = Parent
970
	Object.Name = Name
971
	return Object
972
end
973
974
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
975
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
976
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
977
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
978
979
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),})
980
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
981
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
982
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
983
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
984
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
985
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
986
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
987
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
988
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
989
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
990
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
991
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
992
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
993
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),})
994
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
995
996
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),})
997
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
998
999
	local LASTPART = Head
1000
	for i = 1, 30 do
1001
		local MATH = 1 - i / 40
1002
		if LASTPART == Head then
1003
			local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
1004
			CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(15), RAD(-15)), CF(0, 0, 0))
1005
			LASTPART = Horn
1006
			Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
1007
			local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
1008
			CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(3), RAD(0)), CF(0, 0, 0))
1009
			LASTPART = Horn
1010
			Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
1011
		end
1012
	end
1013
	local LASTPART = Head
1014
	for i = 1, 30 do
1015
		local MATH = 1 - i / 40
1016
		if LASTPART == Head then
1017
			local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
1018
			CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(-15), RAD(15)), CF(0, 0, 0))
1019
			LASTPART = Horn
1020
			Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
1021
			local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
1022
			CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(-3), RAD(0)), CF(0, 0, 0))
1023
			LASTPART = Horn
1024
			Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
1025
		end
1026
	end
1027
end
1028-
	BODY = {}
1028+
1029-
	for _, c in pairs(Character:GetDescendants()) do
1029+
1030-
		if c:IsA("BasePart") then
1030+
1031-
			table.insert(BODY, {
1031+
1032-
				c,
1032+
1033-
				c.Parent,
1033+
1034-
				c.Material,
1034+
1035-
				c.Color
1035+
1036
			c,
1037-
		elseif c:IsA("JointInstance") then
1037+
1038-
			table.insert(BODY, {
1038+
1039-
				c,
1039+
1040-
				c.Parent,
1040+
1041-
				nil,
1041+
1042-
				nil
1042+
1043
			c,
1044
			c.Parent,
1045
			nil,
1046
			nil
1047-
	BODY = {}
1047+
1048-
	for _, c in pairs(Character:GetDescendants()) do
1048+
1049-
		if c:IsA("BasePart") then
1049+
1050-
			table.insert(BODY, {
1050+
1051-
				c,
1051+
1052-
				c.Parent,
1052+
1053-
				c.Material,
1053+
1054-
				c.Color
1054+
1055
			local PART = STUFF[1]
1056-
		elseif c:IsA("JointInstance") then
1056+
1057-
			table.insert(BODY, {
1057+
1058-
				c,
1058+
1059-
				c.Parent,
1059+
1060-
				nil,
1060+
1061-
				nil
1061+
1062
					PART.Color = COLOR
1063
				end
1064
				PART.Parent = PARENT
1065
			end)
1066
		end
1067
	end
1068
end
1069
1070
function refit()
1071
	Weapon.Parent = Character
1072
	Character.Parent = workspace
1073
	for e = 1, #BODY do
1074
		if BODY[e] ~= nil then
1075
			local STUFF = BODY[e]
1076
			local PART = STUFF[1]
1077
			local PARENT = STUFF[2]
1078
			local MATERIAL = STUFF[3]
1079
			local COLOR = STUFF[4]
1080
			if PART.Parent ~= PARENT then
1081
				Humanoid:remove()
1082
				if PART.ClassName == "Part" then
1083
					PART.Material = MATERIAL
1084
					PART.Color = COLOR
1085
				end
1086
				PART.Parent = PARENT
1087
				Humanoid = IT("Humanoid", Character)
1088
			end
1089
		end
1090
	end
1091
end
1092
1093
local SKILLTEXTCOLOR = C3(0, 0, 0)
1094
local SKILLTEXTCOLOR2 = C3(1, 0, 0)
1095
local SKILLTEXTCOLOR3 = BRICKC"Bright orange".Color
1096
local SKILLFONT = "Antique"
1097
local SKILLTEXTSIZE = 8
1098
Weapon.Parent = Character
1099
Humanoid.Died:connect(function()
1100
	refit()
1101
    chatfunc("Futile.")
1102
end)
1103
1104
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")
1105
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")
1106
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
1107
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 4 Frame")
1108
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 5 Frame")
1109
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 6 Frame")
1110
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 7 Frame")
1111
local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 8 Frame")
1112
1113
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Neck Snap", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
1114
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Imperfect Command", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
1115
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Stone Ball", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
1116
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[E] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4")
1117
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[F] Eliminate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 5")
1118
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Orb of Ultimate Destruction", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 6")
1119
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Demon Form", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 7")
1120
local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[L] Chaos Form", SKILLTEXTCOLOR3, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 8")
1121
1122
function StatLabel(CFRAME, TEXT, COLOR)
1123
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
1124
	STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5)))
1125
	local BODYGYRO = IT("BodyGyro", STATPART)
1126
	game:GetService("Debris"):AddItem(STATPART, 5)
1127
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
1128
	BILLBOARDGUI.Adornee = STATPART
1129
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0)
1130
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
1131
	BILLBOARDGUI.AlwaysOnTop = false
1132
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
1133
	TEXTLABEL.BackgroundTransparency = 1
1134
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
1135
	TEXTLABEL.Text = TEXT
1136
	TEXTLABEL.Font = SKILLFONT
1137
	TEXTLABEL.FontSize = "Size42"
1138
	TEXTLABEL.TextColor3 = COLOR
1139
	TEXTLABEL.TextStrokeTransparency = 0
1140
	TEXTLABEL.TextScaled = true
1141
	TEXTLABEL.TextWrapped = true
1142
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
1143
		for i = 1, 50 do
1144
			Swait()
1145
			STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2)
1146
			TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02
1147
			TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
1148
		end
1149
		THEPART.Parent = nil
1150
	end), STATPART, TEXTLABEL)
1151
end
1152
1153
--//=================================\\
1154
--||	   text above head lel
1155
--\\=================================//
1156
1157
function chatfunc(text)
1158
	local chat = coroutine.wrap(function()
1159
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
1160
		Character:FindFirstChild("TalkingBillBoard"):destroy()
1161
	end
1162
	local Bill = Instance.new("BillboardGui",Character)
1163
	Bill.Size = UDim2.new(0,125,0,50)
1164
	Bill.StudsOffset = Vector3.new(0,1.5,0)
1165
	Bill.Adornee = Character.Head
1166
	Bill.Name = "TalkingBillBoard"
1167
	local Hehe = Instance.new("TextLabel",Bill)
1168
	Hehe.BackgroundTransparency = 1
1169
	Hehe.BorderSizePixel = 0
1170
	Hehe.Text = ""
1171
	Hehe.Font = "Antique"
1172
	Hehe.TextSize = 50
1173
	Hehe.TextStrokeTransparency = 0
1174
	Hehe.Size = UDim2.new(1,0,0.5,0)
1175
	coroutine.resume(coroutine.create(function()
1176
		while Hehe ~= nil do
1177
			Swait()	
1178
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
1179
			Hehe.Rotation = math.random(-5,5)
1180
			Hehe.TextColor3 = Color3.new(0,0,0)
1181
			Hehe.TextStrokeColor3 = BRICKC"Maroon".Color
1182
		end
1183
	end))
1184
	for i = 1,string.len(text),1 do
1185
		Swait()
1186
		Hehe.Text = string.sub(text,1,i)
1187
	end
1188
	Swait(90)--Re[math.random(1, 93)]
1189
	for i = 0, 1, .025 do
1190
		Swait()
1191
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
1192
		Hehe.TextStrokeTransparency = i
1193
		Hehe.TextTransparency = i
1194
	end
1195
	Bill:Destroy()
1196
	end)
1197
chat()
1198
end
1199
1200
function onChatted(msg)
1201
	chatfunc(msg)
1202
end
1203
1204
Player.Chatted:connect(onChatted)
1205
1206
function Ragdoll(Character2, CharTorso, Headless, Velocity)
1207
	local svch = Character2
1208
	Character2:BreakJoints()
1209
	local hum = Character2:findFirstChild("Humanoid")
1210
	local q = Character2:GetChildren()
1211
	local CLONE = IT("Model", Effects)
1212
	for i = 1, #q do
1213
		if q[i].ClassName == "Accessory" and Headless == true then
1214
			q[i]:remove()
1215
		elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
1216
			q[i].Parent = CLONE
1217
		elseif q[i].ClassName ~= "Humanoid" then
1218
			q[i]:remove()
1219
		end
1220
	end
1221
	local chrclone = CLONE
1222
	local ch = chrclone:GetChildren()
1223
	local i
1224
	for i = 1, #ch do
1225
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
1226
			ch[i]:remove()
1227
		end
1228
	end
1229
	local function Scan(ch)
1230
		local e
1231
		for e = 1, #ch do
1232
			Scan(ch[e]:GetChildren())
1233
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
1234
				ch[e]:remove()
1235
			end
1236
		end
1237
	end
1238
	Character2:remove()
1239
	local NEWHUM = IT("Humanoid")
1240
	NEWHUM.Name = "Corpse"
1241
	NEWHUM.Health = 0
1242
	NEWHUM.MaxHealth = 0
1243
	NEWHUM.PlatformStand = true
1244
	NEWHUM.Parent = CLONE
1245
	NEWHUM.DisplayDistanceType = "None"
1246
	Scan(chrclone:GetChildren())
1247
	local ch = Character2:GetChildren()
1248
	local i
1249
	for i = 1, #ch do
1250
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1251
			ch[i]:remove()
1252
		end
1253
	end
1254
	local ch = Character2:GetChildren()
1255
	local i
1256
	for i = 1, #ch do
1257
		if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1258
			ch[i]:remove()
1259
		end
1260
	end
1261
	Character2 = chrclone
1262
	local Torso2 = Character2.Torso
1263
	local movevector = Vector3.new()
1264
	if Torso2 then
1265
		movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
1266
		local Head = Character2:FindFirstChild("Head")
1267
		if Head then
1268
			local Neck = Instance.new("Weld")
1269
			Neck.Name = "Neck"
1270
			Neck.Part0 = Torso2
1271
			Neck.Part1 = Head
1272
			Neck.C0 = CFrame.new(0, 1.5, 0)
1273
			Neck.C1 = CFrame.new()
1274
			Neck.Parent = Torso2
1275
			if Headless == true then
1276
				Head.Transparency = 1
1277
				Head:ClearAllChildren()
1278
			end
1279
		end
1280
		local Limb = Character2:FindFirstChild("Right Arm")
1281
		if Limb then
1282
			Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
1283
			local Joint = Instance.new("Glue")
1284
			Joint.Name = "RightShoulder"
1285
			Joint.Part0 = Torso2
1286
			Joint.Part1 = Limb
1287
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1288
			Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1289
			Joint.Parent = Torso2
1290
			local B = Instance.new("Part")
1291
			B.TopSurface = 0
1292
			B.BottomSurface = 0
1293
			B.formFactor = "Symmetric"
1294
			B.Size = Vector3.new(1, 1, 1)
1295
			B.Transparency = 1
1296
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1297
			B.Parent = Character2
1298
			local W = Instance.new("Weld")
1299
			W.Part0 = Limb
1300
			W.Part1 = B
1301
			W.C0 = CFrame.new(0, -0.5, 0)
1302
			W.Parent = Limb
1303
		end
1304
		local Limb = Character2:FindFirstChild("Left Arm")
1305
		if Limb then
1306
			Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
1307
			local Joint = Instance.new("Glue")
1308
			Joint.Name = "LeftShoulder"
1309
			Joint.Part0 = Torso2
1310
			Joint.Part1 = Limb
1311
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1312
			Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1313
			Joint.Parent = Torso2
1314
			local B = Instance.new("Part")
1315
			B.TopSurface = 0
1316
			B.BottomSurface = 0
1317
			B.formFactor = "Symmetric"
1318
			B.Size = Vector3.new(1, 1, 1)
1319
			B.Transparency = 1
1320
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1321
			B.Parent = Character2
1322
			local W = Instance.new("Weld")
1323
			W.Part0 = Limb
1324
			W.Part1 = B
1325
			W.C0 = CFrame.new(0, -0.5, 0)
1326
			W.Parent = Limb
1327
		end
1328
		local Limb = Character2:FindFirstChild("Right Leg")
1329
		if Limb then
1330
			Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
1331
			local Joint = Instance.new("Glue")
1332
			Joint.Name = "RightHip"
1333
			Joint.Part0 = Torso2
1334
			Joint.Part1 = Limb
1335
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1336
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1337
			Joint.Parent = Torso2
1338
			local B = Instance.new("Part")
1339
			B.TopSurface = 0
1340
			B.BottomSurface = 0
1341
			B.formFactor = "Symmetric"
1342
			B.Size = Vector3.new(1, 1, 1)
1343
			B.Transparency = 1
1344
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1345
			B.Parent = Character2
1346
			local W = Instance.new("Weld")
1347
			W.Part0 = Limb
1348
			W.Part1 = B
1349
			W.C0 = CFrame.new(0, -0.5, 0)
1350
			W.Parent = Limb
1351
		end
1352
		local Limb = Character2:FindFirstChild("Left Leg")
1353
		if Limb then
1354
			Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
1355
			local Joint = Instance.new("Glue")
1356
			Joint.Name = "LeftHip"
1357
			Joint.Part0 = Torso2
1358
			Joint.Part1 = Limb
1359
			Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1360
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1361
			Joint.Parent = Torso2
1362
			local B = Instance.new("Part")
1363
			B.TopSurface = 0
1364
			B.BottomSurface = 0
1365
			B.formFactor = "Symmetric"
1366
			B.Size = Vector3.new(1, 1, 1)
1367
			B.Transparency = 1
1368
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1369
			B.Parent = Character2
1370
			local W = Instance.new("Weld")
1371
			W.Part0 = Limb
1372
			W.Part1 = B
1373
			W.C0 = CFrame.new(0, -0.5, 0)
1374
			W.Parent = Limb
1375
		end
1376
		local Bar = Instance.new("Part")
1377
		Bar.TopSurface = 0
1378
		Bar.BottomSurface = 0
1379
		Bar.formFactor = "Symmetric"
1380
		Bar.Size = Vector3.new(1, 1, 1)
1381
		Bar.Transparency = 1
1382
		Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1383
		Bar.Parent = Character2
1384
		local Weld = Instance.new("Weld")
1385
		Weld.Part0 = Torso2
1386
		Weld.Part1 = Bar
1387
		Weld.C0 = CFrame.new(0, 0.5, 0)
1388
		Weld.Parent = Torso2
1389
	end
1390
	Character2.Parent = Weapon
1391
	if movevector ~= Vector3.new() then
1392
		for i = 1, 10 do
1393
			Torso2.Velocity = movevector * Velocity
1394
		end
1395
	end
1396
	Character2.Name = "Corpse"
1397
	return Character2, Torso2
1398
end
1399
function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
1400
	local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
1401
	if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
1402
		if HITFLOOR.Name == "BloodPuddle" then
1403
			local DIST = (Position - HITFLOOR.Position).Magnitude
1404
			if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
1405
				HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
1406
			end
1407
		elseif HITFLOOR.Anchored == true then
1408
			do
1409
				local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2, 0, 2))
1410
				BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
1411
				MakeForm(BLOOD, "Cyl")
1412
				coroutine.resume(coroutine.create(function()
1413
					Swait(75)
1414
					while true do
1415
						Swait()
1416
						BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
1417
						if BLOOD.Size.Z < 0.051 then
1418
							BLOOD:remove()
1419
							break
1420
						end
1421
					end
1422
				end))
1423
			end
1424
		end
1425
	end
1426
end
1427
function SprayBlood(POSITION, DIRECTION, BloodSize)
1428
	local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1, 1, 1), false)
1429
	BLOOD.CFrame = CF(POSITION)
1430
	MakeForm(BLOOD, "Ball")
1431
	local bv = Instance.new("BodyVelocity", BLOOD)
1432
	bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1433
	bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
1434
	bv.Name = "MOVE"
1435
	Debris:AddItem(bv, 0.05)
1436
	coroutine.resume(coroutine.create(function()
1437
		local HASTOUCHEDGROUND = false
1438
		local HIT = BLOOD.Touched:Connect(function(hit)
1439
			if hit.Anchored == true then
1440
				HASTOUCHEDGROUND = true
1441
				PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
1442
			end
1443
		end)
1444
		wait(5)
1445
		if HASTOUCHEDGROUND == false then
1446
			BLOOD:remove()
1447
		end
1448
	end))
1449
end
1450
function ApplyDamage(Humanoid, Damage, TorsoPart)
1451
	local defence = Instance.new("BoolValue", Humanoid.Parent)
1452
	defence.Name = "HitBy" .. Player.Name
1453
	game:GetService("Debris"):AddItem(defence, 0.001)
1454
	Damage = Damage * DAMAGEMULTIPLIER
1455
	if Humanoid.Health ~= 0 then
1456
		local CritChance = MRANDOM(1, 100)
1457
		if Damage > Humanoid.Health then
1458
			Damage = math.ceil(Humanoid.Health)
1459
			if Damage == 0 then
1460
				Damage = 0.1
1461
			end
1462
		end
1463
		Humanoid.Health = Humanoid.Health - Damage
1464
		StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
1465
	end
1466
end
1467
1468
function Petrify(Foe)
1469
	local STONEMODEL = IT("Model", Effects)
1470
	local CHILDREN = Foe:GetDescendants()
1471
	for index, CHILD in pairs(CHILDREN) do
1472
		if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
1473
			CHILD.Parent = STONEMODEL
1474
			CHILD.Material = "Slate"
1475
			CHILD.Color = C3(1, 0, 0)
1476
			if CHILD:FindFirstChildOfClass("SpecialMesh") then
1477
				local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
1478
				mesh.TextureId = ""
1479
			end
1480
			if CHILD:FindFirstChildOfClass("Decal") then
1481
				local mesh = CHILD:FindFirstChildOfClass("Decal")
1482
				mesh:remove()
1483
			end
1484
			if CHILD.ClassName == "MeshPart" then
1485
				CHILD.TextureID = ""
1486
			end
1487
			if CHILD.ClassName == "UnionOperation" then
1488
				CHILD.UsePartColor = true
1489
			end
1490
			CHILD.CanCollide = true
1491
		end
1492
	end
1493
	Debris:AddItem(STONEMODEL, 5)
1494
end
1495
1496
function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
1497
	local CHILDREN = workspace:GetDescendants()
1498
	for index, CHILD in pairs(CHILDREN) do
1499
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1500
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1501
			if HUM then
1502
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1503
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
1504
					if INSTAKILL == true then
1505
						Petrify(CHILD)
1506
					else
1507
						local DMG = MRANDOM(MINDMG, MAXDMG)
1508
						ApplyDamage(HUM, DMG, TORSO)
1509
					end
1510
					if FLING > 0 then
1511
						for _, c in pairs(CHILD:GetChildren()) do
1512
							if c:IsA("BasePart") then
1513
								local bv = Instance.new("BodyVelocity")
1514
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1515
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
1516
								bv.Parent = c
1517
								Debris:AddItem(bv, 0.05)
1518
							end
1519
						end
1520
					end
1521
				end
1522
			end
1523
		end
1524
	end
1525
end
1526
1527
function Intro()
1528
	coroutine.resume(coroutine.create(function()
1529
		INTROING = true
1530
		Rooted = true
1531
		FINISHEDINTRO = true
1532
		Head.Transparency = 1
1533
		Torso.Transparency = 1
1534
		LeftArm.Transparency = 1
1535
		RightArm.Transparency = 1
1536
		LeftLeg.Transparency = 1
1537
		RightLeg.Transparency = 1
1538
		repeat
1539
			Swait()
1540
		until sick.TimePosition > 1
1541
		for i = 1, 5 do
1542
			WACKYEFFECT({
1543
				EffectType = "Sphere",
1544
				Size = VT(3, 3, 3),
1545
				Size2 = VT(0, 5, 0),
1546
				Transparency = 0.5,
1547
				Transparency2 = 1,
1548
				CFrame = Torso.CFrame,
1549
				MoveToPos = Torso.CFrame * CF(15, -5 + i * 3, 1).p,
1550
				RotationX = MRANDOM(-5, 5),
1551
				RotationY = MRANDOM(-5, 5),
1552
				RotationZ = MRANDOM(-5, 5),
1553
				Material = "Neon",
1554
				Color = C3(1, 0, 0),
1555
				SoundID = nil,
1556
				SoundPitch = nil,
1557
				SoundVolume = nil
1558
			})
1559
		end
1560
		RightWing()
1561
		repeat
1562
			Swait()
1563
		until sick.TimePosition > 1.8
1564
		for i = 1, 5 do
1565
			WACKYEFFECT({
1566
				EffectType = "Sphere",
1567
				Size = VT(3, 3, 3),
1568
				Size2 = VT(0, 5, 0),
1569
				Transparency = 0.5,
1570
				Transparency2 = 1,
1571
				CFrame = Torso.CFrame,
1572
				MoveToPos = Torso.CFrame * CF(-15, -5 + i * 3, 1).p,
1573
				RotationX = MRANDOM(-5, 5),
1574
				RotationY = MRANDOM(-5, 5),
1575
				RotationZ = MRANDOM(-5, 5),
1576
				Material = "Neon",
1577
				Color = C3(1, 0, 0),
1578
				SoundID = nil,
1579
				SoundPitch = nil,
1580
				SoundVolume = nil
1581
			})
1582
		end
1583
		LeftWing()
1584
		repeat
1585
			Swait()
1586
		until sick.TimePosition > 3.5
1587
		for i = 1, 6 do
1588
			WACKYEFFECT({
1589
				EffectType = "Sphere",
1590
				Size = VT(1.5, 1.5, 1.5),
1591
				Size2 = VT(4, 4, 4) * i,
1592
				Transparency = 0,
1593
				Transparency2 = 1,
1594
				CFrame = Head.CFrame,
1595
				MoveToPos = nil,
1596
				RotationX = 0,
1597
				RotationY = 0,
1598
				RotationZ = 0,
1599
				Material = "Neon",
1600
				Color = C3(1, 0, 0),
1601
				SoundID = nil,
1602
				SoundPitch = nil,
1603
				SoundVolume = nil
1604
			})
1605
		end
1606
		Head.Transparency = 0
1607
		Face()
1608
		wait(0.5)
1609
		for i = 1, 100 do
1610
			Swait()
1611
			Torso.Transparency = 1 - i / 100
1612
			LeftArm.Transparency = 1 - i / 100
1613
			RightArm.Transparency = 1 - i / 100
1614
			LeftLeg.Transparency = 1 - i / 100
1615
			RightLeg.Transparency = 1 - i / 100
1616
            Humanoid.DisplayDistanceType = "None"
1617
            local naeeym2 = IT("BillboardGui",Character)
1618
            naeeym2.AlwaysOnTop = true
1619
            naeeym2.Size = UDim2.new(7,50,4,25)
1620
            naeeym2.StudsOffset = Vector3.new(0,4,0)
1621
            naeeym2.MaxDistance = 200
1622
            naeeym2.Adornee = Character.Head
1623
            naeeym2.Name = "Name"
1624
            local tecks2 = IT("TextLabel",naeeym2)
1625
            tecks2.BackgroundTransparency = 1
1626
            tecks2.TextScaled = true
1627
            tecks2.BorderSizePixel = 0
1628
            tecks2.Text = Character.Name
1629
            tecks2.Font = "Antique"
1630
            tecks2.TextSize = 50
1631
            tecks2.TextStrokeTransparency = 0
1632
            tecks2.TextColor3 = BRICKC"Maroon".Color
1633
            tecks2.TextStrokeColor3 = C3(0,0,0)
1634
            tecks2.Size = UDim2.new(1,0,0.5,0)
1635
            tecks2.Parent = naeeym2
1636
1637
            Humanoid.DisplayDistanceType = "None"
1638
            local naeeym3 = IT("BillboardGui",Character)
1639
            naeeym3.AlwaysOnTop = true
1640
            naeeym3.Size = UDim2.new(5,30,2,15)
1641
            naeeym3.StudsOffset = Vector3.new(0,2.5,0)
1642
            naeeym3.MaxDistance = 200
1643
            naeeym3.Adornee = Character.Head
1644
            naeeym3.Name = "Name"
1645
            local tecks3 = IT("TextLabel",naeeym3)
1646
            tecks3.BackgroundTransparency = 1
1647
            tecks3.TextScaled = true
1648
            tecks3.BorderSizePixel = 0
1649
            tecks3.Text = "God of Destruction"
1650
            tecks3.Font = "Fantasy"
1651
            tecks3.TextSize = 50
1652
            tecks3.TextStrokeTransparency = 1
1653
            tecks3.TextColor3 = Color3.new(0,0,0)
1654
            tecks3.Size = UDim2.new(1,0,0.5,0)
1655
            tecks3.Parent = naeeym3
1656
        end
1657
		FINISHEDINTRO = true
1658
		Rooted = false
1659
	end))
1660
end
1661
1662
function Warp()
1663
	ATTACK = true
1664
	Rooted = false
1665
	for i=0, 0.5, 0.1 / Animation_Speed do
1666
		Swait()
1667
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1668
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
1669
	end
1670
	for e = 1, #BODY do
1671
		if BODY[e] ~= nil then
1672
			local STUFF = BODY[e]
1673
			local PART = STUFF[1]
1674
			if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
1675
				local PRT = PART:Clone()
1676
				PRT.Anchored = true
1677
				PRT.CanCollide = false
1678
				PRT.Material = "Neon"
1679
				PRT.Color = C3(1,0,0)
1680
				PRT.Name = "WarpEffect"
1681
				PRT.Parent = Effects
1682
				PRT.CFrame = PART.CFrame
1683
				PRT:BreakJoints()
1684
				if PRT:FindFirstChildOfClass("Sound") then
1685
					PRT:FindFirstChildOfClass("Sound"):remove()
1686
				end
1687
				if PRT:FindFirstChildOfClass("Decal") then
1688
					PRT:FindFirstChildOfClass("Decal"):remove()
1689
				end
1690
				coroutine.resume(coroutine.create(function()
1691
					for i = 1, 100 do
1692
						Swait()
1693
						PRT.Transparency = PRT.Transparency + 1/100
1694
					end
1695
					PRT:remove()
1696
				end))
1697
			end
1698
		end
1699
	end
1700
	local POS = RootPart.Orientation
1701
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
1702
	RootPart.Orientation = POS
1703
	RootJoint.Parent = RootPart
1704
	for i=0, 0.5, 0.1 / Animation_Speed do
1705
		Swait()
1706
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1707
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
1708
	end
1709
	for i=0, 0.1, 0.1 / Animation_Speed do
1710
		Swait()
1711
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1712
	end
1713
	ATTACK = false
1714
	Rooted = false
1715
end
1716
1717
function Neck_Snap()
1718
	ATTACK = true
1719
	Rooted = false
1720
	local TARGET, HUM, WLD
1721
	local HIT = RightArm.Touched:Connect(function(hit)
1722
		if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
1723
			local H = hit.Parent:FindFirstChildOfClass("Humanoid")
1724
			if H.Health > 0 then
1725
				local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
1726
				if TORSO then
1727
					HUM = H
1728
					TARGET = TORSO
1729
					H.PlatformStand = true
1730
					CreateSound("260411131", TORSO, 10, 1)
1731
					WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1732
				end
1733
			end
1734
		end
1735
	end)
1736
	for i = 0, 1, 0.1 / Animation_Speed do
1737
		Swait()
1738
		if TARGET ~= nil then
1739
			break
1740
		end
1741
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
1742
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
1743
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1744
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1745
		if ANIM == "Idle" then
1746
			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)
1747
			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)
1748
		elseif ANIM == "Walk" then
1749
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1750
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1751
		elseif ANIM == "Jump" or ANIM == "Fall" then
1752
			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)
1753
			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)
1754
		end
1755
	end
1756
	HIT:disconnect()
1757
	if TARGET ~= nil then
1758
		if TARGET.Name == "Torso" then
1759
			for i = 0, 2, 0.1 / Animation_Speed do
1760
				Swait()
1761
				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)
1762
				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)
1763
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1764
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1765
				if ANIM == "Idle" then
1766
					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)
1767
					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)
1768
				elseif ANIM == "Walk" then
1769
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1770
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1771
				elseif ANIM == "Jump" or ANIM == "Fall" then
1772
					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)
1773
					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)
1774
				end
1775
			end
1776
			WLD:remove()
1777
			local HEAD = TARGET.Parent:FindFirstChild("Head")
1778
			if HEAD then
1779
				UNANCHOR = false
1780
				RootPart.Anchored = true
1781
				local HD = HEAD:Clone()
1782
				HD.Name = "FakeHead"
1783
				for i = 1, 7 do
1784
					SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
1785
				end
1786
				local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
1787
				local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1788
				HD.Parent = RAGDOLL
1789
				CreateSound("264486467", RAGTORSO, 10, 1)
1790
				local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1791
				for i = 0, 2, 0.1 / Animation_Speed do
1792
					Swait()
1793
					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)
1794
					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)
1795
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1796
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1797
					if ANIM == "Idle" then
1798
						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)
1799
						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)
1800
					elseif ANIM == "Walk" then
1801
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1802
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1803
					elseif ANIM == "Jump" or ANIM == "Fall" then
1804
						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)
1805
						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)
1806
					end
1807
				end
1808
				HEADWELD:remove()
1809
				for i = 0, 0.5, 0.1 / Animation_Speed do
1810
					Swait()
1811
					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)
1812
					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)
1813
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1814
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1815
					if ANIM == "Idle" then
1816
						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)
1817
						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)
1818
					elseif ANIM == "Walk" then
1819
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1820
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1821
					elseif ANIM == "Jump" or ANIM == "Fall" then
1822
						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)
1823
						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)
1824
					end
1825
				end
1826
				CreateSound("907333406", Torso, 10, 1)
1827
				for i = 0, 0.25, 0.1 / Animation_Speed do
1828
					Swait()
1829
					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)
1830
					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)
1831
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1832
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1833
					if ANIM == "Idle" then
1834
						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)
1835
						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)
1836
					elseif ANIM == "Walk" then
1837
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1838
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1839
					elseif ANIM == "Jump" or ANIM == "Fall" then
1840
						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)
1841
						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)
1842
					end
1843
				end
1844
				RAGWELD:remove()
1845
				local bv = Instance.new("BodyVelocity")
1846
				bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1847
				bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
1848
				bv.Parent = RAGTORSO
1849
				Debris:AddItem(bv, 0.05)
1850
				Debris:AddItem(RAGDOLL, 5)
1851
				for i = 0, 0.15, 0.1 / Animation_Speed do
1852
					Swait()
1853
					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)
1854
					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)
1855
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1856
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1857
					if ANIM == "Idle" then
1858
						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)
1859
						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)
1860
elseif ANIM == "Walk" then
1861
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1862
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1863
					elseif ANIM == "Jump" or ANIM == "Fall" then
1864
						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)
1865
						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)
1866
					end
1867
				end
1868
				UNANCHOR = true
1869
				RootPart.Anchored = false
1870
			end
1871
		else
1872
			UNANCHOR = false
1873
			RootPart.Anchored = true
1874
			for i = 0, 0.5, 0.1 / Animation_Speed do
1875
				Swait()
1876
				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)
1877
				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)
1878
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1879
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1880
				if ANIM == "Idle" then
1881
					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)
1882
					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)
1883
				elseif ANIM == "Walk" then
1884
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1885
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1886
				elseif ANIM == "Jump" or ANIM == "Fall" then
1887
					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)
1888
					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)
1889
				end
1890
			end
1891
			for i = 0, 0.25, 0.1 / Animation_Speed do
1892
				Swait()
1893
				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)
1894
				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)
1895
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1896
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1897
				if ANIM == "Idle" then
1898
					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)
1899
					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)
1900
elseif ANIM == "Walk" then
1901
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1902
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1903
				elseif ANIM == "Jump" or ANIM == "Fall" then
1904
					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)
1905
					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)
1906
				end
1907
			end
1908
			WLD:remove()
1909
			TARGET.Parent:BreakJoints()
1910
			for _, c in pairs(TARGET.Parent:GetChildren()) do
1911
				if c:IsA("BasePart") then
1912
					local bv = Instance.new("BodyVelocity")
1913
					bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1914
					bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
1915
					bv.Parent = c
1916
					Debris:AddItem(bv, 0.05)
1917
				end
1918
			end
1919
			for i = 0, 0.15, 0.1 / Animation_Speed do
1920
				Swait()
1921
				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)
1922
				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)
1923
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1924
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1925
				if ANIM == "Idle" then
1926
					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)
1927
					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)
1928
				elseif ANIM == "Walk" then
1929
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1930
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
1931
				elseif ANIM == "Jump" or ANIM == "Fall" then
1932
					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)
1933
					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)
1934
				end
1935
			end
1936
			UNANCHOR = true
1937
			RootPart.Anchored = false
1938
		end
1939
	end
1940
	ATTACK = false
1941
	Rooted = false
1942
end
1943
1944
function Taunt()
1945
	ATTACK = true
1946
	Rooted = true
1947
	CreateSound("865772398", Character, 10, 1)
1948
    chatfunc("Foolish Decision..")
1949
	for i=0, 1, 0.1 / Animation_Speed do
1950
		Swait()
1951
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1952
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
1953
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1954
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1955
		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)), 2 / Animation_Speed)
1956
		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)), 2 / Animation_Speed)
1957
	end
1958
	for i=0, 2, 0.1 / Animation_Speed do
1959
		Swait()
1960
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1961
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
1962
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1963
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1964
		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)), 2 / Animation_Speed)
1965
		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)), 2 / Animation_Speed)
1966
	end
1967
	ATTACK = false
1968
	Rooted = false
1969
end
1970
1971
function Taunt2()
1972
	CreateSound(907331307, Torso, 50, 0.9, false)
1973
    chatfunc("You have failed.")
1974
	for i=0, 1, 0.1 / Animation_Speed do
1975
		Swait()
1976
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1977
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
1978
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1979
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1980
		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)), 2 / Animation_Speed)
1981
		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)), 2 / Animation_Speed)
1982
	end
1983
	for i=0, 2, 0.1 / Animation_Speed do
1984
		Swait()
1985
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1986
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
1987
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1988
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1989
		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)), 2 / Animation_Speed)
1990
		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)), 2 / Animation_Speed)
1991
	end
1992
end
1993
1994
function Imperfect_Command()
1995
	ATTACK = true
1996
	Rooted = true
1997
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1998
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1999
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
2000
		if TORSO then
2001
			local GYRO = IT("BodyGyro", RootPart)
2002
			GYRO.D = 750
2003
			GYRO.P = 2000
2004
			GYRO.MaxTorque = VT(0, 40000, 0)
2005
			CreateSound("907330103", Torso, 10, 1)
2006
			for i = 0, 1.6, 0.1 / Animation_Speed do
2007
				Swait()
2008
				WACKYEFFECT({
2009
					Time = 5,
2010
					EffectType = "Round Slash",
2011
					Size = VT(0, 0, 0),
2012
					Size2 = VT(0.01, 0, 0.01),
2013
					Transparency = 0.5,
2014
					Transparency2 = 1,
2015
					CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2016
					MoveToPos = nil,
2017
					RotationX = MRANDOM(-50, 50) / 10,
2018
					RotationY = MRANDOM(-50, 50) / 10,
2019
					RotationZ = MRANDOM(-50, 50) / 10,
2020
					Material = "Neon",
2021
					Color = C3(1, 0, 0),
2022
					SoundID = nil,
2023
					SoundPitch = nil,
2024
					SoundVolume = nil
2025
				})
2026
				GYRO.cframe = CF(RootPart.Position, TORSO.Position)
2027
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
2028
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
2029
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2030
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2031
				if ANIM == "Idle" then
2032
					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)
2033
					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)
2034
				elseif ANIM == "Walk" then
2035
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2036
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2037
				elseif ANIM == "Jump" or ANIM == "Fall" then
2038
					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)
2039
					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)
2040
				end
2041
			end
2042
			GYRO:remove()
2043
			for i = 1, 15 do
2044
				WACKYEFFECT({
2045
					Time = MRANDOM(15, 85),
2046
					EffectType = "Round Slash",
2047
					Size = VT(0, 0, 0),
2048
					Size2 = VT(0.3, 0, 0.3),
2049
					Transparency = 0.5,
2050
					Transparency2 = 1,
2051
					CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2052
					MoveToPos = nil,
2053
					RotationX = MRANDOM(-50, 50) / 10,
2054
					RotationY = MRANDOM(-50, 50) / 10,
2055
					RotationZ = MRANDOM(-50, 50) / 10,
2056
					Material = "Neon",
2057
					Color = C3(1, 0, 0),
2058
					SoundID = nil,
2059
					SoundPitch = nil,
2060
					SoundVolume = nil
2061
				})
2062
			end
2063
			local bv = Instance.new("BodyVelocity")
2064
			bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2065
			bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
2066
			bv.Parent = TORSO
2067
			Debris:AddItem(bv, 0.05)
2068
			CreateSound("1222405264", TORSO, 10, 1)
2069
			Petrify(HUM.Parent)
2070
			for i = 0, 0.5, 0.1 / Animation_Speed do
2071
				Swait()
2072
				WACKYEFFECT({
2073
					Time = 5,
2074
					EffectType = "Round Slash",
2075
					Size = VT(0, 0, 0),
2076
					Size2 = VT(0.01, 0, 0.01),
2077
					Transparency = 0.5,
2078
					Transparency2 = 1,
2079
					CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2080
					MoveToPos = nil,
2081
					RotationX = MRANDOM(-50, 50) / 10,
2082
					RotationY = MRANDOM(-50, 50) / 10,
2083
					RotationZ = MRANDOM(-50, 50) / 10,
2084
					Material = "Neon",
2085
					Color = C3(1, 0, 0),
2086
					SoundID = nil,
2087
					SoundPitch = nil,
2088
					SoundVolume = nil
2089
				})
2090
				GYRO.cframe = CF(RootPart.Position, TORSO.Position)
2091
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
2092
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
2093
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2094
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2095
				if ANIM == "Idle" then
2096
					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)
2097
					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)
2098
				elseif ANIM == "Walk" then
2099
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2100
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2101
				elseif ANIM == "Jump" or ANIM == "Fall" then
2102
					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)
2103
					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)
2104
				end
2105
			end
2106
		end
2107
	end
2108
	ATTACK = false
2109
	Rooted = false
2110
end
2111
2112
function Perfect_Command()
2113
ATTACK = true
2114
Rooted = true
2115
        chatfunc("Weaklings...")
2116
        CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
2117
	    CreateSound("1368605755", Effects, 10, 1)
2118
	    MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
2119
		ApplyAoE(Torso.Position, 9999, 0, 0, 0, true)
2120
ATTACK = false
2121
Rooted = false
2122
end
2123
2124
function killnearest2(position,range,maxstrength)
2125
	for i,v in ipairs(workspace:GetChildren()) do
2126
	if v.ClassName == "Model" then
2127
		local body = v:GetChildren()
2128
			for part = 1, #body do
2129
				if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2130
					if(body[part].Position - position).Magnitude < range then
2131
						if v.ClassName == "Model" then
2132
							v:BreakJoints()
2133
						end
2134
						--table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
2135
						body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
2136
					end
2137
				end
2138
			end
2139
		end
2140
	end
2141
end
2142
2143
function killnearest(position,range,maxstrength,direction)
2144
	for i,v in ipairs(workspace:GetChildren()) do
2145
	local body = v:GetChildren()
2146
		for part = 1, #body do
2147
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2148
				if(body[part].Position - position).Magnitude < range then
2149
					if v.ClassName == "Model" then
2150
						--v:BreakJoints()
2151
					end
2152
					local POS = position
2153
					coroutine.resume(coroutine.create(function()
2154
						body[part].Anchored = true
2155
						body[part].Parent = Effects
2156
						body[part].CanCollide = true
2157
						local SIZE = body[part].Size
2158
						body[part].Material = "Neon"
2159
						CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
2160
						for i = 1, 75 do
2161
							Swait()
2162
							body[part].Color = Color3.fromRGB(cR,cG,cB)
2163
							body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2164
						end
2165
						coroutine.resume(coroutine.create(function()
2166
							while true do
2167
								Swait()
2168
								body[part].Color = Color3.fromRGB(cR,cG,cB)
2169
								body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2170
							end
2171
						end))
2172
						body[part].Anchored = false
2173
						body[part].Velocity = direction.lookVector*maxstrength
2174
					end))
2175
				end
2176
			end
2177
		end
2178
		if v.ClassName == "Part" then
2179
			if v.Anchored == false and (v.Position - position).Magnitude < range then
2180
				local POS = position
2181
				coroutine.resume(coroutine.create(function()
2182
					v.Anchored = true
2183
					v.Parent = Effects
2184
					local SIZE = v.Size
2185
					v.Material = "Neon"
2186
					CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
2187
					for i = 1, 75 do
2188
						Swait()
2189
						v.Color = Color3.fromRGB(cR,cG,cB)
2190
						v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2191
					end
2192
					coroutine.resume(coroutine.create(function()
2193
						while true do
2194
							Swait()
2195
							v.Color = Color3.fromRGB(cR,cG,cB)
2196
							v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2197
						end
2198
					end))
2199
					v.Anchored = false
2200
					v.Velocity = direction.lookVector*maxstrength
2201
				end))
2202
			end
2203
		end
2204
	end
2205
end
2206
2207
function VanishPlayer()
2208
	tecks2.TextTransparency = 1
2209
	tecks2.TextStrokeTransparency = 1
2210
	for _, c in pairs(Character:GetChildren()) do
2211
		if c.ClassName == "Part" then
2212
			c.Transparency = 0
2213
			if c:FindFirstChildOfClass("Decal") then
2214
				c:FindFirstChildOfClass("Decal").Transparency = 1
2215
			end
2216
			if c:FindFirstChildOfClass("ParticleEmitter") then
2217
				c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
2218
			end
2219
		elseif c.ClassName == "Accessory" then
2220
			c.Handle.Transparency = 0
2221
			if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
2222
				c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
2223
			end
2224
		end
2225
	end
2226
end
2227
2228
function Reappear()
2229
	tecks2.TextTransparency = 0
2230
	tecks2.TextStrokeTransparency = 0
2231
	for _, c in pairs(Character:GetChildren()) do
2232
		if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
2233
			c.Transparency = 0
2234
			if c:FindFirstChildOfClass("Decal") then
2235
				c:FindFirstChildOfClass("Decal").Transparency = 0
2236
			end
2237
			if c:FindFirstChildOfClass("ParticleEmitter") then
2238
				c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
2239
			end
2240
		elseif c.ClassName == "Accessory" then
2241
			c.Handle.Transparency = 0
2242
			if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
2243
				c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
2244
			end
2245
		end
2246
	end
2247
end
2248
2249
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
2250
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
2251
	local mesh
2252
	if KIND == "Base" then
2253
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
2254
	elseif KIND == "Thin" then
2255
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
2256
	elseif KIND == "Round" then
2257
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
2258
	end
2259
	wave.CFrame = CFRAME
2260
	coroutine.resume(coroutine.create(function(PART)
2261
		for i = 1, WAIT do
2262
			Swait()
2263
			mesh.Scale = mesh.Scale + GROW / 10
2264
			wave.Transparency = wave.Transparency + 0.5 / WAIT
2265
			if wave.Transparency > 0.99 then
2266
				wave:remove()
2267
			end
2268
		end
2269
	end))
2270
end
2271
2272
function Orb()
2273
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
2274
	if HITFLOOR ~= nil then
2275
		do
2276
			local HITBODIES = {}
2277
			ATTACK = true
2278
			Rooted = true
2279
			local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "ABSOLUTEUM", VT(0, 0, 0))
2280
			MakeForm(ABSOLUTE, "Ball")
2281
			CreateSound("416200578", RootPart, 10, 0.7)
2282
			for i = 0, 8, 0.1 / Animation_Speed do
2283
				Swait()
2284
				ABSOLUTE.Size = ABSOLUTE.Size + VT(0.75, 0.75, 0.75)
2285
				ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
2286
				ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
2287
				local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(3, 3, 3))
2288
				MakeForm(CHARGE, "Ball")
2289
				CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
2290
				FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
2291
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2292
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2293
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2294
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2295
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2296
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2297
			end
2298
			CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Torso, 10, 0.9)
2299
			CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
2300
			for i = 1, 45 do
2301
				Swait()
2302
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2303
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2304
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2305
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2306
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2307
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2308
			end
2309
			coroutine.resume(coroutine.create(function()
2310
				local IMPACT = false
2311
				local BULLET = ABSOLUTE
2312
				MakeForm(BULLET, "Ball")
2313
				BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
2314
				for i = 1, 500 do
2315
					Swait()
2316
					BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
2317
					local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
2318
					MagicSphere(VT(1000, 1000, 1000), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really red", VT(-100, -100, -100) / 55)
2319
					if HIT ~= nil then
2320
						IMPACT = true
2321
						break
2322
					end
2323
				end
2324
				if IMPACT == false then
2325
					for i = 1, 40 do
2326
						Swait()
2327
						BULLET.Size = BULLET.Size * 0.9
2328
					end
2329
					BULLET:remove()
2330
				else
2331
					CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
2332
					for i = 1, 175 do
2333
						Swait()
2334
						BULLET.Size = BULLET.Size * 0.99
2335
						Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 85)
2336
					end
2337
					CreateSound("438666001", BULLET, 10, 3)
2338
					Swait(35)
2339
					BULLET.Transparency = 1
2340
					for i = 1, 20 do
2341
						for e = 1, 5 do
2342
							MagicSphere(VT(20, 20, 20), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0)
2343
							Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3)
2344
						end
2345
						AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
2346
						CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
2347
						CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
2348
						MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
2349
						Swait(5)
2350
						for e = 1, #HITBODIES do
2351
							if HITBODIES[e] ~= nil then
2352
								local BOD = HITBODIES[e]
2353
								local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
2354
								if TORS then
2355
									BOD:BreakJoints()
2356
			                        Petrify(HUM.Parent)
2357
                                    C3(193,223,240)
2358
									for _, c in pairs(BOD:GetChildren()) do
2359
										if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2360
											local bv = Instance.new("BodyVelocity")
2361
											bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2362
											bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
2363
											bv.Parent = c
2364
											Debris:AddItem(bv, 0.2)
2365
										end
2366
									end
2367
								end
2368
							end
2369
						end
2370
						CreateWave(VT(0, 200, 0), 75, CF(BULLET.Position), true, -15, "Maroon", VT(i, 0, i) * 2)
2371
					end
2372
					MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(120, 120, 120))
2373
					Debris:AddItem(BULLET, 10)
2374
				end
2375
			end))
2376
			ATTACK = false
2377
			Rooted = false
2378
		end
2379
	end
2380
end
2381
2382
function Slice2(SIZE,WAIT,CFRAME,COLOR,GROW)
2383
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really black"), "Effect", VT(1,1,1), true)
2384
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
2385
	wave.CFrame = CFRAME
2386
	coroutine.resume(coroutine.create(function(PART)
2387
		for i = 1, WAIT do
2388
			Swait()
2389
			mesh.Scale = mesh.Scale * GROW
2390
			wave.Transparency = wave.Transparency + (0.5/WAIT)
2391
			if wave.Transparency > 0.99 then
2392
				wave:remove()
2393
			end
2394
		end
2395
	end))
2396
end
2397
2398
function swait(num)
2399
	if num == 0 or num == nil then
2400
		ArtificialHB.Event:wait()
2401
	else
2402
		for i = 0, num do
2403
			ArtificialHB.Event:wait()
2404
		end
2405
	end
2406
end
2407
2408
function ChaosWorld()
2409
	local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2410
	CHOICE = 6
2411
2412
	chatfunc("I am bored...")
2413
	for i = 0, 12, .1 do
2414
		swait(0.35)
2415
end
2416
2417
	chatfunc("Time to cause some chaos!")
2418
	for i = 0, 16, .1 do
2419
end
2420
swait(0.15)
2421
	CreateWave2(0,4,true,0.2,45,RootPart,-5)
2422
	CreateWave2(0,4.5,true,-0.2,40,RootPart,-5)
2423
	CreateWave2(0,5,true,0.2,35,RootPart,-5)
2424
	CreateWave2(0,5.5,true,-0.2,30,RootPart,-5)
2425
	CreateWave2(0,6,true,0.2,25,RootPart,-5)
2426
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Bright orange",VT(25,25,25))
2427
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Bright orange",VT(25,25,25))
2428
	CreateSound("1368605755", Effects, 10, 1)
2429
2430
back2 = CreateSound(177604015, Character, 9999, 0.9, true)
2431
ChaosForm = true
2432
local sillsky2 = Instance.new('Sky', game:GetService'Lighting')
2433
sillsky2.SkyboxBk = "rbxassetid://1012890"
2434
sillsky2.SkyboxDn = "rbxassetid://1012891"
2435
sillsky2.SkyboxFt = "rbxassetid://1012887"
2436
sillsky2.SkyboxLf = "rbxassetid://1012889"
2437
sillsky2.SkyboxRt = "rbxassetid://1012888"
2438
sillsky2.SkyboxUp = "rbxassetid://1014449"
2439
sillsky2.StarCount = 0
2440
sillsky2.SunAngularSize = 0
2441
sillsky2.MoonAngularSize = 0
2442
sillsky2.MoonTextureId = ""
2443
sillsky2.CelestialBodiesShown = false
2444
game.Lighting.FogColor = BRICKC"Bright orange".Color
2445
game.Lighting.FogEnd = 1400
2446
end
2447
2448
function DemonWorld()
2449
	local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2450
	CHOICE = 6
2451
2452
	chatfunc("All of these fools...")
2453
	for i = 0, 12, .1 do
2454
		swait(0.35)
2455
end
2456
2457
	chatfunc("Its time to  p e r i s h.")
2458
	for i = 0, 16, .1 do
2459
end
2460
swait(0.15)
2461
	CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(1000,1000,1000))
2462
	CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(75,75,75))
2463
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25))
2464
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25))
2465
	CreateSound("1368605755", Effects, 10, 1)
2466
	CreateSound("265201042", Effects, 10, 0.5)
2467
2468
back = CreateSound(1192655599, Character, 9999, 1, true)
2469
DemonForm = true
2470
local sillsky = Instance.new('Sky', game:GetService'Lighting')
2471
sillsky.SkyboxBk = "rbxassetid://157712259"
2472
sillsky.SkyboxDn = "rbxassetid://157712247"
2473
sillsky.SkyboxFt = "rbxassetid://157712266"
2474
sillsky.SkyboxLf = "rbxassetid://157712240"
2475
sillsky.SkyboxRt = "rbxassetid://157712254"
2476
sillsky.SkyboxUp = "rbxassetid://157712276"
2477
sillsky.StarCount = 0
2478
sillsky.SunAngularSize = 0
2479
sillsky.MoonAngularSize = 0
2480
sillsky.MoonTextureId = ""
2481
sillsky.CelestialBodiesShown = false
2482
game.Lighting.FogColor = Color3.new(1,0,0)
2483
game.Lighting.FogEnd = 1400
2484
end
2485
2486
function Eliminate()
2487
    chatfunc("Come here!")
2488
	ATTACK = true
2489
	Rooted = false
2490
	local HASGRABBED = false
2491
	local WELD = nil
2492
	local TORS = nil
2493
	local hitting = RightArm.Touched:Connect(function(hit)
2494
		if hit.Parent:FindFirstChild("Humanoid") then
2495
			if hit.Parent.Humanoid.Health ~= 0 then
2496
				UNANCHOR = false
2497
				TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
2498
				TORS.Anchored = true
2499
				TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
2500
           		WELD = weldBetween(RightArm,TORS)
2501
				HASGRABBED = true
2502
                chatfunc("Time to die.")
2503
				Rooted = true
2504
			end
2505
		end
2506
	end)
2507
	for i=0, 1, 0.1 / Animation_Speed do
2508
		Swait()
2509
		if HASGRABBED == true then
2510
			break
2511
		end
2512
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
2513
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
2514
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2515
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2516
		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)), 2 / Animation_Speed)
2517
		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)), 2 / Animation_Speed)
2518
	end
2519
	hitting:disconnect()
2520
	if HASGRABBED == true then
2521
		TORS.Anchored = false
2522
        RootPart.Anchored = true
2523
		for i=0, 2, 0.1 / Animation_Speed do
2524
			Swait()
2525
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2526
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2527
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2528
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2529
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2530
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2531
		end
2532
		CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(5,3,5))
2533
		CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(6,3,6))
2534
		local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
2535
		SOUNDPART.CFrame = RootPart.CFrame
2536
		Debris:AddItem(SOUNDPART,5)
2537
		CreateSound("260411131", SOUNDPART, 2, 1)
2538
		for i = 1, 15 do
2539
			Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
2540
		end
2541
		for i=0, 2, 0.1 / Animation_Speed do
2542
			Swait()
2543
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2544
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2545
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2546
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2547
			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)
2548
			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)
2549
		end
2550
		for i=0, 0.25, 0.1 / Animation_Speed do
2551
			Swait()
2552
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
2553
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
2554
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
2555
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
2556
			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)
2557
			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)
2558
		end
2559
		if HITFLOOR ~= nil then
2560
			CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(70,70,70),85)
2561
		end
2562
		CreateSound("1295446488", Effects, 10, MRANDOM(7, 12) / 10)
2563
		WELD:remove()
2564
		for i = 1, 25 do
2565
			Swait()
2566
			killnearest(RootPart.Position,45,100,Torso.CFrame)
2567
			CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(3,30,3))
2568
			CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(10,4,10))
2569
			CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(23,3,23))
2570
			Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1 + MRANDOM(1,30)/5)
2571
			Slice2(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Maroon", 1 + MRANDOM(1,30)/15)
2572
		end
2573
	end
2574
	UNANCHOR = true
2575
	ATTACK = false
2576
	Rooted = false
2577
end
2578
2579
function Fire_At_Will()
2580
	ATTACK = true
2581
	Rooted = false
2582
	local GYRO = IT("BodyGyro", RootPart)
2583
	GYRO.D = 750
2584
	GYRO.P = 2000
2585
	GYRO.MaxTorque = VT(0, 40000, 0)
2586
	for i = 0, 0.2, 0.1 / Animation_Speed do
2587
		Swait()
2588
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2589
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
2590
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
2591
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2592
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2593
		if ANIM == "Idle" then
2594
			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)
2595
			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)
2596
				elseif ANIM == "Walk" then
2597
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2598
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2599
		elseif ANIM == "Jump" or ANIM == "Fall" then
2600
			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)
2601
			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)
2602
		end
2603
	end
2604
	local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Sphere", VT(1, 1, 1), false)
2605
	MakeForm(BOMB, "Ball")
2606
	BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5)
2607
	local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
2608
	for i = 0, 1.5, 0.1 / Animation_Speed do
2609
		Swait()
2610
		if MRANDOM(1, 2) == 1 then
2611
			for E = 1, #EYES do
2612
				if EYES[E] ~= nil then
2613
					local EY = EYES[E]
2614
					local LIGHTNING = Zap({
2615
						StartPosition = EY.Position,
2616
						TargetPosition = BOMB.Position,
2617
						Character = Character,
2618
						Color = "Really red",
2619
						Individual = false,
2620
						MaxRange = 7,
2621
						SegmentLength = 1,
2622
						Offset = 0.3,
2623
						SIZE = 0.05
2624
					})
2625
					Debris:AddItem(LIGHTNING.LightningModel, 0.05)
2626
				end
2627
			end
2628
		end
2629
		BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
2630
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2631
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
2632
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
2633
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2634
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2635
		if ANIM == "Idle" then
2636
			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)
2637
			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)
2638
		elseif ANIM == "Walk" then
2639
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2640
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2641
		elseif ANIM == "Jump" or ANIM == "Fall" then
2642
			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)
2643
			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)
2644
		end
2645
	end
2646
	WACKYEFFECT({
2647
		Time = 25,
2648
		EffectType = "Ring",
2649
		Size = VT(0, 0, 0),
2650
		Size2 = VT(18.75, 18.75, 0),
2651
		Transparency = 0.7,
2652
		Transparency2 = 1,
2653
		CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
2654
		MoveToPos = nil,
2655
		RotationX = 0,
2656
		RotationY = 0,
2657
		RotationZ = 0,
2658
		Material = "Neon",
2659
		Color = BOMB.Color,
2660
		SoundID = nil,
2661
		SoundPitch = nil,
2662
		SoundVolume = nil
2663
	})
2664
	WACKYEFFECT({
2665
		Time = 50,
2666
		EffectType = "Ring",
2667
		Size = VT(0, 0, 0),
2668
		Size2 = VT(75, 75, 0),
2669
		Transparency = 0.7,
2670
		Transparency2 = 1,
2671
		CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
2672
		MoveToPos = nil,
2673
		RotationX = 0,
2674
		RotationY = 0,
2675
		RotationZ = 0,
2676
		Material = "Neon",
2677
		Color = BOMB.Color,
2678
		SoundID = nil,
2679
		SoundPitch = nil,
2680
		SoundVolume = nil
2681
	})
2682
	BOMB.Anchored = true
2683
	WELD:remove()
2684
	GYRO:remove()
2685
	coroutine.resume(coroutine.create(function()
2686
		BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
2687
		for i = 1, 500 do
2688
			Swait()
2689
			BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
2690
			local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
2691
			if HITFLOOR ~= nil then
2692
				break
2693
			end
2694
		end
2695
		ApplyAoE(BOMB.Position, 375, 0, 0, 0, true)
2696
		for i = 1, 5 do
2697
			WACKYEFFECT({
2698
				Time = 50,
2699
				EffectType = "Sphere",
2700
				Size = BOMB.Mesh.Scale,
2701
				Size2 = VT(125, 125, 125) * i,
2702
				Transparency = 0.5,
2703
				Transparency2 = 1,
2704
				CFrame = BOMB.CFrame,
2705
				MoveToPos = nil,
2706
				RotationX = 0,
2707
				RotationY = 0,
2708
				RotationZ = 0,
2709
				Material = "Neon",
2710
				Color = BOMB.Color,
2711
				SoundID = 1222405264,
2712
				SoundPitch = 1,
2713
				SoundVolume = 10
2714
			})
2715
		end
2716
		local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 5, 0), BOMB.Position - VT(0, 5, 0)).lookVector, 15, Character)
2717
		if HITFLOOR then
2718
			CreateDebreeRing(HITFLOOR, HITPOS, 85, VT(85, 85, 85), 5)
2719
		end
2720
		BOMB.Transparency = 1
2721
		for i = 1, 35 do
2722
			Swait()
2723
			CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(2.5, 2.5, 2.5), 5, 150)
2724
		end
2725
		BOMB:remove()
2726
	end))
2727
	ATTACK = false
2728
	Rooted = false
2729
end
2730
2731
2732
2733
function Imperfect_Storm()
2734
	ATTACK = true
2735
	Rooted = false
2736
	for i = 0, 1, 0.1 / Animation_Speed do
2737
		Swait()
2738
		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)
2739
		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)
2740
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2741
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2742
		if ANIM == "Idle" then
2743
			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)
2744
			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)
2745
		elseif ANIM == "Walk" then
2746
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2747
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2748
		elseif ANIM == "Jump" or ANIM == "Fall" then
2749
			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)
2750
			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)
2751
		end
2752
	end
2753
	ATTACK = false
2754
	Rooted = false
2755
end
2756
2757
function MouseDown(Mouse)
2758
	if ATTACK == false then
2759
	end
2760
end
2761
function MouseUp(Mouse)
2762
	HOLD = false
2763
end
2764
2765
function KeyDown(Key)
2766
	KEYHOLD = true
2767
	if DemonForm == false then
2768
		if Key == "z" and ATTACK == false then
2769
			Neck_Snap()
2770
		end
2771
2772
		if Key == "b" and ATTACK == false then
2773
			Imperfect_Command()
2774
		end
2775
2776
		if Key == "c" and ATTACK == false then
2777
			Fire_At_Will()
2778
		end
2779
2780
		if Key == "e" and ATTACK == false then
2781
			Warp()
2782
		end
2783
2784
		if Key == "f" and ATTACK == false then
2785
			Eliminate()
2786
		end
2787
2788
        if Key == "t" and ATTACK == false then
2789
		    Taunt()
2790
        end
2791
2792
		if Key == "q" and ATTACK == false then
2793
			Orb()
2794
		end
2795
2796
        if Key == "p" and ATTACK == false then
2797
            DemonWorld()
2798
            SKILL2TEXT:remove()
2799
            SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Perfect Command", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
2800
            SKILL3TEXT:remove()
2801
            SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Fire at Will", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
2802
            SKILL7TEXT:remove()
2803
            SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Return", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
2804
        end
2805
2806
else
2807
2808
		if Key == "z" and ATTACK == false then
2809
			Neck_Snap()
2810
		end
2811
		if Key == "b" and ATTACK == false then
2812
			Perfect_Command()
2813
		end
2814
		if Key == "c" and ATTACK == false then
2815
		end
2816
		if Key == "e" and ATTACK == false then
2817
			Warp()
2818
		end
2819
		if Key == "f" and ATTACK == false then
2820
			Eliminate()
2821
		end
2822
2823
		if Key == "q" and ATTACK == false then
2824
			Orb()
2825
		end
2826
2827
        if Key == "t" and ATTACK == false then
2828
		    Taunt2()
2829
        end
2830
2831
        if Key == "p" and ATTACK == false then
2832
        DemonForm = false
2833
        SKILL2TEXT:remove()
2834
        SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Imperfect Command", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
2835
        SKILL3TEXT:remove()
2836
        SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Stone Ball", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
2837
        SKILL7TEXT:remove()
2838
        SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Demon Form", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
2839
		local sillsky = Instance.new('Sky', game:GetService'Lighting')
2840
        sillsky:remove()
2841
        back:remove()
2842
        game.Lighting.FogEnd = 90000000
2843
        CreateSound(464600985, Character, 99999, 0.8, false)
2844
        end
2845
end
2846
end
2847
2848
function KeyDown2(Key)
2849
	KEYHOLD = true
2850
	if ChaosForm == false then
2851
        if Key == "l" and ATTACK == false then
2852
            ChaosWorld()
2853
            SKILL8TEXT:remove()
2854
            SKILL8TEXT = CreateLabel(SKILL8FRAME, "[L] Return", SKILLTEXTCOLOR3, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
2855
        end
2856
else
2857
        if Key == "l" and ATTACK == false then
2858
            ChaosForm = false
2859
            SKILL8TEXT:remove()
2860
            SKILL8TEXT = CreateLabel(SKILL8FRAME, "[L] Chaos Form", SKILLTEXTCOLOR3, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
2861
		    local sillsky2 = Instance.new('Sky', game:GetService'Lighting')
2862
            sillsky2:remove()
2863
            back2:remove()
2864
            game.Lighting.FogEnd = 90000000
2865
            CreateSound(464600985, Character, 99999, 0.8, false)
2866
        end
2867
end
2868
end
2869
2870
function KeyUp(Key)
2871
	KEYHOLD = false
2872
end
2873
Mouse.Button1Down:connect(function(NEWKEY)
2874
	MouseDown(NEWKEY)
2875
end)
2876
Mouse.Button1Up:connect(function(NEWKEY)
2877
	MouseUp(NEWKEY)
2878
end)
2879
Mouse.KeyDown:connect(function(NEWKEY)
2880
	KeyDown(NEWKEY)
2881
end)
2882
Mouse.KeyDown:connect(function(NEWKEY)
2883
	KeyDown2(NEWKEY)
2884
end)
2885
Mouse.KeyUp:connect(function(NEWKEY)
2886
	KeyUp(NEWKEY)
2887
end)
2888
function unanchor()
2889
	if UNANCHOR == true then
2890
		RootPart.Anchored = false
2891
	end
2892
	local CHILDREN = Character:GetDescendants()
2893
	for index, CHILD in pairs(CHILDREN) do
2894
		if CHILD:IsA("BasePart") and CHILD ~= RootPart and CHILD.Parent ~= Effects and CHILD.Parent.Parent ~= Effects then
2895
			CHILD.Anchored = false
2896
		end
2897
	end
2898
end
2899
Humanoid.Changed:connect(function(Jump)
2900
	if Jump == "Jump" and Disable_Jump == true then
2901
		Humanoid.Jump = false
2902
	end
2903
end)
2904
while true do
2905
	Swait()
2906
	script.Parent = WEAPONGUI
2907
	ANIMATE.Parent = nil
2908
	if Humanoid then
2909
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
2910
		IDLEANIMATION:Play()
2911
	end
2912
	for RW = 1, #RWINGS do
2913
		if RWINGS[RW] ~= nil then
2914
			RWINGS[RW].C1 = Clerp(RWINGS[RW].C1, CF(-0.25 + 0.25 * COS(SINE / 22), 0, 0 + 0.15 * COS(SINE / 22)) * ANGLES(RAD(2.5 * SIN(SINE / 22)), RAD(0), RAD(0 + 5 * SIN(SINE / 22))), 1 / Animation_Speed)
2915
		end
2916
	end
2917
	for LW = 1, #LWINGS do
2918
		if LWINGS[LW] ~= nil then
2919
			LWINGS[LW].C1 = Clerp(LWINGS[LW].C1, CF(0.25 - 0.25 * COS(SINE / 22), 0, 0 + 0.15 * COS(SINE / 22)) * ANGLES(RAD(2.5 * SIN(SINE / 22)), RAD(0), RAD(0 - 5 * SIN(SINE / 22))), 1 / Animation_Speed)
2920
		end
2921
	end
2922
	SINE = SINE + CHANGE
2923
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2924
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2925
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 + Humanoid.HipHeight, Character)
2926
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2927
	if FINISHEDINTRO == true then
2928
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2929
			ANIM = "Jump"
2930
			if ATTACK == false then
2931
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2932
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2933
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2934
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2935
				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)
2936
				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)
2937
			end
2938
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2939
			ANIM = "Fall"
2940
			if ATTACK == false then
2941
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2942
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2943
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2944
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2945
				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)
2946
				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)
2947
			end
2948
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2949
			ANIM = "Idle"
2950
			if ATTACK == false then
2951
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2952
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
2953
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2954
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2955
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2956
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2957
			end
2958
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2959
			ANIM = "Walk"
2960
if ATTACK == false then
2961
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 22)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2962
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 22)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 22))), 1 / Animation_Speed)
2963
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 22), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 22)), RAD(15 + 7.5 * SIN(SINE / 22))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2964
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 22), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 22)), RAD(-15 - 7.5 * SIN(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2965
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2966
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
2967
			end
2968
		end
2969
		if TORSOVELOCITY > 1 then
2970
			Humanoid.HipHeight = 1
2971
		else
2972
			Humanoid.HipHeight = 0
2973
		end
2974
	elseif FINISHEDINTRO == false then
2975
		Humanoid.HipHeight = 0
2976
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2977
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2978
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2979
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2980
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2981
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2982
	end
2983
	unanchor()
2984
	Humanoid.MaxHealth = 1.0E298
2985
	Humanoid.Health = 1.0E298
2986
	if Rooted == false then
2987
		Disable_Jump = false
2988
		Humanoid.WalkSpeed = Speed
2989
	elseif Rooted == true then
2990
		Disable_Jump = true
2991
		Humanoid.WalkSpeed = 0
2992
	end
2993
if DemonForm == false then
2994
    sick.Parent = Torso
2995
    sick.Playing = true
2996
    sick.Volume = 5
2997
    sick.Pitch = 1
2998
else
2999
    sick.Parent = Torso
3000
    sick.Playing = false
3001
    sick.Volume = 0
3002
    sick.Pitch = 1
3003
end
3004
3005
if ChaosForm == false then
3006
    sick.Parent = Torso
3007
    sick.Playing = true
3008
    sick.Volume = 5
3009
    sick.Pitch = 1
3010
else
3011
    sick.Parent = Torso
3012
    sick.Playing = false
3013
    sick.Volume = 0
3014
    sick.Pitch = 1
3015
end
3016
	BLINKLOOP = BLINKLOOP + 1
3017
	if BLINKLOOP >= 325 then
3018
		BLINKLOOP = 0
3019
		Blink()
3020
	end
3021
	if Character:FindFirstChildOfClass("Accessory") then
3022
		Character:FindFirstChildOfClass("Accessory"):remove()
3023
	end
3024
	if Character:FindFirstChildOfClass("Shirt") then
3025
		Character:FindFirstChildOfClass("Shirt"):remove()
3026
	end
3027
	if Character:FindFirstChildOfClass("Pants") then
3028
		Character:FindFirstChildOfClass("Pants"):remove()
3029
	end
3030
	if Character:FindFirstChildOfClass("Cloth") then
3031
		Character:FindFirstChildOfClass("Cloth"):remove()
3032
	end
3033
	if Head:FindFirstChildOfClass("Sound") then
3034
		Head:FindFirstChildOfClass("Sound"):remove()
3035
	end
3036
	if INTROING == false and FINISHEDINTRO == false then
3037
		if INSTANT == false then
3038
			Intro()
3039
		else
3040
			FINISHEDINTRO = true
3041
			Face()
3042
			RightWing()
3043
			LeftWing()
3044
		end
3045
	end
3046
	if Head:FindFirstChild("face") then
3047
		Head.face:remove()
3048
	end
3049
	refit()
3050
	Humanoid.PlatformStand = false
3051
end
3052
3053
if Humanoid.Health < 1.0E298 then
3054
refit()
3055
chatfunc("Futile.")
3056
Humanoid.MaxHealth = 1.0E298
3057
Humanoid.Health = Humanoid.Health + 1.0E298
3058
end
3059
3060
--//====================================================\\--
3061
--||			  		 END OF SCRIPT                  ||--
3062
--\\====================================================//--