View difference between Paste ID: k71Zp8Q6 and zzasFdLp
SHOW: | | - or go back to the newest paste.
1-
--https://github.com/Mokiros/roblox-FE-compatibility
1+
2-
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2+
3-
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3+
4-
local RealPlayer = Player
4+
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
5+
6
	local env = getfenv(func)
7
	local newenv = setmetatable({},{
8
		__index = function(self,k)
9
			if k=="script" then
10
				return var
11
			else
12
				return env[k]
13
			end
14
		end,
15
	})
16
	setfenv(func,newenv)
17
	return func
18
end
19
cors = {}
20
mas = Instance.new("Model",game:GetService("Lighting"))
21
LocalScript0 = Instance.new("LocalScript")
22
ParticleEmitter1 = Instance.new("ParticleEmitter")
23
ParticleEmitter2 = Instance.new("ParticleEmitter")
24
BillboardGui3 = Instance.new("BillboardGui")
25
TextLabel4 = Instance.new("TextLabel")
26
TextLabel5 = Instance.new("TextLabel")
27
ParticleEmitter6 = Instance.new("ParticleEmitter")
28
LocalScript7 = Instance.new("LocalScript")
29
NumberValue8 = Instance.new("NumberValue")
30
NumberValue9 = Instance.new("NumberValue")
31
BoolValue10 = Instance.new("BoolValue")
32
ParticleEmitter11 = Instance.new("ParticleEmitter")
33
ParticleEmitter12 = Instance.new("ParticleEmitter")
34
ParticleEmitter13 = Instance.new("ParticleEmitter")
35
ParticleEmitter14 = Instance.new("ParticleEmitter")
36
ParticleEmitter15 = Instance.new("ParticleEmitter")
37
ParticleEmitter16 = Instance.new("ParticleEmitter")
38
ParticleEmitter17 = Instance.new("ParticleEmitter")
39
ParticleEmitter18 = Instance.new("ParticleEmitter")
40
ParticleEmitter19 = Instance.new("ParticleEmitter")
41
ParticleEmitter20 = Instance.new("ParticleEmitter")
42
Part21 = Instance.new("Part")
43
SpecialMesh22 = Instance.new("SpecialMesh")
44
Folder23 = Instance.new("Folder")
45
CharacterMesh24 = Instance.new("CharacterMesh")
46
CharacterMesh25 = Instance.new("CharacterMesh")
47
CharacterMesh26 = Instance.new("CharacterMesh")
48
CharacterMesh27 = Instance.new("CharacterMesh")
49
CharacterMesh28 = Instance.new("CharacterMesh")
50
Part29 = Instance.new("Part")
51
SpecialMesh30 = Instance.new("SpecialMesh")
52
LocalScript0.Name = "SearingEmperor"
53
LocalScript0.Parent = mas
54
table.insert(cors,sandbox(LocalScript0,function()
55
56
local Player = game.Players.localPlayer
57
local Character = Player.Character
58
local Humanoid = Character.Humanoid
59
local Mouse = Player:GetMouse()
60
local LeftArm = Character["Left Arm"]
61
local RightArm = Character["Right Arm"]
62
local LeftLeg = Character["Left Leg"]
63
local RightLeg = Character["Right Leg"]
64
local Head = Character.Head
65
local Torso = Character.Torso
66
local Camera = game.Workspace.CurrentCamera
67
local RootPart = Character.HumanoidRootPart
68
local RootJoint = RootPart.RootJoint
69
local attack = false
70
local Anim = 'Idle'
71
local Lighty = game:GetService"Lighting"
72
local attacktype = 1
73
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
74
local velocity = RootPart.Velocity.y
75
local sine = 0
76
local change = 1
77
local Create = LoadLibrary("RbxUtility").Create
78
79
local chara = Character
80
local m = Create("Model"){
81
	Parent = Character,
82
	Name = "WeaponModel",
83
}
84
function chat(...)
85
	local txxt = {...}
86
	local ch = coroutine.wrap(function()
87
		if chara:FindFirstChild("Chatt")~= nil then
88
			Character:FindFirstChild("Chatt"):destroy()
89
		end
90
		local txt = Instance.new("BillboardGui", chara)
91
		txt.Adornee = chara.Head
92
		txt.Name = "Chatt"
93
		txt.Size = UDim2.new(2, 0, 1.2, 0)
94
		txt.StudsOffset = Vector3.new(-9, 7, 0)
95
		local text = Instance.new("TextLabel", txt)
96
		text.Size = UDim2.new(10, 0, 7, 0)
97
		text.TextSize = 32
98
		text.Font = Enum.Font.Antique
99
		text.TextScaled = false
100
		text.BackgroundTransparency = 1 
101
		text.TextColor3 = Color3.new(0,0,0)
102
		text.TextStrokeTransparency = 0
103
		text.TextStrokeColor3 = Color3.new(66/255, 0/255, 127/255)
104
		text.Text = ""
105
		txxt = table.concat(txxt,"\t")
106
		for i = 1, #txxt do
107
			text.Text = txxt:sub(1,i)
108
			
109
		end
110
		wait(2)
111
		for trans = 0,1,00.1 do
112
			text.TextTransparency = trans
113
			text.TextStrokeTransparency = trans
114
			wait()
115
		end
116
		wait()
117
		txt:destroy()
118
	end)
119
	
120
	ch(...)
121
end
122
Player.Chatted:connect(chat)
123
124
wait(0.2)
125
126
Player = game:GetService("Players").LocalPlayer
127
PlayerGui = Player.PlayerGui
128
Cam = workspace.CurrentCamera
129
Backpack = Player.Backpack
130
Character = Player.Character
131
Humanoid = Character.Humanoid
132
Mouse = Player:GetMouse()
133
RootPart = Character["HumanoidRootPart"]
134
Torso = Character["Torso"]
135
Head = Character["Head"]
136
RightArm = Character["Right Arm"]
137
LeftArm = Character["Left Arm"]
138
RightLeg = Character["Right Leg"]
139
LeftLeg = Character["Left Leg"]
140
RootJoint = RootPart["RootJoint"]
141
Neck = Torso["Neck"]
142
RightShoulder = Torso["Right Shoulder"]
143
LeftShoulder = Torso["Left Shoulder"]
144
RightHip = Torso["Right Hip"]
145
LeftHip = Torso["Left Hip"]
146
Character.Archivable = true
147
Player:ClearCharacterAppearance()
148
149
IT = Instance.new
150
CF = CFrame.new
151
VT = Vector3.new
152
RAD = math.rad
153
C3 = Color3.new
154
UD2 = UDim2.new
155
BRICKC = BrickColor.new
156
ANGLES = CFrame.Angles
157
EULER = CFrame.fromEulerAnglesXYZ
158
COS = math.cos
159
ACOS = math.acos
160
SIN = math.sin
161
ASIN = math.asin
162
ABS = math.abs
163
MRANDOM = math.random
164
FLOOR = math.floor
165
166
--//=================================\\
167
--|| 	      USEFUL VALUES
168
--\\=================================//
169
170
Animation_Speed = 3
171
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
172
local Speed = 20
173
local SIZE = 1
174
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
175
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
176
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
177
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
178
local DAMAGEMULTIPLIER = 5
179
local ANIM = "Idle"
180
local ATTACK = false
181
local EQUIPPED = false
182
local HOLD = false
183
local COMBO = 1
184
local Rooted = false
185
local SINE = 0
186
local KEYHOLD = false
187
local CHANGE = 2 / Animation_Speed
188
local WALKINGANIM = false
189
local VALUE1 = false
190
local VALUE2 = false
191
local ROBLOXIDLEANIMATION = IT("Animation")
192
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
193
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
194
local ATANIM = IT("Animation")
195
ATANIM.Name = "Attack Animation"
196
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
197
--ROBLOXIDLEANIMATION.Parent = Humanoid
198
local WEAPONGUI = IT("ScreenGui", PlayerGui)
199
WEAPONGUI.Name = "Weapon GUI"
200
local Weapon = IT("Model")
201
Weapon.Name = "Adds"
202
local Effects = IT("Folder", Weapon)
203
Effects.Name = "Effects"
204
local ANIMATOR = Humanoid.Animator
205
local ANIMATE = Character.Animate
206
local UNANCHOR = true
207
local CLOCKLOOP = 0
208
local SONG = 1382488262
209
local CLOCKTARGET = nil
210
local CLOCKSPEED = 2.5
211
script.Parent = WEAPONGUI
212
local CLONE = Character:Clone()
213
CLONE.Parent = nil
214
Character.Archivable = false
215
local sick = Instance.new("Sound",Torso)
216
sick.Volume = 50
217
local REGENRATE = 1
218
local FULLREGEN = false
219
local POSEIDON = false
220
local EXPLOSIONSMALLSOUND = 439342426
221
local EXPLOSIONMEDIUMSOUND = 605005842
222
local EXPLOSIONLARGESOUND = 565538688
223
local CHARGE = 278641993
224
local POSEIDONSOUND = 374289727
225
local FIREBALLSOUND = 414517770
226
local BURNSOUND = 565777213
227
local FIREFIELD = false
228
local SEARING = false
229
local BODYPOS = nil
230
local GYRO = nil
231
local DIRECTTURN = false
232
local APPLYGYRO = true
233
local SONGS = {448290268,285883918,562367125,720006240,1604593557,306586318}
234
local CHOSENSONG = MRANDOM(1,#SONGS)
235
236
--//=================================\\
237
--\\=================================//
238
239
240
--//=================================\\
241
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
242
--\\=================================//
243
244
ArtificialHB = Instance.new("BindableEvent", script)
245
ArtificialHB.Name = "ArtificialHB"
246
247
script:WaitForChild("ArtificialHB")
248
249
frame = Frame_Speed
250
tf = 0
251
allowframeloss = false
252
tossremainder = false
253
lastframe = tick()
254
script.ArtificialHB:Fire()
255
256
game:GetService("RunService").Heartbeat:connect(function(s, p)
257
	tf = tf + s
258
	if tf >= frame then
259
		if allowframeloss then
260
			script.ArtificialHB:Fire()
261
			lastframe = tick()
262
		else
263
			for i = 1, math.floor(tf / frame) do
264
				script.ArtificialHB:Fire()
265
			end
266
		lastframe = tick()
267
		end
268
		if tossremainder then
269
			tf = 0
270
		else
271
			tf = tf - frame * math.floor(tf / frame)
272
		end
273
	end
274
end)
275
276
--//=================================\\
277
--\\=================================//
278
279
--//=================================\\
280
--|| 	      SOME FUNCTIONS
281
--\\=================================//
282
283
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
284
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
285
end
286
287
function PositiveAngle(NUMBER)
288
	if NUMBER >= 0 then
289
		NUMBER = 0
290
	end
291
	return NUMBER
292
end
293
294
function NegativeAngle(NUMBER)
295
	if NUMBER <= 0 then
296
		NUMBER = 0
297
	end
298
	return NUMBER
299
end
300
301
function Swait(NUMBER)
302
	if NUMBER == 0 or NUMBER == nil then
303
		ArtificialHB.Event:wait()
304
	else
305
		for i = 1, NUMBER do
306
			ArtificialHB.Event:wait()
307
		end
308
	end
309
end
310
311
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
312
	local NEWMESH = IT(MESH)
313
	if MESH == "SpecialMesh" then
314
		NEWMESH.MeshType = MESHTYPE
315
		if MESHID ~= "nil" and MESHID ~= "" then
316
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
317
		end
318
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
319
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
320
		end
321
	end
322
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
323
	NEWMESH.Scale = SCALE
324
	NEWMESH.Parent = PARENT
325
	return NEWMESH
326
end
327
328
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
329
	local NEWPART = IT("Part")
330
	NEWPART.formFactor = FORMFACTOR
331
	NEWPART.Reflectance = REFLECTANCE
332
	NEWPART.Transparency = TRANSPARENCY
333
	NEWPART.CanCollide = false
334
	NEWPART.Locked = true
335
	NEWPART.Anchored = true
336
	if ANCHOR == false then
337
		NEWPART.Anchored = false
338
	end
339
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
340
	NEWPART.Name = NAME
341
	NEWPART.Size = SIZE
342
	NEWPART.Position = Torso.Position
343
	NEWPART.Material = MATERIAL
344
	NEWPART:BreakJoints()
345
	NEWPART.Parent = PARENT
346
	return NEWPART
347
end
348
349
	local function weldBetween(a, b)
350
	    local weldd = Instance.new("ManualWeld")
351
	    weldd.Part0 = a
352
	    weldd.Part1 = b
353
	    weldd.C0 = CFrame.new()
354
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
355
	    weldd.Parent = a
356
	    return weldd
357
	end
358
359
360
function QuaternionFromCFrame(cf)
361
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
362
	local trace = m00 + m11 + m22
363
	if trace > 0 then 
364
		local s = math.sqrt(1 + trace)
365
		local recip = 0.5 / s
366
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
367
	else
368
		local i = 0
369
		if m11 > m00 then
370
			i = 1
371
		end
372
		if m22 > (i == 0 and m00 or m11) then
373
			i = 2
374
		end
375
		if i == 0 then
376
			local s = math.sqrt(m00 - m11 - m22 + 1)
377
			local recip = 0.5 / s
378
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
379
		elseif i == 1 then
380
			local s = math.sqrt(m11 - m22 - m00 + 1)
381
			local recip = 0.5 / s
382
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
383
		elseif i == 2 then
384
			local s = math.sqrt(m22 - m00 - m11 + 1)
385
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
386
		end
387
	end
388
end
389
 
390
function QuaternionToCFrame(px, py, pz, x, y, z, w)
391
	local xs, ys, zs = x + x, y + y, z + z
392
	local wx, wy, wz = w * xs, w * ys, w * zs
393
	local xx = x * xs
394
	local xy = x * ys
395
	local xz = x * zs
396
	local yy = y * ys
397
	local yz = y * zs
398
	local zz = z * zs
399
	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))
400
end
401
 
402
function QuaternionSlerp(a, b, t)
403
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
404
	local startInterp, finishInterp;
405
	if cosTheta >= 0.0001 then
406
		if (1 - cosTheta) > 0.0001 then
407
			local theta = ACOS(cosTheta)
408
			local invSinTheta = 1 / SIN(theta)
409
			startInterp = SIN((1 - t) * theta) * invSinTheta
410
			finishInterp = SIN(t * theta) * invSinTheta
411
		else
412
			startInterp = 1 - t
413
			finishInterp = t
414
		end
415
	else
416
		if (1 + cosTheta) > 0.0001 then
417
			local theta = ACOS(-cosTheta)
418
			local invSinTheta = 1 / SIN(theta)
419
			startInterp = SIN((t - 1) * theta) * invSinTheta
420
			finishInterp = SIN(t * theta) * invSinTheta
421
		else
422
			startInterp = t - 1
423
			finishInterp = t
424
		end
425
	end
426
	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
427
end
428
429
function Clerp(a, b, t)
430
	local qa = {QuaternionFromCFrame(a)}
431
	local qb = {QuaternionFromCFrame(b)}
432
	local ax, ay, az = a.x, a.y, a.z
433
	local bx, by, bz = b.x, b.y, b.z
434
	local _t = 1 - t
435
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
436
end
437
438
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
439
	local frame = IT("Frame")
440
	frame.BackgroundTransparency = TRANSPARENCY
441
	frame.BorderSizePixel = BORDERSIZEPIXEL
442
	frame.Position = POSITION
443
	frame.Size = SIZE
444
	frame.BackgroundColor3 = COLOR
445
	frame.BorderColor3 = BORDERCOLOR
446
	frame.Name = NAME
447
	frame.Parent = PARENT
448
	return frame
449
end
450
451
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
452
	local label = IT("TextLabel")
453
	label.BackgroundTransparency = 1
454
	label.Size = UD2(1, 0, 1, 0)
455
	label.Position = UD2(0, 0, 0, 0)
456
	label.TextColor3 = TEXTCOLOR
457
	label.TextStrokeTransparency = STROKETRANSPARENCY
458
	label.TextTransparency = TRANSPARENCY
459
	label.FontSize = TEXTFONTSIZE
460
	label.Font = TEXTFONT
461
	label.BorderSizePixel = BORDERSIZEPIXEL
462
	label.TextStrokeColor3 = C3(1,1,1)
463
	label.TextScaled = false
464
	label.Text = TEXT
465
	label.Name = NAME
466
	label.Parent = PARENT
467
	return label
468
end
469
470
function NoOutlines(PART)
471
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
472
end
473
474
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
475
	local NEWWELD = IT(TYPE)
476
	NEWWELD.Part0 = PART0
477
	NEWWELD.Part1 = PART1
478
	NEWWELD.C0 = C0
479
	NEWWELD.C1 = C1
480
	NEWWELD.Parent = PARENT
481
	return NEWWELD
482
end
483
484
local S = IT("Sound")
485
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
486
	local NEWSOUND = nil
487
	coroutine.resume(coroutine.create(function()
488
		NEWSOUND = S:Clone()
489
		NEWSOUND.Parent = PARENT
490
		NEWSOUND.Volume = VOLUME
491
		NEWSOUND.Pitch = PITCH
492
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
493
		NEWSOUND:play()
494
		if DOESLOOP == true then
495
			NEWSOUND.Looped = true
496
		else
497
			repeat wait(1) until NEWSOUND.Playing == false
498
			NEWSOUND:remove()
499
		end
500
	end))
501
	return NEWSOUND
502
end
503
504
function CFrameFromTopBack(at, top, back)
505
	local right = top:Cross(back)
506
	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)
