View difference between Paste ID: VtHLc0BU and uznWHyHn
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
for _, c in pairs(Weapon:GetChildren()) do
1029
	if c.ClassName == "Part" then
1030
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1031
	end
1032
end
1033
for _, c in pairs(Character:GetDescendants()) do
1034
	if c:IsA("BasePart") then
1035
		table.insert(BODY, {
1036
			c,
1037
			c.Parent,
1038
			c.Material,
1039
			c.Color
1040
		})
1041
	elseif c:IsA("JointInstance") then
1042
		table.insert(BODY, {
1043
			c,
1044
			c.Parent,
1045
			nil,
1046
			nil
1047
		})
1048
	end
1049
end
1050
1051
for e = 1, #BODY do
1052
	if BODY[e] ~= nil then
1053
		do
1054
			local STUFF = BODY[e]
1055
			local PART = STUFF[1]
1056
			local PARENT = STUFF[2]
1057
			local MATERIAL = STUFF[3]
1058
			local COLOR = STUFF[4]
1059
			PART.AncestryChanged:Connect(function()
1060
				if PART.ClassName == "Part" then
1061
					PART.Material = MATERIAL
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()
1560+
1561
			Swait()
1562
		until sick.TimePosition > 1.8
1563
		for i = 1, 5 do
1564
			WACKYEFFECT({
1565
				EffectType = "Sphere",
1566
				Size = VT(3, 3, 3),
1567
				Size2 = VT(0, 5, 0),
1568
				Transparency = 0.5,
1569
				Transparency2 = 1,
1570
				CFrame = Torso.CFrame,
1571
				MoveToPos = Torso.CFrame * CF(-15, -5 + i * 3, 1).p,
1572
				RotationX = MRANDOM(-5, 5),
1573
				RotationY = MRANDOM(-5, 5),
1574
				RotationZ = MRANDOM(-5, 5),
1575
				Material = "Neon",
1576
				Color = C3(1, 0, 0),
1577
				SoundID = nil,
1578
				SoundPitch = nil,
1579
				SoundVolume = nil
1580
			})
1581
		end
1582
		LeftWing()
1583
		repeat
1584
			Swait()
1585
		until sick.TimePosition > 3.5
1586
		for i = 1, 6 do
1587
			WACKYEFFECT({
1588
				EffectType = "Sphere",
1589
				Size = VT(1.5, 1.5, 1.5),
1590
				Size2 = VT(4, 4, 4) * i,
1591
				Transparency = 0,
1592
				Transparency2 = 1,
1593
				CFrame = Head.CFrame,
1594
				MoveToPos = nil,
1595
				RotationX = 0,
1596
				RotationY = 0,
1597
				RotationZ = 0,
1598
				Material = "Neon",
1599
				Color = C3(1, 0, 0),
1600
				SoundID = nil,
1601
				SoundPitch = nil,
1602
				SoundVolume = nil
1603
			})
1604
		end
1605
		Head.Transparency = 0
1606
		Face()
1607
		wait(0.5)
1608
		for i = 1, 100 do
1609
			Swait()
1610
			Torso.Transparency = 1 - i / 100
1611
			LeftArm.Transparency = 1 - i / 100
1612
			RightArm.Transparency = 1 - i / 100
1613
			LeftLeg.Transparency = 1 - i / 100
1614
			RightLeg.Transparency = 1 - i / 100
1615
            Humanoid.DisplayDistanceType = "None"
1616
            local naeeym2 = IT("BillboardGui",Character)
1617
            naeeym2.AlwaysOnTop = true
1618
            naeeym2.Size = UDim2.new(7,50,4,25)
1619
            naeeym2.StudsOffset = Vector3.new(0,4,0)
1620
            naeeym2.MaxDistance = 200
1621
            naeeym2.Adornee = Character.Head
1622
            naeeym2.Name = "Name"
1623
            local tecks2 = IT("TextLabel",naeeym2)
1624
            tecks2.BackgroundTransparency = 1
1625
            tecks2.TextScaled = true
1626
            tecks2.BorderSizePixel = 0
1627
            tecks2.Text = Character.Name
1628
            tecks2.Font = "Antique"
1629
            tecks2.TextSize = 50
1630
            tecks2.TextStrokeTransparency = 0
1631
            tecks2.TextColor3 = BRICKC"Maroon".Color
1632
            tecks2.TextStrokeColor3 = C3(0,0,0)
1633
            tecks2.Size = UDim2.new(1,0,0.5,0)
1634
            tecks2.Parent = naeeym2
1635
1636
            Humanoid.DisplayDistanceType = "None"
1637
            local naeeym3 = IT("BillboardGui",Character)
1638
            naeeym3.AlwaysOnTop = true
1639
            naeeym3.Size = UDim2.new(5,30,2,15)
1640
            naeeym3.StudsOffset = Vector3.new(0,2.5,0)
1641
            naeeym3.MaxDistance = 200
1642
            naeeym3.Adornee = Character.Head
1643
            naeeym3.Name = "Name"
1644
            local tecks3 = IT("TextLabel",naeeym3)
1645
            tecks3.BackgroundTransparency = 1
1646
            tecks3.TextScaled = true
1647
            tecks3.BorderSizePixel = 0
1648
            tecks3.Text = "God of Destruction"
1649
            tecks3.Font = "Fantasy"
1650
            tecks3.TextSize = 50
1651
            tecks3.TextStrokeTransparency = 1
1652
            tecks3.TextColor3 = Color3.new(0,0,0)
1653
            tecks3.Size = UDim2.new(1,0,0.5,0)
1654
            tecks3.Parent = naeeym3
1655
        end
1656
		FINISHEDINTRO = true
1657
		Rooted = false
1658
	end))
1659
end
1660
1661
function Warp()
1662
	ATTACK = true
1663
	Rooted = false
1664
	for i=0, 0.5, 0.1 / Animation_Speed do
1665
		Swait()
1666
		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)
1667
		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)
1668
	end
1669
	for e = 1, #BODY do
1670
		if BODY[e] ~= nil then
1671
			local STUFF = BODY[e]
1672
			local PART = STUFF[1]
1673
			if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
1674
				local PRT = PART:Clone()
1675
				PRT.Anchored = true
1676
				PRT.CanCollide = false
1677
				PRT.Material = "Neon"
1678
				PRT.Color = C3(1,0,0)
1679
				PRT.Name = "WarpEffect"
