View difference between Paste ID: 33Nnd3sT and kJADtQzd
SHOW: | | - or go back to the newest paste.
1-
--      [[[
1+
local Player = game:GetService("Players").LocalPlayer
2-
--000000[[====================================================================================\\
2+
3-
--000000[[                    DEIVIS97 EDIT    
3+
4-
--000000[[====================================================================================//
4+
5-
--      [[[
5+
6-
-- This script has been converted to FE by iPxter
6+
	Lifetime = 1
7
	Color1 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
8
	Color2 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
9-
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
9+
10-
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
10+
11-
do
11+
12-
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
12+
13-
	script.Parent = Player.Character
13+
14
    Mouse = Player:GetMouse()
15-
	--RemoteEvent for communicating
15+
16-
	local Event = Instance.new("RemoteEvent")
16+
17-
	Event.Name = "UserInput_Event"
17+
18
local Trail
19-
	--Fake event to make stuff like Mouse.KeyDown work
19+
20-
	local function fakeEvent()
20+
21-
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
21+
22-
		t.connect = t.Connect
22+
23-
		return t
23+
24
		A3 = Instance.new("Attachment", Character["Left Arm"])
25
		Trail = Instance.new("Trail", Character)
26-
	--Creating fake input objects with fake variables
26+
27-
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
27+
28-
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
28+
29-
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
29+
30-
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
30+
31-
	end}
31+
32-
	--Merged 2 functions into one by checking amount of arguments
32+
33-
	CAS.UnbindAction = CAS.BindAction
33+
34
		local Trail3 = Trail:Clone()
35-
	--This function will trigger the events that have been :Connect()'ed
35+
36-
	local function te(self,ev,...)
36+
37-
		local t = m[ev]
37+
38-
		if t and t._fakeEvent and t.Function then
38+
39-
			t.Function(...)
39+
40
		Trail6.Attachment1 = A2
41
		local Trail7 = Trail:Clone()
42-
	m.TrigEvent = te
42+
43-
	UIS.TrigEvent = te
43+
44
		Trail7.Attachment1 = A3
45-
	Event.OnServerEvent:Connect(function(plr,io)
45+
46-
	    if plr~=Player then return end
46+
47-
		if io.isMouse then
47+
48-
			m.Target = io.Target
48+
49-
			m.Hit = io.Hit
49+
50
		A2R = Instance.new("Attachment", Character.RightLowerArm)
51-
			local b = io.UserInputState == Enum.UserInputState.Begin
51+
52-
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
52+
53-
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
53+
54
		Trail.Attachment0 = A0
55-
			for _,t in pairs(CAS.Actions) do
55+
56-
				for _,k in pairs(t.Keys) do
56+
57-
					if k==io.KeyCode then
57+
58-
						t.Function(t.Name,io.UserInputState,io)
58+
59
		local Trail2 = Trail:Clone()
60
		Trail2.Parent = Character
61
		Trail2.Attachment1 = A2
62-
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
62+
63-
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
63+
64
		Trail3.Attachment1 = A3
65
		local Trail6 = Trail:Clone()
66-
	Event.Parent = NLS([==[
66+
67-
	local Player = game:GetService("Players").LocalPlayer
67+
68-
	local Event = script:WaitForChild("UserInput_Event")
68+
69
		local Trail7 = Trail:Clone()
70-
	local UIS = game:GetService("UserInputService")
70+
71-
	local input = function(io,a)
71+
72-
		if a then return end
72+
73-
		--Since InputObject is a client-side instance, we create and pass table instead
73+
74-
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
74+
75
		Trail1R.Attachment1 = A2R
76-
	UIS.InputBegan:Connect(input)
76+
77-
	UIS.InputEnded:Connect(input)
77+
78
		Trail2R.Attachment1 = A3R
79-
	local Mouse = Player:GetMouse()
79+
80-
	local h,t
80+
81-
	--Give the server mouse data 30 times every second, but only if the values changed
81+
82-
	--If player is not moving their mouse, client won't fire events
82+
83-
	while wait(1/30) do
83+
84-
		if h~=Mouse.Hit or t~=Mouse.Target then
84+
85-
			h,t=Mouse.Hit,Mouse.Target
85+
86-
			Event:FireServer({isMouse=true,Target=t,Hit=h})
86+
87
	end
88-
	end]==],Player.Character)
88+
89-
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
89+
90
	if TrailSettings.R15 == false then
91
		A4 = Instance.new("Attachment", Character["Right Leg"])
92
		A5 = Instance.new("Attachment", Character["Left Leg"])
93
		local Trail4 = Trail:Clone()
94
		Trail4.Parent = Character
95
		Trail4.Attachment1 = A4
96-
TrailSettings = {
96+
97-
	Lifetime = 1,
97+
98-
	Texture = "http://www.roblox.com/asset/?id=1097260739",
98+
99
		local Trail8 = Trail:Clone()
100
		Trail8.Parent = Character
101
		Trail8.Attachment0 = A2
102
		Trail8.Attachment1 = A4
103
		Trail8.Color = TrailSettings.Color2
104
		local Trail9 = Trail:Clone()
105
		Trail9.Parent = Character
106
		Trail9.Attachment0 = A3
107
		Trail9.Attachment1 = A5
108
		Trail9.Color = TrailSettings.Color2
109
		local FT = Trail:Clone()
110
		FT.Parent = Character
111
		FT.Attachment0 = A4
112
		FT.Attachment1 = A5
113
		FT.Color = TrailSettings.Color2
114
	else
115
		A4 = Instance.new("Attachment", Character.RightLowerLeg)
116
		A4R = Instance.new("Attachment", Character.RightUpperLeg)
117
		A5 = Instance.new("Attachment", Character.LeftLowerLeg)
118
		A5R = Instance.new("Attachment", Character.LeftUpperLeg)
119
		local Trail4 = Trail:Clone()
120
		Trail4.Parent = Character
121
		Trail4.Attachment1 = A4
122
		local Trail5 = Trail:Clone()
123
		Trail5.Parent = Character
124
		Trail5.Attachment1 = A5
125
		local Trail8 = Trail:Clone()
126
		Trail8.Parent = Character
127
		Trail8.Attachment0 = A2
128
		Trail8.Attachment1 = A4
129
		Trail8.Color = TrailSettings.Color2
130
		local Trail9 = Trail:Clone()
131
		Trail9.Parent = Character
132
		Trail9.Attachment0 = A3
133
		Trail9.Attachment1 = A5
134
		Trail9.Color = TrailSettings.Color2
135
		local FT = Trail:Clone()
136
		FT.Parent = Character
137
		FT.Attachment0 = A4
138
		FT.Attachment1 = A5
139
		FT.Color = TrailSettings.Color2
140
		local Trail3R = Trail:Clone()
141
		Trail3R.Parent = Character
142
		Trail3R.Attachment1 = A4R
143
		local Trail4R = Trail:Clone()
144
		Trail4R.Parent = Character
145
		Trail4R.Attachment1 = A5R
146
		local Trail8 = Trail:Clone()
147
		Trail8.Parent = Character
148
		Trail8.Attachment0 = A2R
149
		Trail8.Attachment1 = A4R
150
		Trail8.Color = TrailSettings.Color2
151
		local Trail9 = Trail:Clone()
152
		Trail9.Parent = Character
153
		Trail9.Attachment0 = A3R
154
		Trail9.Attachment1 = A5R
155
		Trail9.Color = TrailSettings.Color2
156
		local FT2R = Trail:Clone()
157
		FT2R.Parent = Character
158
		FT2R.Attachment0 = A4R
159
		FT2R.Attachment1 = A5R
160
		FT2R.Color = TrailSettings.Color2
161
	end
162
end
163
function AllBody()
164
	UpperBody()
165
	LowerBody()
166
end
167
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
168
	TrailSettings.UpperBodyOnly = false
169
	TrailSettings.LowerBodyOnly = false
170
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
171
	TrailSettings.UpperBodyOnly = false
172
	TrailSettings.LowerBodyOnly = false
173
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
174
	TrailSettings.UpperBodyOnly = false
175
	TrailSettings.LowerBodyOnly = false
176
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
177
	TrailSettings.AllBody = true
178
	TrailSettings.UpperBodyOnly = false
179
	TrailSettings.LowerBodyOnly = false
180
end
181
if TrailSettings.UpperBodyOnly == true then
182
	UpperBody()
183
	print("Called Upper Body Trail")
184
elseif TrailSettings.LowerBodyOnly == true then
185
	LowerBody()
186
	print("Called Lower Body Trail")
187
elseif TrailSettings.AllBody == true then
188
	AllBody()
189
	print("Called Full Body Trail")
190
end
191
if TrailSettings.Accessories == true then
192
	for Index, Item in pairs(Character:GetChildren()) do
193
		if Item:IsA("Accessory") then
194
			local AA = Instance.new("Attachment", Item.Handle)
195
			local ATrail = Trail:Clone()
196
			ATrail.Parent = Character
197
			ATrail.Attachment1 = AA
198
		end
199
	end
200
end
201
if TrailSettings.Extras == true then
202
	spawn(function()
203
		repeat
204
			wait()
205
		until Trail
206
		local AB = Instance.new("Attachment", a)
207
		local ABT = Trail:Clone()
208
		ABT.Parent = Character
209
		ABT.Attachment0 = A4
210
		ABT.Attachment1 = AB
211
		ABT.Color = TrailSettings.Color2
212
		local ABT2 = Trail:Clone()
213
		ABT2.Parent = Character
214
		ABT2.Attachment0 = A5
215
		ABT2.Attachment1 = AB
216
		ABT2.Color = TrailSettings.Color2
217
	end)
218
end
219
wait(0.1)
220
--//====================================================\\--
221
--||			   CREATED BY SHACKLUSTER
222
--\\====================================================//--
223
224
local Player = owner
225
local Character = Player.Character
226
local Humanoid = Character.Humanoid
227
local LeftArm = Character["Left Arm"]
228
local RightArm = Character["Right Arm"]
229
local LeftLeg = Character["Left Leg"]
230
local RightLeg = Character["Right Leg"]
231
local Head = Character.Head
232
local Torso = Character.Torso
233
local Camera = game.Workspace.CurrentCamera
234
local RootPart = Character.HumanoidRootPart
235
local RootJoint = RootPart.RootJoint
236
local attack = false
237
local Anim = 'Idle'
238
local Lighty = game:GetService"Lighting"
239
local attacktype = 1
240
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
241
local velocity = RootPart.Velocity.y
242
local sine = 0
243
local change = 1
244
local bored = {492070484,1232162751,1534958855,303535614,1117396305,0}
245
local Create = LoadLibrary("RbxUtility").Create
246
function swait(num)
247
	if num == 0 or num == nil then
248
		ArtificialHB.Event:wait()
249
	else
250
		for i = 0, num do
251
			ArtificialHB.Event:wait()
252
		end
253
	end
254
end
255
256
local chara = Character
257
local m = Create("Model"){
258
	Parent = Character,
259
	Name = "WeaponModel",
260
}
261
function chatfunc(text)
262
	local chat = coroutine.wrap(function()
263
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
264
		Character:FindFirstChild("TalkingBillBoard"):destroy()
265
	end
266
	local Bill = Instance.new("BillboardGui",Character)
267
	Bill.Size = UDim2.new(0,100,0,40)
268
	Bill.StudsOffset = Vector3.new(0,3,0)
269
	Bill.Adornee = Character.Head
270
	Bill.Name = "TalkingBillBoard"
271
	local Hehe = Instance.new("TextLabel",Bill)
272
	Hehe.BackgroundTransparency = 1
273
	Hehe.BorderSizePixel = 0
274
	Hehe.Text = ""
275
	Hehe.Font = "Garamond"
276
	Hehe.TextSize = 40
277
	Hehe.TextStrokeTransparency = 0
278
	Hehe.Size = UDim2.new(1,0,0.5,0)
279
	coroutine.resume(coroutine.create(function()
280
		while Hehe ~= nil do
281
			swait()	
282
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
283
			Hehe.Rotation = math.random(-5,5)
284
			Hehe.TextColor3 = Color3.new(255,255,0)
285
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
286
		end
287
	end))
288
	for i = 1,string.len(text),1 do
289
		swait()
290
		Hehe.Text = string.sub(text,1,i)
291
	end
292
	swait(90)--Re[math.random(1, 93)]
293
	for i = 0, 1, .025 do
294
		swait()
295
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
296
		Hehe.TextStrokeTransparency = i
297
		Hehe.TextTransparency = i
298
	end
299
	Bill:Destroy()
300
	end)
301
chat()
302
end
303
304
function onChatted(msg)
305
	chatfunc(msg)
306
end
307
308
Player.Chatted:connect(onChatted)
309
wait(0.2)
310
311
Player = owner
312
PlayerGui = Player.PlayerGui
313
Cam = workspace.CurrentCamera
314
Backpack = Player.Backpack
315
Character = Player.Character
316
Humanoid = Character.Humanoid
317
RootPart = Character["HumanoidRootPart"]
318
Torso = Character["Torso"]
319
Head = Character["Head"]
320
RightArm = Character["Right Arm"]
321
LeftArm = Character["Left Arm"]
322
RightLeg = Character["Right Leg"]
323
LeftLeg = Character["Left Leg"]
324
RootJoint = RootPart["RootJoint"]
325
Neck = Torso["Neck"]
326
RightShoulder = Torso["Right Shoulder"]
327
LeftShoulder = Torso["Left Shoulder"]
328
RightHip = Torso["Right Hip"]
329
LeftHip = Torso["Left Hip"]
330
Character.Archivable = true
331
Player:ClearCharacterAppearance()
332
333
IT = Instance.new
334
CF = CFrame.new
335
VT = Vector3.new
336
RAD = math.rad
337
C3 = Color3.new
338
UD2 = UDim2.new
339
BRICKC = BrickColor.new
340
ANGLES = CFrame.Angles
341
EULER = CFrame.fromEulerAnglesXYZ
342
COS = math.cos
343
ACOS = math.acos
344
SIN = math.sin
345
ASIN = math.asin
346
ABS = math.abs
347
MRANDOM = math.random
348
FLOOR = math.floor
349
local CHOICE = MRANDOM(1,5)
350
--//=================================\\
351
--|| 	      USEFUL VALUES
352
--\\=================================//
353
354
Animation_Speed = 3
355
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
356
local Speed = 20
357
local SIZE = 1.4
358
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
359
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
360
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
361
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
362
local DAMAGEMULTIPLIER = "inf"
363
local ANIM = "Idle"
364
local ATTACK = false
365
local EQUIPPED = false
366
local HOLD = false
367
local COMBO = 1
368
local Rooted = false
369
local SINE = 0
370
local KEYHOLD = false
371
local CHANGE = 2 / Animation_Speed
372
local WALKINGANIM = false
373
local VALUE1 = false
374
local VALUE2 = false
375
local ROBLOXIDLEANIMATION = IT("Animation")
376
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
377
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
378
local ATANIM = IT("Animation")
379
ATANIM.Name = "Attack Animation"
380
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
381
--ROBLOXIDLEANIMATION.Parent = Humanoid
382
local WEAPONGUI = IT("ScreenGui", PlayerGui)
383
WEAPONGUI.Name = "Weapon GUI"
384
local Weapon = IT("Model")
385
Weapon.Name = "Adds"
386
local Effects = IT("Folder", Weapon)
387
Effects.Name = "Effects"
388
local ANIMATOR = Humanoid.Animator
389
local ANIMATE = Character.Animate
390
local UNANCHOR = true
391
local CLOCKLOOP = 0
392
local SONG = 492070484
393
local CLOCKTARGET = nil
394
local CLOCKSPEED = 4
395
script.Parent = WEAPONGUI
396
local CLONE = Character:Clone()
397
CLONE.Parent = nil
398
Character.Archivable = false
399
local sick = Instance.new("Sound",Torso)
400
sick.Volume = 50999
401
402
--//=================================\\
403
--\\=================================//
404
405
406
--//=================================\\
407
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
408
--\\=================================//
409
410
ArtificialHB = Instance.new("BindableEvent", script)
411
ArtificialHB.Name = "ArtificialHB"
412
413
script:WaitForChild("ArtificialHB")
414
415
frame = Frame_Speed
416
tf = 0
417
allowframeloss = false
418
tossremainder = false
419
lastframe = tick()
420
script.ArtificialHB:Fire()
421
422
game:GetService("RunService").Heartbeat:connect(function(s, p)
423
	tf = tf + s
424
	if tf >= frame then
425
		if allowframeloss then
426
			script.ArtificialHB:Fire()
427
			lastframe = tick()
428
		else
429
			for i = 1, math.floor(tf / frame) do
430
				script.ArtificialHB:Fire()
431
			end
432
		lastframe = tick()
433
		end
434
		if tossremainder then
435
			tf = 0
436
		else
437
			tf = tf - frame * math.floor(tf / frame)
438
		end
439
	end
440
end)
441
442
--//=================================\\
443
--\\=================================//
444
445
--//=================================\\
446
--|| 	      SOME FUNCTIONS
447
--\\=================================//
448
449
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
450
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
451
end
452
453
function PositiveAngle(NUMBER)
454
	if NUMBER >= 0 then
455
		NUMBER = 0
456
	end
457
	return NUMBER
458
end
459
460
function NegativeAngle(NUMBER)
461
	if NUMBER <= 0 then
462
		NUMBER = 0
463
	end
464
	return NUMBER
465
end
466
467
function Swait(NUMBER)
468
	if NUMBER == 0 or NUMBER == nil then
469
		ArtificialHB.Event:wait()
470
	else
471
		for i = 1, NUMBER do
472
			ArtificialHB.Event:wait()
473
		end
474
	end
475
end
476
477
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
478
	local NEWMESH = IT(MESH)
479
	if MESH == "SpecialMesh" then
480
		NEWMESH.MeshType = MESHTYPE
481
		if MESHID ~= "nil" and MESHID ~= "" then
482
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
483
		end
484
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
485
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
486
		end
487
	end
488
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
489
	NEWMESH.Scale = SCALE
490
	NEWMESH.Parent = PARENT
491
	return NEWMESH
492
end
493
494
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
495
	local NEWPART = IT("Part")
496
	NEWPART.formFactor = FORMFACTOR
497
	NEWPART.Reflectance = REFLECTANCE
498
	NEWPART.Transparency = TRANSPARENCY
499
	NEWPART.CanCollide = false
500
	NEWPART.Locked = true
501
	NEWPART.Anchored = true
502
	if ANCHOR == false then
503
		NEWPART.Anchored = false
504
	end
505
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
506
	NEWPART.Name = NAME
507
	NEWPART.Size = SIZE
508
	NEWPART.Position = Torso.Position
509
	NEWPART.Material = MATERIAL
510
	NEWPART:BreakJoints()
511
	NEWPART.Parent = PARENT
512
	return NEWPART
513
end
514
515
	local function weldBetween(a, b)
516
	    local weldd = Instance.new("ManualWeld")
517
	    weldd.Part0 = a
518
	    weldd.Part1 = b
519
	    weldd.C0 = CFrame.new()
520
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
521
	    weldd.Parent = a
522
	    return weldd
523
	end
524
525
526
function QuaternionFromCFrame(cf)
527
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
528
	local trace = m00 + m11 + m22
529
	if trace > 0 then 
530
		local s = math.sqrt(1 + trace)
531
		local recip = 0.5 / s
532
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
533
	else
534
		local i = 0
535
		if m11 > m00 then
536
			i = 1
537
		end
538
		if m22 > (i == 0 and m00 or m11) then
539
			i = 2
540
		end
541
		if i == 0 then
542
			local s = math.sqrt(m00 - m11 - m22 + 1)
543
			local recip = 0.5 / s
544
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
545
		elseif i == 1 then
546
			local s = math.sqrt(m11 - m22 - m00 + 1)
547
			local recip = 0.5 / s
548
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
549
		elseif i == 2 then
550
			local s = math.sqrt(m22 - m00 - m11 + 1)
551
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
552
		end
553
	end
554
end
555
 
556
function QuaternionToCFrame(px, py, pz, x, y, z, w)
557
	local xs, ys, zs = x + x, y + y, z + z
558
	local wx, wy, wz = w * xs, w * ys, w * zs
559
	local xx = x * xs
560
	local xy = x * ys
561
	local xz = x * zs
562
	local yy = y * ys
563
	local yz = y * zs
564
	local zz = z * zs
565
	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))
566
end
567
 
568
function QuaternionSlerp(a, b, t)
569
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
570
	local startInterp, finishInterp;
571
	if cosTheta >= 0.0001 then
572
		if (1 - cosTheta) > 0.0001 then
573
			local theta = ACOS(cosTheta)
574
			local invSinTheta = 1 / SIN(theta)
575
			startInterp = SIN((1 - t) * theta) * invSinTheta
576
			finishInterp = SIN(t * theta) * invSinTheta
577
		else
578
			startInterp = 1 - t
579
			finishInterp = t
580
		end
581
	else
582
		if (1 + cosTheta) > 0.0001 then
583
			local theta = ACOS(-cosTheta)
584
			local invSinTheta = 1 / SIN(theta)
585
			startInterp = SIN((t - 1) * theta) * invSinTheta
586
			finishInterp = SIN(t * theta) * invSinTheta
587
		else
588
			startInterp = t - 1
589
			finishInterp = t
590
		end
591
	end
592
	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
593
end
594
595
function Clerp(a, b, t)
596
	local qa = {QuaternionFromCFrame(a)}
597
	local qb = {QuaternionFromCFrame(b)}
598
	local ax, ay, az = a.x, a.y, a.z
599
	local bx, by, bz = b.x, b.y, b.z
600
	local _t = 1 - t
601
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
602
end
603
604
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
605
	local frame = IT("Frame")
606
	frame.BackgroundTransparency = TRANSPARENCY
607
	frame.BorderSizePixel = BORDERSIZEPIXEL
608
	frame.Position = POSITION
609
	frame.Size = SIZE
610
	frame.BackgroundColor3 = COLOR
611
	frame.BorderColor3 = BORDERCOLOR
612
	frame.Name = NAME
613
	frame.Parent = PARENT
614
	return frame
615
end
616
617
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
618
	local label = IT("TextLabel")
619
	label.BackgroundTransparency = 1
620
	label.Size = UD2(1, 0, 1, 0)
621
	label.Position = UD2(0, 0, 0, 0)
622
	label.TextColor3 = TEXTCOLOR
623
	label.TextStrokeTransparency = STROKETRANSPARENCY
624
	label.TextTransparency = TRANSPARENCY
625
	label.FontSize = TEXTFONTSIZE
626
	label.Font = TEXTFONT
627
	label.BorderSizePixel = BORDERSIZEPIXEL
628
	label.TextStrokeColor3 = C3(1,1,1)
629
	label.TextScaled = false
630
	label.Text = TEXT
631
	label.Name = NAME
632
	label.Parent = PARENT
633
	return label
634
end
635
636
function NoOutlines(PART)
637
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
638
end
639
640
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
641
	local NEWWELD = IT(TYPE)
642
	NEWWELD.Part0 = PART0
643
	NEWWELD.Part1 = PART1
644
	NEWWELD.C0 = C0
645
	NEWWELD.C1 = C1
646
	NEWWELD.Parent = PARENT
647
	return NEWWELD
648
end
649
650
local S = IT("Sound")
651
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
652
	local NEWSOUND = nil
653
	coroutine.resume(coroutine.create(function()
654
		NEWSOUND = S:Clone()
655
		NEWSOUND.Parent = PARENT
656
		NEWSOUND.Volume = VOLUME
657
		NEWSOUND.Pitch = PITCH
658
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
659
		NEWSOUND:play()
660
		if DOESLOOP == true then
661
			NEWSOUND.Looped = true
662
		else
663
			repeat wait(1) until NEWSOUND.Playing == false
664
			NEWSOUND:remove()
665
		end
666
	end))
667
	return NEWSOUND
668
end
669
670
function CFrameFromTopBack(at, top, back)
671
	local right = top:Cross(back)
672
	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)
673
end
674
675
--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})
676
function WACKYEFFECT(Table)
677
	local TYPE = (Table.EffectType or "Sphere")
678
	local SIZE = (Table.Size or VT(1,1,1))
679
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
680
	local TRANSPARENCY = (Table.Transparency or 0)
681
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
682
	local CFRAME = (Table.CFrame or Torso.CFrame)
683
	local MOVEDIRECTION = (Table.MoveToPos or nil)
684
	local ROTATION1 = (Table.RotationX or 0)
685
	local ROTATION2 = (Table.RotationY or 0)
686
	local ROTATION3 = (Table.RotationZ or 0)
687
	local MATERIAL = (Table.Material or "Neon")
688
	local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551))
689
	local TIME = (Table.Time or 45)
690
	local SOUNDID = (Table.SoundID or nil)
691
	local SOUNDPITCH = (Table.SoundPitch or nil)
692
	local SOUNDVOLUME = (Table.SoundVolume or nil)
693
	coroutine.resume(coroutine.create(function()
694
		local PLAYSSOUND = false
695
		local SOUND = nil
696
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
697
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
698
			PLAYSSOUND = true
699
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
700
		end
701
		EFFECT.Color = COLOR
702
		local MSH = nil
703
		if TYPE == "Sphere" then
704
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
705
		elseif TYPE == "Block" then
706
			MSH = IT("BlockMesh",EFFECT)
707
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
708
		elseif TYPE == "Wave" then
709
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
710
		elseif TYPE == "Ring" then
711
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
712
		elseif TYPE == "Slash" then
713
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
714
		elseif TYPE == "Round Slash" then
715
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
716
		elseif TYPE == "Swirl" then
717
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
718
		elseif TYPE == "Skull" then
719
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
720
		elseif TYPE == "Crystal" then
721
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
722
		end
723
		if MSH ~= nil then
724
			local MOVESPEED = nil
725
			if MOVEDIRECTION ~= nil then
726
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
727
			end
728
			local GROWTH = SIZE - ENDSIZE
729
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
730
			if TYPE == "Block" then
731
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
732
			else
733
				EFFECT.CFrame = CFRAME
734
			end
735
			for LOOP = 1, TIME+1 do
736
				Swait()
737
				MSH.Scale = MSH.Scale - GROWTH/TIME
738
				if TYPE == "Wave" then
739
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
740
				end
741
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
742
				if TYPE == "Block" then
743
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
744
				else
745
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
746
				end
747
				if MOVEDIRECTION ~= nil then
748
					local ORI = EFFECT.Orientation
749
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
750
					EFFECT.Orientation = ORI
751
				end
752
			end
753
			if PLAYSSOUND == false then
754
				EFFECT:remove()
755
			else
756
				repeat Swait() until SOUND.Playing == false
757
				EFFECT:remove()
758
			end
759
		else
760
			if PLAYSSOUND == false then
761
				EFFECT:remove()
762
			else
763
				repeat Swait() until SOUND.Playing == false
764
				EFFECT:remove()
765
			end
766
		end
767
	end))
768
end
769
770
function MakeForm(PART,TYPE)
771
	if TYPE == "Cyl" then
772
		local MSH = IT("CylinderMesh",PART)
773
	elseif TYPE == "Ball" then
774
		local MSH = IT("SpecialMesh",PART)
775
		MSH.MeshType = "Sphere"
776
	elseif TYPE == "Wedge" then
777
		local MSH = IT("SpecialMesh",PART)
778
		MSH.MeshType = "Wedge"
779
	end
780
end
781
782
Debris = game:GetService("Debris")
783
784
function CastProperRay(StartPos, EndPos, Distance, Ignore)
785
	local DIRECTION = CF(StartPos,EndPos).lookVector
786
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
787
end
788
789
function turnto(position)
790
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
791
end
792
793
--//=================================\\
794
--||	     WEAPON CREATION
795
--\\=================================//
796
797
Humanoid.Parent = nil
798
RootPart.Size = RootPart.Size*SIZE
799
Torso.Size = Torso.Size*SIZE
800
RightArm.Size = RightArm.Size*SIZE
801
RightLeg.Size = RightLeg.Size*SIZE
802
LeftArm.Size = LeftArm.Size*SIZE
803
LeftLeg.Size = LeftLeg.Size*SIZE
804
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
805
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
806
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
807
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
808
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
809
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
810
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
811
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
812
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
813
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
814
Head.Size = Head.Size*SIZE
815
RootJoint.Parent = RootPart
816
Neck.Parent = Torso
817
RightShoulder.Parent = Torso
818
LeftShoulder.Parent = Torso
819
RightHip.Parent = Torso
820
LeftHip.Parent = Torso
821
822
Humanoid.DisplayDistanceType = "None"
823
local naeeym2 = IT("BillboardGui",Character)
824
naeeym2.AlwaysOnTop = true
825
naeeym2.Size = UDim2.new(5,35,2,15)
826
naeeym2.StudsOffset = Vector3.new(0,2,0)
827
naeeym2.MaxDistance = 75
828
naeeym2.Adornee = Character.Head
829
naeeym2.Name = "Name"
830
local tecks2 = IT("TextLabel",naeeym2)
831
tecks2.BackgroundTransparency = 1
832
tecks2.TextScaled = true
833
tecks2.BorderSizePixel = 0
834
tecks2.Text = "Master of Time"
835
tecks2.Font = "Fantasy"
836
tecks2.TextSize = 30
837
tecks2.TextStrokeTransparency = 0
838
tecks2.TextColor3 = C3(0,0,0)
839
tecks2.TextStrokeColor3 = C3(255/255, 255/255, 0/255)
840
tecks2.Size = UDim2.new(1,0,0.5,0)
841
tecks2.Parent = naeeym2
842
local top = Instance.new("Shirt")
843
top.ShirtTemplate = "rbxassetid://45695443"
844
top.Parent = Character
845
top.Name = "Cloth"
846
local bottom = Instance.new("Pants")
847
bottom.PantsTemplate = "rbxassetid://45696190"
848
bottom.Parent = Character
849
bottom.Name = "Cloth"
850
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
851
PRT.Color = C3(0,0,0)
852
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
853
CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "82907376", VT(1,1,1)*SIZE, VT(0,0,0))
854
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
855
PRT.Color = C3(0,0,0)
856
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
857
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
858
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
859
PRT.Color = C3(255/255, 0/255, 0/255)
860
MakeForm(PRT,"Ball")
861
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
862
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
863
PRT.Color = C3(255/255, 255/255, 0/255)
864
MakeForm(PRT,"Ball")
865
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
866
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
867
PRT.Color = C3(255/255, 255/255, 0/255)
868
MakeForm(PRT,"Ball")
869
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
870
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
871
PRT.Color = C3(255/255, 255/255, 0/255)
872
MakeForm(PRT,"Ball")
873
local Aura = Instance.new('ParticleEmitter')
874
Aura.Name = "Aura"
875
Aura.Texture = "rbxassetid://131765579"
876
Aura.Parent = PRT
877
Aura.LightEmission = 0.3
878
Aura.Transparency = NumberSequence.new(0,0.6,1)
879
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
880
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
881
Aura.LockedToPart = false
882
Aura.Lifetime = NumberRange.new(2)
883
Aura.Rate = 30
884
Aura.Speed = NumberRange.new(1)
885
Aura.EmissionDirection = "Top"
886
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
887
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
888
PRT.Color = C3(255/255, 255/255, 0/255)
889
MakeForm(PRT,"Ball")
890
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
891
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
892
PRT.Color = C3(255/255, 255/255, 0/255)
893
MakeForm(PRT,"Ball")
894
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
895
896
local LASTPART = Head
897
for i = 1, 24 do
898
	local MATH = (1-(i/30))
899
	if LASTPART == Head then
900
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
901
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
902
		LASTPART = Horn
903
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
904
		local Aura = Instance.new('ParticleEmitter')
905
Aura.Name = "Aura"
906
Aura.Texture = "rbxassetid://242997264"
907
Aura.Parent = Horn
908
Aura.LightEmission = 0.8
909
Aura.Transparency = NumberSequence.new(0,0.6,1)
910
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
911
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
912
Aura.LockedToPart = true
913
Aura.Lifetime = NumberRange.new(2)
914
Aura.Rate = 25
915
Aura.Speed = NumberRange.new(0.1)
916
Aura.EmissionDirection = "Top"
917
	else
918
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
919
		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))
920
		LASTPART = Horn
921
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
922
				local Aura = Instance.new('ParticleEmitter')
923
Aura.Name = "Aura"
924
Aura.Texture = "rbxassetid://242997264"
925
Aura.Parent = Horn
926
Aura.LightEmission = 0.8
927
Aura.Transparency = NumberSequence.new(0,0.6,1)
928
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
929
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
930
Aura.LockedToPart = true
931
Aura.Lifetime = NumberRange.new(2)
932
Aura.Rate = 25
933
Aura.Speed = NumberRange.new(0.1)
934
Aura.EmissionDirection = "Top"
935
	end
936
end
937
local LASTPART = Head
938
for i = 1, 24 do
939
	local MATH = (1-(i/30))
940
	if LASTPART == Head then
941
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
942
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
943
		LASTPART = Horn
944
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
945
				local Aura = Instance.new('ParticleEmitter')
946
Aura.Name = "Aura"
947
Aura.Texture = "rbxassetid://242997264"
948
Aura.Parent = Horn
949
Aura.LightEmission = 0.8
950
Aura.Transparency = NumberSequence.new(0,0.6,1)
951
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
952
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
953
Aura.LockedToPart = true
954
Aura.Lifetime = NumberRange.new(2)
955
Aura.Rate = 25
956
Aura.Speed = NumberRange.new(0.1)
957
Aura.EmissionDirection = "Top"
958
	else
959
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
960
		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))
961
		LASTPART = Horn
962
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
963
				local Aura = Instance.new('ParticleEmitter')
964
Aura.Name = "Aura"
965
Aura.Texture = "rbxassetid://242997264"
966
Aura.Parent = Horn
967
Aura.LightEmission = 0.8
968
Aura.Transparency = NumberSequence.new(0,0.6,1)
969
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
970
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
971
Aura.LockedToPart = true
972
Aura.Lifetime = NumberRange.new(2)
973
Aura.Rate = 25
974
Aura.Speed = NumberRange.new(0.1)
975
Aura.EmissionDirection = "Top"
976
	end
977
end
978
local LASTPART = Head
979
for i = 1, 8 do
980
	local MATH = (1-(i/14))
981
	if LASTPART == Head then
982
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
983
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
984
		LASTPART = Horn
985
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
986
				local Aura = Instance.new('ParticleEmitter')
987
Aura.Name = "Aura"
988
Aura.Texture = "rbxassetid://242997264"
989
Aura.Parent = Horn
990
Aura.LightEmission = 0.8
991
Aura.Transparency = NumberSequence.new(0,0.6,1)
992
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
993
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
994
Aura.LockedToPart = true
995
Aura.Lifetime = NumberRange.new(2)
996
Aura.Rate = 25
997
Aura.Speed = NumberRange.new(0.1)
998
Aura.EmissionDirection = "Top"
999
	else
1000
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1001
		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))
