View difference between Paste ID: kFFjCcas and dhRc8vXT
SHOW: | | - or go back to the newest paste.
1
2-
--||			   EDIT BY VOYQGO
2+
3-
--\\====================================================//--
3+
4
print("EDIT by voyqgo")
5
print("this was fun edit to make  Fun")
6
print("sub to are youtube and sub to an Friend of my")
7
print("are youtube zaxouy12 gaming 12 my")
8
print("Fd god my Friend go sub to him")
9
print("have fun")
10
11
wait(0.2)
12
13
Player = game:GetService("Players").LocalPlayer
14
PlayerGui = Player.PlayerGui
15
Cam = workspace.CurrentCamera
16
Backpack = Player.Backpack
17
Character = Player.Character
18
Humanoid = Character.Humanoid
19
Mouse = Player:GetMouse()
20
RootPart = Character["HumanoidRootPart"]
21
Torso = Character["Torso"]
22
Head = Character["Head"]
23
RightArm = Character["Right Arm"]
24
LeftArm = Character["Left Arm"]
25
RightLeg = Character["Right Leg"]
26
LeftLeg = Character["Left Leg"]
27
RootJoint = RootPart["RootJoint"]
28
Neck = Torso["Neck"]
29
RightShoulder = Torso["Right Shoulder"]
30
LeftShoulder = Torso["Left Shoulder"]
31
RightHip = Torso["Right Hip"]
32
LeftHip = Torso["Left Hip"]
33
Character.Archivable = true
34
Player:ClearCharacterAppearance()
35
36
IT = Instance.new
37
CF = CFrame.new
38
VT = Vector3.new
39
RAD = math.rad
40
C3 = Color3.new
41
UD2 = UDim2.new
42
BRICKC = BrickColor.new
43
ANGLES = CFrame.Angles
44
EULER = CFrame.fromEulerAnglesXYZ
45
COS = math.cos
46
ACOS = math.acos
47
SIN = math.sin
48
ASIN = math.asin
49
ABS = math.abs
50
MRANDOM = math.random
51
FLOOR = math.floor
52
53
--//=================================\\
54
--|| 	      USEFUL VALUES
55
--\\=================================//
56
57
Animation_Speed = 3
58
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
59
local Speed = 20
60
local SIZE = 1.4
61
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
62
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
63
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
64
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
65
local DAMAGEMULTIPLIER = 1
66
local ANIM = "Idle"
67
local ATTACK = false
68
local EQUIPPED = false
69
local HOLD = false
70
local COMBO = 1
71
local Rooted = false
72
local SINE = 0
73
local KEYHOLD = false
74
local CHANGE = 2 / Animation_Speed
75
local WALKINGANIM = false
76
local VALUE1 = false
77
local VALUE2 = false
78
local ROBLOXIDLEANIMATION = IT("Animation")
79
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
80
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
81
local ATANIM = IT("Animation")
82
ATANIM.Name = "Attack Animation"
83
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
84
--ROBLOXIDLEANIMATION.Parent = Humanoid
85
local WEAPONGUI = IT("ScreenGui", PlayerGui)
86
WEAPONGUI.Name = "Weapon GUI"
87
local Weapon = IT("Model")
88
Weapon.Name = "Adds"
89
local Effects = IT("Folder", Weapon)
90
Effects.Name = "Effects"
91
local ANIMATOR = Humanoid.Animator
92
local ANIMATE = Character.Animate
93
local UNANCHOR = true
94
local CLOCKLOOP = 0
95
local SONG = 1696854181
96
local CLOCKTARGET = nil
97
local CLOCKSPEED = 1
98
script.Parent = WEAPONGUI
99
local CLONE = Character:Clone()
100
CLONE.Parent = nil
101
Character.Archivable = false
102
local sick = Instance.new("Sound",Torso)
103
104
--//=================================\\
105
--\\=================================//
106
107
108
--//=================================\\
109
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
110
--\\=================================//
111
112
ArtificialHB = Instance.new("BindableEvent", script)
113
ArtificialHB.Name = "ArtificialHB"
114
115
script:WaitForChild("ArtificialHB")
116
117
frame = Frame_Speed
118
tf = 0
119
allowframeloss = false
120
tossremainder = false
121
lastframe = tick()
122
script.ArtificialHB:Fire()
123
124
game:GetService("RunService").Heartbeat:connect(function(s, p)
125
	tf = tf + s
126
	if tf >= frame then
127
		if allowframeloss then
128
			script.ArtificialHB:Fire()
129
			lastframe = tick()
130
		else
131
			for i = 1, math.floor(tf / frame) do
132
				script.ArtificialHB:Fire()
133
			end
134
		lastframe = tick()
135
		end
136
		if tossremainder then
137
			tf = 0
138
		else
139
			tf = tf - frame * math.floor(tf / frame)
140
		end
141
	end
142
end)
143
144
--//=================================\\
145
--\\=================================//
146
147
--//=================================\\
148
--|| 	      SOME FUNCTIONS
149
--\\=================================//
150
151
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
152
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
153
end
154
155
function PositiveAngle(NUMBER)
156
	if NUMBER >= 0 then
157
		NUMBER = 0
158
	end
159
	return NUMBER
160
end
161
162
function NegativeAngle(NUMBER)
163
	if NUMBER <= 0 then
164
		NUMBER = 0
165
	end
166
	return NUMBER
167
end
168
169
function Swait(NUMBER)
170
	if NUMBER == 0 or NUMBER == nil then
171
		ArtificialHB.Event:wait()
172
	else
173
		for i = 1, NUMBER do
174
			ArtificialHB.Event:wait()
175
		end
176
	end
177
end
178
179
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
180
	local NEWMESH = IT(MESH)
181
	if MESH == "SpecialMesh" then
182
		NEWMESH.MeshType = MESHTYPE
183
		if MESHID ~= "nil" and MESHID ~= "" then
184
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
185
		end
186
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
187
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
188
		end
189
	end
190
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
191
	NEWMESH.Scale = SCALE
192
	NEWMESH.Parent = PARENT
193
	return NEWMESH
194
end
195
196
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
197
	local NEWPART = IT("Part")
198
	NEWPART.formFactor = FORMFACTOR
199
	NEWPART.Reflectance = REFLECTANCE
200
	NEWPART.Transparency = TRANSPARENCY
201
	NEWPART.CanCollide = false
202
	NEWPART.Locked = true
203
	NEWPART.Anchored = true
204
	if ANCHOR == false then
205
		NEWPART.Anchored = false
206
	end
207
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
208
	NEWPART.Name = NAME
209
	NEWPART.Size = SIZE
210
	NEWPART.Position = Torso.Position
211
	NEWPART.Material = MATERIAL
212
	NEWPART:BreakJoints()
213
	NEWPART.Parent = PARENT
214
	return NEWPART
215
end
216
217
	local function weldBetween(a, b)
218
	    local weldd = Instance.new("ManualWeld")
219
	    weldd.Part0 = a
220
	    weldd.Part1 = b
221
	    weldd.C0 = CFrame.new()
222
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
223
	    weldd.Parent = a
224
	    return weldd
225
	end
226
227
228
function QuaternionFromCFrame(cf)
229
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
230
	local trace = m00 + m11 + m22
231
	if trace > 0 then 
232
		local s = math.sqrt(1 + trace)
233
		local recip = 0.5 / s
234
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
235
	else
236
		local i = 0
237
		if m11 > m00 then
238
			i = 1
239
		end
240
		if m22 > (i == 0 and m00 or m11) then
241
			i = 2
242
		end
243
		if i == 0 then
244
			local s = math.sqrt(m00 - m11 - m22 + 1)
245
			local recip = 0.5 / s
246
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
247
		elseif i == 1 then
248
			local s = math.sqrt(m11 - m22 - m00 + 1)
249
			local recip = 0.5 / s
250
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
251
		elseif i == 2 then
252
			local s = math.sqrt(m22 - m00 - m11 + 1)
253
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
254
		end
255
	end
256
end
257
 
258
function QuaternionToCFrame(px, py, pz, x, y, z, w)
259
	local xs, ys, zs = x + x, y + y, z + z
260
	local wx, wy, wz = w * xs, w * ys, w * zs
261
	local xx = x * xs
262
	local xy = x * ys
263
	local xz = x * zs
