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