507
end
508
509
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
510
function WACKYEFFECT(Table)
511
	local TYPE = (Table.EffectType or "Sphere")
512
	local SIZE = (Table.Size or VT(1,1,1))
513
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
514
	local TRANSPARENCY = (Table.Transparency or 0)
515
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
516
	local CFRAME = (Table.CFrame or Torso.CFrame)
517
	local MOVEDIRECTION = (Table.MoveToPos or nil)
518
	local ROTATION1 = (Table.RotationX or 0)
519
	local ROTATION2 = (Table.RotationY or 0)
520
	local ROTATION3 = (Table.RotationZ or 0)
521
	local MATERIAL = (Table.Material or "Neon")
522
	local COLOR = (Table.Color or C3(1,1,1))
523
	local TIME = (Table.Time or 45)
524
	local SOUNDID = (Table.SoundID or nil)
525
	local SOUNDPITCH = (Table.SoundPitch or nil)
526
	local SOUNDVOLUME = (Table.SoundVolume or nil)
527
	coroutine.resume(coroutine.create(function()
528
		local PLAYSSOUND = false
529
		local SOUND = nil
530
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
531
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
532
			PLAYSSOUND = true
533
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
534
		end
535
		EFFECT.Color = COLOR
536
		local MSH = nil
537
		if TYPE == "Sphere" then
538
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
539
		elseif TYPE == "Block" then
540
			MSH = IT("BlockMesh",EFFECT)
541
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
542
		elseif TYPE == "Wave" then
543
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
544
		elseif TYPE == "Ring" then
545
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
546
		elseif TYPE == "Slash" then
547
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
548
		elseif TYPE == "Round Slash" then
549
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
550
		elseif TYPE == "Swirl" then
551
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
552
		elseif TYPE == "Skull" then
553
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
554
		elseif TYPE == "Crystal" then
555
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
556
		end
557
		if MSH ~= nil then
558
			local MOVESPEED = nil
559
			if MOVEDIRECTION ~= nil then
560
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
561
			end
562
			local GROWTH = SIZE - ENDSIZE
563
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
564
			if TYPE == "Block" then
565
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
566
			else
567
				EFFECT.CFrame = CFRAME
568
			end
569
			for LOOP = 1, TIME+1 do
570
				Swait()
571
				MSH.Scale = MSH.Scale - GROWTH/TIME
572
				if TYPE == "Wave" then
573
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
574
				end
575
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
576
				if TYPE == "Block" then
577
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
578
				else
579
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
580
				end
581
				if MOVEDIRECTION ~= nil then
582
					local ORI = EFFECT.Orientation
583
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
584
					EFFECT.Orientation = ORI
585
				end
586
			end
587
			if PLAYSSOUND == false then
588
				EFFECT:remove()
589
			else
590
				repeat Swait() until SOUND.Playing == false
591
				EFFECT:remove()
592
			end
593
		else
594
			if PLAYSSOUND == false then
595
				EFFECT:remove()
596
			else
597
				repeat Swait() until SOUND.Playing == false
598
				EFFECT:remove()
599
			end
600
		end
601
	end))
602
end
603
604
function MakeForm(PART,TYPE)
605
	if TYPE == "Cyl" then
606
		local MSH = IT("CylinderMesh",PART)
607
	elseif TYPE == "Ball" then
608
		local MSH = IT("SpecialMesh",PART)
609
		MSH.MeshType = "Sphere"
610
	elseif TYPE == "Wedge" then
611
		local MSH = IT("SpecialMesh",PART)
612
		MSH.MeshType = "Wedge"
613
	end
614
end
615
616
Debris = game:GetService("Debris")
617
618
function Particles(Which,Parent,Enabled)
619
	if script:FindFirstChild(Which) then
620
		local PARTICLES = script:FindFirstChild(Which):Clone()
621
		PARTICLES.Parent = Parent
622
		PARTICLES.Name = "CurseParticles"
623
		if Enabled ~= true then	
624
			PARTICLES:Emit(Enabled)
625
			Debris:AddItem(PARTICLES,10)
626
		else
627
			PARTICLES.Enabled = true
628
			return PARTICLES
629
		end
630
	end
631
end
632
633
function CastProperRay(StartPos, EndPos, Distance, Ignore)
634
	local DIRECTION = CF(StartPos,EndPos).lookVector
635
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
636
end
637
638
function turnto(position)
639
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
640
end
641
642
--//=================================\\
643
--||	     WEAPON CREATION
644
--\\=================================//
645
646
Humanoid.Parent = nil
647
RootPart.Size = RootPart.Size*SIZE
648
Torso.Size = Torso.Size*SIZE
649
RightArm.Size = RightArm.Size*SIZE
650
RightLeg.Size = RightLeg.Size*SIZE
651
LeftArm.Size = LeftArm.Size*SIZE
652
LeftLeg.Size = LeftLeg.Size*SIZE
653
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
654
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
655
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
656
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
657
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
658
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
659
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
660
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
661
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
662
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
663
Head.Size = Head.Size*SIZE
664
RootJoint.Parent = RootPart
665
Neck.Parent = Torso
666
RightShoulder.Parent = Torso
667
LeftShoulder.Parent = Torso
668
RightHip.Parent = Torso
669
LeftHip.Parent = Torso
670
671
local GUI = script.NameGui
672
GUI.Parent = RootPart
673
--GUI.PlayerToHideFrom = Player
674
Humanoid.DisplayDistanceType = "None"
675
GUI.Enabled = true
676
local Pauldrons = script.Pauldrons
677
Pauldrons.Parent = Character
678
Pauldrons.CFrame = Torso.CFrame
679
local WELD = weldBetween(Torso,Pauldrons)
680
Pauldrons.Anchored = false
681
Pauldrons.Transparency = 0
682
local FLINTLOCK = script.Flintlock
683
FLINTLOCK.Parent = Character
684
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, FLINTLOCK, CF(1,-1.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
685
686
local top = Instance.new("Shirt")
687
top.ShirtTemplate = "rbxassetid://132007812"
688
top.Parent = Character
689
top.Name = "Cloth"
690
local bottom = Instance.new("Pants")
691
bottom.PantsTemplate = "rbxassetid://43727034"
692
bottom.Parent = Character
693
bottom.Name = "Cloth"
694
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
695
PRT.Color = C3(0,0,0)
696
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
697
CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
698
699
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
700
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
701
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
702
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
703
MakeForm(PRT,"Cyl")
704
local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
705
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
706
MakeForm(PRT,"Cyl")
707
PRT.Color = C3(66/255, 0/255, 127/255)
708
local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
709
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
710
MakeForm(RING,"Cyl")
711
RING.Color = C3(0,0,0)
712
for i = 1, 12 do
713
	local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
714
	PRT.Color = C3(0,0,0)
715
	local MSH = IT("BlockMesh",PRT)
716
	MSH.Scale = VT(0.6,1,1)
717
	CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
718
end
719
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
720
PRT.Color = C3(0,0,0)
721
local MSH = IT("BlockMesh",PRT)
722
MSH.Scale = VT(0.4,1,1)
723
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
724
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
725
PRT.Color = C3(0,0,0)
726
local MSH = IT("BlockMesh",PRT)
727
MSH.Scale = VT(0.4,1,1)
728
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
729
coroutine.resume(coroutine.create(function()
730
	while true do
731
		Swait()
732
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
733
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
734
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
735
		if CLOCKLOOP <= -150 then
736
			if VALUE1 == false then
737
				CLOCKLOOP = 0
738
				WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
739
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
740
				ApplyAoE(HITPOS,10,15,45,75,false)
741
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
742
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
743
				if CLOCKTARGET ~= nil then
744
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
745
					if CLOCKTARGET.Torso ~= nil then
746
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
747
					end
748
					if CLOCKTARGET.Health == 0 then
749
						CLOCKTARGET = nil
750
					end
751
				end
752
			end
753
		end
754
	end
755
end))
756
757
for _, c in pairs(Weapon:GetChildren()) do
758
	if c.ClassName == "Part" then
759
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
760
	end
761
end
762
763
Neck.Name = "Weld"
764
RootJoint.Name = "Weld"
765
RightShoulder.Name = "Weld"
766
LeftShoulder.Name = "Weld"
767
RightHip.Name = "Weld"
768
LeftHip.Name = "Weld"
769
770
local BODY = {}
771
for _, c in pairs(Character:GetDescendants()) do
772
	if c:IsA("BasePart") and c.Name ~= "Handle" then
773
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
774
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
775
		end
776
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
777
	elseif c:IsA("JointInstance") then
778
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
779
	end
780
end
781
for e = 1, #BODY do
782
	if BODY[e] ~= nil then
783
		local STUFF = BODY[e]
784
		local PART = STUFF[1]
785
		local PARENT = STUFF[2]
786
		local MATERIAL = STUFF[3]
787
		local COLOR = STUFF[4]
788
		local TRANSPARENCY = STUFF[5]
789
		if PART.ClassName == "Part" and PART ~= RootPart then
790
			PART.Material = MATERIAL
791
			PART.Color = COLOR
792
			PART.Transparency = TRANSPARENCY
793
		end
794
		PART.AncestryChanged:Connect(function()
795
			PART.Parent = PARENT
796
		end)
797
	end
798
end
799
800
function refit()
801
	Character.Parent = workspace
802
	for e = 1, #BODY do
803
		if BODY[e] ~= nil then
804
			local STUFF = BODY[e]
805
			local PART = STUFF[1]
806
			local PARENT = STUFF[2]
807
			local MATERIAL = STUFF[3]
808
			local COLOR = STUFF[4]
809
			local TRANSPARENCY = STUFF[5]
810
			if PART.ClassName == "Part" and PART ~= RootPart then
811
				PART.Material = MATERIAL
812
				PART.Color = COLOR
813
				PART.Transparency = TRANSPARENCY
814
			end
815
			if PART.Parent ~= PARENT then
816
				Humanoid:remove()
817
				PART.Parent = PARENT
818
				Humanoid = IT("Humanoid",Character)
819
			end
820
		end
821
	end
822
end
823
824
Weapon.Parent = Character
825
Humanoid.Parent = Character
826
827
Humanoid.Died:connect(function()
828
	refit()
829
end)
830
831
CircleParts = {}
832
Equipped = false
833
834
function RayCast(Position, Direction, MaxDistance, IgnoreList)
835
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
836
end
837
	Humanoid = Character:FindFirstChildOfClass("Humanoid")
838
	Torso = Character:FindFirstChild("Torso")
839
	if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
840
		return
841
	end
842
	Equipped = true
843
	Circle = Instance.new("Model")
844
	Circle.Name = "Circle"
845
	Angle = 0
846
	for i = 1, 1 do
847
		local CirclePart = Instance.new("Part")
848
		CirclePart.Name = "CirclePart"
849
		CirclePart.Transparency = 1
850
		CirclePart.BrickColor = BrickColor.new("Really black")
851
		CirclePart.Material = Enum.Material.Plastic
852
		CirclePart.Shape = Enum.PartType.Block
853
		CirclePart.FormFactor = Enum.FormFactor.Custom
854
		CirclePart.TopSurface = Enum.SurfaceType.Smooth
855
		CirclePart.BottomSurface = Enum.SurfaceType.Smooth
856
		CirclePart.Anchored = true
857
		CirclePart.CanCollide = false
858
		CirclePart.Locked = true
859
		CirclePart.Size = Vector3.new(10, 0.2, 10)
860
		local Aura = Instance.new('ParticleEmitter')
861
Aura.Name = "Aura"
862
Aura.Texture = "rbxassetid://296874871"
863
Aura.Parent = CirclePart
864
Aura.LightEmission = 0
865
Aura.Transparency = NumberSequence.new(0.2,0.4,1)
866
Aura.Color = ColorSequence.new(Color3.new(0.14902, 0.886275, 1),Color3.new(0, 0.666667, 1))
867
Aura.Size = NumberSequence.new(1,1,1)
868
Aura.LockedToPart = false
869
Aura.Lifetime = NumberRange.new(1)
870
Aura.Rate = 50
871
Aura.Speed = NumberRange.new(2)
872
Aura.SpreadAngle = Vector2.new(80,80)
873
874
local Aura2 = Instance.new('ParticleEmitter')
875
Aura2.Name = "Aura"
876
Aura2.Texture = "rbxassetid://296874871"
877
Aura2.Parent = CirclePart
878
Aura2.LightEmission = 0
879
Aura2.Transparency = NumberSequence.new(0.2,0.4,1)
880
Aura2.Color = ColorSequence.new(Color3.new(2,0,1))
881
Aura2.Size = NumberSequence.new(1,1,1)
882
Aura2.LockedToPart = false
883
Aura2.Lifetime = NumberRange.new(1)
884
Aura2.Rate = 50
885
Aura2.Speed = NumberRange.new(2)
886
Aura2.SpreadAngle = Vector2.new(80,80)
887
888
		local BlockMesh = Instance.new("BlockMesh")
889
		BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
890
		BlockMesh.Parent = CirclePart
891
		CirclePart.Parent = Circle
892
		local Star = Instance.new("Decal", CirclePart)
893
		Star.Texture = "http://www.roblox.com/asset/?id=266366832"
894
		Star.Face = "Top"
895
		local Light = Instance.new("PointLight", CirclePart)
896
		Light.Color = Color3.new(2,0,1)
897
		Light.Brightness = 100
898
		Light.Range = 15
899
		table.insert(CircleParts, CirclePart)
900
	end
901
	spawn(function()
902
		while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
903
			if Angle == 360 then
904
				Angle = 0
905
			end
906
			Angle = Angle + 0.05
907
			local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
908
			if Hit then
909
				if not Circle.Parent then
910
					Circle.Parent = Character
911
				end
912
				for i, v in pairs(CircleParts) do
913
					v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
914
				end
915
			else
916
				Circle.Parent = nil
917
			end
918
			wait()
919
		end
920
	end)
921
922
Neck.Name = "Weld"
923
RootJoint.Name = "Weld"
924
RightShoulder.Name = "Weld"
925
LeftShoulder.Name = "Weld"
926
RightHip.Name = "Weld"
927
LeftHip.Name = "Weld"
928
929
local BODY = {}
930
for _, c in pairs(Character:GetDescendants()) do
931
	if c:IsA("BasePart") and c.Name ~= "Handle" then
932
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
933
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
934
		end
935
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
936
	elseif c:IsA("JointInstance") then
937
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
938
	end
939
end
940
for e = 1, #BODY do
941
	if BODY[e] ~= nil then
942
		local STUFF = BODY[e]
943
		local PART = STUFF[1]
944
		local PARENT = STUFF[2]
945
		local MATERIAL = STUFF[3]
946
		local COLOR = STUFF[4]
947
		local TRANSPARENCY = STUFF[5]
948
		if PART.ClassName == "Part" and PART ~= RootPart then
949
			PART.Material = MATERIAL
950
			PART.Color = COLOR
951
			PART.Transparency = TRANSPARENCY
952
		end
953
		PART.AncestryChanged:Connect(function()
954
			PART.Parent = PARENT
955
		end)
956
	end
957
end
958
959
function refit()
960
	Character.Parent = workspace
961
	for e = 1, #BODY do
962
		if BODY[e] ~= nil then
963
			local STUFF = BODY[e]
964
			local PART = STUFF[1]
965
			local PARENT = STUFF[2]
966
			local MATERIAL = STUFF[3]
967
			local COLOR = STUFF[4]
968
			local TRANSPARENCY = STUFF[5]
969
			if PART.ClassName == "Part" and PART ~= RootPart then
970
				PART.Material = MATERIAL
971
				PART.Color = COLOR
972
				PART.Transparency = TRANSPARENCY
973
			end
974
			if PART.Parent ~= PARENT then
975
				Humanoid:remove()
976
				PART.Parent = PARENT
977
				Humanoid = IT("Humanoid",Character)
978
				chatfunc ("Immortalness flows through my power...")
979
			end
980
		end
981
	end
982
end
983
984
local REGENSOUND = 487215897
985
for _, c in pairs(Character:GetDescendants()) do
986
	if c and c.Parent then
987
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
988
			local ACCESSORY = c.Parent
989
			c.Parent = Character
990
			if c then
991
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
992
					weldBetween(Head,c)
993
				else
994
					weldBetween(Torso,c)
995
				end
996
			end
997
			ACCESSORY:remove()
998
		end
999
	end
1000
end
1001
wait()
1002
local BODY = {}
1003
for _, c in pairs(Character:GetDescendants()) do
1004
	if c:IsA("BasePart") then
1005
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1006
		end
1007
		local REGENVALUE = IT("BoolValue",c)
1008
		REGENVALUE.Name = "IsRegening"
1009
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
1010
	elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then
1011
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil})
1012
	end