264
	local yy = y * ys
265
	local yz = y * zs
266
	local zz = z * zs
267
	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))
268
end
269
 
270
function QuaternionSlerp(a, b, t)
271
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
272
	local startInterp, finishInterp;
273
	if cosTheta >= 0.0001 then
274
		if (1 - cosTheta) > 0.0001 then
275
			local theta = ACOS(cosTheta)
276
			local invSinTheta = 1 / SIN(theta)
277
			startInterp = SIN((1 - t) * theta) * invSinTheta
278
			finishInterp = SIN(t * theta) * invSinTheta
279
		else
280
			startInterp = 1 - t
281
			finishInterp = t
282
		end
283
	else
284
		if (1 + cosTheta) > 0.0001 then
285
			local theta = ACOS(-cosTheta)
286
			local invSinTheta = 1 / SIN(theta)
287
			startInterp = SIN((t - 1) * theta) * invSinTheta
288
			finishInterp = SIN(t * theta) * invSinTheta
289
		else
290
			startInterp = t - 1
291
			finishInterp = t
292
		end
293
	end
294
	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
295
end
296
297
function Clerp(a, b, t)
298
	local qa = {QuaternionFromCFrame(a)}
299
	local qb = {QuaternionFromCFrame(b)}
300
	local ax, ay, az = a.x, a.y, a.z
301
	local bx, by, bz = b.x, b.y, b.z
302
	local _t = 1 - t
303
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
304
end
305
306
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
307
	local frame = IT("Frame")
308
	frame.BackgroundTransparency = TRANSPARENCY
309
	frame.BorderSizePixel = BORDERSIZEPIXEL
310
	frame.Position = POSITION
311
	frame.Size = SIZE
312
	frame.BackgroundColor3 = COLOR
313
	frame.BorderColor3 = BORDERCOLOR
314
	frame.Name = NAME
315
	frame.Parent = PARENT
316
	return frame
317
end
318
319
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
320
	local label = IT("TextLabel")
321
	label.BackgroundTransparency = 1
322
	label.Size = UD2(1, 0, 1, 0)
323
	label.Position = UD2(0, 0, 0, 0)
324
	label.TextColor3 = TEXTCOLOR
325
	label.TextStrokeTransparency = STROKETRANSPARENCY
326
	label.TextTransparency = TRANSPARENCY
327
	label.FontSize = TEXTFONTSIZE
328
	label.Font = TEXTFONT
329
	label.BorderSizePixel = BORDERSIZEPIXEL
330
	label.TextStrokeColor3 = C3(1,1,1)
331
	label.TextScaled = false
332
	label.Text = TEXT
333
	label.Name = NAME
334
	label.Parent = PARENT
335
	return label
336
end
337
338
function NoOutlines(PART)
339
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
340
end
341
342
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
343
	local NEWWELD = IT(TYPE)
344
	NEWWELD.Part0 = PART0
345
	NEWWELD.Part1 = PART1
346
	NEWWELD.C0 = C0
347
	NEWWELD.C1 = C1
348
	NEWWELD.Parent = PARENT
349
	return NEWWELD
350
end
351
352
local S = IT("Sound")
353
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
354
	local NEWSOUND = nil
355
	coroutine.resume(coroutine.create(function()
356
		NEWSOUND = S:Clone()
357
		NEWSOUND.Parent = PARENT
358
		NEWSOUND.Volume = VOLUME
359
		NEWSOUND.Pitch = PITCH
360
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
361
		NEWSOUND:play()
362
		if DOESLOOP == true then
363
			NEWSOUND.Looped = true
364
		else
365
			repeat wait(1) until NEWSOUND.Playing == false
366
			NEWSOUND:remove()
367
		end
368
	end))
369
	return NEWSOUND
370
end
371
372
function CFrameFromTopBack(at, top, back)
373
	local right = top:Cross(back)
374
	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)
375
end
376
377
--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})
378
function WACKYEFFECT(Table)
379
	local TYPE = (Table.EffectType or "Sphere")
380
	local SIZE = (Table.Size or VT(1,1,1))
381
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
382
	local TRANSPARENCY = (Table.Transparency or 0)
383
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
384
	local CFRAME = (Table.CFrame or Torso.CFrame)
385
	local MOVEDIRECTION = (Table.MoveToPos or nil)
386
	local ROTATION1 = (Table.RotationX or 0)
387
	local ROTATION2 = (Table.RotationY or 0)
388
	local ROTATION3 = (Table.RotationZ or 0)
389
	local MATERIAL = (Table.Material or "Neon")
390
	local COLOR = (Table.Color or C3(1,1,1))
391
	local TIME = (Table.Time or 45)
392
	local SOUNDID = (Table.SoundID or nil)
393
	local SOUNDPITCH = (Table.SoundPitch or nil)
394
	local SOUNDVOLUME = (Table.SoundVolume or nil)
395
	coroutine.resume(coroutine.create(function()
396
		local PLAYSSOUND = false
397
		local SOUND = nil
398
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
399
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
400
			PLAYSSOUND = true
401
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
402
		end
403
		EFFECT.Color = COLOR
404
		local MSH = nil
405
		if TYPE == "Sphere" then
406
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
407
		elseif TYPE == "Block" then
408
			MSH = IT("BlockMesh",EFFECT)
409
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
410
		elseif TYPE == "Wave" then
411
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
412
		elseif TYPE == "Ring" then
413
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
414
		elseif TYPE == "Slash" then
415
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
416
		elseif TYPE == "Round Slash" then
417
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
418
		elseif TYPE == "Swirl" then
419
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
420
		elseif TYPE == "Skull" then
421
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
422
		elseif TYPE == "Crystal" then
423
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
424
		end
425
		if MSH ~= nil then
426
			local MOVESPEED = nil
427
			if MOVEDIRECTION ~= nil then
428
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
429
			end
430
			local GROWTH = SIZE - ENDSIZE
431
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
432
			if TYPE == "Block" then
433
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
434
			else
435
				EFFECT.CFrame = CFRAME
436
			end
437
			for LOOP = 1, TIME+1 do
438
				Swait()
439
				MSH.Scale = MSH.Scale - GROWTH/TIME
440
				if TYPE == "Wave" then
441
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
442
				end
443
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
444
				if TYPE == "Block" then
445
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
446
				else
447
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
448
				end
449
				if MOVEDIRECTION ~= nil then
450
					local ORI = EFFECT.Orientation
451
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
452
					EFFECT.Orientation = ORI
453
				end
454
			end
455
			if PLAYSSOUND == false then
456
				EFFECT:remove()
457
			else
458
				repeat Swait() until SOUND.Playing == false
459
				EFFECT:remove()
460
			end
461
		else
462
			if PLAYSSOUND == false then
463
				EFFECT:remove()
464
			else
465
				repeat Swait() until SOUND.Playing == false
466
				EFFECT:remove()
467
			end
468
		end
469
	end))
470
end
471
472
function MakeForm(PART,TYPE)
473
	if TYPE == "Cyl" then
474
		local MSH = IT("CylinderMesh",PART)
475
	elseif TYPE == "Ball" then
476
		local MSH = IT("SpecialMesh",PART)
477
		MSH.MeshType = "Sphere"
478
	elseif TYPE == "Wedge" then
479
		local MSH = IT("SpecialMesh",PART)
480
		MSH.MeshType = "Wedge"
481
	end
482
end
483
484
Debris = game:GetService("Debris")
485
486
function CastProperRay(StartPos, EndPos, Distance, Ignore)
487
	local DIRECTION = CF(StartPos,EndPos).lookVector
488
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
489
end
490
491
function turnto(position)
492
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
493
end
494
495
--//=================================\\
496
--||	     WEAPON CREATION
497
--\\=================================//
498
499
Humanoid.Parent = nil
500
RootPart.Size = RootPart.Size*SIZE
501
Torso.Size = Torso.Size*SIZE
502
RightArm.Size = RightArm.Size*SIZE
503
RightLeg.Size = RightLeg.Size*SIZE
504
LeftArm.Size = LeftArm.Size*SIZE
505
LeftLeg.Size = LeftLeg.Size*SIZE
506
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
507
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
508
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
509
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
510
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
511
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
512
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
513
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
514
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
515
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
516
Head.Size = Head.Size*SIZE
517
RootJoint.Parent = RootPart
518
Neck.Parent = Torso
519
RightShoulder.Parent = Torso
520
LeftShoulder.Parent = Torso
521
RightHip.Parent = Torso
522
LeftHip.Parent = Torso
523
function swait(num)
524
	if num == 0 or num == nil then