1680
				PRT.Parent = Effects
1681
				PRT.CFrame = PART.CFrame
1682
				PRT:BreakJoints()
1683
				if PRT:FindFirstChildOfClass("Sound") then
1684
					PRT:FindFirstChildOfClass("Sound"):remove()
1685
				end
1686
				if PRT:FindFirstChildOfClass("Decal") then
1687
					PRT:FindFirstChildOfClass("Decal"):remove()
1688
				end
1689
				coroutine.resume(coroutine.create(function()
1690
					for i = 1, 100 do
1691
						Swait()
1692
						PRT.Transparency = PRT.Transparency + 1/100
1693
					end
1694
					PRT:remove()
1695
				end))
1696
			end
1697
		end
1698
	end
1699
	local POS = RootPart.Orientation
1700
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
1701
	RootPart.Orientation = POS
1702
	RootJoint.Parent = RootPart
1703
	for i=0, 0.5, 0.1 / Animation_Speed do
1704
		Swait()
1705
		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)
1706
		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)
1707
	end
1708
	for i=0, 0.1, 0.1 / Animation_Speed do
1709
		Swait()
1710
		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)
1711
	end
1712
	ATTACK = false
1713
	Rooted = false
1714
end
1715
1716
function Neck_Snap()
1717
	ATTACK = true
1718
	Rooted = false
1719
	local TARGET, HUM, WLD
1720
	local HIT = RightArm.Touched:Connect(function(hit)
1721
		if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
1722
			local H = hit.Parent:FindFirstChildOfClass("Humanoid")
1723
			if H.Health > 0 then
1724
				local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
1725
				if TORSO then
1726
					HUM = H
1727
					TARGET = TORSO
1728
					H.PlatformStand = true
1729
					CreateSound("260411131", TORSO, 10, 1)
1730
					WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1731
				end
1732
			end
1733
		end
1734
	end)
1735
	for i = 0, 1, 0.1 / Animation_Speed do
1736
		Swait()
1737
		if TARGET ~= nil then
1738
			break
1739
		end
1740
		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)
1741
		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)
1742
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1743
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1744
		if ANIM == "Idle" then
1745
			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)
1746
			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)
1747
		elseif ANIM == "Walk" then
1748
			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)
1749
			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)
1750
		elseif ANIM == "Jump" or ANIM == "Fall" then
1751
			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)
1752
			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)
1753
		end
1754
	end
1755
	HIT:disconnect()
1756
	if TARGET ~= nil then
1757
		if TARGET.Name == "Torso" then
1758
			for i = 0, 2, 0.1 / Animation_Speed do
1759
				Swait()
1760
				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)
1761
				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)
1762
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1763
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1764
				if ANIM == "Idle" then
1765
					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)
1766
					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)
1767
				elseif ANIM == "Walk" then
1768
					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)
1769
					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)
1770
				elseif ANIM == "Jump" or ANIM == "Fall" then
1771
					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)
1772
					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)
1773
				end
1774
			end
1775
			WLD:remove()
1776
			local HEAD = TARGET.Parent:FindFirstChild("Head")
1777
			if HEAD then
1778
				UNANCHOR = false
1779
				RootPart.Anchored = true
1780
				local HD = HEAD:Clone()
1781
				HD.Name = "FakeHead"
1782
				for i = 1, 7 do
1783
					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)
1784
				end
1785
				local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
1786
				local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1787
				HD.Parent = RAGDOLL
1788
				CreateSound("264486467", RAGTORSO, 10, 1)
1789
				local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1790
				for i = 0, 2, 0.1 / Animation_Speed do
1791
					Swait()
1792
					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)
1793
					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)
1794
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1795
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1796
					if ANIM == "Idle" then
1797
						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)
1798
						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)
1799
					elseif ANIM == "Walk" then
1800
						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)
1801
						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)
1802
					elseif ANIM == "Jump" or ANIM == "Fall" then
1803
						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)
1804
						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)
1805
					end
1806
				end
1807
				HEADWELD:remove()
1808
				for i = 0, 0.5, 0.1 / Animation_Speed do
1809
					Swait()
1810
					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)
1811
					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)
1812
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1813
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1814
					if ANIM == "Idle" then
1815
						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)
1816
						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)
1817
					elseif ANIM == "Walk" then
1818
						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)
1819
						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)
1820
					elseif ANIM == "Jump" or ANIM == "Fall" then
1821
						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)
1822
						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)
1823
					end
1824
				end
1825
				CreateSound("907333406", Torso, 10, 1)
1826
				for i = 0, 0.25, 0.1 / Animation_Speed do
1827
					Swait()
1828
					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)
1829
					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)
1830
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1831
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1832
					if ANIM == "Idle" then
1833
						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)
1834
						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)
1835
					elseif ANIM == "Walk" then
1836
						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)
1837
						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)
1838
					elseif ANIM == "Jump" or ANIM == "Fall" then
1839
						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)
1840
						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)
1841
					end
1842
				end
1843
				RAGWELD:remove()
1844
				local bv = Instance.new("BodyVelocity")
1845
				bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1846
				bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
1847
				bv.Parent = RAGTORSO
1848
				Debris:AddItem(bv, 0.05)
1849
				Debris:AddItem(RAGDOLL, 5)
1850
				for i = 0, 0.15, 0.1 / Animation_Speed do
1851
					Swait()
1852
					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)
1853
					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)
1854
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1855
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1856
					if ANIM == "Idle" then
1857
						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)
1858
						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)
1859
elseif ANIM == "Walk" then
1860
						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)
1861
						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)
1862
					elseif ANIM == "Jump" or ANIM == "Fall" then
1863
						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)
1864
						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)
1865
					end
1866
				end
1867
				UNANCHOR = true
1868
				RootPart.Anchored = false
1869
			end
1870
		else
1871
			UNANCHOR = false
1872
			RootPart.Anchored = true
1873
			for i = 0, 0.5, 0.1 / Animation_Speed do
1874
				Swait()
1875
				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)
1876
				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)
1877
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1878
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1879
				if ANIM == "Idle" then
1880
					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)
1881
					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)
1882
				elseif ANIM == "Walk" then
1883
					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)
1884
					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)
1885
				elseif ANIM == "Jump" or ANIM == "Fall" then
1886
					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)
1887
					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)
1888
				end
1889
			end
1890
			for i = 0, 0.25, 0.1 / Animation_Speed do