1002
		LASTPART = Horn
1003
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1004
				local Aura = Instance.new('ParticleEmitter')
1005
Aura.Name = "Aura"
1006
Aura.Texture = "rbxassetid://242997264"
1007
Aura.Parent = Horn
1008
Aura.LightEmission = 0.8
1009
Aura.Transparency = NumberSequence.new(0,0.6,1)
1010
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1011
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1012
Aura.LockedToPart = true
1013
Aura.Lifetime = NumberRange.new(2)
1014
Aura.Rate = 25
1015
Aura.Speed = NumberRange.new(0.1)
1016
Aura.EmissionDirection = "Top"
1017
	end
1018
end
1019
local LASTPART = Head
1020
for i = 1, 8 do
1021
	local MATH = (1-(i/14))
1022
	if LASTPART == Head then
1023
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1024
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
1025
		LASTPART = Horn
1026
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1027
				local Aura = Instance.new('ParticleEmitter')
1028
Aura.Name = "Aura"
1029
Aura.Texture = "rbxassetid://242997264"
1030
Aura.Parent = Horn
1031
Aura.LightEmission = 0.8
1032
Aura.Transparency = NumberSequence.new(0,0.6,1)
1033
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1034
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1035
Aura.LockedToPart = true
1036
Aura.Lifetime = NumberRange.new(2)
1037
Aura.Rate = 25
1038
Aura.Speed = NumberRange.new(0.1)
1039
Aura.EmissionDirection = "Top"
1040
	else