525
		ArtificialHB.Event:wait()
526
	else
527
		for i = 0, num do
528
			ArtificialHB.Event:wait()
529
		end
530
	end
531
end
532
533
function chatfunc(text)
534
	local chat = coroutine.wrap(function()
535
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
536
		Character:FindFirstChild("TalkingBillBoard"):destroy()
537
	end
538
	local Bill = Instance.new("BillboardGui",Character)
539
	Bill.Size = UDim2.new(0,100,0,40)
540
	Bill.StudsOffset = Vector3.new(0,3,0)
541
	Bill.Adornee = Character.Head
542
	Bill.Name = "TalkingBillBoard"
543
	local Hehe = Instance.new("TextLabel",Bill)
544
	Hehe.BackgroundTransparency = 1
545
	Hehe.BorderSizePixel = 0
546
	Hehe.Text = ""
547
	Hehe.Font = "Garamond"
548
	Hehe.TextSize = 40
549
	Hehe.TextStrokeTransparency = 0
550
	Hehe.Size = UDim2.new(1,0,0.5,0)
551
	coroutine.resume(coroutine.create(function()
552
		while Hehe ~= nil do
553
			swait()	
554
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
555
			Hehe.Rotation = math.random(-5,5)
556
			Hehe.TextColor3 = Color3.new(255, 0, 0)
557
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
558
		end
559
	end))
560
	for i = 1,string.len(text),1 do
561
		swait()
562
		Hehe.Text = string.sub(text,1,i)
563
	end
564
	swait(90)--Re[math.random(1, 93)]
565
	for i = 0, 1, .025 do
566
		swait()
567
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
568
		Hehe.TextStrokeTransparency = i
569
		Hehe.TextTransparency = i
570
	end
571
	Bill:Destroy()
572
	end)
573
chat()
574
end
575
576
function onChatted(msg)
577
	chatfunc(msg)
578
end
579
580
Player.Chatted:connect(onChatted)
581
582
Humanoid.DisplayDistanceType = "None"
583
local naeeym2 = IT("BillboardGui",Character)
584
naeeym2.AlwaysOnTop = true
585
naeeym2.Size = UDim2.new(5,35,2,15)
586
naeeym2.StudsOffset = Vector3.new(0,2,0)
587
naeeym2.MaxDistance = 75
588
naeeym2.Adornee = Character.Head
589
naeeym2.Name = "Name"
590
naeeym2.PlayerToHideFrom = Player
591
local tecks2 = IT("TextLabel",naeeym2)
592
tecks2.BackgroundTransparency = 1
593
tecks2.TextScaled = true
594
tecks2.BorderSizePixel = 0
595
tecks2.Text = "Pandora"
596
tecks2.Font = "Fantasy"
597
tecks2.TextSize = 30
598
tecks2.TextStrokeTransparency = 0
599
tecks2.TextColor3 = C3(255, 0, 0)
600
tecks2.TextStrokeColor3 = C3(255, 0, 0)
601
tecks2.Size = UDim2.new(1,0,0.5,0)
602
tecks2.Parent = naeeym2
603
local top = Instance.new("Shirt")
604
top.ShirtTemplate = "rbxassetid://432851554"
605
top.Parent = Character
606
top.Name = "Cloth"
607
local bottom = Instance.new("Pants")
608
bottom.PantsTemplate = "rbxassetid://432851568"
609
bottom.Parent = Character
610
bottom.Name = "Cloth"
611
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Lime green", "Hat", VT(1,1,1),false)
612
PRT.Color = C3(0, 255, 0)
613
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
614
CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
615
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
616
PRT.Color = C3(255, 0, 0)
617
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
618
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
619
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(1,1.2,0.2),false)
620
PRT.Color = C3(159/255, 111/255, 183/255)
621
MakeForm(PRT,"Ball")
622
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
623
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.4,0.5),false)
624
PRT.Color = C3(255, 0, 0)
625
MakeForm(PRT,"Ball")
626
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
627
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.3,0.3),false)
628
PRT.Color = C3(255, 0, 0)
629
MakeForm(PRT,"Ball")
630
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
631
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.3,0.3),false)
632
PRT.Color = C3(255, 0, 0)
633
MakeForm(PRT,"Ball")
634
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
635
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.4,0.4,0.3),false)
636
PRT.Color = C3(255, 0, 0)
637
MakeForm(PRT,"Ball")
638
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
639
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.4,0.4,0.3),false)
640
PRT.Color = C3(255, 0, 0)
641
MakeForm(PRT,"Ball")
642
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
643
644
local LASTPART = Head
645
for i = 1, 24 do
646
	local MATH = (1-(i/30))
647
	if LASTPART == Head then
648
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
649
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
650
		LASTPART = Horn
651
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
652
	else
653
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
654
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
655
		LASTPART = Horn
656
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
657
	end
658
end
659
local LASTPART = Head
660
for i = 1, 24 do
661
	local MATH = (1-(i/30))
662
	if LASTPART == Head then
663
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
664
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
665
		LASTPART = Horn
666
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
667
	else
668
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
669
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
670
		LASTPART = Horn
671
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
672
	end
673
end
674
local LASTPART = Head
675
for i = 1, 8 do
676
	local MATH = (1-(i/14))
677
	if LASTPART == Head then
678
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
679
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
680
		LASTPART = Horn
681
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
682
	else
683
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
684
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
685
		LASTPART = Horn
686
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
687
	end
688
end
689
local LASTPART = Head
690
for i = 1, 8 do
691
	local MATH = (1-(i/14))
692
	if LASTPART == Head then
693
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
694
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
695
		LASTPART = Horn
696
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
697
	else
698
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
699
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
700
		LASTPART = Horn
701
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
702
	end
703
end
704
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
705
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
706
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
707
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
708
MakeForm(PRT,"Cyl")
709
local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
710
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
711
MakeForm(PRT,"Cyl")
712
PRT.Color = C3(159/255, 111/255, 183/255)
713
local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
714
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
715
MakeForm(RING,"Cyl")
716
RING.Color = C3(0,0,0)
717
for i = 1, 12 do
718
	local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
719
	PRT.Color = C3(0,0,0)
720
	local MSH = IT("BlockMesh",PRT)
721
	MSH.Scale = VT(0.6,1,1)
722
	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))
