View difference between Paste ID: Z0x7b6xP and S3AxD4vj
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 Aura = Instance.new('ParticleEmitter')
1007+
1008-
Aura.Name = "Aura"
1008+
1009-
Aura.Texture = "rbxassetid://242997264"
1009+
1010-
Aura.Parent = Horn
1010+
1011-
Aura.LightEmission = 0.8
1011+
1012-
Aura.Transparency = NumberSequence.new(0,0.6,1)
1012+
1013-
Aura.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(0/1,0,0))
1013+
1014-
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1014+
1015-
Aura.LockedToPart = true
1015+
1016-
Aura.Lifetime = NumberRange.new(2)
1016+
1017-
Aura.Rate = 25
1017+
1018-
Aura.Speed = NumberRange.new(0.1)
1018+
1019-
Aura.EmissionDirection = "Top"
1019+
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-
local Aura = Instance.new('ParticleEmitter')
1025+
1026-
Aura.Name = "Aura"
1026+
1027-
Aura.Texture = "rbxassetid://242997264"
1027+
1028-
Aura.Parent = Horn
1028+
1029-
Aura.LightEmission = 0.8
1029+
1030-
Aura.Transparency = NumberSequence.new(0,0.6,1)
1030+
1031-
Aura.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(0/1,0,0))
1031+
1032-
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1032+
1033-
Aura.LockedToPart = true
1033+
1034-
Aura.Lifetime = NumberRange.new(2)
1034+
1035-
Aura.Rate = 25
1035+
1036-
Aura.Speed = NumberRange.new(0.1)
1036+
1037-
Aura.EmissionDirection = "Top"
1037+
1038
		local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "LargeWing", VT(1, 1.7, 1), false)
1039
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
1040
		PART = Wing
1041
		local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.5, 0.5, 0.5), false)
1042
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
1043
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.2, 0.51), false)
1044
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
1045
		PART = Wing
1046
		local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.2, 0.5, 0.2), false)
1047
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
1048-
local Aura = Instance.new('ParticleEmitter')
1048+
1049-
Aura.Name = "Aura"
1049+
1050-
Aura.Texture = "rbxassetid://242997264"
1050+
1051-
Aura.Parent = Horn
1051+
1052-
Aura.LightEmission = 0.8
1052+
1053-
Aura.Transparency = NumberSequence.new(0,0.6,1)
1053+
1054-
Aura.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(0/1,0,0))
1054+
1055-
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1055+
1056-
Aura.LockedToPart = true
1056+
1057-
Aura.Lifetime = NumberRange.new(2)
1057+
1058-
Aura.Rate = 25
1058+
1059-
Aura.Speed = NumberRange.new(0.1)
1059+
1060-
Aura.EmissionDirection = "Top"
1060+
1061
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
1062
		PART = Wing
1063
		table.insert(RWINGS, WingWeld)
1064
		local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.2, 0.5, 0.2), false)
1065
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
1066-
local Aura = Instance.new('ParticleEmitter')
1066+
1067-
Aura.Name = "Aura"
1067+
1068-
Aura.Texture = "rbxassetid://242997264"
1068+
1069-
Aura.Parent = Horn
1069+
1070-
Aura.LightEmission = 0.8
1070+
1071-
Aura.Transparency = NumberSequence.new(0,0.6,1)
1071+
1072-
Aura.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(0/1,0,0))
1072+
1073-
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1073+
1074-
Aura.LockedToPart = true
1074+
1075-
Aura.Lifetime = NumberRange.new(2)
1075+
1076-
Aura.Rate = 25
1076+
1077-
Aura.Speed = NumberRange.new(0.1)
1077+
1078-
Aura.EmissionDirection = "Top"
1078+
1079
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.7, 0.7, 0.7), false)
1080
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
1081
		local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "WingPart", VT(0.45, 0.45, 0.45), false)
1082
		table.insert(EYES, Wing1)
1083
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
1084
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.1, 0.1), false)
1085
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
1086
		PART = Wing
1087
		table.insert(RWINGS, WingWeld)
1088
	end
1089
	BODY = {}
1090
	for _, c in pairs(Character:GetDescendants()) do
1091
		if c:IsA("BasePart") then
1092
			table.insert(BODY, {
1093
				c,
1094
				c.Parent,
1095
				c.Material,
1096
				c.Color
1097
			})
1098
		elseif c:IsA("JointInstance") then
1099
			table.insert(BODY, {
1100
				c,
1101-
            local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent =             
1101+
1102-
            RightLeg, Emit = 100, Offset = 360, Enabled = true})
1102+
1103-
            PRT.LockedToPart = true
1103+
1104-
            local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = 
1104+
1105-
            LeftLeg, Emit = 100, Offset = 360, Enabled = true})
1105+
1106-
            PRT.LockedToPart = true
1106+
1107-
            local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = 
1107+
1108-
            Torso, Emit = 100, Offset = 360, Enabled = true})
1108+
1109-
            PRT.LockedToPart = true
1109+
1110-
            local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = 
1110+
1111-
            RightArm, Emit = 100, Offset = 360, Enabled = true})
1111+
1112-
            PRT.LockedToPart = true
1112+
1113-
            local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = 
1113+
1114-
            LeftArm, Emit = 100, Offset = 360, Enabled = true})
1114+
1115-
            PRT.LockedToPart = true
1115+
1116-
            local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = 
1116+
1117-
            Head, Emit = 100, Offset = 360, Enabled = true})
1117+
1118-
            PRT.LockedToPart = true
1118+
1119
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
1120
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.2, 0.51), false)
1121
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
1122
		PART = Wing
1123
		local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.2, 0.5, 0.2), false)
1124
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
1125
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.8, 0.15, 0.15), false)
1126
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1127
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(0.25, 0.2, 0.25), false)
1128
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
1129
		PART = Wing
1130
		table.insert(LWINGS, WingWeld)
1131
		local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.4, 0.5, 0.4), false)
1132
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
1133
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.45, 0.2, 0.45), false)
1134
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
1135
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.15, 0.15), false)
1136
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
1137
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.1, 0.1), false)
1138
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
1139
		PART = Wing
1140
		table.insert(LWINGS, WingWeld)
1141
		local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.2, 0.5, 0.2), false)
1142
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
1143
		PART = Wing
1144
		local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.5, 0.5, 0.5), false)
1145
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
1146
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.3, 0.3), false)
1147
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
1148
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(1, 0.2, 0.2), false)
1149
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
1150
		PART = Wing
1151
		table.insert(LWINGS, WingWeld)
1152
		local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
1153
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
1154
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(0.3, 0.3, 0.3), false)
1155
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1156
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.7, 0.7, 0.7), false)
1157
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
1158
		local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "WingPart", VT(0.45, 0.45, 0.45), false)
1159
		table.insert(EYES, Wing1)
1160
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
1161
		local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.1, 0.1), false)
1162
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
1163
		PART = Wing
1164
		table.insert(LWINGS, WingWeld)
1165
	end
1166
	BODY = {}
1167
	for _, c in pairs(Character:GetDescendants()) do
1168
		if c:IsA("BasePart") then
1169
			table.insert(BODY, {
1170
				c,
1171
				c.Parent,
1172
				c.Material,
1173
				c.Color
1174
			})
1175
		elseif c:IsA("JointInstance") then
1176
			table.insert(BODY, {
1177
				c,
1178
				c.Parent,
1179
				nil,
1180
				nil
1181
			})
1182
		end
1183
	end
1184
end
1185
for _, c in pairs(Weapon:GetChildren()) do
1186
	if c.ClassName == "Part" then
1187
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1188
	end
1189
end
1190
for _, c in pairs(Character:GetDescendants()) do
1191
	if c:IsA("BasePart") then
1192
		table.insert(BODY, {
1193
			c,
1194
			c.Parent,
1195
			c.Material,
1196
			c.Color
1197
		})
1198
	elseif c:IsA("JointInstance") then
1199
		table.insert(BODY, {
1200
			c,
1201
			c.Parent,
1202
			nil,
1203
			nil
1204
		})
1205
	end
1206
end
1207
for e = 1, #BODY do
1208
	if BODY[e] ~= nil then
1209
		do
1210
			local STUFF = BODY[e]
1211
			local PART = STUFF[1]
1212
			local PARENT = STUFF[2]
1213
			local MATERIAL = STUFF[3]
1214
			local COLOR = STUFF[4]
1215
			PART.AncestryChanged:Connect(function()
1216
				if PART.ClassName == "Part" then
1217
					PART.Material = MATERIAL
1218
					PART.Color = COLOR
1219
				end
1220
				PART.Parent = PARENT
1221
			end)
1222
		end
1223
	end
1224
end
1225
function refit()
1226
	Weapon.Parent = Character
1227
	Character.Parent = workspace
1228
	for e = 1, #BODY do
1229
		if BODY[e] ~= nil then
1230
			local STUFF = BODY[e]
1231
			local PART = STUFF[1]
1232
			local PARENT = STUFF[2]
1233
			local MATERIAL = STUFF[3]
1234
			local COLOR = STUFF[4]
1235
			if PART.Parent ~= PARENT then
1236
				Humanoid:remove()
1237
				if PART.ClassName == "Part" then
1238
					PART.Material = MATERIAL
1239
					PART.Color = COLOR
1240
				end
1241
				PART.Parent = PARENT
1242
				Humanoid = IT("Humanoid", Character)
1243
			end
1244
		end
1245
	end