1041
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1042
		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))
1043
		LASTPART = Horn
1044
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1045
				local Aura = Instance.new('ParticleEmitter')
1046
Aura.Name = "Aura"
1047
Aura.Texture = "rbxassetid://242997264"
1048
Aura.Parent = Horn
1049
Aura.LightEmission = 0.8
1050
Aura.Transparency = NumberSequence.new(0,0.6,1)
1051
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1052
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1053
Aura.LockedToPart = true
1054
Aura.Lifetime = NumberRange.new(2)
1055
Aura.Rate = 25
1056
Aura.Speed = NumberRange.new(0.1)
1057
Aura.EmissionDirection = "Top"
1058
	end
1059
end
1060
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
1061
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1062
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
1063
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1064
MakeForm(PRT,"Cyl")
1065
local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
1066
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1067
MakeForm(PRT,"Cyl")
1068
PRT.Color = C3(255/255, 255/255, 0/255)
1069
local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
1070
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1071
MakeForm(RING,"Cyl")
1072
RING.Color = C3(0,0,0)
1073
for i = 1, 12 do
1074
	local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
1075
	PRT.Color = C3(0,0,0)
1076
	local MSH = IT("BlockMesh",PRT)
1077
	MSH.Scale = VT(0.6,1,1)
1078
	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))