723
end
724
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*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 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))
729
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
730
PRT.Color = C3(0,0,0)
731
local MSH = IT("BlockMesh",PRT)
732
MSH.Scale = VT(0.4,1,1)
733
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))
734
coroutine.resume(coroutine.create(function()
735
	while true do
736
		Swait()
737
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
738
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
739
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
740
		if CLOCKLOOP <= -150 then
741
			if VALUE1 == false then
742
				CLOCKLOOP = 0
743
				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(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
744
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
745
				ApplyAoE(HITPOS,10,15,45,75,false)
746
				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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
747
				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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
748
				if CLOCKTARGET ~= nil then
749
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
750
					if CLOCKTARGET.Torso ~= nil then
751
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
752
					end
753
					if CLOCKTARGET.Health == 0 then
754
						CLOCKTARGET = nil
755
					end
756
				end
757
			end
758
		end
759
	end
760
end))
761
chatfunc("GO TO HELL YOU JUST ANNOYED ME!")
762
warn("voyqgo edit")
763
for _, c in pairs(Weapon:GetChildren()) do
764
	if c.ClassName == "Part" then
765
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
766
	end
767
end
768
769
Neck.Name = "Weld"
770
RootJoint.Name = "Weld"
771
RightShoulder.Name = "Weld"
772
LeftShoulder.Name = "Weld"
773
RightHip.Name = "Weld"
774
LeftHip.Name = "Weld"
775
776
local SKILLTEXTCOLOR = C3(255, 0, 0)
777
local SKILLFONT = "Fantasy"
778
local SKILLTEXTSIZE = 7
779
780
Weapon.Parent = Character
781
Humanoid.Parent = Character
782
783
Humanoid.Died:connect(function()
784
	ATTACK = true
785
end)
786
787
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
788
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
789
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
790
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
791
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
792
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
793
794
795
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Magic HELL", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
796
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
797
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
798
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
799
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
800
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Time Stop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
801
802
--//=================================\\
803
--||			DAMAGING
804
--\\=================================//
805
806
function ApplyDamage(Humanoid,Damage,TorsoPart)
807
	local defence = Instance.new("BoolValue",Humanoid.Parent)
808
	defence.Name = ("HitBy"..Player.Name)
809
	game:GetService("Debris"):AddItem(defence, 0.001)
810
	Damage = Damage * DAMAGEMULTIPLIER
811
	if Humanoid.Health ~= 0 then
812
		local CritChance = MRANDOM(1,100)
813
		if Damage > Humanoid.Health then
814
			Damage = math.ceil(Humanoid.Health)
815
			if Damage == 0 then
816
				Damage = 0.1
817
			end
818
		end
819
		Humanoid.Health = Humanoid.Health - Damage
820
	end
821
end
822
823
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
824
	local CHILDREN = workspace:GetDescendants()
825
	for index, CHILD in pairs(CHILDREN) do
826
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
827
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
828
			if HUM then
829
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
830
				if TORSO then
831
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
832
						if INSTAKILL == true then
833
							CHILD:BreakJoints()
834
						else
835
							local DMG = MRANDOM(MINDMG,MAXDMG)
836
							ApplyDamage(HUM,DMG,TORSO)
837
						end
838
						if FLING > 0 then
839
							for _, c in pairs(CHILD:GetChildren()) do
840
								if c:IsA("BasePart") then
841
									local bv = Instance.new("BodyVelocity") 
842
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
843
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
844
									bv.Parent = c
845
									Debris:AddItem(bv,0.05)
846
								end
847
							end
848
						end
849
					end
850
				end
851
			end
852
		end
853
	end
854
end
855
856
--//=================================\\
857
--||	ATTACK FUNCTIONS AND STUFF
858
--\\=================================//
859
860
Circle = nil
861
CircleParts = {}
862
Equipped = false
863
864
function RayCast(Position, Direction, MaxDistance, IgnoreList)
865
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
866
end
867
	Humanoid = Character:FindFirstChildOfClass("Humanoid")
868
	Torso = Character:FindFirstChild("Torso")
869
	if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
870
		return
871
	end
872
	Equipped = true
873
	Circle = Instance.new("Model")
874
	Circle.Name = "Circle"
875
	Angle = 0
876
	for i = 1, 1 do
877
		local CirclePart = Instance.new("Part")
878
		CirclePart.Name = "CirclePart"
879
		CirclePart.Transparency = 1
880
		CirclePart.BrickColor = BrickColor.new("Lime green")
881
		CirclePart.Material = Enum.Material.Plastic
882
		CirclePart.Shape = Enum.PartType.Block
883
		CirclePart.FormFactor = Enum.FormFactor.Custom
884
		CirclePart.TopSurface = Enum.SurfaceType.Smooth
885
		CirclePart.BottomSurface = Enum.SurfaceType.Smooth
886
		CirclePart.Anchored = true
887
		CirclePart.CanCollide = false
888
		CirclePart.Locked = true
889
		CirclePart.Size = Vector3.new(10, 0.2, 10)
890
		local Aura = Instance.new('ParticleEmitter')
891
Aura.Name = "Rainbow Aura"
892
Aura.Texture = "rbxassetid://493540588"
893
Aura.Parent = CirclePart
894
Aura.LightEmission = 0
895
Aura.Transparency = NumberSequence.new(0.2,0.4,1)
896
Aura.Color = ColorSequence.new(Color3.new(255, 0, 191),Color3.new(255, 0, 191))
897
Aura.Size = NumberSequence.new(0.9,0.5,0.3)
898
Aura.LockedToPart = false
899
Aura.Lifetime = NumberRange.new(1)
900
Aura.Rate = 50
901
Aura.Speed = NumberRange.new(2.5)
902
Aura.SpreadAngle = Vector2.new(80,80)
903
		local BlockMesh = Instance.new("BlockMesh")
904
		BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
905
		BlockMesh.Parent = CirclePart
906
		CirclePart.Parent = Circle
907
		local Star = Instance.new("Decal", CirclePart)
908
		Star.Texture = "http://www.roblox.com/asset/?id=253215684"
909
		Star.Face = "Top"
910
		local Light = Instance.new("PointLight", CirclePart)
911
		Light.Color = Color3.new(255, 0, 0)
912
		Light.Brightness = 100
913
		Light.Range = 15
914
		table.insert(CircleParts, CirclePart)
915
	end
916
	local BlockMesh = Instance.new("BlockMesh")
917
		BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
918
		BlockMesh.Parent = CirclePart
919
		CirclePart.Parent = Circle
920
		local Star = Instance.new("Decal", CirclePart)
921
		Star.Texture = "http://www.roblox.com/asset/?id=253215684"
922
		Star.Face = "Top"
923
		local Light = Instance.new("PointLight", CirclePart)
924
		Light.Color = Color3.new(255, 0, 0)
925
		Light.Brightness = 100
926
		Light.Range = 15
927
		table.insert(CircleParts, CirclePart)
928
	end
929
	Spawn(function()
930
		while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
931
			if Angle == 360 then
932
				Angle = 0
933
			end
934
			Angle = Angle + 0.05
935
			local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
936
			if Hit then
937
				if not Circle.Parent then
938
					Circle.Parent = Character
939
				end
940
				for i, v in pairs(CircleParts) do
941
					v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
942
				end
943
			else
944
				Circle.Parent = nil
945
			end
946
			wait()
947
		end
948
	end)
949
local BODY = {}
950
for _, c in pairs(Character:GetDescendants()) do
951
	if c:IsA("BasePart") and c.Name ~= "Handle" then
952
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
953
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
954
		end
955
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
956
	elseif c:IsA("JointInstance") then
957
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
958
	end
959
end
960
for e = 1, #BODY do
961
	if BODY[e] ~= nil then
962
		local STUFF = BODY[e]
963
		local PART = STUFF[1]
964
		local PARENT = STUFF[2]
965
		local MATERIAL = STUFF[3]
966
		local COLOR = STUFF[4]
967
		local TRANSPARENCY = STUFF[5]
968
		if PART.ClassName == "Part" and PART ~= RootPart then
969
			PART.Material = MATERIAL
970
			PART.Color = COLOR
971
			PART.Transparency = TRANSPARENCY
972
		end
973
		PART.AncestryChanged:Connect(function()
974
			PART.Parent = PARENT
975
		end)
976
	end
977
end
978
function refit()
979
	Character.Parent = workspace
980
	for e = 1, #BODY do
981
		if BODY[e] ~= nil then
982
			local STUFF = BODY[e]
983
			local PART = STUFF[1]
984
			local PARENT = STUFF[2]
985
			local MATERIAL = STUFF[3]
986
			local COLOR = STUFF[4]
987
			local TRANSPARENCY = STUFF[5]
988
			if PART.ClassName == "Part" and PART ~= RootPart then
989
				PART.Material = MATERIAL
990
				PART.Color = COLOR
991
				PART.Transparency = TRANSPARENCY
992
			end
993
			if PART.Parent ~= PARENT then
994
				Humanoid:remove()
995
				PART.Parent = PARENT
996
				Humanoid = IT("Humanoid",Character)
997
			end
998
		end
999
	end
1000
end
1001
local SKILLTEXTCOLOR = BRICKC"Really red".Color
1002
local SKILLFONT = "Bodoni"
1003
local SKILLTEXTSIZE = 7
1004
1005
Humanoid.Died:connect(function()
1006
	refit()
1007
end)
1008
1009
function Inferno_Ring()
1010
    ATTACK = true
1011
    Rooted = false
1012
    local GYRO = IT("BodyGyro",RootPart)
1013
    GYRO.D = 750
1014
    GYRO.P = 20000
1015
    GYRO.MaxTorque = VT(0,40000000,0)
1016
    local FIRE = IT("Model",Effects)
1017
    FIRE.Name = "Fire"
1018
    local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Lavender", "Center", VT(0,0,0))
1019
    FIRE.PrimaryPart = MAIN
1020
    local FIRES = {}
1021
    for i = 1, 45 do
1022
        local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Lavender", "RingPart", VT(3,3,3))
1023
        PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
1024
        local F = Fire(PRT)
1025
        table.insert(FIRES,F)
1026
    end
1027
    repeat
1028
        FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
1029
        Pose("Cast1",1.5,0.01,false,GYRO)
1030
    until HOLD == true
1031
    coroutine.resume(coroutine.create(function()
1032
        for i = 1, 4 do
1033
            ApplyAoE(MAIN.Position,21,-15,true)
1034
            CreateSound(463598785,MAIN,3,1,false)
1035
            for E = 1, #FIRES do
1036
                if FIRES[E] ~= nil then
1037
                    FIRES[E].Acceleration = VT(0,300,0)
1038
                    FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
1039
                end
1040
            end
1041
            wait(0.3)
1042
        end
1043
        for E = 1, #FIRES do
1044
            if FIRES[E] ~= nil then
1045
                FIRES[E].Enabled = false
1046
            end
1047
        end
1048
        Debris:AddItem(FIRE,5)
1049
    end))
1050
    CreateSound(215395388,RightArm,3,2,false)
1051
    Pose("RightArmUp",1.5,0.5,true)
1052
    GYRO:remove()
1053
    ATTACK = false
1054
    Rooted = false
1055
end)
1056
1057
function TimesUp()
1058
	CLOCKTARGET = nil