1246
end
1247
1248
local SKILLTEXTCOLOR = C3(0, 0, 0)
1249
local SKILLTEXTCOLOR2 = C3(1, 0, 0)
1250
local SKILLTEXTCOLOR3 = BRICKC"Bright orange".Color
1251
local SKILLFONT = "Antique"
1252
local SKILLTEXTSIZE = 8
1253
Weapon.Parent = Character
1254
Humanoid.Died:connect(function()
1255
	refit()
1256
    chatfunc("Futile.")
1257
end)
1258
1259
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")
1260
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")
1261
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")
1262
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")
1263
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")
1264
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")
1265
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")
1266
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")
1267
1268
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Neck Snap", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
1269
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Imperfect Command", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
1270
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Stone Ball", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
1271
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[E] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4")
1272
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[F] Eliminate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 5")
1273
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Orb of Ultimate Destruction", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 6")
1274
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Demon Form", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 7")
1275
local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[L] Chaos Form", SKILLTEXTCOLOR3, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 8")
1276
1277
function StatLabel(CFRAME, TEXT, COLOR)
1278
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
1279
	STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5)))
1280
	local BODYGYRO = IT("BodyGyro", STATPART)
1281
	game:GetService("Debris"):AddItem(STATPART, 5)
1282
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
1283
	BILLBOARDGUI.Adornee = STATPART
1284
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0)
1285
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
1286
	BILLBOARDGUI.AlwaysOnTop = false
1287
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
1288
	TEXTLABEL.BackgroundTransparency = 1
1289
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
1290
	TEXTLABEL.Text = TEXT
1291
	TEXTLABEL.Font = SKILLFONT
1292
	TEXTLABEL.FontSize = "Size42"
1293
	TEXTLABEL.TextColor3 = COLOR
1294
	TEXTLABEL.TextStrokeTransparency = 0
1295
	TEXTLABEL.TextScaled = true
1296
	TEXTLABEL.TextWrapped = true
1297
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
1298
		for i = 1, 50 do
1299
			Swait()
1300
			STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2)
1301
			TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02
1302
			TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
1303
		end
1304
		THEPART.Parent = nil
1305
	end), STATPART, TEXTLABEL)
1306
end
1307
1308
--//=================================\\
1309
--||	   text above head lel
1310
--\\=================================//
1311
1312
function chatfunc(text)
1313
	local chat = coroutine.wrap(function()
1314
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
1315
		Character:FindFirstChild("TalkingBillBoard"):destroy()
1316
	end
1317
	local Bill = Instance.new("BillboardGui",Character)
1318
	Bill.Size = UDim2.new(0,125,0,50)
1319
	Bill.StudsOffset = Vector3.new(0,1.5,0)
1320
	Bill.Adornee = Character.Head
1321
	Bill.Name = "TalkingBillBoard"
1322
	local Hehe = Instance.new("TextLabel",Bill)
1323
	Hehe.BackgroundTransparency = 1
1324
	Hehe.BorderSizePixel = 0
1325
	Hehe.Text = ""
1326
	Hehe.Font = "Antique"
1327
	Hehe.TextSize = 50
1328
	Hehe.TextStrokeTransparency = 0
1329
	Hehe.Size = UDim2.new(1,0,0.5,0)
1330
	coroutine.resume(coroutine.create(function()
1331
		while Hehe ~= nil do
1332
			Swait()	
1333
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
1334
			Hehe.Rotation = math.random(-5,5)
1335
			Hehe.TextColor3 = Color3.new(0,0,0)
1336
			Hehe.TextStrokeColor3 = BRICKC"Maroon".Color
1337
		end
1338
	end))
1339
	for i = 1,string.len(text),1 do
1340
		Swait()
1341
		Hehe.Text = string.sub(text,1,i)
1342
	end
1343
	Swait(90)--Re[math.random(1, 93)]
1344
	for i = 0, 1, .025 do
1345
		Swait()
1346
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
1347
		Hehe.TextStrokeTransparency = i
1348
		Hehe.TextTransparency = i
1349
	end
1350
	Bill:Destroy()
1351
	end)
1352
chat()
1353
end
1354
1355
function onChatted(msg)
1356
	chatfunc(msg)
1357
end
1358
1359
Player.Chatted:connect(onChatted)
1360
1361
function Ragdoll(Character2, CharTorso, Headless, Velocity)
1362
	local svch = Character2
1363
	Character2:BreakJoints()
1364
	local hum = Character2:findFirstChild("Humanoid")
1365
	local q = Character2:GetChildren()
1366
	local CLONE = IT("Model", Effects)
1367
	for i = 1, #q do
1368
		if q[i].ClassName == "Accessory" and Headless == true then
1369
			q[i]:remove()
1370
		elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
1371
			q[i].Parent = CLONE
1372
		elseif q[i].ClassName ~= "Humanoid" then
1373
			q[i]:remove()
1374
		end
1375
	end
1376
	local chrclone = CLONE
1377
	local ch = chrclone:GetChildren()
1378
	local i
1379
	for i = 1, #ch do
1380
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
1381
			ch[i]:remove()
1382
		end
1383
	end
1384
	local function Scan(ch)
1385
		local e
1386
		for e = 1, #ch do
1387
			Scan(ch[e]:GetChildren())
1388
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
1389
				ch[e]:remove()
1390
			end
1391
		end
1392
	end
1393
	Character2:remove()
1394
	local NEWHUM = IT("Humanoid")
1395
	NEWHUM.Name = "Corpse"
1396
	NEWHUM.Health = 0
1397
	NEWHUM.MaxHealth = 0
1398
	NEWHUM.PlatformStand = true
1399
	NEWHUM.Parent = CLONE
1400
	NEWHUM.DisplayDistanceType = "None"
1401
	Scan(chrclone:GetChildren())
1402
	local ch = Character2:GetChildren()
1403
	local i
1404
	for i = 1, #ch do
1405
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1406
			ch[i]:remove()
1407
		end
1408
	end
1409
	local ch = Character2:GetChildren()
1410
	local i
1411
	for i = 1, #ch do
1412
		if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1413
			ch[i]:remove()
1414
		end
1415
	end
1416
	Character2 = chrclone
1417
	local Torso2 = Character2.Torso
1418
	local movevector = Vector3.new()
1419
	if Torso2 then
1420
		movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
1421
		local Head = Character2:FindFirstChild("Head")
1422
		if Head then
1423
			local Neck = Instance.new("Weld")
1424
			Neck.Name = "Neck"
1425
			Neck.Part0 = Torso2
1426
			Neck.Part1 = Head
1427
			Neck.C0 = CFrame.new(0, 1.5, 0)
1428
			Neck.C1 = CFrame.new()
1429
			Neck.Parent = Torso2
1430
			if Headless == true then
1431
				Head.Transparency = 1
1432
				Head:ClearAllChildren()
1433
			end
1434
		end
1435
		local Limb = Character2:FindFirstChild("Right Arm")
1436
		if Limb then
1437
			Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
1438
			local Joint = Instance.new("Glue")
1439
			Joint.Name = "RightShoulder"
1440
			Joint.Part0 = Torso2
1441
			Joint.Part1 = Limb
1442
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1443
			Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1444
			Joint.Parent = Torso2
1445
			local B = Instance.new("Part")
1446
			B.TopSurface = 0
1447
			B.BottomSurface = 0
1448
			B.formFactor = "Symmetric"
1449
			B.Size = Vector3.new(1, 1, 1)
1450
			B.Transparency = 1
1451
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1452
			B.Parent = Character2
1453
			local W = Instance.new("Weld")
1454
			W.Part0 = Limb
1455
			W.Part1 = B
1456
			W.C0 = CFrame.new(0, -0.5, 0)
1457
			W.Parent = Limb
1458
		end
1459
		local Limb = Character2:FindFirstChild("Left Arm")
1460
		if Limb then
1461
			Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
1462
			local Joint = Instance.new("Glue")
1463
			Joint.Name = "LeftShoulder"
1464
			Joint.Part0 = Torso2
1465
			Joint.Part1 = Limb
1466
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1467
			Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1468
			Joint.Parent = Torso2
1469
			local B = Instance.new("Part")
1470
			B.TopSurface = 0
1471
			B.BottomSurface = 0
1472
			B.formFactor = "Symmetric"
1473
			B.Size = Vector3.new(1, 1, 1)
1474
			B.Transparency = 1
1475
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1476
			B.Parent = Character2
1477
			local W = Instance.new("Weld")
1478
			W.Part0 = Limb
1479
			W.Part1 = B
1480
			W.C0 = CFrame.new(0, -0.5, 0)
1481
			W.Parent = Limb
1482
		end
1483
		local Limb = Character2:FindFirstChild("Right Leg")
1484
		if Limb then
1485
			Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
1486
			local Joint = Instance.new("Glue")
1487
			Joint.Name = "RightHip"
1488
			Joint.Part0 = Torso2
1489
			Joint.Part1 = Limb
1490
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1491
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1492
			Joint.Parent = Torso2
1493
			local B = Instance.new("Part")
1494
			B.TopSurface = 0
1495
			B.BottomSurface = 0
1496
			B.formFactor = "Symmetric"
1497
			B.Size = Vector3.new(1, 1, 1)
1498
			B.Transparency = 1
1499
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1500
			B.Parent = Character2
1501
			local W = Instance.new("Weld")
1502
			W.Part0 = Limb
1503
			W.Part1 = B
1504
			W.C0 = CFrame.new(0, -0.5, 0)
1505
			W.Parent = Limb
1506
		end
1507
		local Limb = Character2:FindFirstChild("Left Leg")