1891
				Swait()
1892
				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)
1893
				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)
1894
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1895
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1896
				if ANIM == "Idle" then
1897
					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)
1898
					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)
1899
elseif ANIM == "Walk" then
1900
					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)
1901
					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)
1902
				elseif ANIM == "Jump" or ANIM == "Fall" then
1903
					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)
1904
					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)
1905
				end
1906
			end
1907
			WLD:remove()
1908
			TARGET.Parent:BreakJoints()
1909
			for _, c in pairs(TARGET.Parent:GetChildren()) do
1910
				if c:IsA("BasePart") then
1911
					local bv = Instance.new("BodyVelocity")
1912
					bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1913
					bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
1914
					bv.Parent = c
1915
					Debris:AddItem(bv, 0.05)
1916
				end
1917
			end
1918
			for i = 0, 0.15, 0.1 / Animation_Speed do
1919
				Swait()
1920
				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)
1921
				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)
1922
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1923
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1924
				if ANIM == "Idle" then
1925
					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)
1926
					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)
1927
				elseif ANIM == "Walk" then
1928
					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)
1929
					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)
1930
				elseif ANIM == "Jump" or ANIM == "Fall" then
1931
					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)
1932
					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)
1933
				end
1934
			end
1935
			UNANCHOR = true
1936
			RootPart.Anchored = false
1937
		end
1938
	end
1939
	ATTACK = false
1940
	Rooted = false
1941
end
1942
1943
function Taunt()
1944
	ATTACK = true
1945
	Rooted = true
1946
	CreateSound("865772398", Character, 10, 1)
1947
    chatfunc("Foolish Decision..")
1948
	for i=0, 1, 0.1 / Animation_Speed do
1949
		Swait()
1950
		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)
1951
		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)
1952
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1953
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1954
		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)
1955
		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)
1956
	end
1957
	for i=0, 2, 0.1 / Animation_Speed do
1958
		Swait()
1959
		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)
1960
		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)
1961
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1962
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1963
		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)
1964
		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)
1965
	end
1966
	ATTACK = false
1967
	Rooted = false
1968
end
1969
1970
function Taunt2()
1971
	CreateSound(907331307, Torso, 50, 0.9, false)
1972
    chatfunc("You have failed.")
1973
	for i=0, 1, 0.1 / Animation_Speed do
1974
		Swait()
1975
		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)
1976
		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)
1977
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1978
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1979
		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)
1980
		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)
1981
	end
1982
	for i=0, 2, 0.1 / Animation_Speed do
1983
		Swait()
1984
		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)
1985
		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)
1986
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1987
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1988
		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)
1989
		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)
1990
	end
1991
end
1992
1993
function Imperfect_Command()
1994
	ATTACK = true
1995
	Rooted = true
1996
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1997
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1998
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1999
		if TORSO then
2000
			local GYRO = IT("BodyGyro", RootPart)
2001
			GYRO.D = 750
2002
			GYRO.P = 2000
2003
			GYRO.MaxTorque = VT(0, 40000, 0)
2004
			CreateSound("907330103", Torso, 10, 1)
2005
			for i = 0, 1.6, 0.1 / Animation_Speed do
2006
				Swait()
2007
				WACKYEFFECT({
2008
					Time = 5,
2009
					EffectType = "Round Slash",
2010
					Size = VT(0, 0, 0),
2011
					Size2 = VT(0.01, 0, 0.01),
2012
					Transparency = 0.5,
2013
					Transparency2 = 1,
2014
					CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2015
					MoveToPos = nil,
2016
					RotationX = MRANDOM(-50, 50) / 10,
2017
					RotationY = MRANDOM(-50, 50) / 10,
2018
					RotationZ = MRANDOM(-50, 50) / 10,
2019
					Material = "Neon",
2020
					Color = C3(1, 0, 0),
2021
					SoundID = nil,
2022
					SoundPitch = nil,
2023
					SoundVolume = nil
2024
				})
2025
				GYRO.cframe = CF(RootPart.Position, TORSO.Position)
2026
				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)
2027
				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)
2028
				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)
2029
				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)
2030
				if ANIM == "Idle" then
2031
					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)
2032
					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)
2033
				elseif ANIM == "Walk" then
2034
					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)
2035
					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)
2036
				elseif ANIM == "Jump" or ANIM == "Fall" then
2037
					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)
2038
					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)
2039
				end
2040
			end
2041
			GYRO:remove()
2042
			for i = 1, 15 do
2043
				WACKYEFFECT({
2044
					Time = MRANDOM(15, 85),
2045
					EffectType = "Round Slash",
2046
					Size = VT(0, 0, 0),
2047
					Size2 = VT(0.3, 0, 0.3),
2048
					Transparency = 0.5,
2049
					Transparency2 = 1,
2050
					CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2051
					MoveToPos = nil,
2052
					RotationX = MRANDOM(-50, 50) / 10,
2053
					RotationY = MRANDOM(-50, 50) / 10,
2054
					RotationZ = MRANDOM(-50, 50) / 10,
2055
					Material = "Neon",
2056
					Color = C3(1, 0, 0),
2057
					SoundID = nil,
2058
					SoundPitch = nil,
2059
					SoundVolume = nil
2060
				})
2061
			end
2062
			local bv = Instance.new("BodyVelocity")
2063
			bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2064
			bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
2065
			bv.Parent = TORSO
2066
			Debris:AddItem(bv, 0.05)
2067
			CreateSound("1222405264", TORSO, 10, 1)
2068
			Petrify(HUM.Parent)
2069
			for i = 0, 0.5, 0.1 / Animation_Speed do
2070
				Swait()
2071
				WACKYEFFECT({
2072
					Time = 5,
2073
					EffectType = "Round Slash",
2074
					Size = VT(0, 0, 0),
2075
					Size2 = VT(0.01, 0, 0.01),
2076
					Transparency = 0.5,
2077
					Transparency2 = 1,
2078
					CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2079
					MoveToPos = nil,
2080
					RotationX = MRANDOM(-50, 50) / 10,
2081
					RotationY = MRANDOM(-50, 50) / 10,
2082
					RotationZ = MRANDOM(-50, 50) / 10,
2083
					Material = "Neon",
2084
					Color = C3(1, 0, 0),
2085
					SoundID = nil,
2086
					SoundPitch = nil,
2087
					SoundVolume = nil
2088
				})