1059
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1060
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1061
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1062
		if TORSO then
1063
			ATTACK = true
1064
			Rooted = false
1065
			coroutine.resume(coroutine.create(function()
1066
				repeat
1067
					Swait()
1068
					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)
1069
					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)
1070
					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)
1071
					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)
1072
					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)
1073
					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)
1074
				until ATTACK == false
1075
			end))
1076
			if Effects:FindFirstChild("NeonDoll") then
1077
				repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
1078
			end
1079
			wait(0.5)
1080
			local FAKECHARACTER = IT("Model",Effects)
1081
			FAKECHARACTER.Name = "NeonDoll"
1082
			local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.3,0.3,0.15),false)
1083
			CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
1084
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
1085
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
1086
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
1087
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
1088
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
1089
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
1090
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
1091
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
1092
			local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.15,0.15),false)
1093
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
1094
			CreateSound(201858045, TORS, 5, 0.4, false)
1095
			for i = 1, 150 do
1096
				Swait()
1097
				CLOCKSPEED = 6
1098
				for _, c in pairs(FAKECHARACTER:GetChildren()) do
1099
					if c.ClassName == "Part" then
1100
						c.Transparency = c.Transparency - 0.5/150
1101
					end
1102
				end
1103
			end
1104
			CLOCKTARGET = HUM
1105
			coroutine.resume(coroutine.create(function()
1106
				repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
1107
				for i = 1, 25 do
1108
					Swait()
1109
					for _, c in pairs(FAKECHARACTER:GetChildren()) do
1110
						if c.ClassName == "Part" then
1111
							c.Transparency = c.Transparency + 0.5/25
1112
						end
1113
					end
1114
				end
1115
				CLOCKSPEED = 1
1116
				FAKECHARACTER:remove()
1117
			end))
1118
			wait(0.5)
1119
			ATTACK = false
1120
			Rooted = false
1121
		end
1122
	end
1123
end
1124
1125
function ChainPunch()
1126
	ATTACK = true
1127
	Rooted = false
1128
	local GYRO = IT("BodyGyro",RootPart)
1129
	GYRO.D = 25
1130
	GYRO.P = 2000
1131
	GYRO.MaxTorque = VT(0,40000,0)
1132
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1133
	repeat
1134
		Swait()
1135
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1136
		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)
1137
		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)
1138
		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)
1139
		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)
1140
		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)
1141
		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)
1142
	until HOLD == true
1143
	local POS = Mouse.Hit.p
1144
	local CHAINS = false
1145
	local CHAINLINKS = {}
1146
	local A = IT("Attachment",RightArm)
1147
	A.Position = VT(1,-1,0)*SIZE
1148
	A.Orientation = VT(-90, -89.982, 0)
1149
	local B = IT("Attachment",RightArm)
1150
	B.Position = VT(-1,-1,0)*SIZE
1151
	B.Orientation = VT(-90, 89.988, 0)
1152
	local C = IT("Attachment",RightArm)
1153
	C.Position = VT(0.5,-1.3,0)*SIZE
1154
	C.Orientation = VT(-90, -89.982, 0)
1155
	local D = IT("Attachment",RightArm)
1156
	D.Position = VT(-0.5,-1.3,0)*SIZE
1157
	D.Orientation = VT(-90, 89.988, 0)
1158
	local LIGHT = IT("Attachment",RightArm)
1159
	LIGHT.Position = VT(0,-1,0)*SIZE
1160
	local LIGHT2 = IT("PointLight",LIGHT)
1161
	LIGHT2.Range = 7
1162
	LIGHT2.Brightness = 5
1163
	LIGHT2.Color = SKILLTEXTCOLOR
1164
	for i = 1, 2 do
1165
		local TWIST = -2
1166
		local START = A
1167
		local END = B
1168
		if i == 1 then
1169
			START = B
1170
			END = A
1171
		end
1172
		local ChainLink = IT("Beam",Torso)
1173
		ChainLink.Texture = "rbxassetid://73042633"
1174
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1175
		ChainLink.TextureSpeed = 1
1176
		ChainLink.Width0 = 1
1177
		ChainLink.Width1 = 1
1178
		ChainLink.TextureLength = 2.5
1179
		ChainLink.Attachment0 = START
1180
		ChainLink.Attachment1 = END
1181
		ChainLink.CurveSize0 = TWIST
1182
		ChainLink.CurveSize1 = TWIST
1183
		--ChainLink.FaceCamera = true
1184
		ChainLink.Segments = 45
1185
		ChainLink.Transparency = NumberSequence.new(1)
1186
		table.insert(CHAINLINKS,ChainLink)
1187
	end
1188
	for i = 1, 2 do
1189
		local TWIST = -1
1190
		local START = C
1191
		local END = D
1192
		if i == 1 then
1193
			START = D
1194
			END = C
1195
		end
1196
		local ChainLink = IT("Beam",Torso)
1197
		ChainLink.Texture = "rbxassetid://73042633"
1198
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1199
		ChainLink.TextureSpeed = 1
1200
		ChainLink.Width0 = 1
1201
		ChainLink.Width1 = 1
1202
		ChainLink.TextureLength = 5
1203
		ChainLink.Attachment0 = START
1204
		ChainLink.Attachment1 = END
1205
		ChainLink.CurveSize0 = TWIST
1206
		ChainLink.CurveSize1 = TWIST
1207
		--ChainLink.FaceCamera = true
1208
		ChainLink.Segments = 25
1209
		ChainLink.LightEmission = 0.5
1210
		ChainLink.Transparency = NumberSequence.new(1)
1211
		table.insert(CHAINLINKS,ChainLink)
1212
	end
1213
	coroutine.resume(coroutine.create(function()
1214
		repeat
1215
			Swait()
1216
			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)
1217
			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)), 0.15 / Animation_Speed)
1218
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1219
			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)
1220
			RightHip.C0 = Clerp(RightHip.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)
1221
			LeftHip.C0 = Clerp(LeftHip.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)
1222
		until CHAINS == true
1223
		repeat
1224
			Swait()
1225
			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)
1226
			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)
1227
			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)
1228
			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)
1229
			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)
1230
			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)
1231
		until ATTACK == false
1232
		for e = 1, 15 do
1233
			Swait()
1234
			for i = 1, #CHAINLINKS do
1235
				CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
1236
			end
1237
		end
1238
		A:remove()
1239
		B:remove()
1240
		C:remove()
1241
		D:remove()
1242
	end))
1243
	CreateSound(233856115, RightArm, 5, 1.2, false)
1244
	for e = 1, 15 do
1245
		Swait()
1246
		for i = 1, #CHAINLINKS do
1247
			CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
1248
		end
1249
	end
1250
	CHAINS = true
1251
	Rooted = true
1252
	wait(0.25)
1253
	local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
1254
	FIST.Color = C3(1, 215/255, 1)
1255
	FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) 
1256
	local LIGHT3 = IT("PointLight",FIST)