1079
end
1080
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
1081
PRT.Color = C3(0,0,0)
1082
local MSH = IT("BlockMesh",PRT)
1083
MSH.Scale = VT(0.4,1,1)
1084
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))
1085
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
1086
PRT.Color = C3(0,0,0)
1087
local MSH = IT("BlockMesh",PRT)
1088
MSH.Scale = VT(0.4,1,1)
1089
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))
1090
coroutine.resume(coroutine.create(function()
1091
	while true do
1092
		Swait()
1093
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
1094
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
1095
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
1096
		if CLOCKLOOP <= -150 then
1097
			if VALUE1 == false then
1098
				CLOCKLOOP = 0
1099
				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, 0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
1100
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1101
				ApplyAoE(HITPOS,10,15,45,75,true)
1102
				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, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
1103
				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, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
1104
				if CLOCKTARGET ~= nil then
1105
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
1106
					if CLOCKTARGET.Torso ~= nil then
1107
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
1108
					end
1109
					if CLOCKTARGET.Health == 0 then
1110
						CLOCKTARGET = nil
1111
					end
1112
				end
1113
			end
1114
		end
1115
	end
1116
end))
1117
1118
for _, c in pairs(Weapon:GetChildren()) do
1119
	if c.ClassName == "Part" then
1120
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1121
	end
1122
end
1123
1124
Neck.Name = "Weld"
1125
RootJoint.Name = "Weld"
1126
RightShoulder.Name = "Weld"
1127
LeftShoulder.Name = "Weld"
1128
RightHip.Name = "Weld"
1129
LeftHip.Name = "Weld"
1130
1131
local BODY = {}
1132
for _, c in pairs(Character:GetDescendants()) do
1133
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1134
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1135
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1136
		end
1137
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
1138
	elseif c:IsA("JointInstance") then
1139
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
1140
	end
1141
end
1142
for e = 1, #BODY do
1143
	if BODY[e] ~= nil then
1144
		local STUFF = BODY[e]
1145
		local PART = STUFF[1]
1146
		local PARENT = STUFF[2]
1147
		local MATERIAL = STUFF[3]
1148
		local COLOR = STUFF[4]
1149
		local TRANSPARENCY = STUFF[5]
1150
		if PART.ClassName == "Part" and PART ~= RootPart then
1151
			PART.Material = MATERIAL
1152
			PART.Color = COLOR
1153
			PART.Transparency = TRANSPARENCY
1154
		end
1155
		PART.AncestryChanged:Connect(function()
1156
			PART.Parent = PARENT
1157
		end)
1158
	end
1159
end
1160
1161
function refit()
1162
	Character.Parent = workspace
1163
	for e = 1, #BODY do
1164
		if BODY[e] ~= nil then
1165
			local STUFF = BODY[e]
1166
			local PART = STUFF[1]
1167
			local PARENT = STUFF[2]
1168
			local MATERIAL = STUFF[3]
1169
			local COLOR = STUFF[4]
1170
			local TRANSPARENCY = STUFF[5]
1171
			if PART.ClassName == "Part" and PART ~= RootPart then
1172
				PART.Material = MATERIAL
1173
				PART.Color = COLOR
1174
				PART.Transparency = TRANSPARENCY
1175
			end
1176
			if PART.Parent ~= PARENT then
1177
				Humanoid:remove()
1178
				PART.Parent = PARENT
1179
				Humanoid = IT("Humanoid",Character)
1180
chatfunc ("I dont have time to die...")
1181
			end
1182
		end
1183
	end
1184
end
1185
local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255)
1186
local SKILLFONT = "Fantasy"
1187
local SKILLTEXTSIZE = 7
1188
1189
Weapon.Parent = Character
1190
Humanoid.Parent = Character
1191
1192
Humanoid.Died:connect(function()
1193
	refit()
1194
end)
1195
chatfunc("Gentlemen, you just annoyed me")
1196
warn("deivis97 edit")
1197
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")
1198
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")
1199
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")
1200
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")
1201
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")
1202
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")
1203
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.10, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
1204
1205
1206
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Nuke Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
1207
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
1208
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
1209
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
1210
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
1211
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Time Stop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
1212
local SKILL6TEXT = CreateLabel(SKILL7FRAME, "[{1-5}] Musics [{6}] off", Color3.new(0/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
1213
1214
--//=================================\\
1215
--||			DAMAGING
1216
--\\=================================//
1217
1218
function ApplyDamage(Humanoid,Damage,TorsoPart)
1219
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1220
	defence.Name = ("HitBy"..Player.Name)
1221
	game:GetService("Debris"):AddItem(defence, 0.001)
1222
	Damage = Damage * DAMAGEMULTIPLIER
1223
	if Humanoid.Health ~= 0 then
1224
		local CritChance = MRANDOM(1,100)
1225
		if Damage > Humanoid.Health then
1226
			Damage = math.ceil(Humanoid.Health)
1227
			if Damage == 0 then
1228
				Damage = 0.1
1229
			end
1230
		end
1231
		Humanoid.Health = Humanoid.Health - Damage
1232
	end
1233
end
1234
1235
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1236
	local CHILDREN = workspace:GetDescendants()
1237
	for index, CHILD in pairs(CHILDREN) do
1238
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1239
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1240
			if HUM then
1241
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1242
				if TORSO then
1243
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1244
						if INSTAKILL == false then
1245
							CHILD:BreakJoints()
1246
						else
1247
							local DMG = MRANDOM(MINDMG,MAXDMG)
1248
							ApplyDamage(HUM,DMG,TORSO)
1249
						end
1250
						if FLING > 0 then
1251
							for _, c in pairs(CHILD:GetChildren()) do
1252
								if c:IsA("BasePart") then
1253
									local bv = Instance.new("BodyVelocity") 
1254
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1255
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1256
									bv.Parent = c
1257
									Debris:AddItem(bv,0.05)
1258
								end
1259
							end
1260
						end
1261
					end
1262
				end
1263
			end
1264
		end
1265
	end
1266
end
1267
1268
--//=================================\\
1269
--||	ATTACK FUNCTIONS AND STUFF
1270
--\\=================================//
1271
1272
Circle = nil
1273
CircleParts = {}
1274
Equipped = false
1275
1276
function RayCast(Position, Direction, MaxDistance, IgnoreList)
1277
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
1278
end
1279
	Equipped = true
1280
	Circle = Instance.new("Model")
1281
	Circle.Name = "Circle"
1282
	Angle = 0
1283
	for i = 1, 1 do
1284
		local CirclePart = Instance.new("Part")
1285
		CirclePart.Name = "CirclePart"
1286
		CirclePart.Transparency = 1
1287
		CirclePart.BrickColor = BrickColor.new("Really black")
1288
		CirclePart.Material = Enum.Material.Plastic
1289
		CirclePart.Shape = Enum.PartType.Block
1290
		CirclePart.FormFactor = Enum.FormFactor.Custom
1291
		CirclePart.TopSurface = Enum.SurfaceType.Smooth
1292
		CirclePart.BottomSurface = Enum.SurfaceType.Smooth
1293
		CirclePart.Anchored = true
1294
		CirclePart.CanCollide = false
1295
		CirclePart.Locked = true
1296
		CirclePart.Size = Vector3.new(10, 0.2, 10)
1297
		local Aura = Instance.new('ParticleEmitter')
1298
Aura.Name = "Aura"
1299
Aura.Texture = "rbxassetid://641078192"
1300
Aura.Parent = CirclePart
1301
Aura.LightEmission = 0
1302
Aura.Transparency = NumberSequence.new(0.2,0.4,1)
1303
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200))
1304
Aura.Size = NumberSequence.new(0.9,0.5,0.3)
1305
Aura.LockedToPart = false
1306
Aura.Lifetime = NumberRange.new(1)
1307
Aura.Rate = 50
1308
Aura.Speed = NumberRange.new(2.5)
1309
Aura.SpreadAngle = Vector2.new(80,80)
1310
		local BlockMesh = Instance.new("BlockMesh")