2089
				GYRO.cframe = CF(RootPart.Position, TORSO.Position)
2090
				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)
2091
				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)
2092
				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)
2093
				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)
2094
				if ANIM == "Idle" then
2095
					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)
2096
					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)
2097
				elseif ANIM == "Walk" then
2098
					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)
2099
					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)
2100
				elseif ANIM == "Jump" or ANIM == "Fall" then
2101
					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)
2102
					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)
2103
				end
2104
			end
2105
		end
2106
	end
2107
	ATTACK = false
2108
	Rooted = false
2109
end
2110
2111
function Perfect_Command()
2112
ATTACK = true
2113
Rooted = true
2114
        chatfunc("Weaklings...")
2115
        CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
2116
	    CreateSound("1368605755", Effects, 10, 1)
2117
	    MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
2118
		ApplyAoE(Torso.Position, 9999, 0, 0, 0, true)
2119
ATTACK = false
2120
Rooted = false
2121
end
2122
2123
function killnearest2(position,range,maxstrength)
2124
	for i,v in ipairs(workspace:GetChildren()) do
2125
	if v.ClassName == "Model" then
2126
		local body = v:GetChildren()
2127
			for part = 1, #body do
2128
				if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2129
					if(body[part].Position - position).Magnitude < range then
2130
						if v.ClassName == "Model" then
2131
							v:BreakJoints()
2132
						end
2133
						--table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
2134
						body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
2135
					end
2136
				end
2137
			end
2138
		end
2139
	end
2140
end
2141
2142
function killnearest(position,range,maxstrength,direction)
2143
	for i,v in ipairs(workspace:GetChildren()) do
2144
	local body = v:GetChildren()
2145
		for part = 1, #body do
2146
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2147
				if(body[part].Position - position).Magnitude < range then
2148
					if v.ClassName == "Model" then
2149
						--v:BreakJoints()
2150
					end
2151
					local POS = position
2152
					coroutine.resume(coroutine.create(function()
2153
						body[part].Anchored = true
2154
						body[part].Parent = Effects
2155
						body[part].CanCollide = true
2156
						local SIZE = body[part].Size
2157
						body[part].Material = "Neon"
2158
						CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
2159
						for i = 1, 75 do
2160
							Swait()
2161
							body[part].Color = Color3.fromRGB(cR,cG,cB)
2162
							body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2163
						end
2164
						coroutine.resume(coroutine.create(function()
2165
							while true do
2166
								Swait()
2167
								body[part].Color = Color3.fromRGB(cR,cG,cB)
2168
								body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2169
							end
2170
						end))
2171
						body[part].Anchored = false
2172
						body[part].Velocity = direction.lookVector*maxstrength
2173
					end))
2174
				end
2175
			end
2176
		end
2177
		if v.ClassName == "Part" then
2178
			if v.Anchored == false and (v.Position - position).Magnitude < range then
2179
				local POS = position
2180
				coroutine.resume(coroutine.create(function()
2181
					v.Anchored = true
2182
					v.Parent = Effects
2183
					local SIZE = v.Size
2184
					v.Material = "Neon"
2185
					CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
2186
					for i = 1, 75 do
2187
						Swait()
2188
						v.Color = Color3.fromRGB(cR,cG,cB)
2189
						v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2190
					end
2191
					coroutine.resume(coroutine.create(function()
2192
						while true do
2193
							Swait()
2194
							v.Color = Color3.fromRGB(cR,cG,cB)
2195
							v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2196
						end
2197
					end))
2198
					v.Anchored = false
2199
					v.Velocity = direction.lookVector*maxstrength
2200
				end))
2201
			end
2202
		end
2203
	end
2204
end
2205
2206
function VanishPlayer()
2207
	tecks2.TextTransparency = 1
2208
	tecks2.TextStrokeTransparency = 1
2209
	for _, c in pairs(Character:GetChildren()) do
2210
		if c.ClassName == "Part" then
2211
			c.Transparency = 0
2212
			if c:FindFirstChildOfClass("Decal") then
2213
				c:FindFirstChildOfClass("Decal").Transparency = 1
2214
			end
2215
			if c:FindFirstChildOfClass("ParticleEmitter") then
2216
				c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
2217
			end
2218
		elseif c.ClassName == "Accessory" then
2219
			c.Handle.Transparency = 0
2220
			if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
2221
				c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
2222
			end
2223
		end
2224
	end
2225
end
2226
2227
function Reappear()
2228
	tecks2.TextTransparency = 0
2229
	tecks2.TextStrokeTransparency = 0
2230
	for _, c in pairs(Character:GetChildren()) do
2231
		if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
2232
			c.Transparency = 0
2233
			if c:FindFirstChildOfClass("Decal") then
2234
				c:FindFirstChildOfClass("Decal").Transparency = 0
2235
			end
2236
			if c:FindFirstChildOfClass("ParticleEmitter") then
2237
				c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
2238
			end
2239
		elseif c.ClassName == "Accessory" then
2240
			c.Handle.Transparency = 0
2241
			if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
2242
				c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
2243
			end
2244
		end
2245
	end
2246
end
2247
2248
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
2249
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
2250
	local mesh
2251
	if KIND == "Base" then
2252
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
2253
	elseif KIND == "Thin" then
2254
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
2255
	elseif KIND == "Round" then
2256
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
2257
	end
2258
	wave.CFrame = CFRAME
2259
	coroutine.resume(coroutine.create(function(PART)
2260
		for i = 1, WAIT do
2261
			Swait()
2262
			mesh.Scale = mesh.Scale + GROW / 10
2263
			wave.Transparency = wave.Transparency + 0.5 / WAIT
2264
			if wave.Transparency > 0.99 then
2265
				wave:remove()
2266
			end
2267
		end
2268
	end))
2269
end
2270
2271
function Orb()
2272
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
2273
	if HITFLOOR ~= nil then
2274
		do
2275
			local HITBODIES = {}
2276
			ATTACK = true
2277
			Rooted = true
2278
			local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "ABSOLUTEUM", VT(0, 0, 0))
2279
			MakeForm(ABSOLUTE, "Ball")
2280
			CreateSound("416200578", RootPart, 10, 0.7)
2281
			for i = 0, 8, 0.1 / Animation_Speed do
2282
				Swait()
2283
				ABSOLUTE.Size = ABSOLUTE.Size + VT(0.75, 0.75, 0.75)