1257
	LIGHT3.Range = 7
1258
	LIGHT3.Brightness = 5
1259
	LIGHT3.Color = SKILLTEXTCOLOR
1260
	CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
1261
	local FISTA = IT("Attachment",FIST)
1262
	FISTA.Position = VT(0.062, 0.977, 0)
1263
	local ChainLink = IT("Beam",Torso)
1264
	ChainLink.Texture = "rbxassetid://73042633"
1265
	ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1266
	ChainLink.TextureSpeed = 0
1267
	ChainLink.Width0 = 3
1268
	ChainLink.Width1 = 3
1269
	ChainLink.TextureLength = 12
1270
	ChainLink.Attachment0 = LIGHT
1271
	ChainLink.Attachment1 = FISTA
1272
	ChainLink.FaceCamera = true
1273
	ChainLink.Segments = 45
1274
	ChainLink.LightEmission = 0.5
1275
	ChainLink.Transparency = NumberSequence.new(0.25)
1276
	local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
1277
	for i = 1, 85 do
1278
		Swait()
1279
		FIST.CFrame = FIST.CFrame*CF(0,-2,0)
1280
		ChainLink.TextureLength = 12+(i*2)
1281
		ApplyAoE(FIST.Position,10,15,25,100,false)
1282
		WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*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})
1283
		local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
1284
		if HITFLOOR ~= nil then
1285
			HITFLOOR:BreakJoints()
1286
			coroutine.resume(coroutine.create(function()
1287
				for i = 1, 15 do
1288
					Swait()
1289
					FISTSOUND.Volume = FISTSOUND.Volume - 0.15
1290
					ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
1291
					WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), 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})
1292
				end
1293
			end))
1294
			break
1295
		end
1296
	end
1297
	coroutine.resume(coroutine.create(function()
1298
		for i = 1, 50 do
1299
			Swait()
1300
			FIST.Transparency = FIST.Transparency + 0.5/50
1301
			LIGHT3.Range = LIGHT3.Range - 7/50
1302
		end
1303
		FIST:remove()
1304
	end))
1305
	LIGHT:remove()
1306
	GYRO:remove()
1307
	ATTACK = false
1308
	Rooted = false
1309
end
1310
1311
function WarpMeteor()
1312
	local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1313
	if DIST > 180 then
1314
		DIST = 180
1315
	end
1316
	local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1317
	local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
1318
	if HITFLOOR then
1319
		local POS = HITPOS	
1320
		ATTACK = true
1321
		Rooted = true
1322
		local WARPED = false
1323
		local SMASHED = false
1324
		local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1325
		coroutine.resume(coroutine.create(function()
1326
			repeat
1327
				Swait()
1328
				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)
1329
				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)
1330
				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)
1331
				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)
1332
				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)
1333
				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)
1334
			until WARPED == true
1335
			repeat
1336
				Swait()
1337
				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)
1338
				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)
1339
				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)
1340
				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)
1341
				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)
1342
				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)
1343
			until SMASHED == true
1344
			repeat
1345
				Swait()
1346
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
1347
			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)
1348
			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)
1349
			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)
1350
			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)
1351
			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)
1352
			until ATTACK == false
1353
		end))
1354
		VALUE1 = true
1355
		CreateSound(233856115, Torso, 5, 1.6, false)
1356
		for i = 1, 25 do
1357
			Swait()
1358
			for _, c in pairs(Character:GetChildren()) do
1359
				if c.ClassName == "Part" then
1360
					c.Transparency = c.Transparency + 1/25
1361
				end
1362
			end
1363
			for _, c in pairs(Weapon:GetChildren()) do
1364
				if c.ClassName == "Part" then
1365
					c.Transparency = c.Transparency + 1/25
1366
				end
1367
			end
1368
		end
1369
		UNANCHOR = false
1370
		RootPart.Anchored = true
1371
		RootPart.Velocity = VT(0,0,0)
1372
		local ROOTPOS = RootPart.Position
1373
		RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
1374
		WARPED = true
1375
		for i = 1, 25 do
1376
			Swait()
1377
			for _, c in pairs(Character:GetChildren()) do
1378
				if c.ClassName == "Part" then
1379
					c.Transparency = c.Transparency - 1/25
1380
				end
1381
			end
1382
			for _, c in pairs(Weapon:GetChildren()) do
1383
				if c.ClassName == "Part" then
1384
					c.Transparency = c.Transparency - 1/25
1385
				end
1386
			end
1387
		end
1388
		local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
1389
		SHELL.CFrame = RootPart.CFrame
1390
		MakeForm(SHELL,"Ball")
1391
		CreateSound(402981977, SHELL, 5, 1.6, false)
1392
		for i = 1, 10 do
1393
			Swait()
1394
			SHELL.Transparency = SHELL.Transparency - 1/10
1395
			SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
1396
		end
1397
		for i = 1, math.ceil(75/2) do
1398
			Swait()
1399
			RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
1400
			SHELL.CFrame = CF(RootPart.Position)
1401
			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})
1402
		end
1403
		RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
1404
		SHELL.CFrame = CF(RootPart.Position)
1405
		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})
1406
		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})
1407
		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})
1408
		for i = 1, 5 do
1409
			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})
1410
		end
1411
		SHELL:remove()
1412
		ApplyAoE(RootPart.Position,75,35,75,175,false)
1413
		SMASHED = true
1414
		wait(1)
1415
		VALUE1 = false
1416
		UNANCHOR = true
1417
		ATTACK = false
1418
		Rooted = false
1419
	end
1420
end
1421
1422
function PandorasBox()
1423
	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)
1424
	if HITFLOOR ~= nil then
1425
		ATTACK = true
1426
		Rooted = true
1427
		local RINGSPIN = true
1428
		local CONSTRUCTING = true
1429
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
1430
		RING.Color = C3(0,0,0)
1431
		MakeForm(RING,"Cyl")
1432
		RING.CFrame = CF(HITPOS)
1433
		CreateSound(402981977, RING, 5, 1.2, false)
1434
		coroutine.resume(coroutine.create(function()
1435
			repeat
1436
				Swait()
1437
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1438
				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)
1439
				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)
1440
				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)
1441
				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)
1442
				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)
1443
				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)
1444
			until CONSTRUCTING == false
1445
			repeat 
1446
				Swait() 
1447
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1448
			until RINGSPIN == false
1449
			for i = 1, 25 do
1450
				Swait()
1451
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1452
				RING.Size = RING.Size - VT(0.15,0,0.15)
1453
				--DECAL.Transparency = DECAL.Transparency + 1/25
1454
				RING.Transparency = RING.Transparency + 1/25
1455
			end
1456
			RING:remove()
1457
		end))
1458
		for i = 1, 15 do
1459
			Swait()
1460
			RING.Size = RING.Size + VT(0.75,0,0.75)
1461
			RING.Transparency = RING.Transparency - 1/15
1462
		end
1463
		local BOXSPIN = true
1464
		local PANDORASBOX = IT("Model",Effects)
1465
		PANDORASBOX.Name = "Pandora's Box"
1466
		local BOX = IT("Model",PANDORASBOX)
1467
		BOX.Name = "Body"
1468
		local LID = IT("Model",PANDORASBOX)
1469
		LID.Name = "Lid"
1470
		--BUILDING THE BOX--
1471
			local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
1472
			BASE.Color = C3(0,0,0)
1473
			PANDORASBOX.PrimaryPart = BASE
1474
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
1475
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1476
			WOOD.CFrame = BASE.CFrame*CF(1,0,1)
1477
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1478
			WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
1479
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1480
			WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
1481
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1482
			WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
1483
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1484
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
1485
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1486
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
1487
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1488
			WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
1489
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1490
			WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
1491
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1492
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
1493
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1494
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
1495
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1496
			WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
1497
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1498
			WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
1499
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
1500
			WOOD.CFrame = BASE.CFrame*CF(0,0,1)
1501
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
1502
			WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
1503
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
1504
			WOOD.CFrame = BASE.CFrame*CF(1,0,0)
1505
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
1506
			WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
1507
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
1508
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
1509
			-------------
1510
			local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
1511
			LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
1512
			LID.PrimaryPart = LIDPART
1513
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1514
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
1515
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1516
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
1517
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1518
			WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
1519
			local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1520
			WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