1311
		BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
1312
		BlockMesh.Parent = CirclePart
1313
		CirclePart.Parent = Circle
1314
		local Star = Instance.new("Decal", CirclePart)
1315
		Star.Texture = "http://www.roblox.com/asset/?id=253215684"
1316
		Star.Face = "Top"
1317
		local Light = Instance.new("PointLight", CirclePart)
1318
		Light.Color = Color3.new(.20,0,0)
1319
		Light.Brightness = 100
1320
		Light.Range = 15
1321
		table.insert(CircleParts, CirclePart)
1322
	end
1323
	Spawn(function()
1324
		while Equipped and Humanoid.Parent and Torso.Parent do
1325
			if Angle == 360 then
1326
				Angle = 0
1327
			end
1328
			Angle = Angle + 0.05
1329
			local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
1330
			if Hit then
1331
				if not Circle.Parent then
1332
					Circle.Parent = Character
1333
				end
1334
				for i, v in pairs(CircleParts) do
1335
					v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
1336
				end
1337
			else
1338
				Circle.Parent = nil
1339
			end
1340
			wait()
1341
		end
1342
	end)
1343
1344
1345
1346
function MagicMissiles()
1347
	ATTACK = true
1348
	Rooted = false
1349
	local SELECTING = true
1350
	local SPOTS = {}
1351
	coroutine.resume(coroutine.create(function()
1352
		local LOOP = 0
1353
		repeat
1354
			LOOP = LOOP + 1
1355
			Swait()
1356
			if LOOP >= 15 then
1357
				LOOP = 0
1358
				for i = 1, #SPOTS do
1359
					if SPOTS[i] ~= nil then
1360
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1361
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1362
					end
1363
				end
1364
			end
1365
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1366
			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)
1367
			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)
1368
			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)
1369
			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)
1370
			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)
1371
		until SELECTING == false
1372
		Rooted = false
1373
		repeat
1374
			LOOP = LOOP + 1
1375
			Swait()
1376
			if LOOP >= 15 then
1377
				LOOP = 0
1378
				for i = 1, #SPOTS do
1379
					if SPOTS[i] ~= nil then
1380
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], 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})
1381
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], 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})
1382
					end
1383
				end
1384
			end
1385
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1386
			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)
1387
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1388
			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)
1389
			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)
1390
			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)
1391
		until ATTACK == false
1392
	end))
1393
	repeat
1394
		repeat Swait() until HOLD == true
1395
			local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1396
			if DIST > 9999 then
1397
				DIST = 9999
1398
			end
1399
			local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1400
			local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)	
1401
			if HITFLOOR ~= nil then
1402
				table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
1403
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
1404
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1405
			end
1406
		repeat Swait() until HOLD == false
1407
	until #SPOTS == 5
1408
	SELECTING = false
1409
	for i = 1, #SPOTS do
1410
		if SPOTS[i] ~= nil then
1411
			local POS = SPOTS[i]
1412
			coroutine.resume(coroutine.create(function()
1413
				local MISSILE = IT("Model",Effects)
1414
				MISSILE.Name = "Missile"
1415
				local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,2,2))
1416
				MakeForm(BASEPART,"Cyl")
1417
				MISSILE.PrimaryPart = BASEPART
1418
				BASEPART.CFrame = POS*CF(0,-30*3,0)
1419
				local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,4,2))
1420
				MakeForm(HEAD,"Ball")
1421
				HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
1422
				local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2.5,0.1,2.5))
1423
				MakeForm(TAIL,"Cyl")
1424
				TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
1425
				chatfunc("you like nukes?")
1426
				for i = 1, 15 do
1427
					Swait()
1428
					for _, c in pairs(MISSILE:GetChildren()) do
1429
						if c.ClassName == "Part" then
1430
							c.Transparency = c.Transparency - 1/10
1431
						end
1432
					end
1433
				end
1434
				for i = 1, 15*1.5 do
1435
					Swait()
1436
					MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
1437
				end
1438
				ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true)
1439
				WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(750,350,750), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1440
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(350,350,350), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
1441
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(220,2,220), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1442
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(200,3,200), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1443
				MISSILE:remove()
1444
			end))
1445
		end
1446
	end
1447
	wait(0.6)
1448
	ATTACK = false
1449
	Rooted = false
1450
end
1451
1452
function TimesUp()
1453
	CLOCKTARGET = nil
1454
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1455
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1456
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1457
		if TORSO then
1458
			ATTACK = true
1459
			Rooted = false
1460
			coroutine.resume(coroutine.create(function()
1461
				repeat
1462
					Swait()
1463
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1464
					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)
1465
					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)
1466
					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)
1467
					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)
1468
					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)
1469
				until ATTACK == false
1470
			end))
1471
			if Effects:FindFirstChild("NeonDoll") then
1472
				repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
1473
			end
1474
			wait(0.5)
1475
			local FAKECHARACTER = IT("Model",Effects)
1476
			FAKECHARACTER.Name = "NeonDoll"
1477
			local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.3,0.3,0.15),false)
1478
			CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
1479
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1480
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
1481
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1482
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
1483
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1484
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
1485
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1486
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
1487
			local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.15,0.15),false)
1488
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
1489
			CreateSound(201858045, TORS, 5, 0.4, false)
1490
			for i = 1, 50 do
1491
				Swait()
1492
				CLOCKSPEED = 2.5
1493
				for _, c in pairs(FAKECHARACTER:GetChildren()) do
1494
					if c.ClassName == "Part" then
1495
						c.Transparency = c.Transparency - 0.5/150
1496
					end
1497
				end
1498
			end
1499
			CLOCKTARGET = HUM
1500
			coroutine.resume(coroutine.create(function()
1501
				repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
1502
				for i = 1, 25 do
1503
					Swait()
1504
					for _, c in pairs(FAKECHARACTER:GetChildren()) do
1505
						if c.ClassName == "Part" then
1506
							c.Transparency = c.Transparency + 0.5/25
1507
						end
1508
					end
1509
				end
1510
				CLOCKSPEED = 4
1511
				FAKECHARACTER:remove()
1512
			end))
1513
			wait(0.5)
1514
			ATTACK = false
1515
			Rooted = false
1516
		end
1517
	end
1518
end
1519
1520
function ChainPunch()
1521
	ATTACK = true
1522
	Rooted = false
1523
	local GYRO = IT("BodyGyro",RootPart)
1524
	GYRO.D = 25
1525
	GYRO.P = 2000
1526
	GYRO.MaxTorque = VT(0,40000,0)
1527
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1528
	repeat
1529
		Swait()
1530
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1531
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1532
		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)
1533
		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)
1534
		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)
1535
		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)
1536
		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)
1537
	until HOLD == true
1538
	local POS = Mouse.Hit.p
1539
	local CHAINS = false
1540
	local CHAINLINKS = {}
1541
	local A = IT("Attachment",RightArm)
1542
	A.Position = VT(1,-1,0)*SIZE
1543
	A.Orientation = VT(-90, -89.982, 0)
1544
	local B = IT("Attachment",RightArm)
1545
	B.Position = VT(-1,-1,0)*SIZE
1546
	B.Orientation = VT(-90, 89.988, 0)
1547
	local C = IT("Attachment",RightArm)
1548
	C.Position = VT(0.5,-1.3,0)*SIZE
1549
	C.Orientation = VT(-90, -89.982, 0)
1550
	local D = IT("Attachment",RightArm)
1551
	D.Position = VT(-0.5,-1.3,0)*SIZE
1552
	D.Orientation = VT(-90, 89.988, 0)
1553
	local LIGHT = IT("Attachment",RightArm)
1554
	LIGHT.Position = VT(0,-1,0)*SIZE
1555
	local LIGHT2 = IT("PointLight",LIGHT)
1556
	LIGHT2.Range = 7
1557
	LIGHT2.Brightness = 5
1558
	LIGHT2.Color = SKILLTEXTCOLOR
1559
	chatfunc("Falcon...")
1560
	for i = 1, 2 do
1561
		local TWIST = -2
1562
		local START = A
1563
		local END = B
1564
		if i == 1 then
1565
			START = B
1566
			END = A
1567
		end
1568
		local ChainLink = IT("Beam",Torso)
1569
		ChainLink.Texture = "rbxassetid://73042633"
1570
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1571
		ChainLink.TextureSpeed = 1
1572
		ChainLink.Width0 = 1
1573
		ChainLink.Width1 = 1
1574
		ChainLink.TextureLength = 2.5
1575
		ChainLink.Attachment0 = START
1576
		ChainLink.Attachment1 = END
1577
		ChainLink.CurveSize0 = TWIST
1578
		ChainLink.CurveSize1 = TWIST
1579
		--ChainLink.FaceCamera = true
1580
		ChainLink.Segments = 45
1581
		ChainLink.Transparency = NumberSequence.new(1)
1582
		table.insert(CHAINLINKS,ChainLink)
1583
	end
1584
	for i = 1, 2 do
1585
		local TWIST = -1
1586
		local START = C
1587
		local END = D
1588
		if i == 1 then
1589
			START = D
1590
			END = C
1591
		end
1592
		local ChainLink = IT("Beam",Torso)
1593
		ChainLink.Texture = "rbxassetid://73042633"
1594
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1595
		ChainLink.TextureSpeed = 1
1596
		ChainLink.Width0 = 1
1597
		ChainLink.Width1 = 1
1598
		ChainLink.TextureLength = 5
1599
		ChainLink.Attachment0 = START
1600
		ChainLink.Attachment1 = END
1601
		ChainLink.CurveSize0 = TWIST
1602
		ChainLink.CurveSize1 = TWIST
1603
		--ChainLink.FaceCamera = true
1604
		ChainLink.Segments = 25
1605
		ChainLink.LightEmission = 0.5
1606
		ChainLink.Transparency = NumberSequence.new(1)
1607
		table.insert(CHAINLINKS,ChainLink)
