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