1508
		if Limb then
1509
			Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
1510
			local Joint = Instance.new("Glue")
1511
			Joint.Name = "LeftHip"
1512
			Joint.Part0 = Torso2
1513
			Joint.Part1 = Limb
1514
			Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1515
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1516
			Joint.Parent = Torso2
1517
			local B = Instance.new("Part")
1518
			B.TopSurface = 0
1519
			B.BottomSurface = 0
1520
			B.formFactor = "Symmetric"
1521
			B.Size = Vector3.new(1, 1, 1)
1522
			B.Transparency = 1
1523
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1524
			B.Parent = Character2
1525
			local W = Instance.new("Weld")
1526
			W.Part0 = Limb
1527
			W.Part1 = B
1528
			W.C0 = CFrame.new(0, -0.5, 0)
1529
			W.Parent = Limb
1530
		end
1531
		local Bar = Instance.new("Part")
1532
		Bar.TopSurface = 0
1533
		Bar.BottomSurface = 0
1534
		Bar.formFactor = "Symmetric"
1535
		Bar.Size = Vector3.new(1, 1, 1)
1536
		Bar.Transparency = 1
1537
		Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1538
		Bar.Parent = Character2
1539
		local Weld = Instance.new("Weld")
1540
		Weld.Part0 = Torso2
1541
		Weld.Part1 = Bar
1542
		Weld.C0 = CFrame.new(0, 0.5, 0)
1543
		Weld.Parent = Torso2
1544
	end
1545
	Character2.Parent = Weapon
1546
	if movevector ~= Vector3.new() then
1547
		for i = 1, 10 do
1548
			Torso2.Velocity = movevector * Velocity
1549
		end
1550
	end
1551
	Character2.Name = "Corpse"
1552
	return Character2, Torso2
1553
end
1554
function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
1555
	local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
1556
	if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
1557
		if HITFLOOR.Name == "BloodPuddle" then
1558
			local DIST = (Position - HITFLOOR.Position).Magnitude
1559
			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
1560
				HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
1561
			end
1562
		elseif HITFLOOR.Anchored == true then
1563
			do
1564
				local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2, 0, 2))
1565
				BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
1566
				MakeForm(BLOOD, "Cyl")
1567
				coroutine.resume(coroutine.create(function()
1568
					Swait(75)
1569
					while true do
1570
						Swait()
1571
						BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
1572
						if BLOOD.Size.Z < 0.051 then
1573
							BLOOD:remove()
1574
							break
1575
						end
1576
					end
1577
				end))
1578
			end
1579
		end
1580
	end
1581
end
1582
function SprayBlood(POSITION, DIRECTION, BloodSize)
1583
	local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1, 1, 1), false)
1584
	BLOOD.CFrame = CF(POSITION)
1585
	MakeForm(BLOOD, "Ball")
1586
	local bv = Instance.new("BodyVelocity", BLOOD)
1587
	bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1588
	bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
1589
	bv.Name = "MOVE"
1590
	Debris:AddItem(bv, 0.05)
1591
	coroutine.resume(coroutine.create(function()
1592
		local HASTOUCHEDGROUND = false
1593
		local HIT = BLOOD.Touched:Connect(function(hit)
1594
			if hit.Anchored == true then
1595
				HASTOUCHEDGROUND = true
1596
				PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
1597
			end
1598
		end)
1599
		wait(5)
1600
		if HASTOUCHEDGROUND == false then
1601
			BLOOD:remove()
1602
		end
1603
	end))
1604
end
1605
function ApplyDamage(Humanoid, Damage, TorsoPart)
1606
	local defence = Instance.new("BoolValue", Humanoid.Parent)
1607
	defence.Name = "HitBy" .. Player.Name
1608
	game:GetService("Debris"):AddItem(defence, 0.001)
1609
	Damage = Damage * DAMAGEMULTIPLIER
1610
	if Humanoid.Health ~= 0 then
1611
		local CritChance = MRANDOM(1, 100)
1612
		if Damage > Humanoid.Health then
1613
			Damage = math.ceil(Humanoid.Health)
1614
			if Damage == 0 then
1615
				Damage = 0.1
1616
			end
1617
		end
1618
		Humanoid.Health = Humanoid.Health - Damage
1619
		StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
1620
	end
1621
end
1622
1623
function Petrify(Foe)
1624
	local STONEMODEL = IT("Model", Effects)
1625
	local CHILDREN = Foe:GetDescendants()
1626
	for index, CHILD in pairs(CHILDREN) do
1627
		if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
1628
			CHILD.Parent = STONEMODEL
1629
			CHILD.Material = "Slate"
1630
			CHILD.Color = C3(1, 0, 0)
1631
			if CHILD:FindFirstChildOfClass("SpecialMesh") then
1632
				local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
1633
				mesh.TextureId = ""
1634
			end
1635
			if CHILD:FindFirstChildOfClass("Decal") then
1636
				local mesh = CHILD:FindFirstChildOfClass("Decal")
1637
				mesh:remove()
1638
			end
1639
			if CHILD.ClassName == "MeshPart" then
1640
				CHILD.TextureID = ""
1641
			end
1642
			if CHILD.ClassName == "UnionOperation" then
1643
				CHILD.UsePartColor = true
1644
			end
1645
			CHILD.CanCollide = true
1646
		end
1647
	end
1648
	Debris:AddItem(STONEMODEL, 5)
1649
end
1650
1651
function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
1652
	local CHILDREN = workspace:GetDescendants()
1653
	for index, CHILD in pairs(CHILDREN) do
1654
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1655
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1656
			if HUM then
1657
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1658
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
1659
					if INSTAKILL == true then
1660
						Petrify(CHILD)
1661
					else
1662
						local DMG = MRANDOM(MINDMG, MAXDMG)
1663
						ApplyDamage(HUM, DMG, TORSO)
1664
					end
1665
					if FLING > 0 then
1666
						for _, c in pairs(CHILD:GetChildren()) do
1667
							if c:IsA("BasePart") then
1668
								local bv = Instance.new("BodyVelocity")
1669
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1670
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
1671
								bv.Parent = c
1672
								Debris:AddItem(bv, 0.05)
1673
							end
1674
						end
1675
					end
1676
				end
1677
			end
1678
		end
1679
	end
1680
end
1681
1682
function Intro()
1683
	coroutine.resume(coroutine.create(function()
1684
		INTROING = true
1685
		Rooted = true
1686
		FINISHEDINTRO = true
1687
		Head.Transparency = 1
1688
		Torso.Transparency = 1
1689
		LeftArm.Transparency = 1
1690
		RightArm.Transparency = 1
1691
		LeftLeg.Transparency = 1
1692
		RightLeg.Transparency = 1
1693
		repeat
1694
			Swait()
1695
		until sick.TimePosition > 1
1696
		for i = 1, 5 do
1697
			WACKYEFFECT({
1698
				EffectType = "Sphere",
1699
				Size = VT(3, 3, 3),
1700
				Size2 = VT(0, 5, 0),
1701
				Transparency = 0.5,
1702
				Transparency2 = 1,
1703
				CFrame = Torso.CFrame,
1704
				MoveToPos = Torso.CFrame * CF(15, -5 + i * 3, 1).p,
1705
				RotationX = MRANDOM(-5, 5),
1706
				RotationY = MRANDOM(-5, 5),
1707
				RotationZ = MRANDOM(-5, 5),
1708
				Material = "Neon",
1709
				Color = C3(1, 0, 0),
1710
				SoundID = nil,
1711
				SoundPitch = nil,
1712
				SoundVolume = nil
1713
			})
1714
		end
1715
		RightWing()
1716
		repeat
1717
			Swait()
1718
		until sick.TimePosition > 1.8
1719
		for i = 1, 5 do
1720
			WACKYEFFECT({
1721
				EffectType = "Sphere",
1722
				Size = VT(3, 3, 3),
1723
				Size2 = VT(0, 5, 0),
1724
				Transparency = 0.5,
1725
				Transparency2 = 1,
1726
				CFrame = Torso.CFrame,
1727
				MoveToPos = Torso.CFrame * CF(-15, -5 + i * 3, 1).p,
1728
				RotationX = MRANDOM(-5, 5),
1729
				RotationY = MRANDOM(-5, 5),
1730
				RotationZ = MRANDOM(-5, 5),
1731
				Material = "Neon",
1732
				Color = C3(1, 0, 0),
1733
				SoundID = nil,
1734
				SoundPitch = nil,
1735
				SoundVolume = nil
1736
			})
1737
		end
1738
		LeftWing()
1739
		repeat
1740
			Swait()
1741
		until sick.TimePosition > 3.5
1742
		for i = 1, 6 do
1743
			WACKYEFFECT({
1744
				EffectType = "Sphere",
1745
				Size = VT(1.5, 1.5, 1.5),
1746
				Size2 = VT(4, 4, 4) * i,
1747
				Transparency = 0,
1748
				Transparency2 = 1,
1749
				CFrame = Head.CFrame,
1750
				MoveToPos = nil,
1751
				RotationX = 0,
1752
				RotationY = 0,
1753
				RotationZ = 0,
1754
				Material = "Neon",
1755
				Color = C3(1, 0, 0),
1756
				SoundID = nil,
1757
				SoundPitch = nil,
1758
				SoundVolume = nil
1759
			})
1760
		end
1761
		Head.Transparency = 0
1762
		Face()
1763
		wait(0.5)
1764
		for i = 1, 100 do
1765
			Swait()
1766
			Torso.Transparency = 1 - i / 100
1767
			LeftArm.Transparency = 1 - i / 100
1768
			RightArm.Transparency = 1 - i / 100
1769
			LeftLeg.Transparency = 1 - i / 100
1770
			RightLeg.Transparency = 1 - i / 100
1771
            Humanoid.DisplayDistanceType = "None"
1772
            local naeeym2 = IT("BillboardGui",Character)
1773
            naeeym2.AlwaysOnTop = true
1774
            naeeym2.Size = UDim2.new(7,50,4,25)
1775
            naeeym2.StudsOffset = Vector3.new(0,4,0)
1776
            naeeym2.MaxDistance = 200
1777
            naeeym2.Adornee = Character.Head
1778
            naeeym2.Name = "Name"
1779
            local tecks2 = IT("TextLabel",naeeym2)
1780
            tecks2.BackgroundTransparency = 1
1781
            tecks2.TextScaled = true
1782
            tecks2.BorderSizePixel = 0
1783
            tecks2.Text = Character.Name
1784
            tecks2.Font = "Antique"
1785
            tecks2.TextSize = 50
1786
            tecks2.TextStrokeTransparency = 0
1787
            tecks2.TextColor3 = BRICKC"Maroon".Color
1788
            tecks2.TextStrokeColor3 = C3(0,0,0)
1789
            tecks2.Size = UDim2.new(1,0,0.5,0)
1790
            tecks2.Parent = naeeym2
1791
1792
            Humanoid.DisplayDistanceType = "None"
1793
            local naeeym3 = IT("BillboardGui",Character)
1794
            naeeym3.AlwaysOnTop = true
1795
            naeeym3.Size = UDim2.new(5,30,2,15)
1796
            naeeym3.StudsOffset = Vector3.new(0,2.5,0)
1797
            naeeym3.MaxDistance = 200
1798
            naeeym3.Adornee = Character.Head
1799
            naeeym3.Name = "Name"
1800
            local tecks3 = IT("TextLabel",naeeym3)
1801
            tecks3.BackgroundTransparency = 1
1802
            tecks3.TextScaled = true
1803
            tecks3.BorderSizePixel = 0
1804
            tecks3.Text = "God of Destruction"
1805
            tecks3.Font = "Fantasy"
1806
            tecks3.TextSize = 50
1807
            tecks3.TextStrokeTransparency = 1
1808
            tecks3.TextColor3 = Color3.new(0,0,0)
1809
            tecks3.Size = UDim2.new(1,0,0.5,0)
1810
            tecks3.Parent = naeeym3
1811
        end
1812
		FINISHEDINTRO = true
1813
		Rooted = false
1814
	end))