2284
				ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
2285
				ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
2286
				local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(3, 3, 3))
2287
				MakeForm(CHARGE, "Ball")
2288
				CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
2289
				FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
2290
				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)
2291
				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)
2292
				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)
2293
				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)
2294
				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)
2295
				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)
2296
			end
2297
			CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Torso, 10, 0.9)
2298
			CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
2299
			for i = 1, 45 do
2300
				Swait()
2301
				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)
2302
				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)
2303
				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)
2304
				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)
2305
				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)
2306
				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)
2307
			end
2308
			coroutine.resume(coroutine.create(function()
2309
				local IMPACT = false
2310
				local BULLET = ABSOLUTE
2311
				MakeForm(BULLET, "Ball")
2312
				BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
2313
				for i = 1, 500 do
2314
					Swait()
2315
					BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
2316
					local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
2317
					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)
2318
					if HIT ~= nil then
2319
						IMPACT = true
2320
						break
2321
					end
2322
				end
2323
				if IMPACT == false then
2324
					for i = 1, 40 do
2325
						Swait()
2326
						BULLET.Size = BULLET.Size * 0.9
2327
					end
2328
					BULLET:remove()
2329
				else
2330
					CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
2331
					for i = 1, 175 do
2332
						Swait()
2333
						BULLET.Size = BULLET.Size * 0.99
2334
						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)
2335
					end
2336
					CreateSound("438666001", BULLET, 10, 3)
2337
					Swait(35)
2338
					BULLET.Transparency = 1
2339
					for i = 1, 20 do
2340
						for e = 1, 5 do
2341
							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)
2342
							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)
2343
						end
2344
						AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
2345
						CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
2346
						CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
2347
						MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
2348
						Swait(5)
2349
						for e = 1, #HITBODIES do
2350
							if HITBODIES[e] ~= nil then
2351
								local BOD = HITBODIES[e]
2352
								local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
2353
								if TORS then
2354
									BOD:BreakJoints()
2355
			                        Petrify(HUM.Parent)
2356
                                    C3(193,223,240)
2357
									for _, c in pairs(BOD:GetChildren()) do
2358
										if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2359
											local bv = Instance.new("BodyVelocity")
2360
											bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2361
											bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
2362
											bv.Parent = c
2363
											Debris:AddItem(bv, 0.2)
2364
										end
2365
									end
2366
								end
2367
							end
2368
						end
2369
						CreateWave(VT(0, 200, 0), 75, CF(BULLET.Position), true, -15, "Maroon", VT(i, 0, i) * 2)
2370
					end
2371
					MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(120, 120, 120))
2372
					Debris:AddItem(BULLET, 10)
2373
				end
2374
			end))
2375
			ATTACK = false
2376
			Rooted = false
2377
		end
2378
	end
2379
end
2380
2381
function Slice2(SIZE,WAIT,CFRAME,COLOR,GROW)
2382
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really black"), "Effect", VT(1,1,1), true)
2383
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
2384
	wave.CFrame = CFRAME
2385
	coroutine.resume(coroutine.create(function(PART)
2386
		for i = 1, WAIT do
2387
			Swait()
2388
			mesh.Scale = mesh.Scale * GROW
2389
			wave.Transparency = wave.Transparency + (0.5/WAIT)
2390
			if wave.Transparency > 0.99 then
2391
				wave:remove()
2392
			end
2393
		end
2394
	end))
2395
end
2396
2397
function swait(num)
2398
	if num == 0 or num == nil then
2399
		ArtificialHB.Event:wait()
2400
	else
2401
		for i = 0, num do
2402
			ArtificialHB.Event:wait()
2403
		end
2404
	end
2405
end
2406
2407
function ChaosWorld()
2408
	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)
2409
	CHOICE = 6
2410
2411
	chatfunc("I am bored...")
2412
	for i = 0, 12, .1 do
2413
		swait(0.35)
2414
end
2415
2416
	chatfunc("Time to cause some chaos!")
2417
	for i = 0, 16, .1 do
2418
end
2419
swait(0.15)
2420
	CreateWave2(0,4,true,0.2,45,RootPart,-5)
2421
	CreateWave2(0,4.5,true,-0.2,40,RootPart,-5)
2422
	CreateWave2(0,5,true,0.2,35,RootPart,-5)
2423
	CreateWave2(0,5.5,true,-0.2,30,RootPart,-5)
2424
	CreateWave2(0,6,true,0.2,25,RootPart,-5)
2425
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Bright orange",VT(25,25,25))
2426
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Bright orange",VT(25,25,25))
2427
	CreateSound("1368605755", Effects, 10, 1)
2428
2429
back2 = CreateSound(177604015, Character, 9999, 0.9, true)
2430
ChaosForm = true
2431
local sillsky2 = Instance.new('Sky', game:GetService'Lighting')
2432
sillsky2.SkyboxBk = "rbxassetid://1012890"
2433
sillsky2.SkyboxDn = "rbxassetid://1012891"
2434
sillsky2.SkyboxFt = "rbxassetid://1012887"
2435
sillsky2.SkyboxLf = "rbxassetid://1012889"
2436
sillsky2.SkyboxRt = "rbxassetid://1012888"
2437
sillsky2.SkyboxUp = "rbxassetid://1014449"
2438
sillsky2.StarCount = 0
2439
sillsky2.SunAngularSize = 0
2440
sillsky2.MoonAngularSize = 0
2441
sillsky2.MoonTextureId = ""
2442
sillsky2.CelestialBodiesShown = false
2443
game.Lighting.FogColor = BRICKC"Bright orange".Color
2444
game.Lighting.FogEnd = 1400
2445
end
2446
2447
function DemonWorld()
2448
	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)
2449
	CHOICE = 6
2450
2451
	chatfunc("All of these fools...")
2452
	for i = 0, 12, .1 do
2453
		swait(0.35)
2454
end
2455
2456
	chatfunc("Its time to  p e r i s h.")
2457
	for i = 0, 16, .1 do
2458
end
2459
swait(0.15)
2460
	CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(1000,1000,1000))
2461
	CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(75,75,75))
2462
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25))
2463
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25))
2464
	CreateSound("1368605755", Effects, 10, 1)
2465
	CreateSound("265201042", Effects, 10, 0.5)