1608
	end
1609
	coroutine.resume(coroutine.create(function()
1610
		repeat
1611
			Swait()
1612
			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)
1613
			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)
1614
			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)
1615
			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)
1616
			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)
1617
			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)
1618
		until CHAINS == true
1619
		repeat
1620
			Swait()
1621
			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)
1622
			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)
1623
			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)
1624
			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)
1625
			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)
1626
			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)
1627
		until ATTACK == false
1628
		for e = 1, 15 do
1629
			Swait()
1630
			chatfunc("PUNCH!!!")
1631
			for i = 1, #CHAINLINKS do
1632
				CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
1633
			end
1634
		end
1635
		A:remove()
1636
		B:remove()
1637
		C:remove()
1638
		D:remove()
1639
	end))
1640
	CreateSound(233856115, RightArm, 5, 1.2, false)
1641
	for e = 1, 15 do
1642
		Swait()
1643
		for i = 1, #CHAINLINKS do
1644
			CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
1645
		end
1646
	end
1647
	CHAINS = true
1648
	Rooted = true
1649
	wait(0.25)
1650
	local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2))
1651
	FIST.Color = C3(1, 215/255, 1)
1652
	FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) 
1653
	local LIGHT3 = IT("PointLight",FIST)
1654
	LIGHT3.Range = 7
1655
	LIGHT3.Brightness = 5
1656
	LIGHT3.Color = SKILLTEXTCOLOR
1657
	CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
1658
	local FISTA = IT("Attachment",FIST)
1659
	FISTA.Position = VT(0.062, 0.977, 0)
1660
	local ChainLink = IT("Beam",Torso)
1661
	ChainLink.Texture = "rbxassetid://73042633"
1662
	ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1663
	ChainLink.TextureSpeed = 2
1664
	ChainLink.Width0 = 3
1665
	ChainLink.Width1 = 3
1666
	ChainLink.TextureLength = 12
1667
	ChainLink.Attachment0 = LIGHT
1668
	ChainLink.Attachment1 = FISTA
1669
	ChainLink.FaceCamera = true
1670
	ChainLink.Segments = 45
1671
	ChainLink.LightEmission = 0.5
1672
	ChainLink.Transparency = NumberSequence.new(0.25)
1673
	local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
1674
	for i = 1, 85 do
1675
		Swait()
1676
		FIST.CFrame = FIST.CFrame*CF(0,-2,0)
1677
		ChainLink.TextureLength = 12+(i*2)
1678
		ApplyAoE(FIST.Position,10,15,25,100,true)
1679
		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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1680
		local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
1681
		if HITFLOOR ~= nil then
1682
			HITFLOOR:BreakJoints()
1683
			coroutine.resume(coroutine.create(function()
1684
				for i = 1, 15 do
1685
					Swait()
1686
					FISTSOUND.Volume = FISTSOUND.Volume - 0.15
1687
					ApplyAoE(FIST.Position,10+(i*2),5,15,5,true)
1688
					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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1689
				end
1690
			end))
1691
			break
1692
		end
1693
	end
1694
	coroutine.resume(coroutine.create(function()
1695
		for i = 1, 50 do
1696
			Swait()
1697
			FIST.Transparency = FIST.Transparency + 0.5/50
1698
			LIGHT3.Range = LIGHT3.Range - 7/50
1699
		end
1700
		FIST:remove()
1701
	end))
1702
	LIGHT:remove()
1703
	GYRO:remove()
1704
	ATTACK = false
1705
	Rooted = false
1706
end
1707
1708
function WarpMeteor()
1709
	local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1710
	if DIST > 9999 then
1711
		DIST = 9999
1712
	end
1713
	local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1714
	local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
1715
	if HITFLOOR then
1716
		local POS = HITPOS	
1717
		ATTACK = true
1718
		Rooted = false
1719
		local WARPED = false
1720
		local SMASHED = false
1721
		local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1722
		coroutine.resume(coroutine.create(function()
1723
			repeat
1724
				Swait()
1725
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1726
				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)
1727
				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)
1728
				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)
1729
				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)
1730
				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)
1731
			until WARPED == true
1732
			repeat
1733
				Swait()
1734
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1735
				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)
1736
				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)
1737
				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)
1738
				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)
1739
				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)
1740
			until SMASHED == true
1741
			repeat
1742
				Swait()
1743
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
1744
			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)
1745
			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)
1746
			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)
1747
			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)
1748
			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)
1749
			until ATTACK == false
1750
		end))
1751
		VALUE1 = true
1752
		CreateSound(233856115, Torso, 5, 1.6, false)
1753
		chatfunc("This hurt more than you think")
1754
		for i = 1, 25 do
1755
			Swait()
1756
			for _, c in pairs(Character:GetChildren()) do
1757
				if c.ClassName == "Part" then
1758
					c.Transparency = c.Transparency + 1/25
1759
				end
1760
			end
1761
			for _, c in pairs(Weapon:GetChildren()) do
1762
				if c.ClassName == "Part" then
1763
					c.Transparency = c.Transparency + 1/25
1764
				end
1765
			end
1766
		end
1767
		UNANCHOR = false
1768
		RootPart.Anchored = true
1769
		RootPart.Velocity = VT(0,0,0)
1770
		local ROOTPOS = RootPart.Position
1771
		RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
1772
		WARPED = true
1773
		for i = 1, 25 do
1774
			Swait()
1775
			for _, c in pairs(Character:GetChildren()) do
1776
				if c.ClassName == "Part" then
1777
					c.Transparency = c.Transparency - 1/25
1778
				end
1779
			end
1780
			for _, c in pairs(Weapon:GetChildren()) do
1781
				if c.ClassName == "Part" then
1782
					c.Transparency = c.Transparency - 1/25
1783
				end
1784
			end
1785
		end
1786
		local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Part", VT(0,0,0))
1787
		SHELL.CFrame = RootPart.CFrame
1788
		MakeForm(SHELL,"Ball")
1789
		CreateSound(402981977, SHELL, 5, 1.6, false)
1790
		for i = 1, 10 do
1791
			Swait()
1792
			SHELL.Transparency = SHELL.Transparency - 1/10
1793
			SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
1794
		end
1795
		for i = 1, math.ceil(75/2) do
1796
			Swait()
1797
			RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
1798
			SHELL.CFrame = CF(RootPart.Position)
1799
			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})
1800
		end
1801
		RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
1802
		SHELL.CFrame = CF(RootPart.Position)
1803
		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})
1804
		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})
1805
		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})
1806
		for i = 1, 5 do
1807
			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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1808
		end
1809
		SHELL:remove()
1810
		ApplyAoE(RootPart.Position,75,35,75,175,true)
1811
		SMASHED = true
1812
		wait(1)
1813
		VALUE1 = false
1814
		UNANCHOR = true
1815
		ATTACK = false
1816
		Rooted = false
1817
	end
1818
end
1819
1820
function PandorasBox()
1821
	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)
1822
	if HITFLOOR ~= nil then
1823
		ATTACK = false
1824
		Rooted = false
1825
		local RINGSPIN = true
1826
		local CONSTRUCTING = true
1827
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
1828
		RING.Color = C3(0,0,0)
1829
		MakeForm(RING,"Cyl")
1830
		RING.CFrame = CF(HITPOS)
1831
		CreateSound(402981977, RING, 5, 1.2, false)
1832
		coroutine.resume(coroutine.create(function()
1833
			repeat
1834
				Swait()
1835
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1836
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1837
				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)
1838
				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)
1839
				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)
1840
				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)
1841
				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)
1842
			until CONSTRUCTING == false
1843
			repeat 
1844
				Swait() 
1845
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1846
			until RINGSPIN == false
1847
			for i = 1, 25 do
1848
				Swait()
1849
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1850
				RING.Size = RING.Size - VT(0.15,0,0.15)
1851
				--DECAL.Transparency = DECAL.Transparency + 1/25
1852
				RING.Transparency = RING.Transparency + 1/25
1853
			end
1854
			RING:remove()
1855
		end))
1856
		for i = 1, 15 do
1857
			Swait()
1858
			RING.Size = RING.Size + VT(0.75,0,0.75)
1859
			RING.Transparency = RING.Transparency - 1/15
1860
		end
1861
		chatfunc("let's see your prize...")
1862
		local BOXSPIN = true
1863
		local PANDORASBOX = IT("Model",Effects)
1864
		PANDORASBOX.Name = "Pandora's Box"
1865
		local BOX = IT("Model",PANDORASBOX)
1866
		BOX.Name = "Body"
1867
		local LID = IT("Model",PANDORASBOX)
1868
		LID.Name = "Lid"
1869
		--BUILDING THE BOX--
1870
			local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
1871
			BASE.Color = C3(0,0,0)
1872
			PANDORASBOX.PrimaryPart = BASE
1873
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
1874
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1875
			WOOD.CFrame = BASE.CFrame*CF(1,0,1)
1876
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1877
			WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
1878
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1879
			WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
1880
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1881
			WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
1882
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1883
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
1884
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1885
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
1886
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1887
			WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
1888
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1889
			WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
1890
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1891
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
1892
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1893
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
1894
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1895
			WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
1896
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1897
			WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
1898
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
1899
			WOOD.CFrame = BASE.CFrame*CF(0,0,1)
1900
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
1901
			WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
1902
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
1903
			WOOD.CFrame = BASE.CFrame*CF(1,0,0)
1904
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
1905
			WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
1906
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
1907
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
1908
			-------------
1909
			local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
1910
			LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
1911
			LID.PrimaryPart = LIDPART
1912
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1913
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
1914
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1915
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
1916
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1917
			WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
1918
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1919
			WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
1920
			local DECAL = IT("Decal",LIDPART)
1921
			DECAL.Face = "Top"
1922
			DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
1923
			DECAL.Color3 = C3(0,0,0)
1924
		--BUILDING THE BOX--
1925
		coroutine.resume(coroutine.create(function()
1926
			repeat
1927
				Swait()
1928
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
1929
			until BOXSPIN == false
1930
		end))
1931
		for i = 1, 25 do
1932
			Swait()
1933
			PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
1934
		end
1935
		wait(0.5)
1936
		BOXSPIN = false
1937
		CONSTRUCTING = false	
1938
		coroutine.resume(coroutine.create(function()
1939
			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})
1940
			--[[for i = 1, 45 do
1941
				Swait()
1942
				LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
1943
			end-
1944
			LID:remove()]]--
1945
			for _, c in pairs(LID:GetChildren()) do
1946
				if c.ClassName == "Part" then
1947
					c.Anchored = false
1948
					c.CanCollide = true
1949
					if c ~= LIDPART then
1950
						weldBetween(LIDPART,c)
1951
					end
1952
				end
1953
			end
1954
			LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
1955
			Debris:AddItem(LID,15)
1956
			wait(0.5)
1957
			local RANDOMEFFECT = MRANDOM(1,4)
1958
			if RANDOMEFFECT == 1 then
1959
				for i = 1, 45 do
1960
					wait((2-(i/15))/15)
1961
					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})
1962
				end	
1963
				wait(1)
1964
				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})
1965
				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})
1966
				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})
1967
				for i = 1, 5 do
1968
					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})
1969
				end