1815
end
1816
1817
function Warp()
1818
	ATTACK = true
1819
	Rooted = false
1820
	for i=0, 0.5, 0.1 / Animation_Speed do
1821
		Swait()
1822
		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)
1823
		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)
1824
	end
1825
	for e = 1, #BODY do
1826
		if BODY[e] ~= nil then
1827
			local STUFF = BODY[e]
1828
			local PART = STUFF[1]
1829
			if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
1830
				local PRT = PART:Clone()
1831
				PRT.Anchored = true
1832
				PRT.CanCollide = false
1833
				PRT.Material = "Neon"
1834
				PRT.Color = C3(1,0,0)
1835
				PRT.Name = "WarpEffect"
1836
				PRT.Parent = Effects
1837
				PRT.CFrame = PART.CFrame
1838
				PRT:BreakJoints()
1839
				if PRT:FindFirstChildOfClass("Sound") then
1840
					PRT:FindFirstChildOfClass("Sound"):remove()
1841
				end
1842
				if PRT:FindFirstChildOfClass("Decal") then
1843
					PRT:FindFirstChildOfClass("Decal"):remove()
1844
				end
1845
				coroutine.resume(coroutine.create(function()
1846
					for i = 1, 100 do
1847
						Swait()
1848
						PRT.Transparency = PRT.Transparency + 1/100
1849
					end
1850
					PRT:remove()
1851
				end))
1852
			end
1853
		end
1854
	end
1855
	local POS = RootPart.Orientation
1856
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
1857
	RootPart.Orientation = POS
1858
	RootJoint.Parent = RootPart
1859
	for i=0, 0.5, 0.1 / Animation_Speed do
1860
		Swait()
1861
		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)
1862
		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)
1863
	end
1864
	for i=0, 0.1, 0.1 / Animation_Speed do
1865
		Swait()
1866
		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)
1867
	end
1868
	ATTACK = false
1869
	Rooted = false
1870
end
1871
1872
function Neck_Snap()
1873
	ATTACK = true
1874
	Rooted = false
1875
	local TARGET, HUM, WLD
1876
	local HIT = RightArm.Touched:Connect(function(hit)
1877
		if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
1878
			local H = hit.Parent:FindFirstChildOfClass("Humanoid")
1879
			if H.Health > 0 then
1880
				local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
1881
				if TORSO then
1882
					HUM = H
1883
					TARGET = TORSO
1884
					H.PlatformStand = true
1885
					CreateSound("260411131", TORSO, 10, 1)
1886
					WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1887
				end
1888
			end
1889
		end
1890
	end)
1891
	for i = 0, 1, 0.1 / Animation_Speed do
1892
		Swait()
1893
		if TARGET ~= nil then
1894
			break
1895
		end
1896
		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)
1897
		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)
1898
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1899
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1900
		if ANIM == "Idle" then
1901
			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)
1902
			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)
1903
		elseif ANIM == "Walk" then
1904
			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)
1905
			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)
1906
		elseif ANIM == "Jump" or ANIM == "Fall" then
1907
			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)
1908
			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)
1909
		end
1910
	end
1911
	HIT:disconnect()
1912
	if TARGET ~= nil then
1913
		if TARGET.Name == "Torso" then
1914
			for i = 0, 2, 0.1 / Animation_Speed do
1915
				Swait()
1916
				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)
1917
				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)
1918
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1919
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1920
				if ANIM == "Idle" then
1921
					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)
1922
					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)
1923
				elseif ANIM == "Walk" then
1924
					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)
1925
					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)
1926
				elseif ANIM == "Jump" or ANIM == "Fall" then
1927
					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)
1928
					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)
1929
				end
1930
			end
1931
			WLD:remove()
1932
			local HEAD = TARGET.Parent:FindFirstChild("Head")
1933
			if HEAD then
1934
				UNANCHOR = false
1935
				RootPart.Anchored = true
1936
				local HD = HEAD:Clone()
1937
				HD.Name = "FakeHead"
1938
				for i = 1, 7 do
1939
					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)
1940
				end
1941
				local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
1942
				local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1943
				HD.Parent = RAGDOLL
1944
				CreateSound("264486467", RAGTORSO, 10, 1)
1945
				local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1946
				for i = 0, 2, 0.1 / Animation_Speed do
1947
					Swait()
1948
					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)
1949
					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)
1950
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1951
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1952
					if ANIM == "Idle" then
1953
						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)
1954
						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)
1955
					elseif ANIM == "Walk" then
1956
						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)
1957
						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)
1958
					elseif ANIM == "Jump" or ANIM == "Fall" then
1959
						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)
1960
						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)
1961
					end
1962
				end
1963
				HEADWELD:remove()
1964
				for i = 0, 0.5, 0.1 / Animation_Speed do
1965
					Swait()
1966
					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)
1967
					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)
1968
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1969
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1970
					if ANIM == "Idle" then
1971
						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)
1972
						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)
1973
					elseif ANIM == "Walk" then
1974
						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)
1975
						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)
1976
					elseif ANIM == "Jump" or ANIM == "Fall" then
1977
						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)
1978
						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)
1979
					end
1980
				end
1981
				CreateSound("907333406", Torso, 10, 1)
1982
				for i = 0, 0.25, 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)), 0.5 / Animation_Speed)
1985
					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)
1986
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1987
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1988
					if ANIM == "Idle" then
1989
						RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1990
						LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1991
					elseif ANIM == "Walk" then
1992
						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)
1993
						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)
1994
					elseif ANIM == "Jump" or ANIM == "Fall" then
1995
						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)
1996
						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)
1997
					end
1998
				end
1999
				RAGWELD:remove()
2000
				local bv = Instance.new("BodyVelocity")
2001
				bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2002
				bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
2003
				bv.Parent = RAGTORSO
2004
				Debris:AddItem(bv, 0.05)
2005
				Debris:AddItem(RAGDOLL, 5)
2006
				for i = 0, 0.15, 0.1 / Animation_Speed do
2007
					Swait()
2008
					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)
2009
					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)
2010
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2011
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2012
					if ANIM == "Idle" then
2013
						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)
2014
						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)
2015
elseif ANIM == "Walk" then
2016
						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)
2017
						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)
2018
					elseif ANIM == "Jump" or ANIM == "Fall" then
2019
						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)
2020
						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)
2021
					end
2022
				end
2023
				UNANCHOR = true
2024
				RootPart.Anchored = false
2025
			end
2026
		else
2027
			UNANCHOR = false
2028
			RootPart.Anchored = true
2029
			for i = 0, 0.5, 0.1 / Animation_Speed do
2030
				Swait()
2031
				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)
2032
				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)
2033
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2034
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2035
				if ANIM == "Idle" then
2036
					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)
2037
					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)
2038
				elseif ANIM == "Walk" then
2039
					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)
2040
					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)
2041
				elseif ANIM == "Jump" or ANIM == "Fall" then
2042
					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)
2043
					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)
2044
				end
2045
			end