2466
2467
back = CreateSound(1192655599, Character, 9999, 1, true)
2468
DemonForm = true
2469
local sillsky = Instance.new('Sky', game:GetService'Lighting')
2470
sillsky.SkyboxBk = "rbxassetid://157712259"
2471
sillsky.SkyboxDn = "rbxassetid://157712247"
2472
sillsky.SkyboxFt = "rbxassetid://157712266"
2473
sillsky.SkyboxLf = "rbxassetid://157712240"
2474
sillsky.SkyboxRt = "rbxassetid://157712254"
2475
sillsky.SkyboxUp = "rbxassetid://157712276"
2476
sillsky.StarCount = 0
2477
sillsky.SunAngularSize = 0
2478
sillsky.MoonAngularSize = 0
2479
sillsky.MoonTextureId = ""
2480
sillsky.CelestialBodiesShown = false
2481
game.Lighting.FogColor = Color3.new(1,0,0)
2482
game.Lighting.FogEnd = 1400
2483
end
2484
2485
function Eliminate()
2486
    chatfunc("Come here!")
2487
	ATTACK = true
2488
	Rooted = false
2489
	local HASGRABBED = false
2490
	local WELD = nil
2491
	local TORS = nil
2492
	local hitting = RightArm.Touched:Connect(function(hit)
2493
		if hit.Parent:FindFirstChild("Humanoid") then
2494
			if hit.Parent.Humanoid.Health ~= 0 then
2495
				UNANCHOR = false
2496
				TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
2497
				TORS.Anchored = true
2498
				TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
2499
           		WELD = weldBetween(RightArm,TORS)
2500
				HASGRABBED = true
2501
                chatfunc("Time to die.")
2502
				Rooted = true
2503
			end
2504
		end
2505
	end)
2506
	for i=0, 1, 0.1 / Animation_Speed do
2507
		Swait()
2508
		if HASGRABBED == true then
2509
			break
2510
		end
2511
		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)
2512
		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)
2513
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2514
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2515
		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)
2516
		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)
2517
	end
2518
	hitting:disconnect()
2519
	if HASGRABBED == true then
2520
		TORS.Anchored = false
2521
        RootPart.Anchored = true
2522
		for i=0, 2, 0.1 / Animation_Speed do
2523
			Swait()
2524
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2525
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2526
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2527
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2528
			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)
2529
			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)
2530
		end
2531
		CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(5,3,5))
2532
		CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(6,3,6))
2533
		local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
2534
		SOUNDPART.CFrame = RootPart.CFrame
2535
		Debris:AddItem(SOUNDPART,5)
2536
		CreateSound("260411131", SOUNDPART, 2, 1)
2537
		for i = 1, 15 do
2538
			Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
2539
		end
2540
		for i=0, 2, 0.1 / Animation_Speed do
2541
			Swait()
2542
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2543
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2544
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2545
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2546
			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)
2547
			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)
2548
		end
2549
		for i=0, 0.25, 0.1 / Animation_Speed do
2550
			Swait()
2551
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
2552
			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)
2553
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
2554
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
2555
			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)
2556
			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)
2557
		end
2558
		if HITFLOOR ~= nil then
2559
			CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(70,70,70),85)
2560
		end
2561
		CreateSound("1295446488", Effects, 10, MRANDOM(7, 12) / 10)
2562
		WELD:remove()
2563
		for i = 1, 25 do
2564
			Swait()
2565
			killnearest(RootPart.Position,45,100,Torso.CFrame)
2566
			CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(3,30,3))
2567
			CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(10,4,10))
2568
			CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(23,3,23))
2569
			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)
2570
			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)
2571
		end
2572
	end
2573
	UNANCHOR = true
2574
	ATTACK = false
2575
	Rooted = false
2576
end
2577
2578
function Fire_At_Will()
2579
	ATTACK = true
2580
	Rooted = false
2581
	local GYRO = IT("BodyGyro", RootPart)
2582
	GYRO.D = 750
2583
	GYRO.P = 2000
2584
	GYRO.MaxTorque = VT(0, 40000, 0)
2585
	for i = 0, 0.2, 0.1 / Animation_Speed do
2586
		Swait()
2587
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2588
		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)
2589
		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)
2590
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2591
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2592
		if ANIM == "Idle" then
2593
			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)
2594
			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)
2595
				elseif ANIM == "Walk" then
2596
			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)
2597
			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)
2598
		elseif ANIM == "Jump" or ANIM == "Fall" then
2599
			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)
2600
			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)
2601
		end
2602
	end
2603
	local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Sphere", VT(1, 1, 1), false)
2604
	MakeForm(BOMB, "Ball")
2605
	BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5)
2606
	local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
2607
	for i = 0, 1.5, 0.1 / Animation_Speed do
2608
		Swait()
2609
		if MRANDOM(1, 2) == 1 then
2610
			for E = 1, #EYES do
2611
				if EYES[E] ~= nil then
2612
					local EY = EYES[E]
2613
					local LIGHTNING = Zap({
2614
						StartPosition = EY.Position,
2615
						TargetPosition = BOMB.Position,
2616
						Character = Character,
2617
						Color = "Really red",
2618
						Individual = false,
2619
						MaxRange = 7,
2620
						SegmentLength = 1,
2621
						Offset = 0.3,
2622
						SIZE = 0.05
2623
					})
2624
					Debris:AddItem(LIGHTNING.LightningModel, 0.05)
2625
				end
2626
			end
2627
		end
2628
		BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
2629
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2630
		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)
2631
		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)
2632
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2633
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2634
		if ANIM == "Idle" then
2635
			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)
2636
			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)
2637
		elseif ANIM == "Walk" then
2638
			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)
2639
			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)
2640
		elseif ANIM == "Jump" or ANIM == "Fall" then
2641
			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)
2642
			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)
2643
		end
2644
	end
2645
	WACKYEFFECT({
2646
		Time = 25,
2647
		EffectType = "Ring",
2648
		Size = VT(0, 0, 0),
2649
		Size2 = VT(18.75, 18.75, 0),
2650
		Transparency = 0.7,
2651
		Transparency2 = 1,
2652
		CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
2653
		MoveToPos = nil,
2654
		RotationX = 0,
2655
		RotationY = 0,
2656
		RotationZ = 0,
2657
		Material = "Neon",
2658
		Color = BOMB.Color,
2659
		SoundID = nil,
2660
		SoundPitch = nil,
2661
		SoundVolume = nil
2662
	})