1521
			local DECAL = IT("Decal",LIDPART)
1522
			DECAL.Face = "Top"
1523
			DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
1524
			DECAL.Color3 = C3(0,0,0)
1525
		--BUILDING THE BOX--
1526
		coroutine.resume(coroutine.create(function()
1527
			repeat
1528
				Swait()
1529
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
1530
			until BOXSPIN == false
1531
		end))
1532
		for i = 1, 25 do
1533
			Swait()
1534
			PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
1535
		end
1536
		wait(0.5)
1537
		BOXSPIN = false
1538
		CONSTRUCTING = false	
1539
		coroutine.resume(coroutine.create(function()
1540
			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})
1541
			--[[for i = 1, 45 do
1542
				Swait()
1543
				LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
1544
			end-
1545
			LID:remove()]]--
1546
			for _, c in pairs(LID:GetChildren()) do
1547
				if c.ClassName == "Part" then
1548
					c.Anchored = false
1549
					c.CanCollide = true
1550
					if c ~= LIDPART then
1551
						weldBetween(LIDPART,c)
1552
					end
1553
				end
1554
			end
1555
			LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
1556
			Debris:AddItem(LID,15)
1557
			wait(0.5)
1558
			local RANDOMEFFECT = MRANDOM(1,4)
1559
			if RANDOMEFFECT == 1 then
1560
				for i = 1, 45 do
1561
					wait((2-(i/15))/15)
1562
					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})
1563
				end	
1564
				wait(1)
1565
				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})
1566
				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})
1567
				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})
1568
				for i = 1, 5 do
1569
					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})
1570
				end
1571
				ApplyAoE(BASE.Position,50,1,200,375,false)
1572
				ApplyAoE(BASE.Position,250,35,75,175,false)
1573
			elseif RANDOMEFFECT == 2 then
1574
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
1575
				FIELD.CFrame = BASE.CFrame
1576
				MakeForm(FIELD,"Ball")
1577
				for i = 1, 50 do
1578
					Swait()
1579
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
1580
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
1581
				end
1582
				wait(0.2)
1583
				local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
1584
				coroutine.resume(coroutine.create(function()
1585
					for i = 1, 75 do
1586
						Swait()
1587
						LOOP.Volume = LOOP.Volume + 10/75
1588
						LOOP.Parent = FIELD
1589
						local CHILDREN = workspace:GetDescendants()
1590
						for index, CHILD in pairs(CHILDREN) do
1591
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1592
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1593
								if HUM then
1594
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1595
									if TORSO then
1596
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
1597
											HUM.Health = HUM.Health - 0.1
1598
											TORSO.Velocity = VT(0,5,0)
1599
											HUM.PlatformStand = true
1600
											if TORSO.RotVelocity.Magnitude < 15 then
1601
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
1602
											end
1603
										end
1604
									end
1605
								end
1606
							end
1607
						end
1608
						FIELD.Size = FIELD.Size + VT(3,3,3)
1609
						FIELD.Transparency = FIELD.Transparency + 0.8/75
1610
					end
1611
					for i = 1, 500 do
1612
						Swait()
1613
						LOOP.Parent = FIELD
1614
						local CHILDREN = workspace:GetDescendants()
1615
						for index, CHILD in pairs(CHILDREN) do
1616
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1617
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1618
								if HUM then
1619
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1620
									if TORSO then
1621
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
1622
											TORSO.Velocity = VT(0,5,0)
1623
											HUM.Health = HUM.Health - 0.1
1624
											HUM.PlatformStand = true
1625
											if TORSO.RotVelocity.Magnitude < 15 then
1626
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
1627
											end
1628
										end
1629
									end
1630
								end
1631
							end
1632
						end
1633
					end
1634
					for i = 1, 25 do
1635
						Swait()
1636
						LOOP.Volume = LOOP.Volume + 10/25
1637
						LOOP.Parent = FIELD
1638
						local CHILDREN = workspace:GetDescendants()
1639
						for index, CHILD in pairs(CHILDREN) do
1640
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1641
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1642
								if HUM then
1643
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1644
									if TORSO then
1645
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
1646
											TORSO.Velocity = VT(0,5,0)
1647
											HUM.Health = HUM.Health - 0.1
1648
											HUM.PlatformStand = false
1649
											if TORSO.RotVelocity.Magnitude < 15 then
1650
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
1651
											end
1652
										end
1653
									end
1654
								end
1655
							end
1656
						end
1657
						FIELD.Size = FIELD.Size - VT(3,3,3)
1658
						FIELD.Transparency = FIELD.Transparency + 0.2/25
1659
					end	
1660
					FIELD:remove()
1661
				end))
1662
			elseif RANDOMEFFECT == 3 then
1663
				for i = 1, 10 do
1664
					wait(0.15)
1665
					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})
1666
					coroutine.resume(coroutine.create(function()
1667
						local MINION = CLONE:Clone()
1668
						MINION.Parent = Effects
1669
						MINION.Name = "Shadow"
1670
						MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
1671
						MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
1672
						for _, c in pairs(MINION:GetChildren()) do
1673
							if c.ClassName == "Part" then
1674
								c.Material = "Neon"
1675
								c.Color = C3(0,0,0)
1676
								c.Transparency = 0.25
1677
								if c.Name == "Head" then
1678
									c:ClearAllChildren()
1679
									local MSH = IT("BlockMesh",c)
1680
									MSH.Scale = VT(0.5,1,1)
1681
								end
1682
							end
1683
						end
1684
						local TORSO = MINION.Torso
1685
						local HUMAN = MINION.Humanoid
1686
						HUMAN.WalkSpeed = 20
1687
						HUMAN.MaxHealth = math.huge
1688
						HUMAN.Health = math.huge
1689
						HUMAN.DisplayDistanceType = "None"
1690
						HUMAN.Died:connect(function()
1691
							MINION:remove()
1692
							--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
1693
						end)
1694
						wait(1)
1695
						local findNearestTorso = function(POS)
1696
							local list = game.Workspace:GetDescendants()
1697
							local torso = nil
1698
							local dist = 500
1699
							local temp = nil
1700
							local human = nil
1701
							local temp2 = nil
1702
							for x = 1, #list do
1703
								temp2 = list[x]
1704
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
1705
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
1706
									human = temp2:findFirstChildOfClass("Humanoid")
1707
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
1708
										if (temp.Position - POS).magnitude < dist then
1709
											torso = temp
1710
											dist = (temp.Position - POS).magnitude
1711
										end
1712
									end
1713
								end
1714
							end
1715
							return torso, dist
1716
						end
1717
						for i = 1, 40 do
1718
							if HUMAN.Health == 0 then
1719
								break
1720
							end
1721
							wait(0.3)
1722
							local target,dist= findNearestTorso(TORSO.Position)
1723
							if target then
1724
								HUMAN:MoveTo(target.Position)
1725
								if dist < 25 then
1726
									CreateSound(348663022, TORSO, 10, 1, true)
1727
									wait(2)
1728
									--local ANIM = HUMAN:LoadAnimation(ATANIM)
1729
									--ANIM:Play()
1730
									--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
1731
									ApplyAoE(TORSO.Position,10,0,0,85,true)
1732
									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})
1733
									for i = 1, 5 do
1734
										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})
1735
									end
1736
									break
1737
								end
1738
							end
1739
						end
1740
						MINION:remove()
1741
					end))
1742
				end
1743
			elseif RANDOMEFFECT == 4 then
1744
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
1745
				FIELD.Color = C3(0,0,0)
1746
				FIELD.CFrame = BASE.CFrame
1747
				MakeForm(FIELD,"Ball")
1748
				FIELD.CanCollide = true
1749
				for i = 1, 50 do
1750
					Swait()
1751
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
1752
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
1753
				end
1754
				wait(0.2)
1755
				local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
1756
				coroutine.resume(coroutine.create(function()
1757
					local E = 0
1758
					for i = 1, 75 do
1759
						E = E + 1
1760
						Swait()
1761
						if E >= 35 then
1762
							E = 0
1763
							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})
1764
						end
1765
						LOOP.Volume = LOOP.Volume + 10/75
1766
						LOOP.Parent = FIELD
1767
						local CHILDREN = workspace:GetDescendants()
1768
						for index, CHILD in pairs(CHILDREN) do