1970
				ApplyAoE(BASE.Position,50,1,200,375,true)
1971
				ApplyAoE(BASE.Position,250,35,75,175,true)
1972
			elseif RANDOMEFFECT == 2 then
1973
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
1974
				FIELD.CFrame = BASE.CFrame
1975
				MakeForm(FIELD,"Ball")
1976
				for i = 1, 50 do
1977
					Swait()
1978
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
1979
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
1980
				end
1981
				wait(0.2)
1982
				local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
1983
				coroutine.resume(coroutine.create(function()
1984
					for i = 1, 75 do
1985
						Swait()
1986
						LOOP.Volume = LOOP.Volume + 10/75
1987
						LOOP.Parent = FIELD
1988
						local CHILDREN = workspace:GetDescendants()
1989
						for index, CHILD in pairs(CHILDREN) do
1990
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1991
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1992
								if HUM then
1993
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1994
									if TORSO then
1995
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
1996
											HUM.Health = HUM.Health - 1.5
1997
											TORSO.Velocity = VT(0,5,0)
1998
											HUM.PlatformStand = true
1999
											if TORSO.RotVelocity.Magnitude < 15 then
2000
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2001
											end
2002
										end
2003
									end
2004
								end
2005
							end
2006
						end
2007
						FIELD.Size = FIELD.Size + VT(9,9,9)
2008
						FIELD.Transparency = FIELD.Transparency + 0.8/75
2009
					end
2010
					for i = 1, 500 do
2011
						Swait()
2012
						LOOP.Parent = FIELD
2013
						local CHILDREN = workspace:GetDescendants()
2014
						for index, CHILD in pairs(CHILDREN) do
2015
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2016
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2017
								if HUM then
2018
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2019
									if TORSO then
2020
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2021
											TORSO.Velocity = VT(0,5,0)
2022
											HUM.Health = HUM.Health - 1.5
2023
											HUM.PlatformStand = true
2024
											if TORSO.RotVelocity.Magnitude < 15 then
2025
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2026
											end
2027
										end
2028
									end
2029
								end
2030
							end
2031
						end
2032
					end
2033
					for i = 1, 25 do
2034
						Swait()
2035
						LOOP.Volume = LOOP.Volume + 10/25
2036
						LOOP.Parent = FIELD
2037
						local CHILDREN = workspace:GetDescendants()
2038
						for index, CHILD in pairs(CHILDREN) do
2039
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2040
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2041
								if HUM then
2042
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2043
									if TORSO then
2044
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
2045
											TORSO.Velocity = VT(0,5,0)
2046
											HUM.Health = HUM.Health - 1.5
2047
											HUM.PlatformStand = false
2048
											if TORSO.RotVelocity.Magnitude < 15 then
2049
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2050
											end
2051
										end
2052
									end
2053
								end
2054
							end
2055
						end
2056
						FIELD.Size = FIELD.Size - VT(3,3,3)
2057
						FIELD.Transparency = FIELD.Transparency + 0.2/25
2058
					end	
2059
					FIELD:remove()
2060
				end))
2061
			elseif RANDOMEFFECT == 3 then
2062
				for i = 1, 10 do
2063
					wait(0.15)
2064
					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})
2065
					coroutine.resume(coroutine.create(function()
2066
						local MINION = CLONE:Clone()
2067
						MINION.Parent = Effects
2068
						MINION.Name = "Shadow"
2069
						MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
2070
						MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
2071
						for _, c in pairs(MINION:GetChildren()) do
2072
							if c.ClassName == "Part" then
2073
								c.Material = "Neon"
2074
								c.Color = C3(0,0,0)
2075
								c.Transparency = 0.25
2076
								if c.Name == "Head" then
2077
									c:ClearAllChildren()
2078
									local MSH = IT("BlockMesh",c)
2079
									MSH.Scale = VT(0.5,1,1)
2080
								end
2081
							end
2082
						end
2083
						local TORSO = MINION.Torso
2084
						local HUMAN = MINION.Humanoid
2085
						HUMAN.WalkSpeed = 20
2086
						HUMAN.MaxHealth = math.huge
2087
						HUMAN.Health = math.huge
2088
						HUMAN.DisplayDistanceType = "None"
2089
						HUMAN.Died:connect(function()
2090
							MINION:remove()
2091
							--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
2092
						end)
2093
						wait(1)
2094
						local findNearestTorso = function(POS)
2095
							local list = game.Workspace:GetDescendants()
2096
							local torso = nil
2097
							local dist = 500
2098
							local temp = nil
2099
							local human = nil
2100
							local temp2 = nil
2101
							for x = 1, #list do
2102
								temp2 = list[x]
2103
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
2104
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
2105
									human = temp2:findFirstChildOfClass("Humanoid")
2106
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2107
										if (temp.Position - POS).magnitude < dist then
2108
											torso = temp
2109
											dist = (temp.Position - POS).magnitude
2110
										end
2111
									end
2112
								end
2113
							end
2114
							return torso, dist
2115
						end
2116
						for i = 1, 40 do
2117
							if HUMAN.Health == 0 then
2118
								break
2119
							end
2120
							wait(0.3)
2121
							local target,dist= findNearestTorso(TORSO.Position)
2122
							if target then
2123
								HUMAN:MoveTo(target.Position)
2124
								if dist < 25 then
2125
									CreateSound(348663022, TORSO, 10, 1, true)
2126
									wait(2)
2127
									--local ANIM = HUMAN:LoadAnimation(ATANIM)
2128
									--ANIM:Play()
2129
									--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
2130
									ApplyAoE(TORSO.Position,10,0,0,85,true)
2131
									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})
2132
									for i = 1, 5 do
2133
										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})
2134
									end
2135
									break
2136
								end
2137
							end
2138
						end
2139
						MINION:remove()
2140
					end))
2141
				end
2142
			elseif RANDOMEFFECT == 4 then
2143
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2144
				FIELD.Color = C3(0,0,0)
2145
				FIELD.CFrame = BASE.CFrame
2146
				MakeForm(FIELD,"Ball")
2147
				FIELD.CanCollide = true
2148
				for i = 1, 50 do
2149
					Swait()
2150
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
2151
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
2152
				end
2153
				wait(0.2)
2154
				local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
2155
				coroutine.resume(coroutine.create(function()
2156
					local E = 0
2157
					for i = 1, 75 do
2158
						E = E + 1
2159
						Swait()
2160
						if E >= 35 then
2161
							E = 0
2162
							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})
2163
						end
2164
						LOOP.Volume = LOOP.Volume + 10/75
2165
						LOOP.Parent = FIELD
2166
						local CHILDREN = workspace:GetDescendants()
2167
						for index, CHILD in pairs(CHILDREN) do
2168
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2169
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2170
								if HUM then
2171
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2172
									if TORSO then
2173
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
2174
											for _, c in pairs(CHILD:GetChildren()) do
2175
												if c:IsA("BasePart") then
2176
													local bv = Instance.new("BodyVelocity") 
2177
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2178
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
2179
													bv.Parent = c
2180
													Debris:AddItem(bv,0.05)
2181
												end
2182
											end
2183
											HUM.Health = HUM.Health - 0.3
2184
										end
2185
									end
2186
								end
2187
							end
2188
						end
2189
						FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
2190
					end
2191
					for i = 1, 180 do
2192
						E = E + 1
2193
						Swait()
2194
						if E >= 35 then
2195
							E = 0
2196
							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})
2197
						end
2198
						LOOP.Parent = FIELD
2199
						local CHILDREN = workspace:GetDescendants()
2200
						for index, CHILD in pairs(CHILDREN) do
2201
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2202
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2203
								if HUM then
2204
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2205
									if TORSO then
2206
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
2207
											for _, c in pairs(CHILD:GetChildren()) do
2208
												if c:IsA("BasePart") then
2209
													local bv = Instance.new("BodyVelocity") 
2210
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2211
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
2212
													bv.Parent = c
2213
													Debris:AddItem(bv,0.05)
2214
												end
2215
											end
2216
											HUM.Health = HUM.Health - 0.3
2217
										end
2218
									end
2219
								end
2220
							end
2221
						end
2222
					end
2223
					ApplyAoE(FIELD.Position,40,15,20,375,true)
2224
					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})
2225
					for i = 1, 5 do
2226
						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})
2227
					end
2228
					FIELD:remove()
2229
				end))
2230
			elseif RANDOMEFFECT == 5 then
2231
			end
2232
			wait(0.5)
2233
			for i = 1, 25 do
2234
				Swait()
2235
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
2236
			end
2237
			PANDORASBOX:remove()
2238
			RINGSPIN = false
2239
		end))
2240
		ATTACK = false
2241
		Rooted = false
2242
	end
2243
end
2244
2245
function TimeStop ()
2246
	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)
2247
	CHOICE = 6
2248
	CreateSound(1193182658, Character, 5, 1, false)
2249
	chatfunc ("Za warudo...")
2250
     back = CreateSound(1841228386, Character, 9999, 1, false)
2251
	local killsky = Instance.new('Sky', game:GetService'Lighting')
2252
killsky.SkyboxBk = "rbxassetid://1013852"
2253
killsky.SkyboxDn = "rbxassetid://1013853"
2254
killsky.SkyboxFt = "rbxassetid://1013850"
2255
killsky.SkyboxLf = "rbxassetid://1013851"
2256
killsky.SkyboxRt = "rbxassetid://1013849"
2257
killsky.SkyboxUp = "rbxassetid://1013854"
2258
killsky.StarCount = 0
2259
killsky.SunAngularSize = 0
2260
killsky.MoonAngularSize = 0
2261
killsky.MoonTextureId = ""
2262
killsky.CelestialBodiesShown = false
2263
game.Lighting.FogColor = Color3.new(1,1,0)
2264
game.Lighting.FogEnd = 1400
2265
	if HITFLOOR ~= nil then
2266
		ATTACK = false
2267
		Rooted = false
2268
		local RINGSPIN = true
2269
		local CONSTRUCTING = true
2270
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
2271
		RING.Color = C3(0,0,0)
2272
		MakeForm(RING,"Cyl")
2273
		RING.CFrame = CF(HITPOS)
2274
		coroutine.resume(coroutine.create(function()
2275
			repeat
2276
				Swait()
2277
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2278
			until CONSTRUCTING == false
2279
			repeat 
2280
				Swait() 
2281
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2282
			until RINGSPIN == false
2283
			for i = 1, 25 do
2284
				Swait()
2285
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2286
				RING.Size = RING.Size - VT(0.15,0,0.15)
2287
				--DECAL.Transparency = DECAL.Transparency + 1/25
2288
				RING.Transparency = RING.Transparency + 1/25
2289
			end
2290
			RING:remove()
2291
		end))
2292
		for i = 1, 15 do
2293
			Swait()
2294
			RING.Size = RING.Size + VT(0,0,0)
2295
			RING.Transparency = RING.Transparency - 1/15
2296
		end
2297
		end
2298
	local RANDOMEFFECT = MRANDOM(1)
2299
	local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
2300
			BASE.Color = C3(0,0,0)
2301
			BASE.Transparency = 1
2302
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
2303
	if RANDOMEFFECT == 1 then
2304
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2305
				FIELD.CFrame = BASE.CFrame