1013
end
1014
function FullBodyRegen()
1015
	if FULLREGEN == false then
1016
		FULLREGEN = true
1017
		Character.Parent = workspace
1018
		GUI.Enabled = false
1019
		CreateSound(FIREBALLSOUND,Torso,3,MRANDOM(10,12)/10,false)
1020
		UNANCHOR = false
1021
		for e = 1, #BODY do
1022
			if BODY[e] ~= nil then
1023
				local STUFF = BODY[e]
1024
				local PART = STUFF[1]
1025
				local PARENT = STUFF[2]
1026
				local MATERIAL = STUFF[3]
1027
				local COLOR = STUFF[4]
1028
				local TRANSPARENCY = STUFF[5]
1029
				--local SIZE = STUFF[6]
1030
				local NAME = STUFF[7]
1031
				local VALUE = STUFF[8]
1032
				PART.Parent = PARENT
1033
				Humanoid.MaxHealth = "inf"
1034
				Humanoid.Health = "inf"
1035
				Humanoid.Parent = nil
1036
				Humanoid = IT("Humanoid",Character)
1037
				Humanoid.Died:Connect(FullBodyRegen)
1038
				PART.Parent = PARENT
1039
				if PART:IsA("BasePart") and VALUE.Value == false and PART ~= RootPart then
1040
				VALUE.Value = true
1041
				coroutine.resume(coroutine.create(function()
1042
					PART.Transparency = 1
1043
					CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/15,false)
1044
					local REGEN = script.Regen:Clone()
1045
					REGEN.Parent = PART
1046
					REGEN.Speed = NumberRange.new(30)
1047
					REGEN:Emit(100)
1048
					local REGENING = script.Regen2:Clone()
1049
					REGENING.Parent = PART
1050
					REGENING.Enabled = true
1051
					REGENING.Speed = NumberRange.new(35)
1052
					wait()
1053
					local RANGE = 35
1054
					for i = 1, math.ceil(REGENRATE*25) do
1055
						wait()
1056
						ApplyAoE(PART.Position,6,1,1,0,false)
1057
						REGENING.Speed = NumberRange.new(RANGE)
1058
						RANGE = RANGE - (35/(math.ceil(REGENRATE*20)))
1059
					end
1060
					REGEN.Speed = NumberRange.new(6)
1061
					REGEN:Emit(60)
1062
					wait(REGENRATE/3)
1063
					RootPart.Velocity = VT(0,0,0)
1064
					UNANCHOR = true
1065
					GUI.Enabled = true
1066
					PART.Transparency = 0
1067
					REGEN.Rate = 50
1068
					REGEN.Enabled = true
1069
					REGENING.Enabled = false
1070
					wait(REGENRATE/1.5)
1071
					VALUE.Value = false
1072
					Debris:AddItem(REGENING,5)
1073
					FULLREGEN = false
1074
					REGEN.Enabled = false
1075
					Debris:AddItem(REGEN,5)
1076
				end))
1077
				end
1078
			end
1079
		end
1080
	end
1081
end
1082
function Regen()
1083
	Character.Parent = workspace
1084
	for e = 1, #BODY do
1085
		if BODY[e] ~= nil then
1086
			local STUFF = BODY[e]
1087
			local PART = STUFF[1]
1088
			local PARENT = STUFF[2]
1089
			local MATERIAL = STUFF[3]
1090
			local COLOR = STUFF[4]
1091
			local TRANSPARENCY = STUFF[5]
1092
			--local SIZE = STUFF[6]
1093
			local NAME = STUFF[7]
1094
			local VALUE = STUFF[8]
1095
			if PART.ClassName == "Part" and PART ~= RootPart then
1096
				PART.Material = MATERIAL
1097
				PART.Name = NAME
1098
			end
1099
			if PART.Parent ~= PARENT then
1100
				PART.Parent = PARENT
1101
				if PART:IsA("BasePart") and PART ~= RootPart and FULLREGEN == false then
1102
					if VALUE.Value == false then
1103
						VALUE.Value = true
1104
						coroutine.resume(coroutine.create(function()
1105
							PART.Transparency = 1
1106
							wait(REGENRATE)
1107
							CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
1108
							local REGENING = script.Regen:Clone()
1109
							REGENING.Parent = PART
1110
							REGENING.Enabled = true
1111
							for i = 1, math.ceil(REGENRATE*10) do
1112
								wait()
1113
								ApplyAoE(PART.Position,6,1,1,0,false)
1114
							end
1115
							wait(REGENRATE)	
1116
							PART.Transparency = 0
1117
							wait(REGENRATE/5)	
1118
							REGENING.Enabled = false
1119
							VALUE.Value = false
1120
							Debris:AddItem(REGENING,5)
1121
						end))
1122
					end
1123
				elseif PART:IsA("JointInstance") and PARENT ~= RootPart and FULLREGEN == false then
1124
					local VALUE = PARENT.IsRegening	
1125
					if VALUE == false then
1126
						VALUE.Value = true
1127
						local PART = PART.Part1
1128
						coroutine.resume(coroutine.create(function()
1129
							PART.Transparency = 1
1130
							wait(REGENRATE)
1131
							CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
1132
							local REGENING = script.Regen:Clone()
1133
							REGENING.Parent = PART
1134
							REGENING.Enabled = true
1135
							for i = 1, math.ceil(REGENRATE*10) do
1136
								wait()
1137
								ApplyAoE(PART.Position,6,1,1,0,false)
1138
							end
1139
							wait(REGENRATE)		
1140
							PART.Transparency = 0
1141
							wait(REGENRATE/5)	
1142
							REGENING.Enabled = false
1143
							VALUE.Value = false
1144
						end))	
1145
					end
1146
				end	
1147
			end
1148
		end
1149
	end
1150
end
1151
1152
Humanoid.Died:connect(function()
1153
	refit()
1154
end)
1155
function swait(num)
1156
	if num == 0 or num == nil then
1157
		ArtificialHB.Event:wait()
1158
	else
1159
		for i = 0, num do
1160
			ArtificialHB.Event:wait()
1161
		end
1162
	end
1163
end
1164
function chatfunc(text)
1165
	local chat = coroutine.wrap(function()
1166
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
1167
		Character:FindFirstChild("TalkingBillBoard"):destroy()
1168
	end
1169
	local Bill = Instance.new("BillboardGui",Character)
1170
	Bill.Size = UDim2.new(0,100,0,40)
1171
	Bill.StudsOffset = Vector3.new(0,3,0)
1172
	Bill.Adornee = Character.Head
1173
	Bill.Name = "TalkingBillBoard"
1174
	local Hehe = Instance.new("TextLabel",Bill)
1175
	Hehe.BackgroundTransparency = 1
1176
	Hehe.BorderSizePixel = 0
1177
	Hehe.Text = ""
1178
	Hehe.Font = "Garamond"
1179
	Hehe.TextSize = 40
1180
	Hehe.TextStrokeTransparency = 0
1181
	Hehe.Size = UDim2.new(1,0,0.5,0)
1182
	coroutine.resume(coroutine.create(function()
1183
		while Hehe ~= nil do
1184
			swait()	
1185
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
1186
			Hehe.Rotation = math.random(-5,5)
1187
			Hehe.TextColor3 = Color3.new(0,0,0)
1188
			Hehe.TextStrokeColor3 = Color3.new(1,0,0)
1189
		end
1190
	end))
1191
	for i = 1,string.len(text),1 do
1192
		swait()
1193
		Hehe.Text = string.sub(text,1,i)
1194
	end
1195
	swait(90)--Re[math.random(1, 93)]
1196
	for i = 0, 1, .025 do
1197
		swait()
1198
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
1199
		Hehe.TextStrokeTransparency = i
1200
		Hehe.TextTransparency = i
1201
	end
1202
	Bill:Destroy()
1203
	end)
1204
chat()
1205
end
1206
1207
function onChatted(msg)
1208
	chatfunc(msg)
1209
end
1210
1211
Player.Chatted:connect(onChatted)
1212
1213
local BACKATTACHMENT1 = IT("Attachment",Torso)
1214
BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
1215
local BACKATTACHMENT2 = IT("Attachment",Torso)
1216
BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
1217
1218
local SKILLTEXTCOLOR = C3(1,1,1)
1219
local SKILLFONT = "Legacy"
1220
local SKILLTEXTSIZE = 4
1221
1222
local SEARING_ATTACKS = {"[Searing]","[Z] - Mana Sphere","[L] - Taunt","[E] - Divider","[X] - Enlarged Bomb","[Shift] - Sprint"}
1223
local PANDORA_ATTACKS = {"[Pandora]","[K] - Pandora's Box","[R] - Magic Nukes","[T] - Taunt","[C] - Linked Fist","[B] - Soul Drain","[V] - Teleport Crash"}
1224
local SEARING_GUI = {}
1225
local PANDORA_GUI = {}
1226
1227
for i = 1, #SEARING_ATTACKS do
1228
	local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.73, 0, 0.7-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
