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