1769
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1770
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1771
								if HUM then
1772
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1773
									if TORSO then
1774
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
1775
											for _, c in pairs(CHILD:GetChildren()) do
1776
												if c:IsA("BasePart") then
1777
													local bv = Instance.new("BodyVelocity") 
1778
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1779
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
1780
													bv.Parent = c
1781
													Debris:AddItem(bv,0.05)
1782
												end
1783
											end
1784
											HUM.Health = HUM.Health - 0.3
1785
										end
1786
									end
1787
								end
1788
							end
1789
						end
1790
						FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
1791
					end
1792
					for i = 1, 180 do
1793
						E = E + 1
1794
						Swait()
1795
						if E >= 35 then
1796
							E = 0
1797
							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})
1798
						end
1799
						LOOP.Parent = FIELD
1800
						local CHILDREN = workspace:GetDescendants()
1801
						for index, CHILD in pairs(CHILDREN) do
1802
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1803
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1804
								if HUM then
1805
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1806
									if TORSO then
1807
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
1808
											for _, c in pairs(CHILD:GetChildren()) do
1809
												if c:IsA("BasePart") then
1810
													local bv = Instance.new("BodyVelocity") 
1811
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1812
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
1813
													bv.Parent = c
1814
													Debris:AddItem(bv,0.05)
1815
												end
1816
											end
1817
											HUM.Health = HUM.Health - 0.3
1818
										end
1819
									end
1820
								end
1821
							end
1822
						end
1823
					end
1824
					ApplyAoE(FIELD.Position,40,15,20,375,false)
1825
					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})
1826
					for i = 1, 5 do
1827
						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})
1828
					end
1829
					FIELD:remove()
1830
				end))
1831
			elseif RANDOMEFFECT == 5 then
1832
			end
1833
			wait(0.5)
1834
			for i = 1, 25 do
1835
				Swait()
1836
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
1837
			end
1838
			PANDORASBOX:remove()
1839
			RINGSPIN = false
1840
		end))
1841
		ATTACK = false
1842
		Rooted = false
1843
	end
1844
end
1845
1846
function Taunt()
1847
	ATTACK = true
1848
	local LAUGH = nil
1849
	coroutine.resume(coroutine.create(function()
1850
		repeat
1851
			Swait()
1852
			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)
1853
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
1854
			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)
1855
			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)
1856
			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)
1857
			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)
1858
		until LAUGH ~= nil
1859
		repeat
1860
			Swait()
1861
			LAUGH.Parent = Head
1862
			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)
1863
			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)
1864
			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)
1865
			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)
1866
			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)
1867
			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)
1868
		until LAUGH.Playing == false
1869
	ATTACK = false
1870
	end))
1871
	wait(0.1)
1872
	LAUGH = CreateSound(525166232, Head, 10, 1, false)
1873
end
1874
1875
--//=================================\\
1876
--||	  ASSIGN THINGS TO KEYS
1877
--\\=================================//
1878
1879
function MouseDown(Mouse)
1880
	HOLD = true
1881
	if ATTACK == false then
1882
	end
1883
end
1884
1885
function MouseUp(Mouse)
1886
HOLD = false
1887
end
1888
1889
function KeyDown(Key)
1890
	KEYHOLD = true
1891
	if Key == "z" and ATTACK == false then
1892
		MagicMissiles()
1893
	end
1894
1895
	if Key == "b" and ATTACK == false then
1896
		TimesUp()
1897
	end
1898
1899
	if Key == "c" and ATTACK == false then
1900
		ChainPunch()
1901
	end
1902
1903
	if Key == "v" and ATTACK == false then
1904
		WarpMeteor()
1905
	end
1906
1907
	if Key == "x" and ATTACK == false then
1908
		PandorasBox()
1909
	end
1910
1911
	if Key == "t" and ATTACK == false then
1912
		Taunt()
1913
	end
1914
end
1915
1916
function KeyUp(Key)
1917
	KEYHOLD = false
1918
end
1919
1920
	Mouse.Button1Down:connect(function(NEWKEY)
1921
		MouseDown(NEWKEY)
1922
	end)
1923
	Mouse.Button1Up:connect(function(NEWKEY)
1924
		MouseUp(NEWKEY)
1925
	end)
1926
	Mouse.KeyDown:connect(function(NEWKEY)
1927
		KeyDown(NEWKEY)
1928
	end)
1929
	Mouse.KeyUp:connect(function(NEWKEY)
1930
		KeyUp(NEWKEY)
1931
	end)
1932
1933
--//=================================\\
1934
--\\=================================//
1935
1936
1937
function unanchor()
1938
	if UNANCHOR == true then
1939
		RootPart.Anchored = false
1940
	end
1941
	g = Character:GetChildren()
1942
	for i = 1, #g do
1943
		if g[i].ClassName == "Part" and g[i] ~= RootPart then
1944
			g[i].Anchored = false
1945
		end
1946
	end
1947
	g = Weapon:GetChildren()
1948
	for i = 1, #g do
1949
		if g[i].ClassName == "Part" then
1950
			g[i].Anchored = false
1951
		end
1952
	end
1953
end
1954
1955
1956
--//=================================\\
1957
--||	WRAP THE WHOLE SCRIPT UP
1958
--\\=================================//
1959
1960
Humanoid.Changed:connect(function(Jump)
1961
	if Jump == "Jump" and (Disable_Jump == true) then
1962
		Humanoid.Jump = false
1963
	end
1964
end)
1965
1966
while true do
1967
	Swait()
1968
	script.Parent = WEAPONGUI
1969
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1970
	    v:Stop();
1971
	end
1972
	ANIMATE.Parent = nil
1973
	SINE = SINE + CHANGE*1.5
1974
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1975
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1976
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
1977
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
1978
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1979
		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)
1980
		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)
1981
		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)
1982
		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)
1983
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1984
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1985
		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)
1986
		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)
1987
		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)
1988
	end
1989
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1990
		ANIM = "Jump"
1991
		if ATTACK == false then
1992
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1993
			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)
1994
			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)
1995
			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)
1996
			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)
1997
			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)
1998
	    end
1999
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2000
		ANIM = "Fall"
2001
		if ATTACK == false then
2002
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2003
			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)
2004
			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)
2005
			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)
2006
			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)
2007
			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)
2008
		end
2009
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2010
		ANIM = "Idle"
2011
		if ATTACK == false then
2012
			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)
2013
			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)
2014
			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)
2015
			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)
2016
			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)
2017
			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)
2018
		end
2019
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2020
		ANIM = "Walk"
2021
		if ATTACK == false then
2022
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2023
			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)
2024
			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)
2025
			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)
2026
			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)
2027
			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)
2028
		end
2029
	end
2030
	unanchor()
2031
	Humanoid.MaxHealth = "inf"
2032
	Humanoid.Health = "inf"
2033
	if Rooted == false then
2034
		Disable_Jump = false
2035
		Humanoid.WalkSpeed = Speed
2036
	elseif Rooted == true then
2037
		Disable_Jump = true
2038
		Humanoid.WalkSpeed = 0
2039
	end
2040
	for _, c in pairs(Character:GetChildren()) do
2041
		if c.ClassName == "Part" and c.Name ~= "Detail" then
2042
			c.Material = "Fabric"
2043
			if c:FindFirstChildOfClass("ParticleEmitter") then
2044
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2045
			end
2046
			if c ~= Head then
2047
				c.Color = C3(0,0,0)
2048
			else
2049
				c.Color = C3(1,1,1)
2050
			end
2051
			if c == Head then
2052
				if c:FindFirstChild("face") then
2053
					c.face:remove()
2054
				end
2055
			end
2056
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2057
			c:remove()
2058
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
2059
			c:remove()
2060
		end
2061
	end
2062
	sick.SoundId = "rbxassetid://"..SONG
2063
	sick.Looped = true
2064
	sick.Pitch = 1
2065
	sick.Volume = 5
2066
	sick.Parent = Torso
2067
	sick:Resume()
2068
	--sick.Playing = false
2069
	Humanoid.Name = "Pandora = "..Player.Name
2070
end
2071
2072
--//=================================\\
2073
--\\=================================//
2074
2075
2076
2077
2078
2079
--//====================================================\\--
2080
--||			  		 END OF SCRIPT
2081
--\\====================================================//--