1229
	local SKILLTEXT = CreateLabel(SKILLFRAME, ""..SEARING_ATTACKS[i].."", C3(2,0,1), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
1230
	SKILLTEXT.TextXAlignment = "Right"
1231
	table.insert(SEARING_GUI,SKILLTEXT)
1232
end
1233
1234
for i = 1, #PANDORA_ATTACKS do
1235
	local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.01, 0, 0.7-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
1236
	local SKILLTEXT = CreateLabel(SKILLFRAME, ""..PANDORA_ATTACKS[i].."", C3(1,1,1), SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Skill text")
1237
	SKILLTEXT.TextXAlignment = "Left"
1238
	table.insert(PANDORA_GUI,SKILLTEXT)
1239
end
1240
--//=================================\\
1241
--||			DAMAGING
1242
--\\=================================//
1243
1244
function ApplyDamage(Humanoid,Damage,TorsoPart)
1245
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1246
	defence.Name = ("HitBy"..Player.Name)
1247
	game:GetService("Debris"):AddItem(defence, 0.001)
1248
	Damage = Damage * DAMAGEMULTIPLIER
1249
	if Humanoid.Health ~= 0 then
1250
		local CritChance = MRANDOM(1,100)
1251
		if Damage > Humanoid.Health then
1252
			Damage = math.ceil(Humanoid.Health)
1253
			if Damage == 0 then
1254
				Damage = 0.1
1255
			end
1256
		end
1257
		Humanoid.Health = Humanoid.Health - Damage
1258
	end
1259
end
1260
1261
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1262
	local CHILDREN = workspace:GetDescendants()
1263
	for index, CHILD in pairs(CHILDREN) do
1264
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1265
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1266
			if HUM then
1267
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1268
				if TORSO then
1269
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1270
						if INSTAKILL == false then
1271
							CHILD:BreakJoints()
1272
						else
1273
							local DMG = MRANDOM(MINDMG,MAXDMG)
1274
							ApplyDamage(HUM,DMG,TORSO)
1275
						end
1276
						if FLING > 0 then
1277
							for _, c in pairs(CHILD:GetChildren()) do
1278
								if c:IsA("BasePart") then
1279
									local bv = Instance.new("BodyVelocity") 
1280
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1281
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1282
									bv.Parent = c
1283
									Debris:AddItem(bv,0.05)
1284
								end
1285
							end
1286
						end
1287
					end
1288
				end
1289
			end
1290
		end
1291
	end
1292
end
1293
1294
--//=================================\\
1295
--||SEARING	ATTACK FUNCTIONS AND STUFF
1296
--\\=================================//
1297
1298
function Spitter()
1299
	ATTACK = true
1300
	Rooted = true
1301
	local GYRO = IT("BodyGyro",RootPart)
1302
	GYRO.D = 20
1303
	GYRO.P = 4000
1304
	GYRO.MaxTorque = VT(40000,40000,40000)
1305
	local POSITION = IT("BodyPosition",RootPart)
1306
	POSITION.Position = RootPart.Position+VT(0,2,0)
1307
	POSITION.D = 450
1308
	POSITION.P = 40000
1309
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1310
	local FIRE = Particles("FistFire",RightArm,true)
1311
	CreateSound(CHARGE,RightArm,6,0.8,false)
1312
	coroutine.resume(coroutine.create(function()
1313
		repeat
1314
			Swait()
1315
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1316
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1317
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1318
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1319
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1320
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1321
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1322
		until ATTACK == false
1323
		FIRE.LockedToPart = false
1324
		FIRE.Enabled = false
1325
		Debris:AddItem(FIRE,5)
1326
		GYRO:remove()
1327
		POSITION:remove()
1328
	end))
1329
	local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true)
1330
	MakeForm(FIREBALL,"Ball")
1331
	FIREBALL.CFrame = RightArm.CFrame*CF(0,-1,0)
1332
	local CORE = IT("Attachment",FIREBALL)
1333
	local FIRES = Particles("FireballFire1",CORE,true)
1334
	FIRES.Size = NumberSequence.new(0)
1335
	FIRES.LockedToPart = true
1336
	local LOOP = 0
1337
	repeat
1338
		Swait()
1339
		LOOP = LOOP + 1
1340
		if LOOP == 20 then
1341
			LOOP = 0
1342
			WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1343
		end
1344
		if FIREBALL.Size.X < 20 then
1345
			FIREBALL.Size = FIREBALL.Size + VT(0.1,0.1,0.1)
1346
			FIRES.Size = NumberSequence.new(FIREBALL.Size.Y/1.5)
1347
			FIRES.Speed = NumberRange.new(0,FIREBALL.Size.Y/2)
1348
		end
1349
		FIRES.Enabled = true
1350
		FIREBALL.CFrame = RightArm.CFrame*CF(0,-1-FIREBALL.Size.Z/2,0)
1351
	until KEYHOLD == false and FIREBALL.Size.X >= 10
1352
	CreateSound(FIREBALLSOUND,FIREBALL,10,0.8,false)
1353
	coroutine.resume(coroutine.create(function()
1354
		FIREBALL.CFrame = CF(FIREBALL.Position,Mouse.Hit.p)
1355
		local RANGE = 75
1356
		local FLAME = Particles("Field",CORE,true)
1357
		FLAME.Speed = NumberRange.new(0,FIREBALL.Size.X*5)
1358
		FLAME.Size = NumberSequence.new(0,25)
1359
		for i = 1, 600 do
1360
			LOOP = LOOP + 1
1361
			if LOOP == 20 then
1362
				LOOP = 0
1363
				ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*5,5,25,0,false)
1364
				WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1365
			end
1366
			Swait()
1367
			FIREBALL.CFrame = CF(FIREBALL.Position,FIREBALL.CFrame*CF(0,-0.001,-1).p)*CF(0,0,-0.2)
1368
			local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, FIREBALL.Size.X/2.5, Character)
1369
			if HIT then
1370
				ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*12,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1371
				CreateSound(EXPLOSIONLARGESOUND,FIREBALL,10,1,false)
1372
				CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
1373
				for i = 1, 3 do
1374
					WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1375
				end
1376
				for i = 1, 3 do
1377
					WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1378
				end
1379
				Particles("ExplosionFire1",FIREBALL,1200)
1380
				for i = 1, 15 do
1381
					WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X*10,FIREBALL.Size.X*10,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1382
				end
1383
				break
1384
			end
1385
		end
1386
		FLAME.Enabled = false
1387
		FIRES.Enabled = false
1388
		for i = 1, 10 do
1389
			Swait()
1390
			FIREBALL.Mesh.Scale = FIREBALL.Mesh.Scale - VT(0.1,0.1,0.1)
1391
		end
1392
		Debris:AddItem(FIREBALL,5)
1393
	end))
1394
	wait(0.5)
1395
	ATTACK = false
1396
	Rooted = false
1397
end
1398
1399
function Fireball()
1400
	ATTACK = true
1401
	Rooted = true
1402
	local GYRO = IT("BodyGyro",RootPart)
1403
	GYRO.D = 20
1404
	GYRO.P = 4000
1405
	GYRO.MaxTorque = VT(40000,40000,40000)
1406
	local POSITION = IT("BodyPosition",RootPart)
1407
	POSITION.Position = RootPart.Position+VT(0,2,0)
1408
	POSITION.D = 450
1409
	POSITION.P = 40000
1410
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1411
	local FIRE = Particles("FistFire",RightArm,true)
1412
	CreateSound(CHARGE,RightArm,6,1,false)
1413
	coroutine.resume(coroutine.create(function()
1414
		repeat
1415
			Swait()
1416
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1417
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1418
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1419
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1420
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1421
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1422
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1423
		until ATTACK == false
1424
		FIRE.LockedToPart = false
1425
		FIRE.Enabled = false
1426
		Debris:AddItem(FIRE,5)
1427
		GYRO:remove()
1428
		POSITION:remove()
1429
	end))
1430
	wait(1)
1431
	repeat
1432
		Particles("ExplosionFire1",RightArm,70)
1433
		coroutine.resume(coroutine.create(function()
1434
			local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(10,10,10))
1435
			FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
1436
			CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
1437
			local FLAME = Particles("FireballFire1",FIREBALL,true)
1438
			local FLAME2 = Particles("FireballFire2",FIREBALL,true)
1439
			for i = 1, 250 do
1440
				Swait()
1441
				local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 10, Character)
1442
				FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-5)
1443
				if HIT then
1444
					Particles("ExplosionFire1",FIREBALL,600)
1445
					ApplyAoE(FIREBALL.Position,200,15,25,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1446
					for i = 1, 3 do
1447
						WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Steel blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1448
					end
1449
					for i = 1, 3 do
1450
						WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1451
					end
1452
					for i = 1, 5 do
1453
						WACKYEFFECT({Time = 80+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1454
					end
1455
					break
1456
				end
1457
			end
1458
			FLAME.Enabled = false
1459
			FLAME2.Enabled = false
1460
			Debris:AddItem(FIREBALL,7)
1461
		end))
1462
		wait(0.1)
1463
	until KEYHOLD == false
1464
	wait(0.2)
1465
	ATTACK = false
1466
	Rooted = false
1467
end
1468
1469
function Devastor()
1470
	ATTACK = true
1471
	Rooted = true
1472
	local POSITION = IT("BodyPosition",RootPart)
1473
	POSITION.Position = RootPart.Position+VT(0,2,0)
1474
	POSITION.D = 450
1475
	POSITION.P = 40000
1476
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1477
	local FIRE = Particles("FistFire",RightArm,true)
1478
	local FIRE2 = Particles("FistFire",LeftArm,true)
1479
	CreateSound(CHARGE,Torso,6,1,false)
1480
	local NEWANIM = false
1481
	coroutine.resume(coroutine.create(function()
1482
		repeat
1483
			Swait()
1484
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1485
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1486
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1487
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1488
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1489
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1490
		until ATTACK == false or NEWANIM == true
1491
		if NEWANIM == true then
1492
			local GYRO = IT("BodyGyro",RootPart)
1493
			GYRO.D = 20
1494
			GYRO.P = 4000
1495
			GYRO.MaxTorque = VT(40000,40000,40000)
1496
			repeat
1497
				Swait()
1498
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1499
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1500
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1501
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1502
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1503
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1504
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1505
			until ATTACK == false
1506
			GYRO:remove()
1507
		end
1508
		POSITION:remove()
1509
		FIRE.LockedToPart = false
1510
		FIRE.Enabled = false
1511
		Debris:AddItem(FIRE,5)
1512
		FIRE2.LockedToPart = false
1513
		FIRE2.Enabled = false
1514
		Debris:AddItem(FIRE2,5)
1515
	end))
1516
	local FIRETABLE = {}
1517
	local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true)
1518
	MakeForm(ORB,"Ball")
1519
	ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
1520
	local A = IT("Attachment",ORB)
1521
	local FIRES = Particles("FireballFire1",A,true)
1522
	FIRES.Size = NumberSequence.new(0)
1523
	FIRES.LockedToPart = true
1524
	local LOOP = 0
1525
	for i = 1, 200 do
1526
		Swait()
1527
		LOOP = LOOP + 1
1528
		if LOOP >= 30 then
1529
			LOOP = 0
1530
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1531
		end
1532
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
1533
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1534
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1535
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1536
		FIRES.Enabled = true
1537
	end
1538
	RightArm.Transparency = 1
1539
	LeftArm.Transparency = 1
1540
	FIRE.Enabled = false
1541
	FIRE2.Enabled = false
1542
	for _, c in pairs(Character:GetChildren()) do
1543
		if c:IsA("BasePart") then
1544
			local FLAME = Particles("BodyFire",c,true)
1545
			table.insert(FIRETABLE,FLAME)
1546
		end
1547
	end
1548
	CreateSound(CHARGE,Torso,6,0.5,false)
1549
	for i = 1, 200 do
1550
		Swait()
1551
		LOOP = LOOP + 1
1552
		if LOOP >= 30 then
1553
			LOOP = 0
1554
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1555
		end
1556
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
1557
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1558
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1559
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1560
		FIRES.Enabled = true
1561
	end
1562
	for _, c in pairs(Character:GetChildren()) do
1563
		if c:IsA("BasePart") then
1564
			c.Transparency = 1
1565
		end
1566
	end
1567
	for i = 1, #FIRETABLE do
1568
		FIRETABLE[i].Enabled = false
1569
		Debris:AddItem(FIRETABLE[i],5)
1570
	end
1571
	for i = 1, 400 do
1572
		Swait()
1573
		LOOP = LOOP + 1
1574
		if LOOP >= 30 then
1575
			LOOP = 0
1576
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1577
		end
1578
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
1579
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1580
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1581
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1582
		FIRES.Enabled = true
1583
	end
1584
	wait(0.5)
1585
	FIRES.Lifetime = NumberRange.new(2,5)
1586
	FIRES.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,ORB.Size.Y/1.5),NumberSequenceKeypoint.new(0.5,ORB.Size.Y/2),NumberSequenceKeypoint.new(1,0)})
1587
	FIRES.LockedToPart = false
1588
	CreateSound(FIREBALLSOUND,Effects,4,1,false)