2046
			for i = 0, 0.25, 0.1 / Animation_Speed do
2047
				Swait()
2048
				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)
2049
				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)
2050
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2051
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2052
				if ANIM == "Idle" then
2053
					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)
2054
					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)
2055
elseif ANIM == "Walk" then
2056
					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)
2057
					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)
2058
				elseif ANIM == "Jump" or ANIM == "Fall" then
2059
					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)
2060
					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)
2061
				end
2062
			end
2063
			WLD:remove()
2064
			TARGET.Parent:BreakJoints()
2065
			for _, c in pairs(TARGET.Parent:GetChildren()) do
2066
				if c:IsA("BasePart") then
2067
					local bv = Instance.new("BodyVelocity")
2068
					bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2069
					bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
2070
					bv.Parent = c
2071
					Debris:AddItem(bv, 0.05)
2072
				end
2073
			end
2074
			for i = 0, 0.15, 0.1 / Animation_Speed do
2075
				Swait()
2076
				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)
2077
				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)
2078
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2079
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2080
				if ANIM == "Idle" then
2081
					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)
2082
					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)
2083
				elseif ANIM == "Walk" then
2084
					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)
2085
					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)
2086
				elseif ANIM == "Jump" or ANIM == "Fall" then
2087
					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)
2088
					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)
2089
				end
2090
			end
2091
			UNANCHOR = true
2092
			RootPart.Anchored = false
2093
		end
2094
	end
2095
	ATTACK = false
2096
	Rooted = false
2097
end
2098
2099
function Taunt()
2100
	ATTACK = true
2101
	Rooted = true
2102
	CreateSound("865772398", Character, 10, 1)
2103
    chatfunc("Foolish Decision..")
2104
	for i=0, 1, 0.1 / Animation_Speed do
2105
		Swait()
2106
		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)
2107
		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)
2108
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2109
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2110
		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)
2111
		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)
2112
	end
2113
	for i=0, 2, 0.1 / Animation_Speed do
2114
		Swait()
2115
		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)
2116
		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)
2117
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2118
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2119
		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)
2120
		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)
2121
	end
2122
	ATTACK = false
2123
	Rooted = false
2124
end
2125
2126
function Taunt2()
2127
	CreateSound(907331307, Torso, 50, 0.9, false)
2128
    chatfunc("You have failed.")
2129
	for i=0, 1, 0.1 / Animation_Speed do
2130
		Swait()
2131
		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)
2132
		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)
2133
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2134
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2135
		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)
2136
		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)
2137
	end
2138
	for i=0, 2, 0.1 / Animation_Speed do
2139
		Swait()
2140
		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)
2141
		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)
2142
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2143
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2144
		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)
2145
		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)
2146
	end
2147
end
2148
2149
function Imperfect_Command()
2150
	ATTACK = true
2151
	Rooted = true
2152
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2153
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
2154
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
2155
		if TORSO then
2156
			local GYRO = IT("BodyGyro", RootPart)
2157
			GYRO.D = 750
2158
			GYRO.P = 2000
2159
			GYRO.MaxTorque = VT(0, 40000, 0)
2160
			CreateSound("907330103", Torso, 10, 1)
2161
			for i = 0, 1.6, 0.1 / Animation_Speed do
2162
				Swait()
2163
				WACKYEFFECT({
2164
					Time = 5,
2165
					EffectType = "Round Slash",
2166
					Size = VT(0, 0, 0),
2167
					Size2 = VT(0.01, 0, 0.01),
2168
					Transparency = 0.5,
2169
					Transparency2 = 1,
2170
					CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2171
					MoveToPos = nil,
2172
					RotationX = MRANDOM(-50, 50) / 10,
2173
					RotationY = MRANDOM(-50, 50) / 10,
2174
					RotationZ = MRANDOM(-50, 50) / 10,
2175
					Material = "Neon",
2176
					Color = C3(1, 0, 0),
2177
					SoundID = nil,
2178
					SoundPitch = nil,
2179
					SoundVolume = nil
2180
				})
2181
				GYRO.cframe = CF(RootPart.Position, TORSO.Position)
2182
				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)
2183
				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)
2184
				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)
2185
				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)
2186
				if ANIM == "Idle" then
2187
					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)
2188
					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)
2189
				elseif ANIM == "Walk" then
2190
					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)
2191
					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)
2192
				elseif ANIM == "Jump" or ANIM == "Fall" then
2193
					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)
2194
					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)
2195
				end
2196
			end
2197
			GYRO:remove()
2198
			for i = 1, 15 do
2199
				WACKYEFFECT({
2200
					Time = MRANDOM(15, 85),
2201
					EffectType = "Round Slash",
2202
					Size = VT(0, 0, 0),
2203
					Size2 = VT(0.3, 0, 0.3),
2204
					Transparency = 0.5,
2205
					Transparency2 = 1,
2206
					CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2207
					MoveToPos = nil,
2208
					RotationX = MRANDOM(-50, 50) / 10,
2209
					RotationY = MRANDOM(-50, 50) / 10,
2210
					RotationZ = MRANDOM(-50, 50) / 10,
2211
					Material = "Neon",
2212
					Color = C3(1, 0, 0),
2213
					SoundID = nil,
2214
					SoundPitch = nil,
2215
					SoundVolume = nil
2216
				})
2217
			end
2218
			local bv = Instance.new("BodyVelocity")
2219
			bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2220
			bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
2221
			bv.Parent = TORSO
2222
			Debris:AddItem(bv, 0.05)
2223
			CreateSound("1222405264", TORSO, 10, 1)
2224
			Petrify(HUM.Parent)
2225
			for i = 0, 0.5, 0.1 / Animation_Speed do
2226
				Swait()
2227
				WACKYEFFECT({
2228
					Time = 5,
2229
					EffectType = "Round Slash",
2230
					Size = VT(0, 0, 0),
2231
					Size2 = VT(0.01, 0, 0.01),
2232
					Transparency = 0.5,
2233
					Transparency2 = 1,
2234
					CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2235
					MoveToPos = nil,
2236
					RotationX = MRANDOM(-50, 50) / 10,
2237
					RotationY = MRANDOM(-50, 50) / 10,
2238
					RotationZ = MRANDOM(-50, 50) / 10,
2239
					Material = "Neon",
2240
					Color = C3(1, 0, 0),
2241
					SoundID = nil,
2242
					SoundPitch = nil,
2243
					SoundVolume = nil
2244
				})
2245
				GYRO.cframe = CF(RootPart.Position, TORSO.Position)
2246
				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)
2247
				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)
2248
				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)
2249
				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)
2250
				if ANIM == "Idle" then
2251
					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)
2252
					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)
2253
				elseif ANIM == "Walk" then
2254
					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)
2255
					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)
2256
				elseif ANIM == "Jump" or ANIM == "Fall" then
2257
					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)
2258
					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)
2259
				end
2260
			end
2261
		end
2262
	end
2263
	ATTACK = false
2264
	Rooted = false
2265
end
2266
2267
function Perfect_Command()
2268
ATTACK = true
2269
Rooted = true
2270
        chatfunc("Weaklings...")
2271
        CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
2272
	    CreateSound("1368605755", Effects, 10, 1)
2273
	    MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
2274
		ApplyAoE(Torso.Position, 9999, 0, 0, 0, true)
2275
ATTACK = false
2276
Rooted = false
2277
end
2278
2279
function killnearest2(position,range,maxstrength)
2280
	for i,v in ipairs(workspace:GetChildren()) do
2281
	if v.ClassName == "Model" then
2282
		local body = v:GetChildren()
2283
			for part = 1, #body do
2284
				if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2285
					if(body[part].Position - position).Magnitude < range then
2286
						if v.ClassName == "Model" then
2287
							v:BreakJoints()
2288
						end
2289
						--table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
2290
						body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
2291
					end
2292
				end
2293
			end
2294
		end
2295
	end
2296
end
2297
2298
function killnearest(position,range,maxstrength,direction)
2299
	for i,v in ipairs(workspace:GetChildren()) do
2300
	local body = v:GetChildren()
2301
		for part = 1, #body do
2302
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2303
				if(body[part].Position - position).Magnitude < range then
2304
					if v.ClassName == "Model" then
2305
						--v:BreakJoints()
2306
					end
2307
					local POS = position
2308
					coroutine.resume(coroutine.create(function()
2309
						body[part].Anchored = true
2310
						body[part].Parent = Effects
2311
						body[part].CanCollide = true
2312
						local SIZE = body[part].Size
2313
						body[part].Material = "Neon"
2314
						CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
2315
						for i = 1, 75 do
2316
							Swait()
2317
							body[part].Color = Color3.fromRGB(cR,cG,cB)
2318
							body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2319
						end
2320
						coroutine.resume(coroutine.create(function()
2321
							while true do
2322
								Swait()
2323
								body[part].Color = Color3.fromRGB(cR,cG,cB)
2324
								body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2325
							end
2326
						end))
2327
						body[part].Anchored = false
2328
						body[part].Velocity = direction.lookVector*maxstrength
2329
					end))
2330
				end
2331
			end
2332
		end
2333
		if v.ClassName == "Part" then
2334
			if v.Anchored == false and (v.Position - position).Magnitude < range then
2335
				local POS = position