2663
	WACKYEFFECT({
2664
		Time = 50,
2665
		EffectType = "Ring",
2666
		Size = VT(0, 0, 0),
2667
		Size2 = VT(75, 75, 0),
2668
		Transparency = 0.7,
2669
		Transparency2 = 1,
2670
		CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
2671
		MoveToPos = nil,
2672
		RotationX = 0,
2673
		RotationY = 0,
2674
		RotationZ = 0,
2675
		Material = "Neon",
2676
		Color = BOMB.Color,
2677
		SoundID = nil,
2678
		SoundPitch = nil,
2679
		SoundVolume = nil
2680
	})
2681
	BOMB.Anchored = true
2682
	WELD:remove()
2683
	GYRO:remove()
2684
	coroutine.resume(coroutine.create(function()
2685
		BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
2686
		for i = 1, 500 do
2687
			Swait()
2688
			BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
2689
			local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
2690
			if HITFLOOR ~= nil then
2691
				break
2692
			end
2693
		end
2694
		ApplyAoE(BOMB.Position, 375, 0, 0, 0, true)
2695
		for i = 1, 5 do
2696
			WACKYEFFECT({
2697
				Time = 50,
2698
				EffectType = "Sphere",
2699
				Size = BOMB.Mesh.Scale,
2700
				Size2 = VT(125, 125, 125) * i,
2701
				Transparency = 0.5,
2702
				Transparency2 = 1,
2703
				CFrame = BOMB.CFrame,
2704
				MoveToPos = nil,
2705
				RotationX = 0,
2706
				RotationY = 0,
2707
				RotationZ = 0,
2708
				Material = "Neon",
2709
				Color = BOMB.Color,
2710
				SoundID = 1222405264,
2711
				SoundPitch = 1,
2712
				SoundVolume = 10
2713
			})
2714
		end
2715
		local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 5, 0), BOMB.Position - VT(0, 5, 0)).lookVector, 15, Character)
2716
		if HITFLOOR then
2717
			CreateDebreeRing(HITFLOOR, HITPOS, 85, VT(85, 85, 85), 5)
2718
		end
2719
		BOMB.Transparency = 1
2720
		for i = 1, 35 do
2721
			Swait()
2722
			CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(2.5, 2.5, 2.5), 5, 150)
2723
		end
2724
		BOMB:remove()
2725
	end))
2726
	ATTACK = false
2727
	Rooted = false
2728
end
2729
2730
2731
2732
function Imperfect_Storm()
2733
	ATTACK = true
2734
	Rooted = false
2735
	for i = 0, 1, 0.1 / Animation_Speed do
2736
		Swait()
2737
		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)
2738
		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)
2739
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2740
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2741
		if ANIM == "Idle" then
2742
			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)
2743
			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)
2744
		elseif ANIM == "Walk" then
2745
			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)
2746
			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)
2747
		elseif ANIM == "Jump" or ANIM == "Fall" then
2748
			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)
2749
			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)
2750
		end
2751
	end
2752
	ATTACK = false
2753
	Rooted = false
2754
end
2755
2756
function MouseDown(Mouse)
2757
	if ATTACK == false then
2758
	end
2759
end
2760
function MouseUp(Mouse)
2761
	HOLD = false
2762
end
2763
2764
function KeyDown(Key)
2765
	KEYHOLD = true
2766
	if DemonForm == false then
2767
		if Key == "z" and ATTACK == false then
2768
			Neck_Snap()
2769
		end
2770
2771
		if Key == "b" and ATTACK == false then
2772
			Imperfect_Command()
2773
		end
2774
2775
		if Key == "c" and ATTACK == false then
2776
			Fire_At_Will()
2777
		end
2778
2779
		if Key == "e" and ATTACK == false then
2780
			Warp()
2781
		end
2782
2783
		if Key == "f" and ATTACK == false then
2784
			Eliminate()
2785
		end
2786
2787
        if Key == "t" and ATTACK == false then
2788
		    Taunt()
2789
        end
2790
2791
		if Key == "q" and ATTACK == false then
2792
			Orb()
2793
		end
2794
2795
        if Key == "p" and ATTACK == false then
2796
            DemonWorld()
2797
            SKILL2TEXT:remove()
2798
            SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Perfect Command", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
2799
            SKILL3TEXT:remove()
2800
            SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Fire at Will", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
2801
            SKILL7TEXT:remove()
2802
            SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Return", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
2803
        end
2804
2805
else
2806
2807
		if Key == "z" and ATTACK == false then
2808
			Neck_Snap()
2809
		end
2810
		if Key == "b" and ATTACK == false then
2811
			Perfect_Command()
2812
		end
2813
		if Key == "c" and ATTACK == false then
2814
		end
2815
		if Key == "e" and ATTACK == false then
2816
			Warp()
2817
		end
2818
		if Key == "f" and ATTACK == false then
2819
			Eliminate()
2820
		end
2821
2822
		if Key == "q" and ATTACK == false then
2823
			Orb()
2824
		end
2825
2826
        if Key == "t" and ATTACK == false then
2827
		    Taunt2()
2828
        end
2829
2830
        if Key == "p" and ATTACK == false then
2831
        DemonForm = false
2832
        SKILL2TEXT:remove()
2833
        SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Imperfect Command", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
2834
        SKILL3TEXT:remove()
2835
        SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Stone Ball", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
2836
        SKILL7TEXT:remove()
2837
        SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Demon Form", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
2838
		local sillsky = Instance.new('Sky', game:GetService'Lighting')
2839
        sillsky:remove()
2840
        back:remove()
2841
        game.Lighting.FogEnd = 90000000
2842
        CreateSound(464600985, Character, 99999, 0.8, false)
2843
        end
2844
end
2845
end
2846
2847
function KeyDown2(Key)
2848
	KEYHOLD = true
2849
	if ChaosForm == false then
2850
        if Key == "l" and ATTACK == false then
2851
            ChaosWorld()
2852
            SKILL8TEXT:remove()