1589
	coroutine.resume(coroutine.create(function()
1590
		ORB.CFrame = CF(ORB.Position,Mouse.Hit.p)
1591
		for i = 1, 1200 do
1592
			Swait()
1593
			ORB.CFrame = ORB.CFrame*CF(0,0,-1)
1594
			local HIT,HITPOS = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X/2.5, Character)
1595
			if HIT then
1596
				break
1597
			end
1598
		end
1599
		for i = 1, 6 do
1600
			ApplyAoE(ORB.Position,ORB.Size.X*10,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1601
			CreateSound(EXPLOSIONLARGESOUND,Effects,2,1,false)
1602
			CreateSound(EXPLOSIONSMALLSOUND,Effects,4,1,false)
1603
			for i = 1, 3 do
1604
				WACKYEFFECT({Time = 160, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1605
			end
1606
			for i = 1, 3 do
1607
				WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1608
			end
1609
			for i = 1, 15 do
1610
				WACKYEFFECT({Time = 120+(i*5), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(ORB.Size.X*30,15,ORB.Size.X*30), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = BRICKC"Steel blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1611
			end
1612
			wait(1)
1613
		end
1614
		FIRES.Enabled = false
1615
		for i = 1, 10 do
1616
			Swait()
1617
			ORB.Mesh.Scale = ORB.Mesh.Scale - VT(0.1,0.1,0.1)
1618
		end
1619
		Debris:AddItem(ORB,5)
1620
	end))
1621
	wait(1)
1622
	FullBodyRegen()
1623
	ATTACK = false
1624
	Rooted = false
1625
end
1626
1627
function Searing_Taunt()
1628
	ATTACK = true
1629
	Rooted = true
1630
	sick.Volume = 1
1631
	local TAUNT = CreateSound(159882303,Torso,100,1,false)
1632
	coroutine.resume(coroutine.create(function()
1633
		repeat
1634
			Swait()
1635
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1636
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1637
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1638
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1639
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1640
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1641
		until ATTACK == false
1642
	end))
1643
	repeat wait() until TAUNT.Playing == false
1644
	sick.Volume = 10
1645
	ATTACK = false
1646
	Rooted = false
1647
end
1648
1649
--//=================================\\
1650
--||PANDORA	ATTACK FUNCTIONS AND STUFF
1651
--\\=================================//
1652
1653
function MagicMissiles()
1654
	ATTACK = true
1655
	Rooted = false
1656
	local SELECTING = true
1657
	local SPOTS = {}
1658
	coroutine.resume(coroutine.create(function()
1659
		local LOOP = 0
1660
		repeat
1661
			LOOP = LOOP + 1
1662
			Swait()
1663
			if LOOP >= 15 then
1664
				LOOP = 0
1665
				for i = 1, #SPOTS do
1666
					if SPOTS[i] ~= nil then
1667
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(100,50,100), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(2,0,1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1668
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(100,50,100), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(2,0,1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1669
					end
1670
				end
1671
			end
1672
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1673
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1674
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1675
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1676
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1677
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1678
		until SELECTING == false
1679
		Rooted = false
1680
		repeat
1681
			LOOP = LOOP + 1
1682
			Swait()
1683
			if LOOP >= 15 then
1684
				LOOP = 0
1685
				for i = 1, #SPOTS do
1686
					if SPOTS[i] ~= nil then
1687
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(100,100,100), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(2,0,1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1688
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(100,100,100), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(2,0,1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1689
					end
1690
				end
1691
			end
1692
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1693
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1694
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1695
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1696
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1697
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1698
		until ATTACK == false
1699
	end))
1700
	repeat
1701
		repeat Swait() until HOLD == true
1702
			local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1703
			if DIST > 9999 then
1704
				DIST = 9999
1705
			end
1706
			local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1707
			local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)	
1708
			if HITFLOOR ~= nil then
1709
				table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
1710
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(10,5,10), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(2,0,1), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
1711
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(10,5,10), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(2,0,1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1712
			end
1713
		repeat Swait() until HOLD == false
1714
	until #SPOTS == 5
1715
	SELECTING = false
1716
	for i = 1, #SPOTS do
1717
		if SPOTS[i] ~= nil then
1718
			local POS = SPOTS[i]
1719
			coroutine.resume(coroutine.create(function()
1720
				local MISSILE = IT("Model",Effects)
1721
				MISSILE.Name = "Missile"
1722
				local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Magenta", "Part", VT(100,9999999999999,100))
1723
				MakeForm(BASEPART,"Cyl")
1724
				MISSILE.PrimaryPart = BASEPART
1725
				BASEPART.CFrame = POS*CF(0,-30*3,0)
1726
				local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Magenta", "Part", VT(100,9999999999999,100))
1727
				MakeForm(HEAD,"Ball")
1728
				HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
1729
				local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Magenta", "Part", VT(100,9999999999999,100))
1730
				MakeForm(TAIL,"Cyl")
1731
				TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
1732
				for i = 1, 15 do
1733
					Swait()
1734
					for _, c in pairs(MISSILE:GetChildren()) do
1735
						if c.ClassName == "Part" then
1736
							c.Transparency = c.Transparency - 1/10
1737
						end
1738
					end
1739
				end
1740
				for i = 1, 15*1.5 do
1741
					Swait()
1742
					MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
1743
				end
1744
				ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true)
1745
				WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(750,350,750), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(2,0,1), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1746
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(350,350,350), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(2,0,1), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
1747
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(220,2,220), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(2,0,1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1748
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(200,3,200), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(2,0,1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1749
				MISSILE:remove()
1750
			end))
1751
		end
1752
	end
1753
	wait(0.6)
1754
	ATTACK = false
1755
	Rooted = false
1756
end
1757
1758
1759
function TimesUp()
1760
	CLOCKTARGET = nil
1761
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1762
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1763
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1764
		if TORSO then
1765
			ATTACK = true
1766
			Rooted = false
1767
			coroutine.resume(coroutine.create(function()
1768
				repeat
1769
					Swait()
1770
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1771
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1772
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1773
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1774
					RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1775
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1776
				until ATTACK == false
1777
			end))
1778
			if Effects:FindFirstChild("NeonDoll") then
1779
				repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
1780
			end
1781
			wait(0.5)
1782
			local FAKECHARACTER = IT("Model",Effects)
1783
			FAKECHARACTER.Name = "NeonDoll"
1784
			local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.3,0.3,0.15),false)
1785
			CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
1786
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
1787
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
1788
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
1789
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
1790
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
1791
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
1792
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
1793
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
1794
			local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.15,0.15),false)
1795
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
1796
			CreateSound(201858045, TORS, 5, 0.4, false)
1797
			for i = 1, 50 do
1798
				Swait()
1799
				CLOCKSPEED = 2.5
1800
				for _, c in pairs(FAKECHARACTER:GetChildren()) do
1801
					if c.ClassName == "Part" then
1802
						c.Transparency = c.Transparency - 0.5/150
1803
					end
1804
				end
1805
			end
1806
			CLOCKTARGET = HUM
1807
			coroutine.resume(coroutine.create(function()
1808
				repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
1809
				for i = 1, 25 do
1810
					Swait()
1811
					for _, c in pairs(FAKECHARACTER:GetChildren()) do
1812
						if c.ClassName == "Part" then
1813
							c.Transparency = c.Transparency + 0.5/25
1814
						end
1815
					end
1816
				end
1817
				CLOCKSPEED = 2.5
1818
				FAKECHARACTER:remove()
1819
			end))
1820
			wait(0.5)
1821
			ATTACK = false
1822
			Rooted = false
1823
		end
1824
	end
1825
end
1826
1827
function ChainPunch()
1828
	ATTACK = false
1829
	Rooted = false
1830
	local GYRO = IT("BodyGyro",RootPart)
1831
	GYRO.D = 100
1832
	GYRO.P = 5000
1833
	GYRO.MaxTorque = VT(0,50000,0)
1834
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1835
	repeat
1836
		Swait()
1837
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1838
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1839
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1840
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1841
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1842
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1843
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1844
	until HOLD == true
1845
	local POS = Mouse.Hit.p
1846
	local CHAINS = false
1847
	local CHAINLINKS = {}
1848
	local A = IT("Attachment",RightArm)
1849
	A.Position = VT(1,-1,0)*SIZE
1850
	A.Orientation = VT(-90, -89.982, 0)
1851
	local B = IT("Attachment",RightArm)
1852
	B.Position = VT(-1,-1,0)*SIZE
1853
	B.Orientation = VT(-90, 89.988, 0)
1854
	local C = IT("Attachment",RightArm)
1855
	C.Position = VT(0.5,-1.3,0)*SIZE
1856
	C.Orientation = VT(-90, -89.982, 0)
1857
	local D = IT("Attachment",RightArm)
1858
	D.Position = VT(-0.5,-1.3,0)*SIZE
1859
	D.Orientation = VT(-90, 89.988, 0)
1860
	local LIGHT = IT("Attachment",RightArm)
1861
	LIGHT.Position = VT(0,-1,0)*SIZE
1862
	local LIGHT2 = IT("PointLight",LIGHT)
1863
	LIGHT2.Range = 7
1864
	LIGHT2.Brightness = 5
1865
	LIGHT2.Color = SKILLTEXTCOLOR
1866
	for i = 1, 2 do
1867
		local TWIST = -2
1868
		local START = A
1869
		local END = B
1870
		if i == 1 then
1871
			START = B
1872
			END = A
1873
		end
1874
		local ChainLink = IT("Beam",Torso)
1875
		ChainLink.Texture = "rbxassetid://73042633"
1876
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1877
		ChainLink.TextureSpeed = 1
1878
		ChainLink.Width0 = 1
1879
		ChainLink.Width1 = 1
1880
		ChainLink.TextureLength = 5
1881
		ChainLink.Attachment0 = START
1882
		ChainLink.Attachment1 = END
1883
		ChainLink.CurveSize0 = TWIST
1884
		ChainLink.CurveSize1 = TWIST
1885
		--ChainLink.FaceCamera = true
1886
		ChainLink.Segments = 45
1887
		ChainLink.Transparency = NumberSequence.new(1)
1888
		table.insert(CHAINLINKS,ChainLink)
1889
	end
1890
	for i = 1, 2 do
1891
		local TWIST = -1
1892
		local START = C
1893
		local END = D
1894
		if i == 1 then
1895
			START = D
1896
			END = C
1897
		end
1898
		local ChainLink = IT("Beam",Torso)
1899
		ChainLink.Texture = "rbxassetid://73042633"
1900
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1901
		ChainLink.TextureSpeed = 1
1902
		ChainLink.Width0 = 1
1903
		ChainLink.Width1 = 1
1904
		ChainLink.TextureLength = 5
1905
		ChainLink.Attachment0 = START
1906
		ChainLink.Attachment1 = END
1907
		ChainLink.CurveSize0 = TWIST
1908
		ChainLink.CurveSize1 = TWIST
1909
		--ChainLink.FaceCamera = true
1910
		ChainLink.Segments = 25
1911
		ChainLink.LightEmission = 0.5
1912
		ChainLink.Transparency = NumberSequence.new(1)
1913
		table.insert(CHAINLINKS,ChainLink)
1914
	end
1915
	coroutine.resume(coroutine.create(function()
1916
		repeat
1917
			Swait()
1918
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1919
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
1920
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1921
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1922
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1923
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1924
		until ATTACK == false
1925
		for e = 1, 15 do
1926
			Swait()
1927
			for i = 1, #CHAINLINKS do
1928
				CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
1929
			end
1930
		end
1931
		A:remove()
1932
		B:remove()
1933
		C:remove()
1934
		D:remove()
1935
	end))
1936
	CreateSound(233856115, RightArm, 5, 1.2, false)
1937
	for e = 1, 15 do
1938
		Swait()
1939
		for i = 1, #CHAINLINKS do
1940
			CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
1941
		end
1942
	end
1943
	CHAINS = true
1944
	Rooted = false
1945
	wait()
1946
	local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Mid grey", "Part", VT(2,2,2))
1947
	FIST.Color = C3(1, 215/255, 1)
1948
	FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) 
1949
	local LIGHT3 = IT("PointLight",FIST)
1950
	LIGHT3.Range = 7
1951
	LIGHT3.Brightness = 5
1952
	LIGHT3.Color = SKILLTEXTCOLOR
1953
	CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
1954
	local FISTA = IT("Attachment",FIST)
1955
	FISTA.Position = VT(0.062, 0.977, 0)
1956
	local ChainLink = IT("Beam",Torso)
1957
	ChainLink.Texture = "rbxassetid://73042633"
1958
	ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1959
	ChainLink.TextureSpeed = 0
1960
	ChainLink.Width0 = 3
1961
	ChainLink.Width1 = 3
1962
	ChainLink.TextureLength = 12
1963
	ChainLink.Attachment0 = LIGHT
1964
	ChainLink.Attachment1 = FISTA
1965
	ChainLink.FaceCamera = true
1966
	ChainLink.Segments = 45
1967
	ChainLink.LightEmission = 0.5
1968
	ChainLink.Transparency = NumberSequence.new(0.25)
1969
	local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
1970
	for i = 1, 85 do
1971
		Swait()
1972
		FIST.CFrame = FIST.CFrame*CF(0,-2,0)
1973
		ChainLink.TextureLength = 12+(i*2)
1974
		ApplyAoE(FIST.Position,10,15,25,100,false)
1975
		WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(100,0,100)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1976
		local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
1977
		if HITFLOOR ~= nil then
1978
			HITFLOOR:BreakJoints()
1979
			coroutine.resume(coroutine.create(function()
1980
				for i = 1, 15 do
1981
					Swait()
1982
					FISTSOUND.Volume = FISTSOUND.Volume - 0.15
1983
					ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
1984
					WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(500,0,500)*SIZE, Size2 = VT(999,3,999), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1985
				end
1986
			end))
1987
			break
1988
		end
1989
	end
1990
	coroutine.resume(coroutine.create(function()
1991
		for i = 1, 50 do
1992
			Swait()
1993
			FIST.Transparency = FIST.Transparency + 0.5/50
1994
			LIGHT3.Range = LIGHT3.Range - 7/50
1995
		end
1996
		FIST:remove()
1997
	end))
1998
	LIGHT:remove()
1999
	GYRO:remove()
2000
	ATTACK = false
2001
	Rooted = false
2002
end
2003
2004
function WarpMeteor()
2005
	local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
2006
	if DIST > 9999 then
2007
		DIST = 9999
2008
	end
2009
	local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
2010
	local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
2011
	if HITFLOOR then
2012
		local POS = HITPOS	
2013
		ATTACK = true
2014
		Rooted = false
2015
		local WARPED = false
2016
		local SMASHED = false
2017
		local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
2018
		coroutine.resume(coroutine.create(function()
2019
			repeat
2020
				Swait()
2021
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2022
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2023
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2024
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2025
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2026
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2027
			until WARPED == true
2028
			repeat
2029
				Swait()
2030
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2031
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2032
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2033
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2034
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2035
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2036
			until SMASHED == true
2037
			repeat
2038
				Swait()
2039
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
2040
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
2041
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2042
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2043
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
2044
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2045
			until ATTACK == false
2046
		end))
2047
		VALUE1 = true
2048
		CreateSound(233856115, Torso, 5, 1.6, false)
2049
		for i = 1, 25 do
2050
			Swait()
2051
			for _, c in pairs(Character:GetChildren()) do
2052
				if c.ClassName == "Part" then
2053
					c.Transparency = c.Transparency + 1/25
2054
				end
2055
			end
2056
			for _, c in pairs(Weapon:GetChildren()) do
2057
				if c.ClassName == "Part" then
2058
					c.Transparency = c.Transparency + 1/25
2059
				end
2060
			end
2061
		end
2062
		UNANCHOR = false
2063
		RootPart.Anchored = true
2064
		RootPart.Velocity = VT(0,0,0)
2065
		local ROOTPOS = RootPart.Position
2066
		RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
2067
		WARPED = true
2068
		for i = 1, 25 do
2069
			Swait()
2070
			for _, c in pairs(Character:GetChildren()) do
2071
				if c.ClassName == "Part" then
2072
					c.Transparency = c.Transparency - 1/25
2073
				end
2074
			end
2075
			for _, c in pairs(Weapon:GetChildren()) do
2076
				if c.ClassName == "Part" then
2077
					c.Transparency = c.Transparency - 1/25
2078
				end
2079
			end
2080
		end
2081
		local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Mid grey", "Part", VT(0,0,0))
2082
		SHELL.CFrame = RootPart.CFrame
2083
		MakeForm(SHELL,"Ball")
2084
		CreateSound(402981977, SHELL, 5, 1.6, false)
2085
		for i = 1, 10 do
2086
			Swait()
2087
			SHELL.Transparency = SHELL.Transparency - 1/10
2088
			SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
2089
		end
2090
		for i = 1, math.ceil(75/2) do
2091
			Swait()
2092
			RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
2093
			SHELL.CFrame = CF(RootPart.Position)
2094
			WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
2095
		end
2096
		RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
2097
		SHELL.CFrame = CF(RootPart.Position)
2098
		WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
2099
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
2100
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
2101
		for i = 1, 5 do
2102
			WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2103
		end
2104
		SHELL:remove()
2105
		ApplyAoE(RootPart.Position,75,35,75,175,false)
2106
		SMASHED = true
2107
		wait(1)
2108
		VALUE1 = false
2109
		UNANCHOR = true
2110
		ATTACK = false
2111
		Rooted = false
2112
	end
2113
end
2114
2115
function PandorasBox()
2116
	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)
2117
	if HITFLOOR ~= nil then
2118
		ATTACK = false
2119
		Rooted = false
2120
		local RINGSPIN = true
2121
		local CONSTRUCTING = true
2122
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
2123
		RING.Color = C3(0,0,0)
2124
		MakeForm(RING,"Cyl")
2125
		RING.CFrame = CF(HITPOS)
2126
		CreateSound(402981977, RING, 5, 1.2, false)
2127
		coroutine.resume(coroutine.create(function()
2128
			repeat
2129
				Swait()
2130
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2131
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2132
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2133
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2134
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2135
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2136
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2137
			until CONSTRUCTING == false
2138
			repeat 
2139
				Swait() 
2140
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2141
			until RINGSPIN == false
2142
			for i = 1, 25 do
2143
				Swait()
2144
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2145
				RING.Size = RING.Size - VT(0.15,0,0.15)
2146
				--DECAL.Transparency = DECAL.Transparency + 1/25
2147
				RING.Transparency = RING.Transparency + 1/25
2148
			end
2149
			RING:remove()
2150
		end))
2151
		for i = 1, 15 do
2152
			Swait()
2153
			RING.Size = RING.Size + VT(0.75,0,0.75)
2154
			RING.Transparency = RING.Transparency - 1/15
2155
		end
2156
		local BOXSPIN = true
2157
		local PANDORASBOX = IT("Model",Effects)
2158
		PANDORASBOX.Name = "Pandora's Box"
2159
		local BOX = IT("Model",PANDORASBOX)
2160
		BOX.Name = "Body"
2161
		local LID = IT("Model",PANDORASBOX)
2162
		LID.Name = "Lid"
2163
		--BUILDING THE BOX--
2164
			local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
2165
			BASE.Color = C3(0,0,0)
2166
			PANDORASBOX.PrimaryPart = BASE
2167
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
2168
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
2169
			WOOD.CFrame = BASE.CFrame*CF(1,0,1)
2170
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
2171
			WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
2172
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
2173
			WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
2174
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
2175
			WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
2176
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2177
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
2178
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2179
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
2180
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2181
			WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
2182
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2183
			WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
2184
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2185
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
2186
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2187
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
2188
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2189
			WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
2190
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2191
			WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
2192
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
2193
			WOOD.CFrame = BASE.CFrame*CF(0,0,1)
2194
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
2195
			WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
2196
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
2197
			WOOD.CFrame = BASE.CFrame*CF(1,0,0)
2198
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
2199
			WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
2200
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
2201
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
2202
			-------------
2203
			local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
2204
			LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
2205
			LID.PrimaryPart = LIDPART
2206
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2207
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
2208
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2209
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
2210
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2211
			WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
2212
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2213
			WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
2214
			local DECAL = IT("Decal",LIDPART)
2215
			DECAL.Face = "Top"
2216
			DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
2217
			DECAL.Color3 = C3(0,0,0)
2218
		--BUILDING THE BOX--
2219
		coroutine.resume(coroutine.create(function()
2220
			repeat
2221
				Swait()
2222
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
2223
			until BOXSPIN == false
2224
		end))
2225
		for i = 1, 25 do
2226
			Swait()
2227
			PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
2228
		end
2229
		wait(0.5)
2230
		BOXSPIN = false
2231
		CONSTRUCTING = false	
2232
		coroutine.resume(coroutine.create(function()
2233
			WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
2234
			--[[for i = 1, 45 do
2235
				Swait()
2236
				LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
2237
			end-
2238
			LID:remove()]]--
2239
			for _, c in pairs(LID:GetChildren()) do
2240
				if c.ClassName == "Part" then
2241
					c.Anchored = false
2242
					c.CanCollide = true
2243
					if c ~= LIDPART then
2244
						weldBetween(LIDPART,c)
2245
					end
2246
				end
2247
			end
2248
			LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
2249
			Debris:AddItem(LID,15)
2250
			wait(0.5)
2251
			local RANDOMEFFECT = MRANDOM(1,4)
2252
			if RANDOMEFFECT == 1 then
2253
				for i = 1, 45 do
2254
					wait((2-(i/15))/15)
2255
					WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
2256
				end	
2257
				wait(1)
2258
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
2259
				WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
2260
				WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
2261
				for i = 1, 5 do
2262
					WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2263
				end
2264
				ApplyAoE(BASE.Position,50,1,200,375,false)
2265
				ApplyAoE(BASE.Position,250,35,75,175,false)
2266
			elseif RANDOMEFFECT == 2 then
2267
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
2268
				FIELD.CFrame = BASE.CFrame
2269
				MakeForm(FIELD,"Ball")
2270
				for i = 1, 50 do
2271
					Swait()
2272
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
2273
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
2274
				end
2275
				wait(0.2)
2276
				local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
2277
				coroutine.resume(coroutine.create(function()
2278
					for i = 1, 75 do
2279
						Swait()
2280
						LOOP.Volume = LOOP.Volume + 10/75
2281
						LOOP.Parent = FIELD
2282
						local CHILDREN = workspace:GetDescendants()
2283
						for index, CHILD in pairs(CHILDREN) do
2284
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2285
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2286
								if HUM then
2287
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2288
									if TORSO then
2289
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2290
											HUM.Health = HUM.Health - 0.1
2291
											TORSO.Velocity = VT(0,5,0)
2292
											HUM.PlatformStand = true
2293
											if TORSO.RotVelocity.Magnitude < 15 then
2294
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2295
											end
2296
										end
2297
									end
2298
								end
2299
							end
2300
						end
2301
						FIELD.Size = FIELD.Size + VT(3,3,3)
2302
						FIELD.Transparency = FIELD.Transparency + 0.8/75
2303
					end
2304
					for i = 1, 500 do
2305
						Swait()
2306
						LOOP.Parent = FIELD
2307
						local CHILDREN = workspace:GetDescendants()
2308
						for index, CHILD in pairs(CHILDREN) do
2309
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2310
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2311
								if HUM then
2312
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2313
									if TORSO then
2314
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2315
											TORSO.Velocity = VT(0,5,0)
2316
											HUM.Health = HUM.Health - 0.1
2317
											HUM.PlatformStand = true
2318
											if TORSO.RotVelocity.Magnitude < 15 then
2319
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2320
											end
2321
										end
2322
									end
2323
								end
2324
							end
2325
						end
2326
					end
2327
					for i = 1, 25 do
2328
						Swait()
2329
						LOOP.Volume = LOOP.Volume + 10/25
2330
						LOOP.Parent = FIELD
2331
						local CHILDREN = workspace:GetDescendants()
2332
						for index, CHILD in pairs(CHILDREN) do
2333
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2334
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2335
								if HUM then
2336
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2337
									if TORSO then
2338
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
2339
											TORSO.Velocity = VT(0,5,0)
2340
											HUM.Health = HUM.Health - 0.1
2341
											HUM.PlatformStand = false
2342
											if TORSO.RotVelocity.Magnitude < 15 then
2343
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2344
											end
2345
										end
2346
									end
2347
								end
2348
							end
2349
						end
2350
						FIELD.Size = FIELD.Size - VT(3,3,3)
2351
						FIELD.Transparency = FIELD.Transparency + 0.2/25
2352
					end	
2353
					FIELD:remove()
2354
				end))
2355
			elseif RANDOMEFFECT == 3 then
2356
				for i = 1, 10 do
2357
					wait(0.15)
2358
					WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
2359
					coroutine.resume(coroutine.create(function()
2360
						local MINION = CLONE:Clone()
2361
						MINION.Parent = Effects
2362
						MINION.Name = "Shadow"
2363
						MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
2364
						MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
2365
						for _, c in pairs(MINION:GetChildren()) do
2366
							if c.ClassName == "Part" then
2367
								c.Material = "Neon"
2368
								c.Color = C3(0,0,0)
2369
								c.Transparency = 0.25
2370
								if c.Name == "Head" then
2371
									c:ClearAllChildren()
2372
									local MSH = IT("BlockMesh",c)
2373
									MSH.Scale = VT(0.5,1,1)
2374
								end
2375
							end
2376
						end
2377
						local TORSO = MINION.Torso
2378
						local HUMAN = MINION.Humanoid
2379
						HUMAN.WalkSpeed = 100
2380
						HUMAN.MaxHealth = math.huge
2381
						HUMAN.Health = math.huge
2382
						HUMAN.DisplayDistanceType = "None"
2383
                                                HUMAN.Died:connect(function()
2384
							MINION:remove()
2385
							--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
2386
						end)
2387
						wait(1)
2388
						local findNearestTorso = function(POS)
2389
							local list = game.Workspace:GetDescendants()
2390
							local torso = nil
2391
							local dist = 9999
2392
							local temp = nil
2393
							local human = nil
2394
							local temp2 = nil
2395
							for x = 1, #list do
2396
								temp2 = list[x]
2397
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
2398
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
2399
									human = temp2:findFirstChildOfClass("Humanoid")
2400
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2401
										if (temp.Position - POS).magnitude < dist then
2402
											torso = temp
2403
											dist = (temp.Position - POS).magnitude
2404
										end
2405
									end
2406
								end
2407
							end
2408
							return torso, dist
2409
						end
2410
						for i = 1, 40 do
2411
							if HUMAN.Health == 0 then
2412
								break
2413
							end
2414
							wait(0.3)
2415
							local target,dist= findNearestTorso(TORSO.Position)
2416
							if target then
2417
								HUMAN:MoveTo(target.Position)
2418
								if dist < 999 then
2419
									CreateSound(348663022, TORSO, 10, 1, true)
2420
									wait(0.5)
2421
									--local ANIM = HUMAN:LoadAnimation(ATANIM)
2422
									--ANIM:Play()
2423
									--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
2424
									ApplyAoE(TORSO.Position,10,0,0,85,false)
2425
									WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
2426
									for i = 1, 5 do
2427
										WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2428
									end
2429
									break
2430
								end
2431
							end
2432
						end
2433
						MINION:remove()
2434
					end))
2435
				end
2436
			elseif RANDOMEFFECT == 4 then
2437
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
2438
				FIELD.Color = C3(0,0,0)
2439
				FIELD.CFrame = BASE.CFrame
2440
				MakeForm(FIELD,"Ball")
2441
				FIELD.CanCollide = true
2442
				for i = 1, 50 do
2443
					Swait()
2444
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
2445
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
2446
				end
2447
				wait(0.2)
2448
				local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
2449
				coroutine.resume(coroutine.create(function()
2450
					local E = 0
2451
					for i = 1, 75 do
2452
						E = E + 1
2453
						Swait()
2454
						if E >= 35 then
2455
							E = 0
2456
							WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
2457
						end
2458
						LOOP.Volume = LOOP.Volume + 10/75
2459
						LOOP.Parent = FIELD
2460
						local CHILDREN = workspace:GetDescendants()
2461
						for index, CHILD in pairs(CHILDREN) do
2462
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2463
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2464
								if HUM then
2465
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2466
									if TORSO then
2467
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
2468
											for _, c in pairs(CHILD:GetChildren()) do
2469
												if c:IsA("BasePart") then
2470
													local bv = Instance.new("BodyVelocity") 
2471
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2472
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
2473
													bv.Parent = c
2474
													Debris:AddItem(bv,0.05)
2475
												end
2476
											end
2477
											HUM.Health = HUM.Health - 0.3
2478
										end
2479
									end
2480
								end
2481
							end
2482
						end
2483
						FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
2484
					end
2485
					for i = 1, 180 do
2486
						E = E + 1
2487
						Swait()
2488
						if E >= 35 then
2489
							E = 0
2490
							WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
2491
						end
2492
						LOOP.Parent = FIELD
2493
						local CHILDREN = workspace:GetDescendants()
2494
						for index, CHILD in pairs(CHILDREN) do
2495
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2496
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2497
								if HUM then
2498
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2499
									if TORSO then
2500
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
2501
											for _, c in pairs(CHILD:GetChildren()) do
2502
												if c:IsA("BasePart") then
2503
													local bv = Instance.new("BodyVelocity") 
2504
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2505
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
2506
													bv.Parent = c
2507
													Debris:AddItem(bv,0.05)
2508
												end
2509
											end
2510
											HUM.Health = HUM.Health - 0.3
2511
										end
2512
									end
2513
								end
2514
							end
2515
						end
2516
					end
2517
					ApplyAoE(FIELD.Position,40,15,20,375,false)
2518
					WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
2519
					for i = 1, 5 do
2520
						WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2521
					end
2522
					FIELD:remove()
2523
				end))
2524
			elseif RANDOMEFFECT == 5 then
2525
			end
2526
			wait(0.5)
2527
			for i = 1, 25 do
2528
				Swait()
2529
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
2530
			end
2531
			PANDORASBOX:remove()
2532
			RINGSPIN = false
2533
		end))
2534
		ATTACK = false
2535
		Rooted = false
2536
	end
2537
end
2538
2539
function Pandora_Taunt()
2540
	ATTACK = true
2541
	local LAUGH = nil
2542
	coroutine.resume(coroutine.create(function()
2543
		repeat
2544
			Swait()
2545
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2546
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
2547
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2548
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2549
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2550
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2551
		until LAUGH ~= nil
2552
		repeat
2553
			Swait()
2554
			LAUGH.Parent = Head
2555
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2556
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
2557
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2558
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2559
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2560
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2561
		until LAUGH.Playing == false
2562
	ATTACK = false
2563
	end))
2564
	wait(0.1)
2565
	sick:Pause()
2566
	LAUGH = CreateSound(333446256, Head, 10, 1, false)
2567
	wait(1.5)
2568
	sick:Resume()
2569
end
2570
2571
--//=================================\\
2572
--||	  ASSIGN THINGS TO KEYS
2573
--\\=================================//
2574
2575
function MouseDown(Mouse)
2576
	HOLD = true
2577
	if ATTACK == false then
2578
	end
2579
end
2580
2581
function MouseUp(Mouse)
2582
HOLD = false
2583
end
2584
2585
function KeyDown(Key)
2586
	KEYHOLD = true
2587
	--PANDORA--
2588
	if Key == "r" and ATTACK == false then
2589
		MagicMissiles()
2590
	end
2591
2592
	if Key == "b" and ATTACK == false then
2593
		TimesUp()
2594
	end
2595
2596
	if Key == "c" and ATTACK == false then
2597
		ChainPunch()
2598
	end
2599
2600
	if Key == "v" and ATTACK == false then
2601
		WarpMeteor()
2602
	end
2603
2604
	if Key == "k" and ATTACK == false then
2605
		PandorasBox()
2606
	end
2607
2608
	if Key == "t" and ATTACK == false then
2609
		Pandora_Taunt()
2610
	end
2611
	--SEARING--
2612
	if Key == "l" and ATTACK == false then
2613
		Searing_Taunt()
2614
	end
2615
	
2616
	if Key == "g" and ATTACK == false then
2617
		Lock()
2618
	end
2619
	
2620
	if Key == "m" and ATTACK == false then
2621
		TrueForm()
2622
	end
2623
	
2624
	if Key == "w" and ATTACK == false and SEARING == true and VALUE2 == false then
2625
		repeat
2626
			VALUE2 = true
2627
			Swait()
2628
			BODYPOS.Position = RootPart.CFrame*CF(0,0,-5).p
2629
		until KEYHOLD == false
2630
		VALUE2 = false
2631
	end
2632
	
2633
	if Key == "e" and ATTACK == false then
2634
		Spitter()
2635
	end
2636
	
2637
	if Key == "z" and ATTACK == false then
2638
		Fireball()
2639
	end
2640
	
2641
	if Key == "x" and SEARING == false then
2642
		Devastor()
2643
	end
2644
	
2645
	if string.byte(Key) == 48 and ATTACK == false then
2646
		if Speed == 20 then
2647
			Speed = 45
2648
		elseif Speed == 45 then
2649
			Speed = 20
2650
		end
2651
	end
2652
end
2653
2654
function KeyUp(Key)
2655
	KEYHOLD = false
2656
end
2657
2658
	Mouse.Button1Down:connect(function(NEWKEY)
2659
		MouseDown(NEWKEY)
2660
	end)
2661
	Mouse.Button1Up:connect(function(NEWKEY)
2662
		MouseUp(NEWKEY)
2663
	end)
2664
	Mouse.KeyDown:connect(function(NEWKEY)
2665
		KeyDown(NEWKEY)
2666
	end)
2667
	Mouse.KeyUp:connect(function(NEWKEY)
2668
		KeyUp(NEWKEY)
2669
	end)
2670
2671
--//=================================\\
2672
--\\=================================//
2673
2674
2675
function unanchor()
2676
	if UNANCHOR == true then
2677
		RootPart.Anchored = false
2678
	end
2679
	g = Character:GetChildren()
2680
	for i = 1, #g do
2681
		if g[i].ClassName == "Part" and g[i] ~= RootPart then
2682
			g[i].Anchored = false
2683
		end
2684
	end
2685
	g = Weapon:GetChildren()
2686
	for i = 1, #g do
2687
		if g[i].ClassName == "Part" then
2688
			g[i].Anchored = false
2689
		end
2690
	end
2691
end
2692
2693
2694
--//=================================\\
2695
--||	WRAP THE WHOLE SCRIPT UP
2696
--\\=================================//
2697
2698
Humanoid.Changed:connect(function(Jump)
2699
	if Jump == "Jump" and (Disable_Jump == true) then
2700
		Humanoid.Jump = false
2701
	end
2702
end)
2703
2704
while true do
2705
	Swait()
2706
	script.Parent = WEAPONGUI
2707
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2708
	    v:Stop();
2709
	end
2710
	refit()
2711
	ANIMATE.Parent = nil
2712
	SINE = SINE + CHANGE*1.5
2713
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2714
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2715
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2716
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
2717
			if ANIM == "Walk" and TORSOVELOCITY > 1 and SEARING == false and Rooted == false then
2718
			if Humanoid.WalkSpeed <= 20 then
2719
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2720
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2721
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2722
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2723
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2724
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2725
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2726
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2727
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2728
			elseif SEARING == false and Humanoid.WalkSpeed > 20 and Rooted == false then
2729
				        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) ) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2730
        Neck.C1 = Clerp(Neck.C1, CF(0 , -0.5 , 0 ) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2731
			end
2732
		elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or SEARING == true or Rooted == true then
2733
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2734
			Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2735
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2736
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2737
		end
2738
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2739
		ANIM = "Jump"
2740
		if ATTACK == false then
2741
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2742
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2743
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2744
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2745
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
2746
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
2747
	    end
2748
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2749
		ANIM = "Fall"
2750
		if ATTACK == false then
2751
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2752
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2753
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2754
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2755
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
2756
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
2757
		end
2758
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2759
		ANIM = "Idle"
2760
		if ATTACK == false then
2761
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2762
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2763
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2764
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2765
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2766
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2767
		end
2768
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2769
			ANIM = "Walk"
2770
			if ATTACK == false then
2771
				if Humanoid.WalkSpeed <= 20 then
2772
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2773
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
2774
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2775
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2776
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2777
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2778
				elseif Humanoid.WalkSpeed > 20 then
2779
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2780
		    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2781
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0.5) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2782
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2783
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2784
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
2785
				end
2786
			end
2787
	elseif SEARING == true then
2788
		if APPLYGYRO == true then
2789
			if VALUE2 == false and DIRECTTURN == false then
2790
				if GYRO ~= nil then
2791
					GYRO.MaxTorque = VT(0,40000,0)
2792
					GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2793
				end
2794
			else
2795
				if GYRO ~= nil then
2796
					GYRO.MaxTorque = VT(80000,40000,80000)
2797
					GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2798
				end
2799
			end
2800
		end
2801
		if VALUE2 == false and ATTACK == false then
2802
			ANIM = "IdleFlight"
2803
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2804
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2805
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2806
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2807
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2808
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2809
		elseif VALUE2 == true and ATTACK == false then
2810
			ANIM = "Flight"
2811
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
2812
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2813
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
2814
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2815
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2816
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2817
		end
2818
	end
2819
	unanchor()
2820
	Humanoid.MaxHealth = "inf"
2821
	Humanoid.Health = "inf"
2822
	if Rooted == false then
2823
		Disable_Jump = false
2824
		Humanoid.WalkSpeed = Speed
2825
	elseif Rooted == true then
2826
		Disable_Jump = true
2827
		Humanoid.WalkSpeed = 0
2828
	end
2829
	if Head:FindFirstChild("face") then
2830
		Head.face.Texture = "rbxassetid://608798717"
2831
		Head.face.Transparency = Head.Transparency
2832
	end
2833
	for _, c in pairs(Character:GetChildren()) do
2834
		if c.ClassName == "Part" and c.Name ~= "Detail" then
2835
			c.Material = "SmoothPlastic"
2836
			if c:FindFirstChildOfClass("ParticleEmitter") then
2837
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2838
			end
2839
			if c ~= Head then
2840
				c.Color = C3(1,1,1)
2841
			else
2842
				c.Color = C3(1,1,1)
2843
			end
2844
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2845
			c:remove()
2846
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
2847
			c:remove()
2848
		end
2849
	end
2850
	sick.SoundId = "rbxassetid://"..SONG
2851
	sick.Looped = true
2852
	sick.Pitch = 1
2853
	sick.Volume = 5
2854
	sick.Parent = Torso
2855
	sick:Resume()
2856
	--sick.Playing = false
2857
	Humanoid.Name = "Searing Pandora = "..Player.Name
2858
end
2859
2860
--//=================================\\
2861
--\\=================================//
2862
2863
2864
2865
2866
2867
--//====================================================\\--
2868
--||			  		 END OF SCRIPT
2869
--\\====================================================//--
2870
end))
2871
ParticleEmitter1.Name = "Regen"
2872
ParticleEmitter1.Parent = LocalScript0
2873
ParticleEmitter1.Speed = NumberRange.new(1, 1)
2874
ParticleEmitter1.Rotation = NumberRange.new(0, 360)
2875
ParticleEmitter1.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2876
ParticleEmitter1.Enabled = false
2877
ParticleEmitter1.LightEmission = 0.89999997615814
2878
ParticleEmitter1.Texture = "rbxassetid://296874871"
2879
ParticleEmitter1.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2880
ParticleEmitter1.ZOffset = 1
2881
ParticleEmitter1.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
2882
ParticleEmitter1.Acceleration = Vector3.new(0, 3, 0)
2883
ParticleEmitter1.Drag = 3
2884
ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
2885
ParticleEmitter1.Lifetime = NumberRange.new(1, 1)
2886
ParticleEmitter1.Rate = 300
2887
ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
2888
ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
2889
ParticleEmitter1.VelocitySpread = 360
2890
ParticleEmitter2.Name = "Regen2"
2891
ParticleEmitter2.Parent = LocalScript0
2892
ParticleEmitter2.Speed = NumberRange.new(1, 1)
2893
ParticleEmitter2.Rotation = NumberRange.new(0, 360)
2894
ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2895
ParticleEmitter2.Enabled = false
2896
ParticleEmitter2.LightEmission = 0.89999997615814
2897
ParticleEmitter2.Texture = "rbxassetid://296874871"
2898
ParticleEmitter2.Transparency = NumberSequence.new(1,1,0.7704918384552,0.29508197307587,0.24590164422989,0.37704920768738,0.62841534614563,0.90710383653641,1)
2899
ParticleEmitter2.ZOffset = 1
2900
ParticleEmitter2.Size = NumberSequence.new(0,0.81967234611511,0.7103830575943,0.49180328845978,0)
2901
ParticleEmitter2.Drag = 5
2902
ParticleEmitter2.EmissionDirection = Enum.NormalId.Right
2903
ParticleEmitter2.Lifetime = NumberRange.new(1, 1)
2904
ParticleEmitter2.Rate = 70
2905
ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
2906
ParticleEmitter2.SpreadAngle = Vector2.new(360, 360)
2907
ParticleEmitter2.VelocitySpread = 360
2908
BillboardGui3.Name = "NameGui"
2909
BillboardGui3.Parent = LocalScript0
2910
BillboardGui3.Enabled = false
2911
BillboardGui3.Size = UDim2.new(7.5, 0, 1.5, 0)
2912
BillboardGui3.AlwaysOnTop = true
2913
BillboardGui3.MaxDistance = 70
2914
BillboardGui3.SizeOffset = Vector2.new(0, 4)
2915
TextLabel4.Name = "PlayerName"
2916
TextLabel4.Parent = BillboardGui3
2917
TextLabel4.Transparency = 1
2918
TextLabel4.Size = UDim2.new(1, 0, 1, 0)
2919
TextLabel4.BackgroundColor = BrickColor.new("Institutional white")
2920
TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
2921
TextLabel4.BackgroundTransparency = 1
2922
TextLabel4.BorderColor = BrickColor.new("Institutional white")
2923
TextLabel4.BorderColor3 = Color3.new(1, 1, 1)
2924
TextLabel4.BorderSizePixel = 0
2925
TextLabel4.Font = Enum.Font.Antique
2926
TextLabel4.FontSize = Enum.FontSize.Size14
2927
TextLabel4.Text = "PlanetaryVoid"
2928
TextLabel4.TextColor = BrickColor.new("Sand violet metallic")
2929
TextLabel4.TextColor3 = Color3.new(0.580392, 0.580392, 0.580392)
2930
TextLabel4.TextScaled = true
2931
TextLabel4.TextSize = 14
2932
TextLabel4.TextStrokeColor3 = Color3.new(0.337255, 0.337255, 0.337255)
2933
TextLabel4.TextStrokeTransparency = 0
2934
TextLabel4.TextWrap = true
2935
TextLabel4.TextWrapped = true
2936
TextLabel5.Name = "Title"
2937
TextLabel5.Parent = BillboardGui3
2938
TextLabel5.Position = UDim2.new(-0.75, 0, 0.899999976, 0)
2939
TextLabel5.Transparency = 1
2940
TextLabel5.Size = UDim2.new(2.5, 0, 1.5, 0)
2941
TextLabel5.BackgroundColor = BrickColor.new("Institutional white")
2942
TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1)
2943
TextLabel5.BackgroundTransparency = 1
2944
TextLabel5.BorderColor = BrickColor.new("Institutional white")
2945
TextLabel5.BorderColor3 = Color3.new(1, 1, 1)
2946
TextLabel5.BorderSizePixel = 0
2947
TextLabel5.Font = Enum.Font.Antique
2948
TextLabel5.FontSize = Enum.FontSize.Size14
2949
TextLabel5.Text = "The Searing Pandora"
2950
TextLabel5.TextColor = BrickColor.new("Alder")
2951
TextLabel5.TextColor3 = Color3.new(0.666667, 0.333333, 1)
2952
TextLabel5.TextScaled = true
2953
TextLabel5.TextSize = 14
2954
TextLabel5.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
2955
TextLabel5.TextStrokeTransparency = 0
2956
TextLabel5.TextWrap = true
2957
TextLabel5.TextWrapped = true
2958
ParticleEmitter6.Name = "FistFire"
2959
ParticleEmitter6.Parent = LocalScript0
2960
ParticleEmitter6.Speed = NumberRange.new(3, 3)
2961
ParticleEmitter6.Rotation = NumberRange.new(0, 360)
2962
ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
2963
ParticleEmitter6.Enabled = false
2964
ParticleEmitter6.LightEmission = 0.89999997615814
2965
ParticleEmitter6.Texture = "rbxassetid://296874871"
2966
ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.2896174788475,0.25683063268661,0.4426229596138,0.62841534614563,1)
2967
ParticleEmitter6.ZOffset = 1
2968
ParticleEmitter6.Size = NumberSequence.new(0,0,0.7103830575943,0.49180328845978,0)
2969
ParticleEmitter6.Acceleration = Vector3.new(0, 3, 0)
2970
ParticleEmitter6.Drag = 1
2971
ParticleEmitter6.EmissionDirection = Enum.NormalId.Bottom
2972
ParticleEmitter6.Lifetime = NumberRange.new(2, 2)
2973
ParticleEmitter6.LockedToPart = true
2974
ParticleEmitter6.Rate = 300
2975
ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
2976
ParticleEmitter6.SpreadAngle = Vector2.new(45, 45)
2977
ParticleEmitter6.VelocitySpread = 45
2978
LocalScript7.Name = "CamShake"
2979
LocalScript7.Parent = LocalScript0
2980
table.insert(cors,sandbox(LocalScript7,function()
2981
wait()
2982
VT = Vector3.new
2983
MRANDOM = math.random
2984
local A = nil
2985
local B = nil
2986
local C = nil
2987
local HUMANOID = script.Parent:FindFirstChildOfClass("Humanoid")
2988
for _, c in pairs(script:GetChildren()) do
2989
	if c.Name == "Timer" then
2990
		A = c.Value
2991
	elseif c.Name == "Shake" then
2992
		B = c.Value*5
2993
	elseif c.Name == "DoesFade" then
2994
		C = c.Value
2995
	end
2996
end
2997
local TIMER = A or 35
2998
local SHAKE = B or 5
2999
local FADE = C or true
3000
if HUMANOID and game.Players:FindFirstChild(script.Parent.Name) then
3001
	if FADE == true then
3002
		local FADER = SHAKE/TIMER
3003
		for i = 1, TIMER do
3004
			wait()
3005
			HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
3006
		end
3007
		HUMANOID.CameraOffset = VT(0,0,0)
3008
	else
3009
		for i = 1, TIMER do
3010
			wait()
3011
			HUMANOID.CameraOffset = VT(MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10)
3012
		end
3013
		HUMANOID.CameraOffset = VT(0,0,0)
3014
	end
3015
end
3016
script:remove()
3017
end))
3018
3019
LocalScript7.Disabled = true
3020
NumberValue8.Name = "Timer"
3021
NumberValue8.Parent = LocalScript7
3022
NumberValue8.Value = 35
3023
NumberValue9.Name = "Shake"
3024
NumberValue9.Parent = LocalScript7
3025
NumberValue9.Value = 5
3026
BoolValue10.Name = "DoesFade"
3027
BoolValue10.Parent = LocalScript7
3028
ParticleEmitter11.Name = "FireballFire2"
3029
ParticleEmitter11.Parent = LocalScript0
3030
ParticleEmitter11.Rotation = NumberRange.new(0, 360)
3031
ParticleEmitter11.Color = ColorSequence.new(Color3.new(0.14902, 0.886275, 1),Color3.new(0, 0.666667, 1))
3032
ParticleEmitter11.Enabled = false
3033
ParticleEmitter11.LightEmission = 0.89999997615814
3034
ParticleEmitter11.Texture = "rbxassetid://296874871"
3035
ParticleEmitter11.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3036
ParticleEmitter11.ZOffset = 2
3037
ParticleEmitter11.Size = NumberSequence.new(5,5,1.8032789230347,0)
3038
ParticleEmitter11.Drag = 1
3039
ParticleEmitter11.EmissionDirection = Enum.NormalId.Right
3040
ParticleEmitter11.Lifetime = NumberRange.new(0, 1.5)
3041
ParticleEmitter11.Rate = 9999
3042
ParticleEmitter11.RotSpeed = NumberRange.new(-56, 56)
3043
ParticleEmitter11.SpreadAngle = Vector2.new(360, 360)
3044
ParticleEmitter11.VelocitySpread = 360
3045
ParticleEmitter12.Name = "ExplosionFire2"
3046
ParticleEmitter12.Parent = LocalScript0
3047
ParticleEmitter12.Speed = NumberRange.new(7, 270)
3048
ParticleEmitter12.Rotation = NumberRange.new(0, 360)
3049
ParticleEmitter12.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
3050
ParticleEmitter12.Enabled = false
3051
ParticleEmitter12.LightEmission = 0.89999997615814
3052
ParticleEmitter12.Texture = "rbxassetid://296874871"
3053
ParticleEmitter12.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3054
ParticleEmitter12.ZOffset = 1
3055
ParticleEmitter12.Size = NumberSequence.new(0,0.98360657691956,1.530054807663,0)
3056
ParticleEmitter12.Drag = 8
3057
ParticleEmitter12.EmissionDirection = Enum.NormalId.Right
3058
ParticleEmitter12.Lifetime = NumberRange.new(2, 4)
3059
ParticleEmitter12.Rate = 300
3060
ParticleEmitter12.RotSpeed = NumberRange.new(-56, 56)
3061
ParticleEmitter12.SpreadAngle = Vector2.new(360, 360)
3062
ParticleEmitter12.VelocitySpread = 360
3063
ParticleEmitter13.Name = "Field"
3064
ParticleEmitter13.Parent = LocalScript0
3065
ParticleEmitter13.Speed = NumberRange.new(20, 50)
3066
ParticleEmitter13.Rotation = NumberRange.new(0, 360)
3067
ParticleEmitter13.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
3068
ParticleEmitter13.Enabled = false
3069
ParticleEmitter13.LightEmission = 0.89999997615814
3070
ParticleEmitter13.Texture = "rbxassetid://296874871"
3071
ParticleEmitter13.Transparency = NumberSequence.new(1,0.92349725961685,0.87978142499924,0.92349725961685,1)
3072
ParticleEmitter13.ZOffset = 1
3073
ParticleEmitter13.Size = NumberSequence.new(0,10)
3074
ParticleEmitter13.EmissionDirection = Enum.NormalId.Right
3075
ParticleEmitter13.Lifetime = NumberRange.new(2, 4)
3076
ParticleEmitter13.Rate = 999
3077
ParticleEmitter13.RotSpeed = NumberRange.new(-56, 56)
3078
ParticleEmitter13.SpreadAngle = Vector2.new(360, 360)
3079
ParticleEmitter13.VelocitySpread = 360
3080
ParticleEmitter14.Name = "BodyFire"
3081
ParticleEmitter14.Parent = LocalScript0
3082
ParticleEmitter14.Speed = NumberRange.new(1, 1)
3083
ParticleEmitter14.Rotation = NumberRange.new(0, 360)
3084
ParticleEmitter14.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
3085
ParticleEmitter14.Enabled = false
3086
ParticleEmitter14.LightEmission = 0.89999997615814
3087
ParticleEmitter14.Texture = "rbxassetid://296874871"
3088
ParticleEmitter14.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1)
3089
ParticleEmitter14.ZOffset = 1
3090
ParticleEmitter14.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
3091
ParticleEmitter14.Acceleration = Vector3.new(0, 3, 0)
3092
ParticleEmitter14.Drag = 3
3093
ParticleEmitter14.EmissionDirection = Enum.NormalId.Right
3094
ParticleEmitter14.Lifetime = NumberRange.new(1, 1)
3095
ParticleEmitter14.Rate = 300
3096
ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
3097
ParticleEmitter14.SpreadAngle = Vector2.new(360, 360)
3098
ParticleEmitter14.VelocitySpread = 360
3099
ParticleEmitter15.Name = "WingFire1"
3100
ParticleEmitter15.Parent = LocalScript0
3101
ParticleEmitter15.Speed = NumberRange.new(8, 8)
3102
ParticleEmitter15.Rotation = NumberRange.new(0, 360)
3103
ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
3104
ParticleEmitter15.Enabled = false
3105
ParticleEmitter15.LightEmission = 0.89999997615814
3106
ParticleEmitter15.Texture = "rbxassetid://296874871"
3107
ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3108
ParticleEmitter15.ZOffset = 1
3109
ParticleEmitter15.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076)
3110
ParticleEmitter15.Acceleration = Vector3.new(8, 5, -7)
3111
ParticleEmitter15.EmissionDirection = Enum.NormalId.Back
3112
ParticleEmitter15.Lifetime = NumberRange.new(2.5, 2.5)
3113
ParticleEmitter15.LockedToPart = true
3114
ParticleEmitter15.Rate = 300
3115
ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
3116
ParticleEmitter15.SpreadAngle = Vector2.new(15, 5)
3117
ParticleEmitter15.VelocitySpread = 15
3118
ParticleEmitter16.Name = "WingFire2"
3119
ParticleEmitter16.Parent = LocalScript0
3120
ParticleEmitter16.Speed = NumberRange.new(8, 8)
3121
ParticleEmitter16.Rotation = NumberRange.new(0, 360)
3122
ParticleEmitter16.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
3123
ParticleEmitter16.Enabled = false
3124
ParticleEmitter16.LightEmission = 0.89999997615814
3125
ParticleEmitter16.Texture = "rbxassetid://296874871"
3126
ParticleEmitter16.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3127
ParticleEmitter16.ZOffset = 1
3128
ParticleEmitter16.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076)
3129
ParticleEmitter16.Acceleration = Vector3.new(-8, 5, -7)
3130
ParticleEmitter16.EmissionDirection = Enum.NormalId.Back
3131
ParticleEmitter16.Lifetime = NumberRange.new(2.5, 2.5)
3132
ParticleEmitter16.LockedToPart = true
3133
ParticleEmitter16.Rate = 300
3134
ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
3135
ParticleEmitter16.SpreadAngle = Vector2.new(15, 5)
3136
ParticleEmitter16.VelocitySpread = 15
3137
ParticleEmitter17.Name = "ExplosionFire1"
3138
ParticleEmitter17.Parent = LocalScript0
3139
ParticleEmitter17.Speed = NumberRange.new(7, 670)
3140
ParticleEmitter17.Rotation = NumberRange.new(0, 360)
3141
ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
3142
ParticleEmitter17.Enabled = false
3143
ParticleEmitter17.LightEmission = 0.89999997615814
3144
ParticleEmitter17.Texture = "rbxassetid://296874871"
3145
ParticleEmitter17.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3146
ParticleEmitter17.ZOffset = 1
3147
ParticleEmitter17.Size = NumberSequence.new(10,10,7.0491800308228,0)
3148
ParticleEmitter17.Drag = 5
3149
ParticleEmitter17.EmissionDirection = Enum.NormalId.Right
3150
ParticleEmitter17.Lifetime = NumberRange.new(2, 4)
3151
ParticleEmitter17.Rate = 300
3152
ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
3153
ParticleEmitter17.SpreadAngle = Vector2.new(360, 360)
3154
ParticleEmitter17.VelocitySpread = 360
3155
ParticleEmitter18.Name = "FireballFire1"
3156
ParticleEmitter18.Parent = LocalScript0
3157
ParticleEmitter18.Rotation = NumberRange.new(0, 360)
3158
ParticleEmitter18.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
3159
ParticleEmitter18.Enabled = false
3160
ParticleEmitter18.LightEmission = 0.89999997615814
3161
ParticleEmitter18.Texture = "rbxassetid://296874871"
3162
ParticleEmitter18.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3163
ParticleEmitter18.ZOffset = 1
3164
ParticleEmitter18.Size = NumberSequence.new(10,10,7.0491800308228,0)
3165
ParticleEmitter18.Drag = 1
3166
ParticleEmitter18.EmissionDirection = Enum.NormalId.Right
3167
ParticleEmitter18.Lifetime = NumberRange.new(0, 1.5)
3168
ParticleEmitter18.Rate = 9999
3169
ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
3170
ParticleEmitter18.SpreadAngle = Vector2.new(360, 360)
3171
ParticleEmitter18.VelocitySpread = 360
3172
ParticleEmitter19.Name = "FireballFire3"
3173
ParticleEmitter19.Parent = LocalScript0
3174
ParticleEmitter19.Rotation = NumberRange.new(0, 360)
3175
ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
3176
ParticleEmitter19.Enabled = false
3177
ParticleEmitter19.LightEmission = 0.89999997615814
3178
ParticleEmitter19.Texture = "rbxassetid://296874871"
3179
ParticleEmitter19.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3180
ParticleEmitter19.ZOffset = 1
3181
ParticleEmitter19.Size = NumberSequence.new(2.7868854999542,4.4808745384216,4.5901637077332,0)
3182
ParticleEmitter19.Drag = 1
3183
ParticleEmitter19.EmissionDirection = Enum.NormalId.Right
3184
ParticleEmitter19.Lifetime = NumberRange.new(0, 1.5)
3185
ParticleEmitter19.Rate = 9999
3186
ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56)
3187
ParticleEmitter19.SpreadAngle = Vector2.new(360, 360)
3188
ParticleEmitter19.VelocitySpread = 360
3189
ParticleEmitter20.Name = "DebrisFire"
3190
ParticleEmitter20.Parent = LocalScript0
3191
ParticleEmitter20.Speed = NumberRange.new(2, 2)
3192
ParticleEmitter20.Rotation = NumberRange.new(0, 360)
3193
ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
3194
ParticleEmitter20.Enabled = false
3195
ParticleEmitter20.LightEmission = 0.89999997615814
3196
ParticleEmitter20.Texture = "rbxassetid://296874871"
3197
ParticleEmitter20.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1)
3198
ParticleEmitter20.ZOffset = 1
3199
ParticleEmitter20.Size = NumberSequence.new(2.677595615387,3.9890713691711,4.6448087692261,3.8251371383667,0)
3200
ParticleEmitter20.Acceleration = Vector3.new(0, 25, 0)
3201
ParticleEmitter20.Drag = 3
3202
ParticleEmitter20.EmissionDirection = Enum.NormalId.Right
3203
ParticleEmitter20.Lifetime = NumberRange.new(0, 3)
3204
ParticleEmitter20.Rate = 300
3205
ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
3206
ParticleEmitter20.SpreadAngle = Vector2.new(360, 360)
3207
ParticleEmitter20.VelocitySpread = 360
3208
Part21.Name = "Pauldrons"
3209
Part21.Parent = LocalScript0
3210
Part21.CFrame = CFrame.new(47.1000023, 21.5235691, 58.9999733, -1, 0, 0, 0, 1, 0, 0, 0, -1)
3211
Part21.Orientation = Vector3.new(0, 180, 0)
3212
Part21.Position = Vector3.new(47.1000023, 21.5235691, 58.9999733)
3213
Part21.Rotation = Vector3.new(-180, 0, -180)
3214
Part21.Transparency = 1
3215
Part21.Size = Vector3.new(3.4000001, 2.20000005, 1)
3216
Part21.Anchored = true
3217
Part21.BottomSurface = Enum.SurfaceType.Smooth
3218
Part21.CanCollide = false
3219
Part21.Locked = true
3220
Part21.TopSurface = Enum.SurfaceType.Smooth
3221
Part21.FormFactor = Enum.FormFactor.Custom
3222
Part21.formFactor = Enum.FormFactor.Custom
3223
SpecialMesh22.Parent = Part21
3224
SpecialMesh22.MeshId = "http://www.roblox.com/asset/?id=204454962 "
3225
SpecialMesh22.TextureId = "rbxassetid://855840122"
3226
SpecialMesh22.MeshType = Enum.MeshType.FileMesh
3227
Folder23.Name = "Package"
3228
Folder23.Parent = LocalScript0
3229
CharacterMesh24.Parent = Folder23
3230
CharacterMesh24.BodyPart = Enum.BodyPart.Torso
3231
CharacterMesh24.MeshId = 27111894
3232
CharacterMesh25.Parent = Folder23
3233
CharacterMesh25.BodyPart = Enum.BodyPart.LeftLeg
3234
CharacterMesh25.MeshId = 27111857
3235
CharacterMesh26.Parent = Folder23
3236
CharacterMesh26.BodyPart = Enum.BodyPart.RightLeg
3237
CharacterMesh26.MeshId = 27111882
3238
CharacterMesh27.Name = "Superhero Left Arm"
3239
CharacterMesh27.Parent = Folder23
3240
CharacterMesh27.BodyPart = Enum.BodyPart.LeftArm
3241
CharacterMesh27.MeshId = 32328397
3242
CharacterMesh28.Name = "Superhero Right Arm"
3243
CharacterMesh28.Parent = Folder23
3244
CharacterMesh28.BodyPart = Enum.BodyPart.RightArm
3245
CharacterMesh28.MeshId = 32328563
3246
Part29.Name = "Flintlock"
3247
Part29.Parent = LocalScript0
3248
Part29.CFrame = CFrame.new(-11.2999983, 4.42351913, 92.0999756, -1, 0, 0, 0, -1, 0, 0, 0, 1)
3249
Part29.Orientation = Vector3.new(0, 0, 180)
3250
Part29.Position = Vector3.new(-11.2999983, 4.42351913, 92.0999756)
3251
Part29.Rotation = Vector3.new(0, 0, -180)
3252
Part29.Color = Color3.new(0.105882, 0.164706, 0.207843)
3253
Part29.Size = Vector3.new(1, 2, 1)
3254
Part29.Anchored = true
3255
Part29.BottomSurface = Enum.SurfaceType.Smooth
3256
Part29.BrickColor = BrickColor.new("Black")
3257
Part29.CanCollide = false
3258
Part29.Locked = true
3259
Part29.TopSurface = Enum.SurfaceType.Smooth
3260
Part29.brickColor = BrickColor.new("Black")
3261
Part29.FormFactor = Enum.FormFactor.Plate
3262
Part29.formFactor = Enum.FormFactor.Plate
3263
SpecialMesh30.Parent = Part29
3264
SpecialMesh30.MeshId = "http://www.roblox.com/asset/?id=13508017"
3265
SpecialMesh30.Scale = Vector3.new(1.5, 1.5, 1.5)
3266
SpecialMesh30.TextureId = "http://www.roblox.com/asset/?id=13508018"
3267
SpecialMesh30.MeshType = Enum.MeshType.FileMesh
3268
3269
for i,v in pairs(mas:GetChildren()) do
3270
	v.Parent = workspace
3271
	pcall(function() v:MakeJoints() end)
3272
end
3273
mas:Destroy()
3274
for i,v in pairs(cors) do
3275
	spawn(function()
3276
		pcall(v)
3277
	end)
3278
end