2336
				coroutine.resume(coroutine.create(function()
2337
					v.Anchored = true
2338
					v.Parent = Effects
2339
					local SIZE = v.Size
2340
					v.Material = "Neon"
2341
					CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
2342
					for i = 1, 75 do
2343
						Swait()
2344
						v.Color = Color3.fromRGB(cR,cG,cB)
2345
						v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2346
					end
2347
					coroutine.resume(coroutine.create(function()
2348
						while true do
2349
							Swait()
2350
							v.Color = Color3.fromRGB(cR,cG,cB)
2351
							v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2352
						end
2353
					end))
2354
					v.Anchored = false
2355
					v.Velocity = direction.lookVector*maxstrength
2356
				end))
2357
			end
2358
		end
2359
	end
2360
end
2361
2362
function VanishPlayer()
2363
	tecks2.TextTransparency = 1
2364
	tecks2.TextStrokeTransparency = 1
2365
	for _, c in pairs(Character:GetChildren()) do
2366
		if c.ClassName == "Part" then
2367
			c.Transparency = 0
2368
			if c:FindFirstChildOfClass("Decal") then
2369
				c:FindFirstChildOfClass("Decal").Transparency = 1
2370
			end
2371
			if c:FindFirstChildOfClass("ParticleEmitter") then
2372
				c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
2373
			end
2374
		elseif c.ClassName == "Accessory" then
2375
			c.Handle.Transparency = 0
2376
			if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
2377
				c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
2378
			end
2379
		end
2380
	end
2381
end
2382
2383
function Reappear()
2384
	tecks2.TextTransparency = 0
2385
	tecks2.TextStrokeTransparency = 0
2386
	for _, c in pairs(Character:GetChildren()) do
2387
		if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
2388
			c.Transparency = 0
2389
			if c:FindFirstChildOfClass("Decal") then
2390
				c:FindFirstChildOfClass("Decal").Transparency = 0
2391
			end
2392
			if c:FindFirstChildOfClass("ParticleEmitter") then
2393
				c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
2394
			end
2395
		elseif c.ClassName == "Accessory" then
2396
			c.Handle.Transparency = 0
2397
			if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
2398
				c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
2399
			end
2400
		end
2401
	end
2402
end
2403
2404
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
2405
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
2406
	local mesh
2407
	if KIND == "Base" then
2408
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
2409
	elseif KIND == "Thin" then
2410
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
2411
	elseif KIND == "Round" then
2412
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
2413
	end
2414
	wave.CFrame = CFRAME
2415
	coroutine.resume(coroutine.create(function(PART)
2416
		for i = 1, WAIT do
2417
			Swait()
2418
			mesh.Scale = mesh.Scale + GROW / 10
2419
			wave.Transparency = wave.Transparency + 0.5 / WAIT
2420
			if wave.Transparency > 0.99 then
2421
				wave:remove()
2422
			end
2423
		end
2424
	end))
2425
end
2426
2427
function Orb()
2428
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
2429
	if HITFLOOR ~= nil then
2430
		do
2431
			local HITBODIES = {}
2432
			ATTACK = true
2433
			Rooted = true
2434
			local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "ABSOLUTEUM", VT(0, 0, 0))
2435
			MakeForm(ABSOLUTE, "Ball")
2436
			CreateSound("416200578", RootPart, 10, 0.7)
2437
			for i = 0, 8, 0.1 / Animation_Speed do
2438
				Swait()
2439
				ABSOLUTE.Size = ABSOLUTE.Size + VT(0.75, 0.75, 0.75)
2440
				ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
2441
				ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
2442
				local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(3, 3, 3))
2443
				MakeForm(CHARGE, "Ball")
2444
				CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
2445
				FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
2446
				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)
2447
				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)
2448
				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)
2449
				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)
2450
				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)
2451
				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)
2452
			end
2453
			CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Torso, 10, 0.9)
2454
			CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
2455
			for i = 1, 45 do
2456
				Swait()
2457
				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)
2458
				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)
2459
				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)
2460
				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)
2461
				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)
2462
				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)
2463
			end
2464
			coroutine.resume(coroutine.create(function()
2465
				local IMPACT = false
2466
				local BULLET = ABSOLUTE
2467
				MakeForm(BULLET, "Ball")
2468
				BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
2469
				for i = 1, 500 do
2470
					Swait()
2471
					BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
2472
					local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
2473
					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)
2474
					if HIT ~= nil then
2475
						IMPACT = true
2476
						break
2477
					end
2478
				end
2479
				if IMPACT == false then
2480
					for i = 1, 40 do
2481
						Swait()
2482
						BULLET.Size = BULLET.Size * 0.9
2483
					end
2484
					BULLET:remove()
2485
				else
2486
					CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
2487
					for i = 1, 175 do
2488
						Swait()
2489
						BULLET.Size = BULLET.Size * 0.99
2490
						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)
2491
					end
2492
					CreateSound("438666001", BULLET, 10, 3)
2493
					Swait(35)
2494
					BULLET.Transparency = 1
2495
					for i = 1, 20 do
2496
						for e = 1, 5 do
2497
							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)
2498
							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)
2499
						end
2500
						AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
2501
						CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
2502
						CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
2503
						MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
2504
						Swait(5)
2505
						for e = 1, #HITBODIES do
2506
							if HITBODIES[e] ~= nil then
2507
								local BOD = HITBODIES[e]
2508
								local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
2509
								if TORS then
2510
									BOD:BreakJoints()
2511
			                        Petrify(HUM.Parent)
2512
                                    C3(193,223,240)
2513
									for _, c in pairs(BOD:GetChildren()) do
2514
										if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2515
											local bv = Instance.new("BodyVelocity")
2516
											bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2517
											bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
2518
											bv.Parent = c
2519
											Debris:AddItem(bv, 0.2)
2520
										end
2521
									end
2522
								end
2523
							end
2524
						end
2525
						CreateWave(VT(0, 200, 0), 75, CF(BULLET.Position), true, -15, "Maroon", VT(i, 0, i) * 2)
2526
					end
2527
					MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(120, 120, 120))
2528
					Debris:AddItem(BULLET, 10)
2529
				end
2530
			end))
2531
			ATTACK = false
2532
			Rooted = false
2533
		end
2534
	end
2535
end
2536
2537
function Slice2(SIZE,WAIT,CFRAME,COLOR,GROW)
2538
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really black"), "Effect", VT(1,1,1), true)
2539
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
2540
	wave.CFrame = CFRAME
2541
	coroutine.resume(coroutine.create(function(PART)
2542
		for i = 1, WAIT do
2543
			Swait()
2544
			mesh.Scale = mesh.Scale * GROW
2545
			wave.Transparency = wave.Transparency + (0.5/WAIT)
2546
			if wave.Transparency > 0.99 then
2547
				wave:remove()
2548
			end
2549
		end
2550
	end))
2551
end
2552
2553
function swait(num)
2554
	if num == 0 or num == nil then
2555
		ArtificialHB.Event:wait()
2556
	else
2557
		for i = 0, num do
2558
			ArtificialHB.Event:wait()
2559
		end
2560
	end
2561
end
2562
2563
function ChaosWorld()
2564
	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)
2565
	CHOICE = 6
2566
2567
	chatfunc("I am bored...")
2568
	for i = 0, 12, .1 do
2569
		swait(0.35)
2570
end
2571
2572
	chatfunc("Time to cause some chaos!")
2573
	for i = 0, 16, .1 do
2574
end
2575
swait(0.15)
2576
	CreateWave2(0,4,true,0.2,45,RootPart,-5)
2577
	CreateWave2(0,4.5,true,-0.2,40,RootPart,-5)
2578
	CreateWave2(0,5,true,0.2,35,RootPart,-5)
2579
	CreateWave2(0,5.5,true,-0.2,30,RootPart,-5)
2580
	CreateWave2(0,6,true,0.2,25,RootPart,-5)
2581
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Bright orange",VT(25,25,25))
2582
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Bright orange",VT(25,25,25))
2583
	CreateSound("1368605755", Effects, 10, 1)
2584
2585
back2 = CreateSound(177604015, Character, 9999, 0.9, true)
2586
ChaosForm = true
2587
local sillsky2 = Instance.new('Sky', game:GetService'Lighting')
2588
sillsky2.SkyboxBk = "rbxassetid://1012890"
2589
sillsky2.SkyboxDn = "rbxassetid://1012891"
2590
sillsky2.SkyboxFt = "rbxassetid://1012887"
2591
sillsky2.SkyboxLf = "rbxassetid://1012889"
2592
sillsky2.SkyboxRt = "rbxassetid://1012888"
2593
sillsky2.SkyboxUp = "rbxassetid://1014449"
2594
sillsky2.StarCount = 0
2595
sillsky2.SunAngularSize = 0
2596
sillsky2.MoonAngularSize = 0
2597
sillsky2.MoonTextureId = ""
2598
sillsky2.CelestialBodiesShown = false
2599
game.Lighting.FogColor = BRICKC"Bright orange".Color
2600
game.Lighting.FogEnd = 1400
2601
end
2602
2603
function DemonWorld()
2604
	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)
2605
	CHOICE = 6
2606
2607
	chatfunc("All of these fools...")
2608
	for i = 0, 12, .1 do
2609
		swait(0.35)
2610
end
2611
2612
	chatfunc("Its time to  p e r i s h.")
2613
	for i = 0, 16, .1 do
2614
end
2615
swait(0.15)
2616
	CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(1000,1000,1000))
2617
	CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(75,75,75))
2618
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25))
2619
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25))
2620
	CreateSound("1368605755", Effects, 10, 1)
2621
	CreateSound("265201042", Effects, 10, 0.5)