2306
				MakeForm(FIELD,"Ball")
2307
				for i = 1, 50 do
2308
					Swait()
2309
					FIELD.Size = VT(0,0,0)
2310
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
2311
				end
2312
				end
2313
				wait(0.2)
2314
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2315
				FIELD.CFrame = BASE.CFrame
2316
				local LOOP = CreateSound(1393698948, Character, 0, 1, true)
2317
				coroutine.resume(coroutine.create(function()
2318
					for i = 1, 75 do
2319
						Swait()
2320
						LOOP.Volume = LOOP.Volume + 10/75
2321
						LOOP.Parent = FIELD
2322
						local CHILDREN = workspace:GetDescendants()
2323
						for index, CHILD in pairs(CHILDREN) do
2324
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2325
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2326
								if HUM then
2327
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2328
									if TORSO then
2329
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2330
											HUM.Health = HUM.Health - 0
2331
											TORSO.Velocity = VT(0,5,0)
2332
											HUM.PlatformStand = true
2333
											if TORSO.RotVelocity.Magnitude < 15 then
2334
										 		TORSO.Anchored = true
2335
											end
2336
										end
2337
									end
2338
								end
2339
							end
2340
						end
2341
						FIELD.Size = FIELD.Size + VT(90,90,90)
2342
						FIELD.Transparency = FIELD.Transparency + 0.8/75
2343
					end
2344
				for i = 1, 500 do
2345
						Swait()
2346
						LOOP.Parent = FIELD
2347
						local CHILDREN = workspace:GetDescendants()
2348
						for index, CHILD in pairs(CHILDREN) do
2349
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2350
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2351
								if HUM then
2352
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2353
									if TORSO then
2354
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2355
											TORSO.Velocity = VT(0,5,0)
2356
											HUM.Health = HUM.Health - 0
2357
											HUM.PlatformStand = true
2358
											if TORSO.RotVelocity.Magnitude < 15 then
2359
										 		TORSO.Anchored = true
2360
											end
2361
										end
2362
									end
2363
								end
2364
							end
2365
						end
2366
					end
2367
 wait (20)
2368
back:Remove()
2369
		CreateSound(1538466750, Character, 99999, 1, false)
2370
		chatfunc ("the time rusume")
2371
		killsky:Remove()
2372
		game.Lighting.FogEnd = 90000000
2373
		wait (5)
2374
		CHOICE = MRANDOM (1,5)
2375
					for i = 1, 25 do
2376
						Swait()
2377
						LOOP.Volume = LOOP.Volume + 10/25
2378
						LOOP.Parent = FIELD
2379
						local CHILDREN = workspace:GetDescendants()
2380
						for index, CHILD in pairs(CHILDREN) do
2381
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2382
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2383
								if HUM then
2384
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2385
									if TORSO then
2386
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
2387
											TORSO.Velocity = VT(0,5,0)
2388
											HUM.Health = HUM.Health - 0
2389
											HUM.PlatformStand = false
2390
											if TORSO.RotVelocity.Magnitude < 15 then
2391
										 		TORSO.Anchored = false
2392
										end
2393
									end
2394
								end
2395
							end
2396
						end
2397
						FIELD.Size = FIELD.Size - VT(3,3,3)
2398
						FIELD.Transparency = FIELD.Transparency + 0.2/25
2399
						     end
2400
						end
2401
				end))	
2402
				FIELD:Remove()
2403
           ATTACK = false
2404
		Rooted = false
2405
	end
2406
2407
				
2408
function Taunt()
2409
	ATTACK = true
2410
	local LAUGH = nil
2411
	coroutine.resume(coroutine.create(function()
2412
		repeat
2413
			Swait()
2414
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2415
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2416
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2417
			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)
2418
			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)
2419
			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)
2420
		until LAUGH ~= nil
2421
		repeat
2422
			Swait()
2423
			LAUGH.Parent = Head
2424
			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)
2425
			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(0)), 1 / Animation_Speed)
2426
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2427
			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)
2428
			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)
2429
			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)
2430
		until LAUGH.Playing == false
2431
	ATTACK = false
2432
	end))
2433
	wait(0.1)
2434
	CHOICE = 6
2435
	chatfunc("I HATE YOU...")
2436
	LAUGH = CreateSound(212000587, Character, 8099999, 1, false)
2437
	wait(1.5)
2438
	CHOICE = MRANDOM (1,5)
2439
end
2440
2441
--//=================================\\
2442
--||	  ASSIGN THINGS TO KEYS
2443
--\\=================================//
2444
2445
function MouseDown(Mouse)
2446
	HOLD = true
2447
	if ATTACK == false then
2448
	end
2449
end
2450
2451
function MouseUp(Mouse)
2452
HOLD = false
2453
end
2454
2455
function KeyDown(Key)
2456
	KEYHOLD = true
2457
	if Key == "z" and ATTACK == false then
2458
		MagicMissiles()
2459
	end
2460
2461
	if Key == "b" and ATTACK == false then
2462
		TimesUp()
2463
	end
2464
2465
	if Key == "c" and ATTACK == false then
2466
		ChainPunch()
2467
	end
2468
2469
	if Key == "v" and ATTACK == false then
2470
		WarpMeteor()
2471
	end
2472
2473
	if Key == "x" and ATTACK == false then
2474
		PandorasBox()
2475
	end
2476
	
2477
	if Key == "g" and ATTACK == false then
2478
		TimeStop()
2479
	end
2480
2481
	if Key == "t" and ATTACK == false then
2482
		Taunt()
2483
		elseif Key == "1" and ATTACK == false then
2484
			if CHOICE ~= 1 then
2485
				CHOICE = 1
2486
				sick:Play()
2487
				chatfunc("original song")
2488
			end
2489
		elseif Key == "2" and ATTACK == false then
2490
			if CHOICE ~= 2 then
2491
				CHOICE = 2
2492
				sick:Play()
2493
				chatfunc("no comments...")
2494
			end
2495
		elseif Key == "3" and ATTACK == false then
2496
			if CHOICE ~= 3 then
2497
				CHOICE = 3
2498
				sick:Play()
2499
				chatfunc("Now the fight really begins...")
2500
				tecks2.Color = Color3.new (255,0,0)
2501
			end
2502
		elseif Key == "4" and ATTACK == false then
2503
			if CHOICE ~= 4 then
2504
				CHOICE = 4
2505
				sick:Play()
2506
				chatfunc("Just let me relax a little")
2507
			end	
2508
				elseif Key == "5" and ATTACK == false then
2509
			if CHOICE ~= 5 then
2510
				CHOICE = 5
2511
				sick:Play()
2512
				chatfunc("Why not this sound, i like it")
2513
			end
2514
		elseif Key == "6" and ATTACK == false then
2515
			if CHOICE ~= 6 then
2516
				CHOICE = 6
2517
				sick:Play()
2518
				chatfunc("music off")
2519
			end
2520
	end
2521
end
2522
2523
function KeyUp(Key)
2524
	KEYHOLD = false
2525
end
2526
2527
	Mouse.Button1Down:connect(function(NEWKEY)
2528
		MouseDown(NEWKEY)
2529
	end)
2530
	Mouse.Button1Up:connect(function(NEWKEY)
2531
		MouseUp(NEWKEY)
2532
	end)
2533
	Mouse.KeyDown:connect(function(NEWKEY)
2534
		KeyDown(NEWKEY)
2535
	end)
2536
	Mouse.KeyUp:connect(function(NEWKEY)
2537
		KeyUp(NEWKEY)
2538
	end)
2539
2540
--//=================================\\
2541
--\\=================================//
2542
2543
2544
function unanchor()
2545
	if UNANCHOR == true then
2546
		RootPart.Anchored = false
2547
	end
2548
	g = Character:GetChildren()
2549
	for i = 1, #g do
2550
		if g[i].ClassName == "Part" and g[i] ~= RootPart then
2551
			g[i].Anchored = false
2552
		end
2553
	end
2554
	g = Weapon:GetChildren()
2555
	for i = 1, #g do
2556
		if g[i].ClassName == "Part" then
2557
			g[i].Anchored = false
2558
		end
2559
	end
2560
end
2561
2562
2563
--//=================================\\
2564
--||	WRAP THE WHOLE SCRIPT UP
2565
--\\=================================//
2566
2567
Humanoid.Changed:connect(function(Jump)
2568
	if Jump == "Jump" and (Disable_Jump == true) then
2569
		Humanoid.Jump = false
2570
	end
2571
end)
2572
2573
while true do
2574
	Swait()
2575
           refit()
2576
	script.Parent = WEAPONGUI
2577
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2578
	    v:Stop();
2579
	end
2580
	ANIMATE.Parent = nil
2581
	SINE = SINE + CHANGE*1.5
2582
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2583
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2584
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2585
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
2586
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2587
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2588
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * 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)
2589
    elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2590
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2591
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2592
	end
2593
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2594
		ANIM = "Jump"
2595
		if ATTACK == false then
2596
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2597
			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)
2598
			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)
2599
			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)
2600
			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)
2601
			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)
2602
	    end
2603
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2604
		ANIM = "Fall"
2605
		if ATTACK == false then
2606
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2607
			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)
2608
			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)
2609
			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)
2610
			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)
2611
			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)
2612
		end
2613
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2614
		ANIM = "Idle"
2615
		if ATTACK == false then
2616
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2617
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2618
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
2619
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
2620
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2621
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2622
			end
2623
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2624
		ANIM = "Walk"
2625
		if ATTACK == false then
2626
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2627
		    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2628
			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)
2629
			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)
2630
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2631
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2632
		end
2633
	end
2634
	unanchor()
2635
	Humanoid.MaxHealth = "inf"
2636
	Humanoid.Health = "inf"
2637
	if Rooted == false then
2638
		Disable_Jump = false
2639
		Humanoid.WalkSpeed = Speed
2640
	elseif Rooted == true then
2641
		Disable_Jump = true
2642
		Humanoid.WalkSpeed = 0
2643
	end
2644
	for _, c in pairs(Character:GetChildren()) do
2645
		if c.ClassName == "Part" and c.Name ~= "Detail" then
2646
			c.Material = "Fabric"
2647
			if c:FindFirstChildOfClass("ParticleEmitter") then
2648
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2649
			end
2650
			if c ~= Head then
2651
				c.Color = C3(0,0,0)
2652
			else
2653
				c.Color = C3(0,0,0)
2654
			end
2655
			if c == Head then
2656
				if c:FindFirstChild("face") then
2657
					c.face:remove()
2658
				end
2659
			end
2660
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2661
			c:remove()
2662
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
2663
			c:remove()
2664
		end
2665
	end
2666
	sick.SoundId = "rbxassetid://"..bored[CHOICE]
2667
	sick.Looped = true
2668
	sick.Pitch = 1
2669
	sick.Volume = 999999
2670
	sick.Parent = Character
2671
	sick:Resume()
2672
	--sick.Playing = false
2673
	Humanoid.Name = "Master of Time = "..Player.Name
2674
end
2675
2676
--//=================================\\
2677
--\\=================================//
2678
2679
2680
2681
2682
2683
--//====================================================\\--
2684
--||			  		 END OF SCRIPT
2685
--\\====================================================//--