2853
            SKILL8TEXT = CreateLabel(SKILL8FRAME, "[L] Return", SKILLTEXTCOLOR3, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
2854
        end
2855
else
2856
        if Key == "l" and ATTACK == false then
2857
            ChaosForm = false
2858
            SKILL8TEXT:remove()
2859
            SKILL8TEXT = CreateLabel(SKILL8FRAME, "[L] Chaos Form", SKILLTEXTCOLOR3, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
2860
		    local sillsky2 = Instance.new('Sky', game:GetService'Lighting')
2861
            sillsky2:remove()
2862
            back2:remove()
2863
            game.Lighting.FogEnd = 90000000
2864
            CreateSound(464600985, Character, 99999, 0.8, false)
2865
        end
2866
end
2867
end
2868
2869
function KeyUp(Key)
2870
	KEYHOLD = false
2871
end
2872
Mouse.Button1Down:connect(function(NEWKEY)
2873
	MouseDown(NEWKEY)
2874
end)
2875
Mouse.Button1Up:connect(function(NEWKEY)
2876
	MouseUp(NEWKEY)
2877
end)
2878
Mouse.KeyDown:connect(function(NEWKEY)
2879
	KeyDown(NEWKEY)
2880
end)
2881
Mouse.KeyDown:connect(function(NEWKEY)
2882
	KeyDown2(NEWKEY)
2883
end)
2884
Mouse.KeyUp:connect(function(NEWKEY)
2885
	KeyUp(NEWKEY)
2886
end)
2887
function unanchor()
2888
	if UNANCHOR == true then
2889
		RootPart.Anchored = false
2890
	end
2891
	local CHILDREN = Character:GetDescendants()
2892
	for index, CHILD in pairs(CHILDREN) do
2893
		if CHILD:IsA("BasePart") and CHILD ~= RootPart and CHILD.Parent ~= Effects and CHILD.Parent.Parent ~= Effects then
2894
			CHILD.Anchored = false
2895
		end
2896
	end
2897
end
2898
Humanoid.Changed:connect(function(Jump)
2899
	if Jump == "Jump" and Disable_Jump == true then
2900
		Humanoid.Jump = false
2901
	end
2902
end)
2903
while true do
2904
	Swait()
2905
	script.Parent = WEAPONGUI
2906
	ANIMATE.Parent = nil
2907
	if Humanoid then
2908
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
2909
		IDLEANIMATION:Play()
2910
	end
2911
	for RW = 1, #RWINGS do
2912
		if RWINGS[RW] ~= nil then
2913
			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)
2914
		end
2915
	end
2916
	for LW = 1, #LWINGS do
2917
		if LWINGS[LW] ~= nil then
2918
			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)
2919
		end
2920
	end
2921
	SINE = SINE + CHANGE
2922
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2923
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2924
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 + Humanoid.HipHeight, Character)
2925
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2926
	if FINISHEDINTRO == true then
2927
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2928
			ANIM = "Jump"
2929
			if ATTACK == false then
2930
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2931
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2932
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2933
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2934
				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)
2935
				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)
2936
			end
2937
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2938
			ANIM = "Fall"
2939
			if ATTACK == false then
2940
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2941
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2942
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2943
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2944
				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)
2945
				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)
2946
			end
2947
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2948
			ANIM = "Idle"
2949
			if ATTACK == false then
2950
				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)
2951
				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)
2952
				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)
2953
				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)
2954
				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)
2955
				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)
2956
			end
2957
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2958
			ANIM = "Walk"
2959
if ATTACK == false then
2960
				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)
2961
				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)
2962
				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)
2963
				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)
2964
				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)
2965
				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)
2966
			end
2967
		end
2968
		if TORSOVELOCITY > 1 then
2969
			Humanoid.HipHeight = 1
2970
		else
2971
			Humanoid.HipHeight = 0
2972
		end
2973
	elseif FINISHEDINTRO == false then
2974
		Humanoid.HipHeight = 0
2975
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2976
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2977
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2978
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2979
		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)
2980
		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)
2981
	end
2982
	unanchor()
2983
	Humanoid.MaxHealth = 1.0E298
2984
	Humanoid.Health = 1.0E298
2985
	if Rooted == false then
2986
		Disable_Jump = false
2987
		Humanoid.WalkSpeed = Speed
2988
	elseif Rooted == true then
2989
		Disable_Jump = true
2990
		Humanoid.WalkSpeed = 0
2991
	end
2992
if DemonForm == false then
2993
    sick.Parent = Torso
2994
    sick.Playing = true
2995
    sick.Volume = 5
2996
    sick.Pitch = 1
2997
else
2998
    sick.Parent = Torso
2999
    sick.Playing = false
3000
    sick.Volume = 0
3001
    sick.Pitch = 1
3002
end
3003
3004
if ChaosForm == false then
3005
    sick.Parent = Torso
3006
    sick.Playing = true
3007
    sick.Volume = 5
3008
    sick.Pitch = 1
3009
else
3010
    sick.Parent = Torso
3011
    sick.Playing = false
3012
    sick.Volume = 0
3013
    sick.Pitch = 1
3014
end
3015
	BLINKLOOP = BLINKLOOP + 1
3016
	if BLINKLOOP >= 325 then
3017
		BLINKLOOP = 0
3018
		Blink()
3019
	end
3020
	if Character:FindFirstChildOfClass("Accessory") then
3021
		Character:FindFirstChildOfClass("Accessory"):remove()
3022
	end
3023
	if Character:FindFirstChildOfClass("Shirt") then
3024
		Character:FindFirstChildOfClass("Shirt"):remove()
3025
	end
3026
	if Character:FindFirstChildOfClass("Pants") then
3027
		Character:FindFirstChildOfClass("Pants"):remove()
3028
	end
3029
	if Character:FindFirstChildOfClass("Cloth") then
3030
		Character:FindFirstChildOfClass("Cloth"):remove()
3031
	end
3032
	if Head:FindFirstChildOfClass("Sound") then
3033
		Head:FindFirstChildOfClass("Sound"):remove()
3034
	end
3035
	if INTROING == false and FINISHEDINTRO == false then
3036
		if INSTANT == false then
3037
			Intro()
3038
		else
3039
			FINISHEDINTRO = true
3040
			Face()
3041
		end
3042-
			RightWing()
3042+
3043-
			LeftWing()
3043+
3044
		Head.face:remove()
3045
	end
3046
	refit()
3047
	Humanoid.PlatformStand = false
3048
end
3049
3050
if Humanoid.Health < 1.0E298 then
3051
refit()
3052
chatfunc("Futile.")
3053
Humanoid.MaxHealth = 1.0E298
3054
Humanoid.Health = Humanoid.Health + 1.0E298
3055
end
3056
3057
--//====================================================\\--
3058
--||			  		 END OF SCRIPT                  ||--
3059
--\\====================================================//--