2622
2623
back = CreateSound(1192655599, Character, 9999, 1, true)
2624
DemonForm = true
2625
local sillsky = Instance.new('Sky', game:GetService'Lighting')
2626
sillsky.SkyboxBk = "rbxassetid://157712259"
2627
sillsky.SkyboxDn = "rbxassetid://157712247"
2628
sillsky.SkyboxFt = "rbxassetid://157712266"
2629
sillsky.SkyboxLf = "rbxassetid://157712240"
2630
sillsky.SkyboxRt = "rbxassetid://157712254"
2631
sillsky.SkyboxUp = "rbxassetid://157712276"
2632
sillsky.StarCount = 0
2633
sillsky.SunAngularSize = 0
2634
sillsky.MoonAngularSize = 0
2635
sillsky.MoonTextureId = ""
2636
sillsky.CelestialBodiesShown = false
2637
game.Lighting.FogColor = Color3.new(1,0,0)
2638
game.Lighting.FogEnd = 1400
2639
end
2640
2641
function Eliminate()
2642
    chatfunc("Come here!")
2643
	ATTACK = true
2644
	Rooted = false
2645
	local HASGRABBED = false
2646
	local WELD = nil
2647
	local TORS = nil
2648
	local hitting = RightArm.Touched:Connect(function(hit)
2649
		if hit.Parent:FindFirstChild("Humanoid") then
2650
			if hit.Parent.Humanoid.Health ~= 0 then
2651
				UNANCHOR = false
2652
				TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
2653
				TORS.Anchored = true
2654
				TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
2655
           		WELD = weldBetween(RightArm,TORS)
2656
				HASGRABBED = true
2657
                chatfunc("Time to die.")
2658
				Rooted = true
2659
			end
2660
		end
2661
	end)
2662
	for i=0, 1, 0.1 / Animation_Speed do
2663
		Swait()
2664
		if HASGRABBED == true then
2665
			break
2666
		end
2667
		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)
2668
		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)
2669
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2670
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2671
		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)
2672
		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)
2673
	end
2674
	hitting:disconnect()
2675
	if HASGRABBED == true then
2676
		TORS.Anchored = false
2677
        RootPart.Anchored = true
2678
		for i=0, 2, 0.1 / Animation_Speed do
2679
			Swait()
2680
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2681
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2682
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2683
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2684
			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)
2685
			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)
2686
		end
2687
		CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(5,3,5))
2688
		CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(6,3,6))
2689
		local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
2690
		SOUNDPART.CFrame = RootPart.CFrame
2691
		Debris:AddItem(SOUNDPART,5)
2692
		CreateSound("260411131", SOUNDPART, 2, 1)
2693
		for i = 1, 15 do
2694
			Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
2695
		end
2696
		for i=0, 2, 0.1 / Animation_Speed do
2697
			Swait()
2698
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2699
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2700
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2701
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2702
			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)
2703
			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)
2704
		end
2705
		for i=0, 0.25, 0.1 / Animation_Speed do
2706
			Swait()
2707
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
2708
			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)
2709
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
2710
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
2711
			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)
2712
			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)
2713
		end
2714
		if HITFLOOR ~= nil then
2715
			CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(70,70,70),85)
2716
		end
2717
		CreateSound("1295446488", Effects, 10, MRANDOM(7, 12) / 10)
2718
		WELD:remove()
2719
		for i = 1, 25 do
2720
			Swait()
2721
			killnearest(RootPart.Position,45,100,Torso.CFrame)
2722
			CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(3,30,3))
2723
			CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(10,4,10))
2724
			CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(23,3,23))
2725
			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)
2726
			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)
2727
		end
2728
	end
2729
	UNANCHOR = true
2730
	ATTACK = false
2731
	Rooted = false
2732
end
2733
2734
function Fire_At_Will()
2735
	ATTACK = true
2736
	Rooted = false
2737
	local GYRO = IT("BodyGyro", RootPart)
2738
	GYRO.D = 750
2739
	GYRO.P = 2000
2740
	GYRO.MaxTorque = VT(0, 40000, 0)
2741
	for i = 0, 0.2, 0.1 / Animation_Speed do
2742
		Swait()
2743
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2744
		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)
2745
		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)
2746
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2747
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2748
		if ANIM == "Idle" then
2749
			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)
2750
			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)
2751
				elseif ANIM == "Walk" then
2752
			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)
2753
			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)
2754
		elseif ANIM == "Jump" or ANIM == "Fall" then
2755
			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)
2756
			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)
2757
		end
2758
	end
2759
	local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Sphere", VT(1, 1, 1), false)
2760
	MakeForm(BOMB, "Ball")
2761
	BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5)
2762
	local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
2763
	for i = 0, 1.5, 0.1 / Animation_Speed do
2764
		Swait()
2765
		if MRANDOM(1, 2) == 1 then
2766
			for E = 1, #EYES do
2767
				if EYES[E] ~= nil then
2768
					local EY = EYES[E]
2769
					local LIGHTNING = Zap({
2770
						StartPosition = EY.Position,
2771
						TargetPosition = BOMB.Position,
2772
						Character = Character,
2773
						Color = "Really red",
2774
						Individual = false,
2775
						MaxRange = 7,
2776
						SegmentLength = 1,
2777
						Offset = 0.3,
2778
						SIZE = 0.05
2779
					})
2780
					Debris:AddItem(LIGHTNING.LightningModel, 0.05)
2781
				end
2782
			end
2783
		end
2784
		BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
2785
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2786
		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)
2787
		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)
2788
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2789
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2790
		if ANIM == "Idle" then
2791
			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)
2792
			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)
2793
		elseif ANIM == "Walk" then
2794
			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)
2795
			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)
2796
		elseif ANIM == "Jump" or ANIM == "Fall" then
2797
			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)
2798
			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)
2799
		end
2800
	end
2801
	WACKYEFFECT({
2802
		Time = 25,
2803
		EffectType = "Ring",
2804
		Size = VT(0, 0, 0),
2805
		Size2 = VT(18.75, 18.75, 0),
2806
		Transparency = 0.7,
2807
		Transparency2 = 1,
2808
		CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
2809
		MoveToPos = nil,
2810
		RotationX = 0,
2811
		RotationY = 0,
2812
		RotationZ = 0,
2813
		Material = "Neon",
2814
		Color = BOMB.Color,
2815
		SoundID = nil,
2816
		SoundPitch = nil,
2817
		SoundVolume = nil
2818
	})
2819
	WACKYEFFECT({
2820
		Time = 50,
2821
		EffectType = "Ring",
2822
		Size = VT(0, 0, 0),
2823
		Size2 = VT(75, 75, 0),
2824
		Transparency = 0.7,
2825
		Transparency2 = 1,
2826
		CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
2827
		MoveToPos = nil,
2828
		RotationX = 0,
2829
		RotationY = 0,
2830
		RotationZ = 0,
2831
		Material = "Neon",
2832
		Color = BOMB.Color,
2833
		SoundID = nil,
2834
		SoundPitch = nil,
2835
		SoundVolume = nil
2836
	})
2837
	BOMB.Anchored = true
2838
	WELD:remove()
2839
	GYRO:remove()
2840
	coroutine.resume(coroutine.create(function()
2841
		BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
2842
		for i = 1, 500 do
2843
			Swait()
2844
			BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
2845
			local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
2846
			if HITFLOOR ~= nil then
2847
				break
2848
			end
2849
		end
2850
		ApplyAoE(BOMB.Position, 375, 0, 0, 0, true)
2851
		for i = 1, 5 do
2852
			WACKYEFFECT({
2853
				Time = 50,
2854
				EffectType = "Sphere",
2855
				Size = BOMB.Mesh.Scale,
2856
				Size2 = VT(125, 125, 125) * i,
2857
				Transparency = 0.5,
2858
				Transparency2 = 1,
2859
				CFrame = BOMB.CFrame,
2860
				MoveToPos = nil,
2861
				RotationX = 0,
2862
				RotationY = 0,
2863
				RotationZ = 0,
2864
				Material = "Neon",
2865
				Color = BOMB.Color,
2866
				SoundID = 1222405264,
2867
				SoundPitch = 1,
2868
				SoundVolume = 10
2869
			})
2870
		end
2871
		local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 5, 0), BOMB.Position - VT(0, 5, 0)).lookVector, 15, Character)
2872
		if HITFLOOR then
2873
			CreateDebreeRing(HITFLOOR, HITPOS, 85, VT(85, 85, 85), 5)
2874
		end
2875
		BOMB.Transparency = 1
2876
		for i = 1, 35 do
2877
			Swait()
2878
			CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(2.5, 2.5, 2.5), 5, 150)
2879
		end
2880
		BOMB:remove()
2881
	end))
2882
	ATTACK = false
2883
	Rooted = false
2884
end
2885
2886
2887
2888
function Imperfect_Storm()
2889
	ATTACK = true
2890
	Rooted = false
2891
	for i = 0, 1, 0.1 / Animation_Speed do
2892
		Swait()
2893
		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)
2894
		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)
2895
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2896
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2897
		if ANIM == "Idle" then
2898
			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)
2899
			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)
2900
		elseif ANIM == "Walk" then
2901
			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)
2902
			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)
2903
		elseif ANIM == "Jump" or ANIM == "Fall" then
2904
			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)
2905
			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)
2906
		end
2907
	end
2908
	ATTACK = false
2909
	Rooted = false
2910
end
2911
2912
function MouseDown(Mouse)
2913
	if ATTACK == false then
2914
	end
2915
end
2916
function MouseUp(Mouse)
2917
	HOLD = false
2918
end
2919
2920
function KeyDown(Key)
2921
	KEYHOLD = true
2922
	if DemonForm == false then
2923
		if Key == "z" and ATTACK == false then
2924
			Neck_Snap()
2925
		end
2926
2927
		if Key == "b" and ATTACK == false then
2928
			Imperfect_Command()
2929
		end
2930
2931
		if Key == "c" and ATTACK == false then
2932
			Fire_At_Will()
2933
		end
2934
2935
		if Key == "e" and ATTACK == false then
2936
			Warp()
2937
		end
2938
2939
		if Key == "f" and ATTACK == false then
2940
			Eliminate()
2941
		end
2942
2943
        if Key == "t" and ATTACK == false then
2944
		    Taunt()
2945
        end
2946
2947
		if Key == "q" and ATTACK == false then
2948
			Orb()
2949
		end
2950
2951
        if Key == "p" and ATTACK == false then
2952
            DemonWorld()
2953
            SKILL2TEXT:remove()
2954
            SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Perfect Command", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
2955
            SKILL3TEXT:remove()
2956
            SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Fire at Will", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
2957
            SKILL7TEXT:remove()
2958
            SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Return", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
2959
        end
2960
2961
else
2962
2963
		if Key == "z" and ATTACK == false then
2964
			Neck_Snap()
2965
		end
2966
		if Key == "b" and ATTACK == false then
2967
			Perfect_Command()
2968
		end
2969
		if Key == "c" and ATTACK == false then
2970
		end
2971
		if Key == "e" and ATTACK == false then
2972
			Warp()
2973
		end
2974
		if Key == "f" and ATTACK == false then
2975
			Eliminate()
2976
		end
2977
2978
		if Key == "q" and ATTACK == false then
2979
			Orb()
2980
		end
2981
2982
        if Key == "t" and ATTACK == false then
2983
		    Taunt2()
2984
        end
2985
2986
        if Key == "p" and ATTACK == false then
2987
        DemonForm = false
2988
        SKILL2TEXT:remove()
2989
        SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Imperfect Command", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
2990
        SKILL3TEXT:remove()
2991
        SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Stone Ball", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
2992
        SKILL7TEXT:remove()
2993
        SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Demon Form", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
2994
		local sillsky = Instance.new('Sky', game:GetService'Lighting')
2995
        sillsky:remove()
2996
        back:remove()
2997
        game.Lighting.FogEnd = 90000000
2998
        CreateSound(464600985, Character, 99999, 0.8, false)
2999
        end
3000
end
3001
end
3002
3003
function KeyDown2(Key)
3004
	KEYHOLD = true
3005
	if ChaosForm == false then
3006
        if Key == "l" and ATTACK == false then
3007
            ChaosWorld()
3008
            SKILL8TEXT:remove()
3009
            SKILL8TEXT = CreateLabel(SKILL8FRAME, "[L] Return", SKILLTEXTCOLOR3, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
3010
        end
3011
else
3012
        if Key == "l" and ATTACK == false then
3013
            ChaosForm = false
3014
            SKILL8TEXT:remove()
3015
            SKILL8TEXT = CreateLabel(SKILL8FRAME, "[L] Chaos Form", SKILLTEXTCOLOR3, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
3016
		    local sillsky2 = Instance.new('Sky', game:GetService'Lighting')
3017
            sillsky2:remove()
3018
            back2:remove()
3019
            game.Lighting.FogEnd = 90000000
3020
            CreateSound(464600985, Character, 99999, 0.8, false)
3021
        end
3022
end
3023
end
3024
3025
function KeyUp(Key)
3026
	KEYHOLD = false
3027
end
3028
Mouse.Button1Down:connect(function(NEWKEY)
3029
	MouseDown(NEWKEY)
3030
end)
3031
Mouse.Button1Up:connect(function(NEWKEY)
3032
	MouseUp(NEWKEY)
3033
end)
3034
Mouse.KeyDown:connect(function(NEWKEY)
3035
	KeyDown(NEWKEY)
3036
end)
3037
Mouse.KeyDown:connect(function(NEWKEY)
3038
	KeyDown2(NEWKEY)
3039
end)
3040
Mouse.KeyUp:connect(function(NEWKEY)
3041
	KeyUp(NEWKEY)
3042
end)
3043
function unanchor()
3044
	if UNANCHOR == true then
3045
		RootPart.Anchored = false
3046
	end
3047
	local CHILDREN = Character:GetDescendants()
3048
	for index, CHILD in pairs(CHILDREN) do
3049
		if CHILD:IsA("BasePart") and CHILD ~= RootPart and CHILD.Parent ~= Effects and CHILD.Parent.Parent ~= Effects then
3050
			CHILD.Anchored = false
3051
		end
3052
	end
3053
end
3054
Humanoid.Changed:connect(function(Jump)
3055
	if Jump == "Jump" and Disable_Jump == true then
3056
		Humanoid.Jump = false
3057
	end
3058
end)
3059
while true do
3060
	Swait()
3061
	script.Parent = WEAPONGUI
3062
	ANIMATE.Parent = nil
3063
	if Humanoid then
3064
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
3065
		IDLEANIMATION:Play()
3066
	end
3067
	for RW = 1, #RWINGS do
3068
		if RWINGS[RW] ~= nil then
3069
			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)
3070
		end
3071
	end
3072
	for LW = 1, #LWINGS do
3073
		if LWINGS[LW] ~= nil then
3074
			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)
3075
		end
3076
	end
3077
	SINE = SINE + CHANGE
3078
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
3079
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
3080
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 + Humanoid.HipHeight, Character)
3081
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
3082
	if FINISHEDINTRO == true then
3083
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
3084
			ANIM = "Jump"
3085
			if ATTACK == false then
3086
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3087
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3088
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
3089
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3090
				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)
3091
				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)
3092
			end
3093
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
3094
			ANIM = "Fall"
3095
			if ATTACK == false then
3096
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3097
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3098
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
3099
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3100
				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)
3101
				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)
3102
			end
3103
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
3104
			ANIM = "Idle"
3105
			if ATTACK == false then
3106
				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)
3107
				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)
3108
				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)
3109
				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)
3110
				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)
3111
				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)
3112
			end
3113
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
3114
			ANIM = "Walk"
3115
if ATTACK == false then
3116
				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)
3117
				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)
3118
				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)
3119
				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)
3120
				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)
3121
				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)
3122
			end
3123
		end
3124
		if TORSOVELOCITY > 1 then
3125
			Humanoid.HipHeight = 1
3126
		else
3127
			Humanoid.HipHeight = 0
3128
		end
3129
	elseif FINISHEDINTRO == false then
3130
		Humanoid.HipHeight = 0
3131
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3132
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3133
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3134
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3135
		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)
3136
		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)
3137
	end
3138
	unanchor()
3139
	Humanoid.MaxHealth = 1.0E298
3140
	Humanoid.Health = 1.0E298
3141
	if Rooted == false then
3142
		Disable_Jump = false
3143
		Humanoid.WalkSpeed = Speed
3144
	elseif Rooted == true then
3145
		Disable_Jump = true
3146
		Humanoid.WalkSpeed = 0
3147
	end
3148
if DemonForm == false then
3149
    sick.Parent = Torso
3150
    sick.Playing = true
3151
    sick.Volume = 5
3152
    sick.Pitch = 1
3153
else
3154
    sick.Parent = Torso
3155
    sick.Playing = false
3156
    sick.Volume = 0
3157
    sick.Pitch = 1
3158
end
3159
3160
if ChaosForm == false then
3161
    sick.Parent = Torso
3162
    sick.Playing = true
3163
    sick.Volume = 5
3164
    sick.Pitch = 1
3165
else
3166
    sick.Parent = Torso
3167
    sick.Playing = false
3168
    sick.Volume = 0
3169
    sick.Pitch = 1
3170
end
3171
	BLINKLOOP = BLINKLOOP + 1
3172
	if BLINKLOOP >= 325 then
3173
		BLINKLOOP = 0
3174
		Blink()
3175
	end
3176
	if Character:FindFirstChildOfClass("Accessory") then
3177
		Character:FindFirstChildOfClass("Accessory"):remove()
3178
	end
3179
	if Character:FindFirstChildOfClass("Shirt") then
3180
		Character:FindFirstChildOfClass("Shirt"):remove()
3181
	end
3182
	if Character:FindFirstChildOfClass("Pants") then
3183
		Character:FindFirstChildOfClass("Pants"):remove()
3184
	end
3185
	if Character:FindFirstChildOfClass("Cloth") then
3186
		Character:FindFirstChildOfClass("Cloth"):remove()
3187
	end
3188
	if Head:FindFirstChildOfClass("Sound") then
3189
		Head:FindFirstChildOfClass("Sound"):remove()
3190
	end
3191
	if INTROING == false and FINISHEDINTRO == false then
3192
		if INSTANT == false then
3193
			Intro()
3194
		else
3195
			FINISHEDINTRO = true
3196
			Face()
3197
			RightWing()
3198
			LeftWing()
3199
		end
3200
	end
3201
	if Head:FindFirstChild("face") then
3202
		Head.face:remove()
3203
	end
3204
	refit()
3205
	Humanoid.PlatformStand = false
3206
end
3207
3208
if Humanoid.Health < 1.0E298 then
3209
refit()
3210
chatfunc("Futile.")
3211
Humanoid.MaxHealth = 1.0E298
3212
Humanoid.Health = Humanoid.Health + 1.0E298
3213
end
3214
3215
--//====================================================\\--
3216
--||			  		 END OF SCRIPT                  ||--
3217
--\\====================================================//--