View difference between Paste ID: yGj19LS3 and yAwnCx74
SHOW: | | - or go back to the newest paste.
1-
Alright, over 250 looks! I think this will be my last leak for right now, but I hope you enjoy it!
1+
local username = "save_usallfromjohn2"
2-
Here, enjoy using the Chronos script on Void! Don't forget to replace the Your Name Here with your roblox username!
2+
3-
local username = "Your Username Here"
3+
4
	repeat wait() until script.Owner.Value
5
end
6
function GetPlr(user)
7
	for _,v in next, game:service'Players':players() do
8
		if(v.Name==user)then
9
			return v
10
		end
11
	end	
12
	return nil
13
end
14
15
local Player = (script:FindFirstChild'Owner' and script:FindFirstChild'Owner'.Value or GetPlr(username))
16
pcall(game.Destroy,script:FindFirstChild'Owner')
17
local FakeMouse = script.FakeMouse:Clone();
18
FakeMouse.Parent = Player.Character;
19
script.FakeMouse:Destroy()
20
21
if Player then
22
do
23
	local GUID = {}
24
	do
25
	    GUID.IDs = {};
26
	    function GUID:new(len)
27
	        local id;
28
	        if(not len)then
29
	            id = (tostring(function() end))
30
	            id = id:gsub("function: ","")
31
	        else
32
	            local function genID(len)
33
	                local newID = ""
34
	                for i = 1,len do
35
	                    newID = newID..string.char(math.random(48,90))
36
	                end
37
	                return newID
38
	            end
39
	            repeat id = genID(len) until not GUID.IDs[id]
40
				local oid = id;
41
				id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
42
	            GUID.IDs[oid]=true;
43
	        end
44
	        return id
45
	    end
46
	end
47
48
	local AHB = Instance.new("BindableEvent")
49
	
50
	local FPS = 30
51
	
52
	local TimeFrame = 0
53
	
54
	local LastFrame = tick()
55
	local Frame = 1/FPS
56
	
57
	game:service'RunService'.Heartbeat:connect(function(s,p)
58
		TimeFrame = TimeFrame + s
59
		if(TimeFrame >= Frame)then
60
			for i = 1,math.floor(TimeFrame/Frame) do
61
				AHB:Fire()
62
			end
63
			LastFrame=tick()
64
			TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
65
		end
66
	end)
67
68
69
	function swait(dur)
70
		if(dur == 0 or typeof(dur) ~= 'number')then
71
			AHB.Event:wait()
72
		else
73
			for i = 1, dur*FPS do
74
				AHB.Event:wait()
75
			end
76
		end
77
	end
78
	
79
	local oPlayer = Player
80
	local Player = oPlayer
81
	
82
	local loudnesses={}
83
	script.Parent = Player.Character
84
	local CoAS = {Actions={}}
85
	local Event = Instance.new("RemoteEvent")
86
	Event.Name = "UserInputEvent"
87
	Event.Parent = Player.Character
88
	local Func = Instance.new("RemoteFunction")
89
	Func.Name = "GetClientProperty"
90
	Func.Parent = Player.Character
91
	local fakeEvent = function()
92
		local t = {_fakeEvent=true,Waited={},Connected={}}
93
		t.Connect = function(self,f)
94
			local ft={}
95
			ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
96
			ft.Disconnect=ft.disconnect
97
				
98
			ft.Func=function(...)
99
				for id,_ in next, t.Waited do 
100
					t.Waited[id] = true 
101
				end 
102
				return f(...)
103
			end; 
104
			
105
			table.insert(self.Connected,ft)
106
			return ft;
107
		end
108
		t.connect = t.Connect
109
		t.Wait = function() 
110
			local guid = GUID:new(25)
111
			local waitingId = guid:Get()
112
			t.Waited[waitingId]=false
113
			repeat swait() until t.Waited[waitingId]==true  
114
			t.Waited[waitingId]=nil;
115
			guid:Trash()
116
		end
117
		t.wait = t.Wait
118
		return t
119
	end
120
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
121
	local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
122
	local Run = {RenderStepped=fakeEvent()}
123
	
124
	function CoAS:BindAction(name,fun,touch,...)
125
		CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
126
	end
127
	function CoAS:UnbindAction(name)
128
		CoAS.Actions[name] = nil
129
	end
130
	local function te(self,ev,...)
131
		local t = self[ev]
132
		if t and t._fakeEvent and t.Connected then
133
			for i,v in next, t.Connected do
134
				if(v.Func and not v.Disconnected)then
135
					v.Func(...)
136
				else
137
					t.Connected[i]=nil
138
				end
139
			end
140
		end
141
	end
142
	m.TrigEvent = te
143
	UsIS.TrigEvent = te
144
	Run.TrigEvent = te
145
	Event.OnServerEvent:Connect(function(plr,io)
146
	    if plr~=Player then return end
147
		--[[table.foreach(io,print)
148
		print'---']]
149
		if io.Mouse then
150
			m.Target = io.Target
151
			m.Hit = io.Hit
152
		elseif io.KeyEvent then
153
			m:TrigEvent('Key'..io.KeyEvent,io.Key)
154
		elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
155
	        if io.UserInputState == Enum.UserInputState.Begin then
156
				m:TrigEvent("Button1Down")
157
			else
158
				m:TrigEvent("Button1Up")
159
			end
160
		end
161
		if(not io.KeyEvent and not io.Mouse)then
162
			
163
			for n,t in pairs(CoAS.Actions) do
164
				for _,k in pairs(t.Keys) do
165
					if k==io.KeyCode then
166
						t.Function(t.Name,io.UserInputState,io)
167
					end
168
				end
169
			end
170
	        if io.UserInputState == Enum.UserInputState.Begin then
171
				UsIS:TrigEvent("InputBegan",io,false)
172
			else
173
				UsIS:TrigEvent("InputEnded",io,false)
174
	        end
175
	    end
176
	end)
177
		
178
	Func.OnServerInvoke = function(plr,inst,play)
179
		if plr~=Player then return end
180
		if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
181
			loudnesses[inst]=play	
182
		end
183
	end
184
	
185
	function GetClientProperty(inst,prop)
186
		--if(script:IsA'LocalScript' or game:service'RunService':IsStudio())then return prop[inst] end
187
		if(prop == 'PlaybackLoudness' and loudnesses[inst])then 
188
			return loudnesses[inst] 
189
		elseif(prop == 'PlaybackLoudness')then
190
			return Func:InvokeClient(Player,'RegSound',inst)
191
		end
192
		return Func:InvokeClient(Player,inst,prop)
193
	end
194
	
195
196
	local oldGame = game;
197
	local function GetService(s,i)
198
		local service = s:GetService(i)
199
		if(i == 'Players')then
200
			local oldService = service;
201
			local fakeService = newproxy(true)
202
			getmetatable(fakeService).__index = function(s,i)
203
				if(s == fakeService)then s=oldService end
204
				if(i == 'LocalPlayer' or i == 'localPlayer')then
205
					local oldPlayer = Player;
206
					local fakePlayer = newproxy(true)
207
					getmetatable(fakePlayer).__index = function(s,i)
208
						if(i == 'GetMouse')then
209
							return function() return m; end
210
						end
211
						return Player[i]
212
					end
213
					getmetatable(fakePlayer).__newindex = function(s,i,v)
214
						Player[i]=v
215
					end
216
					getmetatable(fakePlayer).__call=function(self,...)
217
						if(self == fakePlayer)then self = Player end
218
						local wh = {...}
219
						local name = table.remove(wh,1)
220
						for i,v in next, wh do
221
							wh[i]=v
222
						end
223
						if(name == 'GetMouse')then
224
							return m;
225
						end
226
						return self(name,unpack(wh))
227
					end
228
					getmetatable(fakePlayer).__namecall=function(self,...)
229
						if(self == fakePlayer)then self = Player end
230
						local tuple={...}
231
						local name = table.remove(tuple,#tuple)
232
					
233
						if(name == 'GetMouse')then
234
							return m;
235
						else
236
							return self[name](self,unpack(tuple))
237
						end
238
					end
239
					
240
					return fakePlayer
241
				elseif(i == 'oPlayer')then
242
					return oPlayer
243
				else
244
					return s[i]	
245
				end
246
			end
247
			getmetatable(fakeService).__newindex = function(s,i,v)
248
				if(s == fakeService)then s=oldService end				
249
				s[i]=v
250
			end
251
			getmetatable(fakeService).__call=function(self,...)
252
				if(self == fakeService)then self = oldService end
253
				local wh = {...}
254
				local name = table.remove(wh,1)
255
				for i,v in next, wh do
256
					wh[i]=v
257
				end
258
				return self(name,unpack(wh))
259
			end
260
			getmetatable(fakeService).__namecall=function(self,...)
261
				if(self == fakeService)then self = oldService end
262
				local tuple={...}
263
				local name = table.remove(tuple,#tuple)
264
265
				return self[name](self,unpack(tuple))
266
				end
267
			getmetatable(fakeService).__metatable = 'gay'
268
			return fakeService
269
		elseif(i == 'RunService')then
270
			local oldService = service;
271
			local fakeService = newproxy(true)
272
			getmetatable(fakeService).__index = function(s,i)
273
				if(s == fakeService)then s=oldService end
274
				return Run[i] or s[i]	
275
			end
276
			getmetatable(fakeService).__newindex = function(s,i,v)
277
				if(s == fakeService)then s=oldService end				
278
				s[i]=v
279
			end
280
			getmetatable(fakeService).__call=function(self,...)
281
				if(self == fakeService)then self = oldService end
282
				local wh = {...}
283
				local name = table.remove(wh,1)
284
				for i,v in next, wh do
285
					wh[i]=v
286
				end
287
				return self(name,unpack(wh))
288
			end
289
			getmetatable(fakeService).__namecall=function(self,...)
290
				if(self == fakeService)then self = oldService end
291
				local tuple={...}
292
				local name = table.remove(tuple,#tuple)
293
294
				return self[name](self,unpack(tuple))
295
				end
296
			getmetatable(fakeService).__metatable = 'gay'
297
			return fakeService	
298
		elseif(i == 'UserInputService')then
299
			return UsIS
300
		elseif(i == 'ContextActionService')then
301
			return CoAS;
302
		else
303
			return service
304
		end
305
	end
306
	local serviceFunctions={
307
		service=true,
308
		GetService=true,
309
	}
310
	local fakeGame = newproxy(true)
311
	getmetatable(fakeGame).__index = function(s,i)
312
		if(s == fakeGame)then s=oldGame end
313
		local serv = GetService(oldGame,i)
314
		if serviceFunctions[i] then
315
			return GetService
316
		elseif(serv)then
317
			return serv
318
		else
319
			return s[i]
320
		end		
321
	end
322
	getmetatable(fakeGame).__newindex = function(s,i,v)
323
		if(s == fakeGame)then s=oldGame end
324
		s[i]=v
325
	end
326
	getmetatable(fakeGame).__call=function(self,...)
327
		if(self == fakeGame)then self = oldGame end
328
		local wh = {...}
329
		local name = table.remove(wh,1)
330
		for i,v in next, wh do
331
			if(v == fakeGame)then v = oldGame end
332
			wh[i]=v
333
		end
334
		if serviceFunctions[name] then
335
			return GetService(self,unpack(wh))
336
		else
337
			return self(name,unpack(wh))
338
		end	
339
	end
340
	getmetatable(fakeGame).	__namecall=function(self,...)
341
		if(self == fakeGame)then self = oldGame end
342
		local tuple={...}
343
		local name = table.remove(tuple,#tuple)
344
		
345
		local funcToCall=self[name]
346
		
347
		if serviceFunctions[name] then
348
			return GetService(self,unpack(tuple))
349
		else
350
			return self[name](self,unpack(tuple))
351
		end
352
	end
353
	getmetatable(fakeGame).__metatable = 'gay'
354
355
	coroutine.wrap(function()
356
		while true do
357
			Run:TrigEvent('RenderStepped')
358
			swait()
359
		end
360
	end)()
361
	game=fakeGame
362
	UserInputService,ContextActionService = UsIS,CoAS
363
	end
364
	end
365
-- Synapse Decompiler
366
-- Purchase Here: https://brack4712.xyz/synapse/purchase/
367
368
wait(0.2)
369
Player = game:GetService("Players").LocalPlayer
370
PlayerGui = Player.PlayerGui
371
Cam = workspace.CurrentCamera
372
Backpack = Player.Backpack
373
Character = Player.Character
374
Humanoid = Character.Humanoid
375
Mouse = Player:GetMouse()
376
RootPart = Character["HumanoidRootPart"]
377
Torso = Character.Torso
378
Head = Character.Head
379
RightArm = Character["Right Arm"]
380
LeftArm = Character["Left Arm"]
381
RightLeg = Character["Right Leg"]
382
LeftLeg = Character["Left Leg"]
383
RootJoint = RootPart.RootJoint
384
Neck = Torso.Neck
385
RightShoulder = Torso["Right Shoulder"]
386
LeftShoulder = Torso["Left Shoulder"]
387
RightHip = Torso["Right Hip"]
388
LeftHip = Torso["Left Hip"]
389
IT = Instance.new
390
CF = CFrame.new
391
VT = Vector3.new
392
RAD = math.rad
393
C3 = Color3.new
394
UD2 = UDim2.new
395
BRICKC = BrickColor.new
396
ANGLES = CFrame.Angles
397
EULER = CFrame.fromEulerAnglesXYZ
398
COS = math.cos
399
ACOS = math.acos
400
SIN = math.sin
401
ASIN = math.asin
402
ABS = math.abs
403
MRANDOM = math.random
404
FLOOR = math.floor
405
Animation_Speed = 3
406
Frame_Speed = 0.016666666666666666
407
local Speed = 16
408
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
409
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
410
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
411
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
412
local DAMAGEMULTIPLIER = 1
413
local ANIM = "Idle"
414
local ATTACK = false
415
local EQUIPPED = false
416
local HOLD = false
417
local COMBO = 1
418
local Rooted = false
419
local SINE = 0
420
local KEYHOLD = false
421
local CHANGE = 2 / Animation_Speed
422
local WALKINGANIM = false
423
local VALUE1 = false
424
local VALUE2 = false
425
local ROBLOXIDLEANIMATION = IT("Animation")
426
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
427
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=2140511053"
428
local WEAPONGUI = IT("ScreenGui", PlayerGui)
429
WEAPONGUI.Name = "Weapon GUI"
430
local Effects = IT("Folder", Character)
431
Effects.Name = "Effects"
432
local ANIMATOR = Humanoid.Animator
433
local ANIMATE = Character.Animate
434
local UNANCHOR = true
435
local TIMESPOT, TIMEVELOCITY, TIMESTAMP
436
local SPEDUP = false
437
local GFT = false
438
ArtificialHB = Instance.new("BindableEvent", script)
439
ArtificialHB.Name = "ArtificialHB"
440
script:WaitForChild("ArtificialHB")
441
frame = Frame_Speed
442
tf = 0
443
allowframeloss = false
444
tossremainder = false
445
lastframe = tick()
446
script.ArtificialHB:Fire()
447
game:GetService("RunService").Heartbeat:connect(function(s, p)
448
	tf = tf + s
449
	if tf >= frame then
450
		if allowframeloss then
451
			script.ArtificialHB:Fire()
452
			lastframe = tick()
453
		else
454
			for i = 1, math.floor(tf / frame) do
455
				script.ArtificialHB:Fire()
456
			end
457
			lastframe = tick()
458
		end
459
		if tossremainder then
460
			tf = 0
461
		else
462
			tf = tf - frame * math.floor(tf / frame)
463
		end
464
	end
465
end)
466
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
467
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
468
end
469
function PositiveAngle(NUMBER)
470
	if NUMBER >= 0 then
471
		NUMBER = 0
472
	end
473
	return NUMBER
474
end
475
function NegativeAngle(NUMBER)
476
	if NUMBER <= 0 then
477
		NUMBER = 0
478
	end
479
	return NUMBER
480
end
481
function Swait(NUMBER)
482
	if NUMBER == 0 or NUMBER == nil then
483
		ArtificialHB.Event:wait()
484
	else
485
		for i = 1, NUMBER do
486
			ArtificialHB.Event:wait()
487
		end
488
	end
489
end
490
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
491
	local NEWMESH = IT(MESH)
492
	if MESH == "SpecialMesh" then
493
		NEWMESH.MeshType = MESHTYPE
494
		if MESHID ~= "nil" and MESHID ~= "" then
495
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
496
		end
497
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
498
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
499
		end
500
	end
501
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
502
	NEWMESH.Scale = SCALE
503
	NEWMESH.Parent = PARENT
504
	return NEWMESH
505
end
506
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
507
	local NEWPART = IT("Part")
508
	NEWPART.formFactor = FORMFACTOR
509
	NEWPART.Reflectance = REFLECTANCE
510
	NEWPART.Transparency = TRANSPARENCY
511
	NEWPART.CanCollide = false
512
	NEWPART.Locked = true
513
	NEWPART.Anchored = true
514
	if ANCHOR == false then
515
		NEWPART.Anchored = false
516
	end
517
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
518
	NEWPART.Name = NAME
519
	NEWPART.Size = SIZE
520
	NEWPART.Position = Torso.Position
521
	NEWPART.Material = MATERIAL
522
	NEWPART:BreakJoints()
523
	NEWPART.Parent = PARENT
524
	return NEWPART
525
end
526
local weldBetween = function(a, b)
527
	local weldd = Instance.new("ManualWeld")
528
	weldd.Part0 = a
529
	weldd.Part1 = b
530
	weldd.C0 = CFrame.new()
531
	weldd.C1 = b.CFrame:inverse() * a.CFrame
532
	weldd.Parent = a
533
	return weldd
534
end
535
function QuaternionFromCFrame(cf)
536
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
537
	local trace = m00 + m11 + m22
538
	if trace > 0 then
539
		local s = math.sqrt(1 + trace)
540
		local recip = 0.5 / s
541
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
542
	else
543
		local i = 0
544
		if m00 < m11 then
545
			i = 1
546
		end
547
		if m22 > (i == 0 and m00 or m11) then
548
			i = 2
549
		end
550
		if i == 0 then
551
			local s = math.sqrt(m00 - m11 - m22 + 1)
552
			local recip = 0.5 / s
553
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
554
		elseif i == 1 then
555
			local s = math.sqrt(m11 - m22 - m00 + 1)
556
			local recip = 0.5 / s
557
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
558
		elseif i == 2 then
559
			local s = math.sqrt(m22 - m00 - m11 + 1)
560
			local recip = 0.5 / s
561
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
562
		end
563
	end
564
end
565
function QuaternionToCFrame(px, py, pz, x, y, z, w)
566
	local xs, ys, zs = x + x, y + y, z + z
567
	local wx, wy, wz = w * xs, w * ys, w * zs
568
	local xx = x * xs
569
	local xy = x * ys
570
	local xz = x * zs
571
	local yy = y * ys
572
	local yz = y * zs
573
	local zz = z * zs
574
	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))
575
end
576
function QuaternionSlerp(a, b, t)
577
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
578
	local startInterp, finishInterp
579
	if cosTheta >= 1.0E-4 then
580
		if 1 - cosTheta > 1.0E-4 then
581
			local theta = ACOS(cosTheta)
582
			local invSinTheta = 1 / SIN(theta)
583
			startInterp = SIN((1 - t) * theta) * invSinTheta
584
			finishInterp = SIN(t * theta) * invSinTheta
585
		else
586
			startInterp = 1 - t
587
			finishInterp = t
588
		end
589
	elseif 1 + cosTheta > 1.0E-4 then
590
		local theta = ACOS(-cosTheta)
591
		local invSinTheta = 1 / SIN(theta)
592
		startInterp = SIN((t - 1) * theta) * invSinTheta
593
		finishInterp = SIN(t * theta) * invSinTheta
594
	else
595
		startInterp = t - 1
596
		finishInterp = t
597
	end
598
	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
599
end
600
function Clerp(a, b, t)
601
	local qa = {
602
		QuaternionFromCFrame(a)
603
	}
604
	local qb = {
605
		QuaternionFromCFrame(b)
606
	}
607
	local ax, ay, az = a.x, a.y, a.z
608
	local bx, by, bz = b.x, b.y, b.z
609
	local _t = 1 - t
610
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
611
end
612
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
613
	local frame = IT("Frame")
614
	frame.BackgroundTransparency = TRANSPARENCY
615
	frame.BorderSizePixel = BORDERSIZEPIXEL
616
	frame.Position = POSITION
617
	frame.Size = SIZE
618
	frame.BackgroundColor3 = COLOR
619
	frame.BorderColor3 = BORDERCOLOR
620
	frame.Name = NAME
621
	frame.Parent = PARENT
622
	return frame
623
end
624
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
625
	local label = IT("TextLabel")
626
	label.BackgroundTransparency = 1
627
	label.Size = UD2(1, 0, 1, 0)
628
	label.Position = UD2(0, 0, 0, 0)
629
	label.TextColor3 = TEXTCOLOR
630
	label.TextStrokeTransparency = STROKETRANSPARENCY
631
	label.TextTransparency = TRANSPARENCY
632
	label.FontSize = TEXTFONTSIZE
633
	label.Font = TEXTFONT
634
	label.BorderSizePixel = BORDERSIZEPIXEL
635
	label.TextScaled = false
636
	label.Text = TEXT
637
	label.Name = NAME
638
	label.Parent = PARENT
639
	return label
640
end
641
function NoOutlines(PART)
642
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
643
end
644
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
645
	local NEWWELD = IT(TYPE)
646
	NEWWELD.Part0 = PART0
647
	NEWWELD.Part1 = PART1
648
	NEWWELD.C0 = C0
649
	NEWWELD.C1 = C1
650
	NEWWELD.Parent = PARENT
651
	return NEWWELD
652
end
653
local S = IT("Sound")
654
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
655
	local NEWSOUND
656
	coroutine.resume(coroutine.create(function()
657
		NEWSOUND = S:Clone()
658
		NEWSOUND.Parent = PARENT
659
		NEWSOUND.Volume = VOLUME
660
		NEWSOUND.Pitch = PITCH
661
		NEWSOUND.EmitterSize = VOLUME * 3
662
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
663
		NEWSOUND:play()
664
		if DOESLOOP == true then
665
			NEWSOUND.Looped = true
666
		else
667
			repeat
668
				wait(1)
669
			until NEWSOUND.Playing == false
670
			NEWSOUND:remove()
671
		end
672
	end))
673
	return NEWSOUND
674
end
675
function CFrameFromTopBack(at, top, back)
676
	local right = top:Cross(back)
677
	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)
678
end
679
function WACKYEFFECT(Table)
680
	local TYPE = Table.EffectType or "Sphere"
681
	local SIZE = Table.Size or VT(1, 1, 1)
682
	local ENDSIZE = Table.Size2 or VT(0, 0, 0)
683
	local TRANSPARENCY = Table.Transparency or 0
684
	local ENDTRANSPARENCY = Table.Transparency2 or 1
685
	local CFRAME = Table.CFrame or Torso.CFrame
686
	local MOVEDIRECTION = Table.MoveToPos or nil
687
	local ROTATION1 = Table.RotationX or 0
688
	local ROTATION2 = Table.RotationY or 0
689
	local ROTATION3 = Table.RotationZ or 0
690
	local MATERIAL = Table.Material or "Neon"
691
	local COLOR = Table.Color or C3(1, 1, 1)
692
	local TIME = Table.Time or 45
693
	local SOUNDID = Table.SoundID or nil
694
	local SOUNDPITCH = Table.SoundPitch or nil
695
	local SOUNDVOLUME = Table.SoundVolume or nil
696
	local USEBOOMERANGMATH = Table.UseBoomerangMath or false
697
	local BOOMERANG = Table.Boomerang or 0
698
	local SIZEBOOMERANG = Table.SizeBoomerang or 0
699
	coroutine.resume(coroutine.create(function()
700
		local PLAYSSOUND = false
701
		local SOUND
702
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
703
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
704
			PLAYSSOUND = true
705
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
706
		end
707
		EFFECT.Color = COLOR
708
		local MSH
709
		if TYPE == "Sphere" then
710
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
711
		elseif TYPE == "Block" or TYPE == "Box" then
712
			MSH = IT("BlockMesh", EFFECT)
713
			MSH.Scale = SIZE
714
		elseif TYPE == "Wave" then
715
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
716
		elseif TYPE == "Ring" then
717
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
718
		elseif TYPE == "Slash" then
719
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
720
		elseif TYPE == "Round Slash" then
721
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
722
		elseif TYPE == "Swirl" then
723
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0, 0, 0))
724
		elseif TYPE == "Skull" then
725
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
726
		elseif TYPE == "Crystal" then
727
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "450656451", "", SIZE, VT(0, 0, 0))
728
		end
729
		coroutine.resume(coroutine.create(function()
730
			if MSH ~= nil then
731
				local BOOMR1 = 1 + BOOMERANG / 50
732
				local BOOMR2 = 1 + SIZEBOOMERANG / 50
733
				local MOVESPEED = nil
734
			if MOVEDIRECTION ~= nil then
735
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
736
			end
737
				local GROWTH
738
				if USEBOOMERANGMATH == true then
739
					GROWTH = (SIZE - ENDSIZE) * (BOOMR2 + 1)
740
				else
741
					GROWTH = SIZE - ENDSIZE
742
				end
743
				local TRANS = TRANSPARENCY - ENDTRANSPARENCY
744
				if TYPE == "Block" then
745
					EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
746
				else
747
					EFFECT.CFrame = CFRAME
748
				end
749
				if USEBOOMERANGMATH == true then
750
					for LOOP = 1, TIME + 1 do
751
						Swait()
752
						MSH.Scale = MSH.Scale - VT(GROWTH.X * (1 - LOOP / TIME * BOOMR2), GROWTH.Y * (1 - LOOP / TIME * BOOMR2), GROWTH.Z * (1 - LOOP / TIME * BOOMR2)) * BOOMR2 / TIME
753
						if TYPE == "Wave" then
754
							MSH.Offset = VT(0, 0, -MSH.Scale.Z / 8)
755
						end
756
						EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
757
						if TYPE == "Block" then
758
							EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
759
						else
760
							EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
761
						end
762
						if MOVEDIRECTION ~= nil then
763
							local ORI = EFFECT.Orientation
764
							EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED * (1 - LOOP / TIME * BOOMR1))
765
							EFFECT.Orientation = ORI
766
						end
767
					end
768
				else
769
					for LOOP = 1, TIME + 1 do
770
						Swait()
771
						MSH.Scale = MSH.Scale - GROWTH / TIME
772
						if TYPE == "Wave" then
773
							MSH.Offset = VT(0, 0, -MSH.Scale.Z / 8)
774
						end
775
						EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
776
						if TYPE == "Block" then
777
							EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
778
						else
779
							EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
780
						end
781
						if MOVEDIRECTION ~= nil then
782
					local ORI = EFFECT.Orientation
783
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
784
					EFFECT.Orientation = ORI
785
				end
786
			end
787
				end
788
				EFFECT.Transparency = 1
789
				if PLAYSSOUND == false then
790
					EFFECT:remove()
791
				else
792
					repeat
793
						Swait()
794
					until EFFECT:FindFirstChildOfClass("Sound") == nil
795
					EFFECT:remove()
796
				end
797
			elseif PLAYSSOUND == false then
798
				EFFECT:remove()
799
			else
800
				repeat
801
					Swait()
802
				until EFFECT:FindFirstChildOfClass("Sound") == nil
803
				EFFECT:remove()
804
			end
805
		end))
806
		return EFFECT
807
	end))
808
end
809
function MakeForm(PART, TYPE)
810
	if TYPE == "Cyl" then
811
		local MSH = IT("CylinderMesh", PART)
812
	elseif TYPE == "Ball" then
813
		local MSH = IT("SpecialMesh", PART)
814
		MSH.MeshType = "Sphere"
815
	elseif TYPE == "Wedge" then
816
		local MSH = IT("SpecialMesh", PART)
817
		MSH.MeshType = "Wedge"
818
	end
819
end
820
Debris = game:GetService("Debris")
821
function CastProperRay(StartPos, EndPos, Distance, Ignore)
822
	local DIRECTION = CF(StartPos, EndPos).lookVector
823
	local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
824
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
825
end
826
827
828
function Debree(Table)
829
	local KindOf = Table.Variant or "Ring"
830
	local Position = Table.Location or Torso.Position
831
	local Coloration = Table.Color or C3(1, 1, 1)
832
	local Texture = Table.Material or "Slate"
833
	local Fling = Table.Scatter or 1
834
	local Number = Table.Amount or 1
835
	local Rocks = Table.DebreeCount or 1
836
	local Range = Table.Distance or 1
837
	local Scale = Table.Size or 1
838
	local Timer = Table.Delay or 1.5
839
	coroutine.resume(coroutine.create(function()
840
		local ScaleVector = VT(Scale, Scale, Scale)
841
		local Boulders = {}
842
		Position = CF(Position)
843
		if KindOf == "Ring" or KindOf == "Both" then
844
			for RockValue = 1, Number do
845
				local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale / 2), math.ceil(Scale / 2)), Range)
846
				local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
847
				BOULDER.CanCollide = true
848
				BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
849
				BOULDER.Color = Coloration
850
				table.insert(Boulders, BOULDER)
851
			end
852
		end
853
		if KindOf == "Loose" or KindOf == "Both" then
854
			for RockValue = 1, Rocks do
855
				local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale - Scale / 2), math.ceil(Scale - Scale / 2)), 0.7)
856
				local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, false)
857
				BOULDER.CanCollide = true
858
				BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
859
				BOULDER.Velocity = CF(BOULDER.Position - VT(0, 4, 0), BOULDER.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 5, 0).p).lookVector * MRANDOM(Fling - Fling / 1.5, Fling + Fling / 1.5)
860
				BOULDER.Color = Coloration
861
				table.insert(Boulders, BOULDER)
862
			end
863
		end
864
		if KindOf == "Random" then
865
			for RockValue = 1, Number do
866
				local LOCATION = Position * ANGLES(RAD(0), RAD(360 / Number * RockValue), RAD(0)) * CF(0, MRANDOM(-math.ceil(Scale / 2), math.ceil(Scale / 2)), MRANDOM(0, Range))
867
				local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
868
				BOULDER.CanCollide = true
869
				BOULDER.CFrame = LOCATION * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
870
				BOULDER.Color = Coloration
871
				table.insert(Boulders, BOULDER)
872
			end
873
		end
874
		wait(Timer)
875
		for E = 1, 45 do
876
			Swait()
877
			for A = 1, #Boulders do
878
				Boulders[A].Transparency = Boulders[A].Transparency + 0.022222222222222223
879
			end
880
		end
881
		for A = 1, #Boulders do
882
			Boulders[A]:Destroy()
883
		end
884
	end))
885
end
886
local CAMSHAKE = script.CamShake
887
CAMSHAKE.Parent = nil
888
function CamShake(POSITION, RANGE, INTENSITY, TIME)
889
	local CHILDREN = workspace:GetDescendants()
890
	for index, CHILD in pairs(CHILDREN) do
891
		if CHILD.ClassName == "Model" then
892
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
893
			if HUM then
894
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
895
				 if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
896
					local CAMSHAKER = CAMSHAKE:Clone()
897
					CAMSHAKER.Shake.Value = INTENSITY
898
					CAMSHAKER.Timer.Value = TIME
899
					CAMSHAKER.Parent = CHILD
900
					CAMSHAKER.Disabled = false
901
				end
902
			end
903
		end
904
	end
905
end
906
function ClockEffect(CFRAME, SIZE, TIME)
907
	coroutine.resume(coroutine.create(function()
908
		local PART = CreatePart(3, Effects, "Neon", 0, 1, "Mid gray", "Clock", VT(0, 0, 0), true)
909
		PART.CFrame = CFRAME
910
		local GUI = IT("BillboardGui", PART)
911
		GUI.Size = UD2(0, 0, 0, 0)
912
		local GUI2 = IT("ImageLabel", GUI)
913
		GUI2.BackgroundTransparency = 1
914
		GUI2.BorderSizePixel = 0
915
		GUI2.Size = UDim2.new(1, 0, 1, 0)
916
		GUI2.SizeConstraint = "RelativeYY"
917
		GUI.AlwaysOnTop = true
918
		GUI2.Image = "http://www.roblox.com/asset/?id=187884215"
919
		for i = 1, TIME do
920
			Swait()
921
			GUI.Size = GUI.Size + UD2(SIZE / TIME, 0, SIZE / TIME, 0)
922
			GUI2.ImageTransparency = GUI2.ImageTransparency + 1 / TIME
923
		end
924
		PART:Remove()
925
	end))
926
end
927
function Vocal(ID)
928
	if Head:FindFirstChild("Speak up") then
929
		Head:FindFirstChild("Speak up").Playing = false
930
		Debris:AddItem(Head:FindFirstChild("Speak up"), 0.2)
931
	end
932
	local SOUND = CreateSound(ID, Head, 7, 1, false)
933
	SOUND.Name = "Speak up"
934
end
935
local BMUSIC = IT("Sound", RootPart)
936
local VOLUME = 2.5
937
local PITCH = 1
938
local SONGID = 513034340
939
local HALO = script.Halo
940
HALO.Anchored = false
941
local BASECOLOR = HALO.Color
942
local SKILLFONT = "Antique"
943
local SKILLTEXTSIZE = 6.5
944
local ATTACKS = {
945
	{
946
		"Temporal Temper",
947
		"Z"
948
	},
949
	{
950
		"Chronostasis",
951
		"X"
952
	},
953
	{
954
		"Fast Forward",
955
		"C"
956
	},
957
	{
958
		"Chronos Cannon",
959
		"V"
960
	},
961
	{
962
		"Temporalysis",
963
		"B"
964
	},
965
	{
966
		"Chronosyntax",
967
		"M"
968
	},
969
	{
970
		"Temporal Trap",
971
		"G"
972
	},
973
	{
974
		"Grandfather Time",
975
		"Q"
976
	}
977
}
978
for i = 1, #ATTACKS do
979
	local SKILLFRAME = CreateFrame(WEAPONGUI, 0.8, 2, UD2(0.87, 0, 1 - 0.04 * i, 0), UD2(0.13, 0, 0.03, 0), C3(0, 0, 0), C3(0.5, 0.5, 1), "Skill Frame")
980
	local SKILLTEXT = CreateLabel(SKILLFRAME, "[" .. ATTACKS[i][1] .. "]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
981
	SKILLTEXT.TextXAlignment = "Right"
982
	local BUTTONDISPLAY = CreateLabel(SKILLFRAME, "[" .. ATTACKS[i][2] .. "]", BASECOLOR, SKILLTEXTSIZE - 1, SKILLFONT, 0, 2, 0, "Skill text")
983
	BUTTONDISPLAY.TextXAlignment = "Left"
984
end
985
local CLOCKLOOP = 0
986
local CLOCKSPEED = 1
987
HALO.Parent = Character
988
local HaloWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, HALO, CF(0, 0.65, 0) * ANGLES(RAD(-12), RAD(0), RAD(0)) * CF(0, 0.65, 0), CF(0, 0, 0))
989
local PRT = CreatePart(3, HALO, "Neon", 0, 0, "Mid gray", "Visor", VT(0.05, 0.1, 0.4) * (HALO.Size.Y * 10), false)
990
PRT.Color = HALO.Color
991
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", PRT, HALO, PRT, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, -(PRT.Size.Z / 3 + 0.2)))
992
local PRT = CreatePart(3, HALO, "Neon", 0, 0, "Mid gray", "Visor", VT(0.05, 0.1, 0.26666666666666666) * (HALO.Size.Y * 10), false)
993
PRT.Color = HALO.Color
994
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", PRT, HALO, PRT, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, -(PRT.Size.Z / 3 + 0.2)))
995
local PRT = CreatePart(3, HALO, "Neon", 0, 0, "Mid gray", "Visor", VT(0.15,0.1,0.15) * (HALO.Size.Y * 10), false)
996
PRT.Color = HALO.Color
997
MakeForm(PRT,"Cyl")
998
local ad = CreateWeldOrSnapOrMotor("Weld", PRT, HALO, PRT, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0,0))
999
coroutine.resume(coroutine.create(function()
1000
	while true do
1001
		Swait()
1002
		CLOCKLOOP = CLOCKLOOP - 1 * CLOCKSPEED
1003
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0, 0, 0) * ANGLES(RAD(0), RAD(CLOCKLOOP * 5), RAD(0)), 1 / Animation_Speed)
1004
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0, 0, 0) * ANGLES(RAD(0), RAD(CLOCKLOOP * 5 / 2), RAD(0)), 1 / Animation_Speed)
1005
		if CLOCKLOOP <= -149 and VALUE1 == false then
1006
			CLOCKLOOP = 0
1007
		end
1008
	end
1009
end))
1010
Neck.Name = "Weld"
1011
RootJoint.Name = "Weld"
1012
RightShoulder.Name = "Weld"
1013
LeftShoulder.Name = "Weld"
1014
RightHip.Name = "Weld"
1015
LeftHip.Name = "Weld"
1016
local DUST = script.Dust
1017
DUST:Remove()
1018
local PERMACHROME = script.Permachrome
1019
PERMACHROME.Parent = nil
1020
local GFC = script.GrandfatherClock
1021
GFC.Parent = nil
1022
local CLOCKPART = script.Clock
1023
CLOCKPART.Parent = nil
1024
for _, v in next, Humanoid:GetPlayingAnimationTracks() do
1025
	v:Stop()
1026
end
1027
for _, c in pairs(Character:GetChildren()) do
1028
	if c and c.Parent and c.ClassName == "Accessory" then
1029
		local ACCESSORY = c
1030
		local HANDLE = c.Handle
1031
		HANDLE.Parent = Character
1032
		if c then
1033
			if HANDLE:FindFirstChild("HatAttachment") or HANDLE:FindFirstChild("FaceFrontAttachment") or HANDLE:FindFirstChild("HairAttachment") then
1034
				local WLD = weldBetween(Head, HANDLE)
1035
			else
1036
				local WLD = weldBetween(Torso, HANDLE)
1037
			end
1038
		end
1039
		HANDLE.Name = ACCESSORY.Name
1040
		ACCESSORY:remove()
1041
	end
1042
end
1043
local BODY = {}
1044
for _, c in pairs(Character:GetDescendants()) do
1045
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1046
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1047
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1048
		end
1049
		table.insert(BODY, {
1050
			c,
1051
			c.Parent,
1052
			c.Material,
1053
			c.Color,
1054
			c.Transparency,
1055
			c.Size,
1056
			c.Name
1057
		})
1058
	elseif c:IsA("JointInstance") or c:IsA("Shirt") or c:IsA("Pants") then
1059
		table.insert(BODY, {
1060
			c,
1061
			c.Parent,
1062
			nil,
1063
			nil,
1064
			nil,
1065
			nil,
1066
			nil
1067
		})
1068
	end
1069
end
1070
function refit()
1071
	Character.Parent = workspace
1072
	Effects.Parent = Character
1073
	for e = 1, #BODY do
1074
		if BODY[e] ~= nil then
1075
			local STUFF = BODY[e]
1076
			local PART = STUFF[1]
1077
			local PARENT = STUFF[2]
1078
			local MATERIAL = STUFF[3]
1079
			local COLOR = STUFF[4]
1080
			local TRANSPARENCY = STUFF[5]
1081
			local NAME = STUFF[7]
1082
			if PART.ClassName == "Part" and PART ~= RootPart then
1083
				PART.Material = MATERIAL
1084
				PART.Transparency = TRANSPARENCY
1085
				PART.Name = NAME
1086
			end
1087
			if PART.Parent ~= PARENT then
1088
				if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
1089
					Humanoid:remove()
1090
				end
1091
				PART.Parent = PARENT
1092
				if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
1093
					Humanoid = IT("Humanoid", Character)
1094
				end
1095
			end
1096
		end
1097
	end
1098
end
1099
Humanoid.Died:connect(function()
1100
	refit()
1101
end)
1102
function ApplyDamage(Humanoid, Damage)
1103
	if Damage > 0 then
1104
		Damage = Damage * DAMAGEMULTIPLIER
1105
		if Humanoid.Health < 2000 then
1106
			if 0 < Humanoid.Health - Damage then
1107
				Humanoid.Health = Humanoid.Health - Damage
1108
			else
1109
				Humanoid.Parent:BreakJoints()
1110
				local NIL = script.TotalNil:Clone()
1111
				NIL.Parent = Humanoid.Parent
1112
				NIL.Disabled = false
1113
			end
1114
		else
1115
			Humanoid.Parent:BreakJoints()
1116
			local NIL = script.TotalNil:Clone()
1117
			NIL.Parent = Humanoid.Parent
1118
			NIL.Disabled = false
1119
		end
1120
	end
1121
end
1122
function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
1123
	for index, CHILD in pairs(workspace:GetDescendants()) do
1124
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1125
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1126
			if HUM then
1127
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1128
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
1129
					if INSTAKILL == true then
1130
						CHILD:BreakJoints()
1131
						local NIL = script.TotalNil:Clone()
1132
						NIL.Parent = CHILD
1133
						NIL.Disabled = false
1134
					else
1135
						local DMG = MRANDOM(MINDMG, MAXDMG)
1136
						ApplyDamage(HUM, DMG)
1137
					end
1138
					if FLING ~= 0 then
1139
						for _, c in pairs(CHILD:GetChildren()) do
1140
							if c:IsA("BasePart") then
1141
								local bv = Instance.new("BodyVelocity")
1142
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1143
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
1144
								bv.Parent = c
1145
								Debris:AddItem(bv, 0.05)
1146
							end
1147
						end
1148
					end
1149
				end
1150
			end
1151
		end
1152
	end
1153
end
1154
function TemporalTemper()
1155
	ATTACK = true
1156
	Rooted = true
1157
	for e = 0, 0.1, 0.1 / Animation_Speed do
1158
		Swait()
1159
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.2, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(-35)), 0.3 / Animation_Speed)
1160
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 0.3 / Animation_Speed)
1161
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
1162
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1163
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(100), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1164
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1165
	end
1166
	for i = 1, 3 do
1167
		for e = 0, 0.3, 0.1 / Animation_Speed do
1168
			Swait()
1169
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.2, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(-35)), 0.3 / Animation_Speed)
1170
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 0.3 / Animation_Speed)
1171
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
1172
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1173
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(100), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1174
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.3 / Animation_Speed)
1175
		end
1176
		WACKYEFFECT({
1177
			Time = 75,
1178
			EffectType = "Wave",
1179
			Size = VT(1, 0, 1),
1180
			Size2 = VT(3, 3, 3) + VT(i, 0, i),
1181
			Transparency = 0.8,
1182
			Transparency2 = 1,
1183
			CFrame = RightArm.CFrame * CF(0, 1.2 + i, 0),
1184
			MoveToPos = nil,
1185
			RotationX = 0,
1186
			RotationY = 5,
1187
			RotationZ = 0,
1188
			Material = "Neon",
1189
			Color = BASECOLOR,
1190
			SoundID = 588738949,
1191
			SoundPitch = 1 - i / 10,
1192
			SoundVolume = 4,
1193
			UseBoomerangMath = true,
1194
			Boomerang = 0,
1195
			SizeBoomerang = 15
1196
		})
1197
	end
1198
	for i = 0, 0.1, 0.1 / Animation_Speed do
1199
		Swait()
1200
		WACKYEFFECT({
1201
			Time = 15,
1202
			EffectType = "Wave",
1203
			Size = VT(1, 2, 1),
1204
			Size2 = VT(2, 4, 2),
1205
			Transparency = 0.8,
1206
			Transparency2 = 1,
1207
			CFrame = RightArm.CFrame,
1208
			MoveToPos = nil,
1209
			RotationX = 0,
1210
			RotationY = 5,
1211
			RotationZ = 0,
1212
			Material = "Neon",
1213
			Color = BASECOLOR,
1214
			SoundID = nil,
1215
			SoundPitch = 0,
1216
			SoundVolume = 0,
1217
			UseBoomerangMath = true,
1218
			Boomerang = 0,
1219
			SizeBoomerang = 15
1220
		})
1221
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.65, -0.35 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(60), RAD(0), RAD(0)), 1 / Animation_Speed)
1222
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1223
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.4) * ANGLES(RAD(65), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1224
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1225
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(50), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1226
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(60), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1227
	end
1228
	for i = 0, 0.15, 0.1 / Animation_Speed do
1229
		Swait()
1230
		WACKYEFFECT({
1231
			Time = 15,
1232
			EffectType = "Wave",
1233
			Size = VT(1, 2, 1),
1234
			Size2 = VT(2, 4, 2),
1235
			Transparency = 0.8,
1236
			Transparency2 = 1,
1237
			CFrame = RightArm.CFrame,
1238
			MoveToPos = nil,
1239
			RotationX = 0,
1240
			RotationY = 5,
1241
			RotationZ = 0,
1242
			Material = "Neon",
1243
			Color = BASECOLOR,
1244
			SoundID = nil,
1245
			SoundPitch = 0,
1246
			SoundVolume = 0,
1247
			UseBoomerangMath = true,
1248
			Boomerang = 0,
1249
			SizeBoomerang = 15
1250
		})
1251
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.31, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(60), RAD(0), RAD(0)), 1 / Animation_Speed)
1252
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1253
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1254
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1255
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(50), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1256
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(60), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1257
	end
1258
	CreateSound(588694531, RightArm, 5, 1, false)
1259
	coroutine.resume(coroutine.create(function()
1260
		local DIST = 0
1261
		local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.CFrame * CF(0, -1, 0).p).lookVector, 4, Character)
1262
		if HITFLOOR then
1263
			repeat
1264
				Swait()
1265
				DIST = (RootPart.Position - HITPOS).Magnitude
1266
				ApplyAoE(HITPOS, 35, 0, 0, -15, false)
1267
			until DIST > 20
1268
			for i = 1, 5 do
1269
				WACKYEFFECT({
1270
					EffectType = "Wave",
1271
					Size = VT(0, 5, 0),
1272
					Size2 = VT(i * 5, 5, i * 5),
1273
					Transparency = 0.6,
1274
					Transparency2 = 1,
1275
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-5, 5))),
1276
					MoveToPos = nil,
1277
					RotationX = 0.1,
1278
					RotationY = 1,
1279
					RotationZ = -0.1,
1280
					Material = "Neon",
1281
					Color = BASECOLOR,
1282
					SoundID = 765590102,
1283
					SoundPitch = MRANDOM(5, 15) / 10,
1284
					SoundVolume = 5,
1285
					UseBoomerangMath = false,
1286
					Boomerang = 0,
1287
					SizeBoomerang = 0
1288
				})
1289
			end
1290
			
1291
			ApplyAoE(HITPOS, 15, 25, 35, 125, false)
1292
			Debree({
1293
				Delay = 4,
1294
				Variant = "Random",
1295
				Location = HITPOS,
1296
				Color = HITFLOOR.Color,
1297
				Size = 2,
1298
				Distance = 15,
1299
				Material = HITFLOOR.Material,
1300
				Scatter = 1,
1301
				Amount = MRANDOM(7, 12),
1302
				DebreeCount = 8
1303
			})
1304
			Debree({
1305
				Delay = 4,
1306
				Variant = "Both",
1307
				Location = HITPOS,
1308
				Color = HITFLOOR.Color,
1309
				Size = 3,
1310
				Distance = 15,
1311
				Material = HITFLOOR.Material,
1312
				Scatter = 35,
1313
				Amount = MRANDOM(35, 45),
1314
				DebreeCount = 7
1315
			})
1316
		end
1317
	end))
1318
	for i = 0, 0.5, 0.1 / Animation_Speed do
1319
		Swait()
1320
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.31, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(60), RAD(0), RAD(0)), 1 / Animation_Speed)
1321
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1322
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1323
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1324
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1325
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(60), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1326
	end
1327
	ATTACK = false
1328
	Rooted = false
1329
end
1330
function Chronostasis()
1331
	if Cam:FindFirstChild("ColorCorrection") == nil then
1332
		if TIMESPOT == nil then
1333
			local E = 0
1334
			repeat
1335
				wait()
1336
				E = E + 1
1337
			until KEYHOLD == false
1338
			TIMESPOT = RootPart.CFrame
1339
			TIMEVELOCITY = RootPart.Velocity
1340
			TIMESTAMP = IT("Model", Effects)
1341
			TIMESTAMP.Name = "STAMP"
1342
			for _, c in pairs(Character:GetChildren()) do
1343
				if c.ClassName == "Part" and (c.Name == "HumanoidRootPart" or c.Name == "Torso" or c.Name == "Right Arm" or c.Name == "Left Arm" or c.Name == "Right Leg" or c.Name == "Left Leg" or c.Name == "Head") then
1344
					do
1345
						local FADER = CreatePart(3, TIMESTAMP, "Neon", 0, 1, BRICKC("Pearl"), c.Name, c.Size, true)
1346
						FADER.CFrame = c.CFrame
1347
						FADER.Color = BASECOLOR
1348
						if FADER.Name == "Head" then
1349
							FADER.Size = VT(1, 1, 1)
1350
						elseif FADER.Name == "Torso" then
1351
							CreateSound(588738949, FADER, 5, 1, false)
1352
						elseif FADER.Name == "HumanoidRootPart" then
1353
							TIMESTAMP.PrimaryPart = FADER
1354
						end
1355
						if c ~= RootPart then
1356
							coroutine.resume(coroutine.create(function()
1357
								for i = 1, 15 do
1358
									Swait()
1359
									FADER.Transparency = FADER.Transparency - 0.013333333333333334
1360
								end
1361
							end))
1362
						end
1363
					end
1364
				end
1365
			end
1366
			if E > 8 then
1367
				local CFRAME = CF(Mouse.Hit.p + VT(0, 3.15, 0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
1368
				TIMESTAMP:SetPrimaryPartCFrame(CFRAME)
1369
				TIMESPOT = CFRAME
1370
			end
1371
		else
1372
			coroutine.resume(coroutine.create(function()
1373
				local FX = IT("ColorCorrectionEffect", Cam)
1374
				FX.Brightness = 1
1375
				FX.Saturation = -1
1376
				for i = 1, 4 do
1377
					Swait()
1378
					FX.Brightness = FX.Brightness - 0.25
1379
				end
1380
				for i = 1, 45 do
1381
					Swait()
1382
					FX.Saturation = FX.Saturation + 0.022222222222222223
1383
				end
1384
				FX:Remove()
1385
			end))
1386
			WACKYEFFECT({
1387
				EffectType = "Sphere",
1388
				Size = VT(4, 6, 4) / 1.1,
1389
				Size2 = VT(7, 7, 7) / 1.1,
1390
				Transparency = 0,
1391
				Transparency2 = 1,
1392
				CFrame = CF(RootPart.Position),
1393
				MoveToPos = nil,
1394
				RotationX = 0,
1395
				RotationY = 0,
1396
				RotationZ = 0,
1397
				Material = "Neon",
1398
				Color = C3(0, 0, 0),
1399
				SoundID = nil,
1400
				SoundPitch = nil,
1401
				SoundVolume = nil,
1402
				UseBoomerangMath = false,
1403
				Boomerang = 0,
1404
				SizeBoomerang = 0
1405
			})
1406
			WACKYEFFECT({
1407
				EffectType = "Sphere",
1408
				Size = VT(4, 6, 4),
1409
				Size2 = VT(7, 7, 7),
1410
				Transparency = 0.8,
1411
				Transparency2 = 1,
1412
				CFrame = CF(RootPart.Position),
1413
				MoveToPos = nil,
1414
				RotationX = 0,
1415
				RotationY = 0,
1416
				RotationZ = 0,
1417
				Material = "Neon",
1418
				Color = BASECOLOR,
1419
				SoundID = 782199941,
1420
				SoundPitch = 1,
1421
				SoundVolume = 4,
1422
				UseBoomerangMath = false,
1423
				Boomerang = 0,
1424
				SizeBoomerang = 0
1425
			})
1426
			CreateSound(782202168, Torso, 5, 1, false)
1427
			RootPart.CFrame = TIMESPOT
1428
			TIMESPOT = nil
1429
			TIMESTAMP:Remove()
1430
			TIMESTAMP = nil
1431
			Swait()
1432
			RootPart.Velocity = TIMEVELOCITY
1433
		end
1434
	end
1435
end
1436
function FastForward()
1437
	ATTACK = true
1438
	Rooted = true
1439
	for i = 0, 0.12, 0.1 / Animation_Speed do
1440
		Swait()
1441
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1442
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(-2.5 * COS(SINE / 12)), RAD(-25)), 1 / Animation_Speed)
1443
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1444
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1.8 / Animation_Speed)
1445
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1446
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1447
	end
1448
	for i = 0, 0.1, 0.1 / Animation_Speed do
1449
		Swait()
1450
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(5), RAD(25)), 1 / Animation_Speed)
1451
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(-2.5 * COS(SINE / 12)), RAD(-25)), 1 / Animation_Speed)
1452
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(170), RAD(-35), RAD(6)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1453
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1454
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(-15)), 1 / Animation_Speed)
1455
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.03, -0.97 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1456
	end
1457
	local BUILDUP = true
1458
	local NEWCLOCK = HALO:Clone()
1459
	NEWCLOCK:ClearAllChildren()
1460
	NEWCLOCK.Size = NEWCLOCK.Size * 1.5
1461
	NEWCLOCK.Anchored = true
1462
	NEWCLOCK.Parent = Effects
1463
	NEWCLOCK.Transparency = 1
1464
	local TICKTOCK = CreateSound(447682521, NEWCLOCK, 0, 0.7, true)
1465
	TICKTOCK.EmitterSize = 70
1466
	coroutine.resume(coroutine.create(function()
1467
		repeat
1468
			NEWCLOCK.CFrame = RightArm.CFrame * CF(0, -6, 0) * ANGLES(RAD(90), RAD(0), RAD(0))
1469
			Swait()
1470
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1471
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(-2.5 * COS(SINE / 12)), RAD(-25)), 1 / Animation_Speed)
1472
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(160), RAD(-45), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1473
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1474
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1475
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1476
		until BUILDUP == false
1477
	end))
1478
	local PRT = CreatePart(3, NEWCLOCK, "Neon", 0, 1, "Mid gray", "Visor", VT(0.05, 0.1, 0.4) * (NEWCLOCK.Size.Y * 10), true)
1479
	PRT.Color = HALO.Color
1480
	local PRT1 = CreatePart(3, NEWCLOCK, "Neon", 0, 1, "Mid gray", "Visor", VT(0.05, 0.1, 0.26666666666666666) * (NEWCLOCK.Size.Y * 10), true)
1481
	PRT1.Color = HALO.Color
1482
	local PRT2 = CreatePart(3, NEWCLOCK, "Neon", 0, 0, "Mid gray", "Visor", VT(0.15,0.1,0.15) * (NEWCLOCK.Size.Y * 10), false)
1483
PRT2.Color = HALO.Color
1484
MakeForm(PRT2,"Cyl")
1485
	local SPIN = true
1486
	local SPEED = 1
1487
	local LOOP = 0
1488
	coroutine.resume(coroutine.create(function()
1489
		repeat
1490
			Swait()
1491
			LOOP = LOOP - 1 * SPEED
1492
			PRT.CFrame = NEWCLOCK.CFrame * ANGLES(RAD(0), RAD(LOOP * 5), RAD(0)) * CF(0, 0, -(PRT.Size.Z / 3 + 0.2))
1493
			PRT1.CFrame = NEWCLOCK.CFrame * ANGLES(RAD(0), RAD(LOOP * 5 / 2), RAD(0)) * CF(0, 0, -(PRT1.Size.Z / 3 + 0.2))
1494
			PRT2.CFrame = NEWCLOCK.CFrame * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0, 0, 0)
1495
			if LOOP <= -149 and VALUE1 == false then
1496
				LOOP = 0
1497
			end
1498
		until SPIN == false
1499
		NEWCLOCK:Destroy()
1500
	end))
1501
	for i = 1, 25 do
1502
		Swait()
1503
		NEWCLOCK.Transparency = NEWCLOCK.Transparency - 0.04
1504
		PRT.Transparency = NEWCLOCK.Transparency
1505
		PRT1.Transparency = NEWCLOCK.Transparency
1506
		PRT2.Transparency = NEWCLOCK.Transparency
1507
		TICKTOCK.Volume = TICKTOCK.Volume + 0.4
1508
	end
1509
	wait(0.5)
1510
	for i = 1, 120 do
1511
		Swait()
1512
		SPEED = SPEED + 0.04285714285714286
1513
		TICKTOCK.Pitch = 0.7 * (0.5 + SPEED / 2)
1514
	end
1515
	BUILDUP = false
1516
	for i = 0, 0.5, 0.1 / Animation_Speed do
1517
		Swait()
1518
		NEWCLOCK.CFrame = RightArm.CFrame * CF(0, -6, 0) * ANGLES(RAD(90), RAD(0), RAD(0))
1519
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(5), RAD(25)), 1 / Animation_Speed)
1520
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(-2.5 * COS(SINE / 12)), RAD(-25)), 1 / Animation_Speed)
1521
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(170), RAD(-35), RAD(6)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1522
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1523
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(-15)), 1 / Animation_Speed)
1524
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1525
	end
1526
	CamShake(NEWCLOCK.Position, 125, 7, 35)
1527
	CreateSound(743521450, Effects, 10, 1, false)
1528
	local SCALE = 50
1529
	for i = 1, 3 do
1530
		WACKYEFFECT({
1531
			Time = 25,
1532
			EffectType = "Sphere",
1533
			Size = VT(0, 0, 0),
1534
			Size2 = VT(SCALE * i, SCALE * i, SCALE * i),
1535
			Transparency = 0.8,
1536
			Transparency2 = 1,
1537
			CFrame = CF(NEWCLOCK.Position),
1538
			MoveToPos = nil,
1539
			RotationX = 0,
1540
			RotationY = 0,
1541
			RotationZ = 0,
1542
			Material = "Neon",
1543
			Color = BASECOLOR,
1544
			SoundID = nil,
1545
			SoundPitch = nil,
1546
			SoundVolume = nil,
1547
			UseBoomerangMath = false,
1548
			Boomerang = 0,
1549
			SizeBoomerang = 0
1550
		})
1551
	end
1552
	ClockEffect(CF(NEWCLOCK.Position), 250, 75)
1553
	ClockEffect(CF(NEWCLOCK.Position), 150, 45)
1554
	local AFFECTEDPARTS = {}
1555
	for index, CHILD in pairs(workspace:GetDescendants()) do
1556
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1557
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1558
			if HUM then
1559
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1560
				
1561
			    if TORSO and 65 >= (TORSO.Position - NEWCLOCK.Position).Magnitude then
1562
					CHILD:BreakJoints()
1563
					local NIL = script.TotalNil:Clone()
1564
					NIL.Parent = CHILD
1565
					NIL.Disabled = false
1566
					for index, PART in pairs(CHILD:GetChildren()) do
1567
						if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
1568
							PART.Color = C3(PART.Color.r / 1.2, PART.Color.g / 1.2, PART.Color.b / 1.2)
1569
							table.insert(AFFECTEDPARTS, PART)
1570
						elseif PART:IsA("Accessory") then
1571
							PART:Remove()
1572
						end
1573
					end
1574
				end
1575
			end
1576
		end
1577
	end
1578
	
1579
	if #AFFECTEDPARTS > 0 then
1580
		coroutine.resume(coroutine.create(function()
1581
			wait(1)
1582
			local PARTICLES = {}
1583
			for E = 1, #AFFECTEDPARTS do
1584
				local PARTICLE = DUST:Clone()
1585
				PARTICLE.Parent = AFFECTEDPARTS[E]
1586
				PARTICLE.Color = ColorSequence.new(AFFECTEDPARTS[E].Color)
1587
				PARTICLE.Enabled = true
1588
				table.insert(PARTICLES, PARTICLE)
1589
			end
1590
			for i = 1, 120 do
1591
				Swait()
1592
				for E = 1, #AFFECTEDPARTS do
1593
					AFFECTEDPARTS[E].Transparency = AFFECTEDPARTS[E].Transparency + 0.008333333333333333
1594
					for index, CHILD in pairs(AFFECTEDPARTS[E]:GetChildren()) do
1595
						if CHILD:IsA("Texture") or CHILD:IsA("Decal") then
1596
							CHILD.Transparency = AFFECTEDPARTS[E].Transparency
1597
						end
1598
					end
1599
				end
1600
			end
1601
			for E = 1, #PARTICLES do
1602
				PARTICLES[E].Enabled = false
1603
			end
1604
			for E = 1, #AFFECTEDPARTS do
1605
				Debris:AddItem(AFFECTEDPARTS[E], 1.75)
1606
			end
1607
		end))
1608
	end
1609
	coroutine.resume(coroutine.create(function()
1610
		for i = 1, 25 do
1611
			Swait()
1612
			NEWCLOCK.Transparency = NEWCLOCK.Transparency + 0.04
1613
			PRT.Transparency = NEWCLOCK.Transparency
1614
			PRT1.Transparency = NEWCLOCK.Transparency
1615
			PRT2.Transparency = NEWCLOCK.Transparency
1616
			TICKTOCK.Volume = TICKTOCK.Volume - 0.4
1617
		end
1618
		SPIN = false
1619
	end))
1620
	for i = 0, 0.12, 0.1 / Animation_Speed do
1621
		Swait()
1622
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
1623
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(-2.5 * COS(SINE / 12)), RAD(-25)), 1 / Animation_Speed)
1624
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1625
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1.8 / Animation_Speed)
1626
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1627
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1628
	end
1629
	ATTACK = false
1630
	Rooted = false
1631
end
1632
function ChronosCannon()
1633
	ATTACK = true
1634
	Rooted = false
1635
	local CHROMES = {}
1636
	local AFFECTEDPEOPLE = {}
1637
	coroutine.resume(coroutine.create(function()
1638
		Humanoid.PlatformStand = true
1639
		local GYRO = IT("BodyGyro")
1640
		GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1641
		GYRO.Parent = RootPart
1642
		GYRO.D = 270
1643
		GYRO.P = 4000
1644
		GYRO.MaxTorque = VT(40000, 40000, 40000)
1645
		local POSITION = IT("BodyPosition", RootPart)
1646
		POSITION.Position = RootPart.Position + VT(0, 2, 0)
1647
		POSITION.D = 450
1648
		POSITION.P = 40000
1649
		POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
1650
		repeat
1651
			Swait()
1652
			GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1653
		until ATTACK == false
1654
		Humanoid.PlatformStand = false
1655
		GYRO:Remove()
1656
		POSITION:Remove()
1657
	end))
1658
	CLOCKSPEED = 2
1659
	for i = 0, 1, 0.1 / Animation_Speed do
1660
		Swait()
1661
		WACKYEFFECT({
1662
			Time = 15,
1663
			EffectType = "Wave",
1664
			Size = VT(1, 2, 1),
1665
			Size2 = VT(2, 4, 2),
1666
			Transparency = 0.8,
1667
			Transparency2 = 1,
1668
			CFrame = RightArm.CFrame,
1669
			MoveToPos = nil,
1670
			RotationX = 0,
1671
			RotationY = 5,
1672
			RotationZ = 0,
1673
			Material = "Neon",
1674
			Color = BASECOLOR,
1675
			SoundID = nil,
1676
			SoundPitch = 0,
1677
			SoundVolume = 0,
1678
			UseBoomerangMath = true,
1679
			Boomerang = 0,
1680
			SizeBoomerang = 15
1681
		})
1682
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(45)), 1 / Animation_Speed)
1683
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
1684
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1685
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1686
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1687
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1688
	end
1689
	CreateSound(743521450, RightArm, 6, 0.8, false)
1690
	CLOCKSPEED = 0
1691
	coroutine.resume(coroutine.create(function()
1692
		local CFRAME = RootPart.CFrame * CF(0, 0, -2)
1693
		local COLISSION = false
1694
		local POSN
1695
		local function AoE(POS, RANGE)
1696
			for index, CHILD in pairs(workspace:GetDescendants()) do
1697
				if CHILD.ClassName == "Model" and CHILD ~= Character then
1698
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1699
					if HUM then
1700
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1701
						if TORSO and RANGE >= (TORSO.Position - POS).Magnitude then
1702
							local PASS = true
1703
							for E = 1, #AFFECTEDPEOPLE do
1704
								if AFFECTEDPEOPLE[E][1] == CHILD then
1705
									PASS = false
1706
								end
1707
							end
1708
							if PASS == true then
1709
								local CHROME = PERMACHROME:Clone()
1710
								CHROME.Parent = CHILD
1711
								CHROME.Disabled = false
1712
								local UNDO = IT("BoolValue", CHROME)
1713
								UNDO.Name = "Undo"
1714
								table.insert(CHROMES, CHROME)
1715
								local TIMESTOPPED = false
1716
								if CHILD:FindFirstChild("TimeStopMark") then
1717
									TIMESTOPPED = true
1718
								end
1719
								table.insert(AFFECTEDPEOPLE, {CHILD, TIMESTOPPED})
1720
								local MARK = IT("Folder", CHILD)
1721
								MARK.Name = "TimeStopMark"
1722
								for index, PART in pairs(CHILD:GetChildren()) do
1723
									if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" and TIMESTOPPED == false then
1724
										PART.Anchored = true
1725
										local POSITION = IT("BodyPosition", PART)
1726
										POSITION.Position = PART.Position
1727
										POSITION.D = 450
1728
										POSITION.P = 4000
1729
										POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
1730
										POSITION.Name = "TimeStopPosition"
1731
									end
1732
								end
1733
							end
1734
						end
1735
					end
1736
				end
1737
			end
1738
		end
1739
		for i = 1, 25 do
1740
			for E = 1, 4 do
1741
				CFRAME = CFRAME * CF(0, 0, -7)
1742
				local HIT, POS, NORMAL = Raycast(CFRAME.p, CFRAME.lookVector, 23, Character)
1743
				if HIT then
1744
					POSN = POS
1745
					WACKYEFFECT({
1746
						Time = 35,
1747
						EffectType = "Ring",
1748
						Size = VT(12, 12, 0) / 3,
1749
						Size2 = VT(15, 15, 0) / 3,
1750
						Transparency = 0.5,
1751
						Transparency2 = 1,
1752
						CFrame = CFRAME * ANGLES(RAD(0), RAD(0), RAD(0)),
1753
						MoveToPos = nil,
1754
						RotationX = 0,
1755
						RotationY = 0,
1756
						RotationZ = 0,
1757
						Material = "Neon",
1758
						Color = C3(1, 1, 1),
1759
						SoundID = 743521450,
1760
						SoundPitch = 1,
1761
						SoundVolume = 7,
1762
						UseBoomerangMath = false,
1763
						Boomerang = 0,
1764
						SizeBoomerang = 0
1765
					})
1766
					COLISSION = true
1767
					break
1768
				else
1769
					WACKYEFFECT({
1770
						Time = 50,
1771
						EffectType = "Sphere",
1772
						Size = VT(6, 6, 6) + VT(E, E, E),
1773
						Size2 = VT(5, 5, 5) + VT(E, E, E),
1774
						Transparency = 0,
1775
						Transparency2 = 1,
1776
						CFrame = CF(CFRAME.p),
1777
						MoveToPos = nil,
1778
						RotationX = 0,
1779
						RotationY = 0,
1780
						RotationZ = 0,
1781
						Material = "Neon",
1782
						Color = BASECOLOR,
1783
						SoundID = nil,
1784
						SoundPitch = 1,
1785
						SoundVolume = 6,
1786
						UseBoomerangMath = false,
1787
						Boomerang = 0,
1788
						SizeBoomerang = 0
1789
					})
1790
					for i = 1, 5 do
1791
						WACKYEFFECT({
1792
							Time = 25,
1793
							EffectType = "Wave",
1794
							Size = VT(0, 5, 0),
1795
							Size2 = (VT(i * 5, 8, i * 5) + VT(E * 8, 0, E * 8)) / 2,
1796
							Transparency = 0.8,
1797
							Transparency2 = 1,
1798
							CFrame = CFRAME * ANGLES(RAD(90), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-5, 5))),
1799
							MoveToPos = nil,
1800
							RotationX = MRANDOM(-1, 1),
1801
							RotationY = MRANDOM(-1, 1),
1802
							RotationZ = MRANDOM(-1, 1),
1803
							Material = "Neon",
1804
							Color = BASECOLOR,
1805
							SoundID = nil,
1806
							SoundPitch = MRANDOM(5, 15) / 10,
1807
							SoundVolume = 5,
1808
							UseBoomerangMath = true,
1809
							Boomerang = 0,
1810
							SizeBoomerang = 25
1811
						})
1812
					end
1813
				end
1814
			end
1815
			if COLISSION == true then
1816
				break
1817
			else
1818
				AoE(CFRAME.p, 5)
1819
				local LOCATION = CFRAME * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(0, 360))) * CF(0, MRANDOM(5, 15), 0)
1820
				ClockEffect(LOCATION, 22, 32)
1821
				
1822
			end
1823
			Swait()
1824
		end
1825
		if COLISSION == true then
1826
			local HITFLOOR, HITPOS = Raycast(POSN + VT(0, 1, 0), CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
1827
			if HITFLOOR and HITFLOOR.Anchored == true then
1828
				Debree({
1829
					Delay = 5,
1830
					Variant = "Ring",
1831
					Location = HITPOS,
1832
					Color = HITFLOOR.Color,
1833
					Size = 5,
1834
					Distance = 25,
1835
					Material = HITFLOOR.Material,
1836
					Scatter = 1,
1837
					Amount = MRANDOM(35, 45),
1838
					DebreeCount = 8
1839
				})
1840
			end
1841
			WACKYEFFECT({
1842
				Time = 100,
1843
				EffectType = "Crystal",
1844
				Size = VT(50, 50, 50) / 190,
1845
				Size2 = VT(45, 45, 45) / 190,
1846
				Transparency = 0.15,
1847
				Transparency2 = 1,
1848
				CFrame = CF(POSN),
1849
				MoveToPos = nil,
1850
				RotationX = 0,
1851
				RotationY = 4,
1852
				RotationZ = 4,
1853
				Material = "Neon",
1854
				Color = BASECOLOR,
1855
				SoundID = 588736245,
1856
				SoundPitch = 1,
1857
				SoundVolume = 6,
1858
				UseBoomerangMath = false,
1859
				Boomerang = 0,
1860
				SizeBoomerang = 0
1861
			})
1862
			WACKYEFFECT({
1863
				Time = 100,
1864
				EffectType = "Sphere",
1865
				Size = VT(50, 50, 50),
1866
				Size2 = VT(45, 45, 45),
1867
				Transparency = 0.5,
1868
				Transparency2 = 1,
1869
				CFrame = CF(POSN),
1870
				MoveToPos = nil,
1871
				RotationX = 0,
1872
				RotationY = 0,
1873
				RotationZ = 0,
1874
				Material = "Neon",
1875
				Color = BASECOLOR,
1876
				SoundID = 588736245,
1877
				SoundPitch = 1,
1878
				SoundVolume = 6,
1879
				UseBoomerangMath = false,
1880
				Boomerang = 0,
1881
				SizeBoomerang = 0
1882
			})
1883
			ClockEffect(CF(POSN), 70, 25)
1884
			CamShake(POSN, 140, 8, 25)
1885
			for i = 1, 70 do
1886
				Swait()
1887
				AoE(POSN, 25)
1888
			end
1889
		end
1890
		if #AFFECTEDPEOPLE > 0 then
1891
			wait(1)
1892
			CreateSound(908895929, Effects, 2, 1.5, false)
1893
			for E = 1, #CHROMES do
1894
				CHROMES[E].Undo.Value = true
1895
			end
1896
			for E = 1, #AFFECTEDPEOPLE do
1897
				for index, PART in pairs(AFFECTEDPEOPLE[E][1]:GetChildren()) do
1898
					if PART:IsA("BasePart") then
1899
						if AFFECTEDPEOPLE[E][2] == false then
1900
							PART.Anchored = false
1901
						end
1902
						if PART.Name == "Torso" or PART.Name == "UpperTorso" then
1903
							CreateSound(588694531, PART, 2, MRANDOM(8, 12) / 10, false)
1904
						end
1905
						if PART:FindFirstChild("TimeStopPosition") and AFFECTEDPEOPLE[E][2] == false then
1906
							PART:FindFirstChild("TimeStopPosition"):Remove()
1907
						end
1908
					elseif PART:IsA("Humanoid") then
1909
						ApplyDamage(PART, 600000)
1910
					elseif PART.Name == "TimeStopMark" and AFFECTEDPEOPLE[E][2] == false then
1911
						PART:Remove()
1912
					end
1913
				end
1914
			end
1915
		end
1916
	end))
1917
	for i = 0, 1, 0.1 / Animation_Speed do
1918
		Swait()
1919
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(-45)), 1 / Animation_Speed)
1920
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
1921
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1922
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1923
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1924
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1925
	end
1926
	CLOCKSPEED = 1
1927
	ATTACK = false
1928
	Rooted = false
1929
end
1930
function Temporalysis()
1931
	if ANIM == "Walk" or ANIM == "Idle" then
1932
		ATTACK = true
1933
		Rooted = true
1934
		UNANCHOR = false
1935
		coroutine.resume(coroutine.create(function()
1936
			for i = 1, 15 do
1937
				Swait()
1938
				RootPart.CFrame = RootPart.CFrame * CF(0, (15 - i) / 15, 0)
1939
			end
1940
		end))
1941
		do
1942
			local NEWCLOCK = HALO:Clone()
1943
			NEWCLOCK:ClearAllChildren()
1944
			NEWCLOCK.Size = NEWCLOCK.Size * 22
1945
			NEWCLOCK.Anchored = true
1946
			NEWCLOCK.Parent = Effects
1947
			NEWCLOCK.Transparency = 1
1948
			NEWCLOCK.CFrame = RootPart.CFrame * CF(0, -4.25, 0)
1949
			local TICKTOCK = CreateSound(447682521, NEWCLOCK, 0, 0.7, true)
1950
			TICKTOCK.EmitterSize = 70
1951
			local PRT = CreatePart(3, NEWCLOCK, "Neon", 0, 1, "Mid gray", "Visor", VT(0.05, 0.1, 0.4) * (NEWCLOCK.Size.Y * 10), true)
1952
			PRT.Color = HALO.Color
1953
			local PRT1 = CreatePart(3, NEWCLOCK, "Neon", 0, 1, "Mid gray", "Visor", VT(0.05, 0.1, 0.26666666666666666) * (NEWCLOCK.Size.Y * 10), true)
1954
			PRT1.Color = HALO.Color
1955
local PRT2 = CreatePart(3, NEWCLOCK, "Neon", 0, 1, "Mid gray", "Visor", VT(0.15,0.1,0.15) * (NEWCLOCK.Size.Y * 10), false)
1956
PRT2.Color = HALO.Color
1957
MakeForm(PRT2,"Cyl")
1958
			local SPIN = true
1959
			local SPEED = 1
1960
			local LOOP = 0
1961
			coroutine.resume(coroutine.create(function()
1962
				repeat
1963
					Swait()
1964
					LOOP = LOOP - 1 * SPEED
1965
					PRT.CFrame = NEWCLOCK.CFrame * ANGLES(RAD(0), RAD(LOOP * 5), RAD(0)) * CF(0, 0, -(PRT.Size.Z / 3 + 2.5))
1966
					PRT1.CFrame = NEWCLOCK.CFrame * ANGLES(RAD(0), RAD(LOOP * 5 / 2), RAD(0)) * CF(0, 0, -(PRT1.Size.Z / 3 + 2.5))
1967
					PRT2.CFrame = NEWCLOCK.CFrame * ANGLES(RAD(0), RAD(0), RAD(0)) * CF(0, 0, 0)
1968
					if LOOP <= -149 and VALUE1 == false then
1969
						LOOP = 0
1970
					end
1971
				until SPIN == false
1972
				for i = 1, 45 do
1973
					Swait()
1974
					NEWCLOCK.Transparency = NEWCLOCK.Transparency + 0.022222222222222223
1975
					PRT.Transparency = NEWCLOCK.Transparency
1976
					PRT1.Transparency = NEWCLOCK.Transparency
1977
					PRT2.Transparency = NEWCLOCK.Transparency
1978
				end
1979
				NEWCLOCK:Destroy()
1980
			end))
1981
			for i = 1, 45 do
1982
				Swait()
1983
				NEWCLOCK.Transparency = NEWCLOCK.Transparency - 0.022222222222222223
1984
				PRT.Transparency = NEWCLOCK.Transparency
1985
				PRT1.Transparency = NEWCLOCK.Transparency
1986
				PRT2.Transparency = NEWCLOCK.Transparency
1987
				TICKTOCK.Volume = TICKTOCK.Volume + 0.2222222222222222
1988
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0.1 * COS(SINE * 1.2), 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1989
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
1990
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.65, 0.3 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1991
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.65, 0.15 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1992
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 2 / Animation_Speed)
1993
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 2 / Animation_Speed)
1994
			end
1995
			coroutine.resume(coroutine.create(function()
1996
				ClockEffect(NEWCLOCK.CFrame, NEWCLOCK.Size.X, 65)
1997
				for i = 1, 75 do
1998
					Swait()
1999
					SPEED = SPEED - 0.006666666666666667
2000
					TICKTOCK.Pitch = 0.7 * SPEED
2001
				end
2002
				coroutine.resume(coroutine.create(function()
2003
					local FX = IT("ColorCorrectionEffect", Cam)
2004
					FX.Brightness = 1
2005
					FX.Saturation = -1
2006
					for i = 1, 15 do
2007
						Swait()
2008
						FX.Brightness = FX.Brightness - 0.06666666666666667
2009
					end
2010
					for i = 1, 125 do
2011
						Swait()
2012
						FX.Saturation = FX.Saturation + 0.008
2013
					end
2014
					FX:Remove()
2015
				end))
2016
				coroutine.resume(coroutine.create(function()
2017
					for i = 1, 75 do
2018
						Swait()
2019
						SPEED = SPEED - 0.006666666666666667
2020
						TICKTOCK.Pitch = 0.7 * SPEED
2021
					end
2022
				end))
2023
				local AFFECTEDPEOPLE = {}
2024
				local CHROMES = {}
2025
				for index, CHILD in pairs(workspace:GetDescendants()) do
2026
					if CHILD.ClassName == "Model" and CHILD ~= Character then
2027
						local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2028
						if HUM then
2029
							local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2030
							if TORSO and (TORSO.Position - NEWCLOCK.Position).Magnitude <= NEWCLOCK.Size.X / 2 then
2031
								local PASS = true
2032
								if CHILD:FindFirstChild("TimeStopMark") then
2033
									PASS = false
2034
								end
2035
								if PASS == true then
2036
									local CHROME = PERMACHROME:Clone()
2037
									CHROME.Parent = CHILD
2038
									CHROME.Disabled = false
2039
									local UNDO = IT("BoolValue", CHROME)
2040
									UNDO.Name = "Undo"
2041
									table.insert(CHROMES, CHROME)
2042
									table.insert(AFFECTEDPEOPLE, CHILD)
2043
									local MARK = IT("Folder", CHILD)
2044
									MARK.Name = "TimeStopMark"
2045
									for index, PART in pairs(CHILD:GetChildren()) do
2046
										if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
2047
											PART.Anchored = true
2048
											local POSITION = IT("BodyPosition", PART)
2049
											POSITION.Position = PART.Position
2050
											POSITION.D = 450
2051
											POSITION.P = 4000
2052
											POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
2053
											POSITION.Name = "TimeStopPosition"
2054
										end
2055
									end
2056
								end
2057
							end
2058
						end
2059
					end
2060
				end
2061
				if #AFFECTEDPEOPLE > 0 then
2062
					wait(7)
2063
				end
2064
				SPIN = false
2065
				if #AFFECTEDPEOPLE > 0 then
2066
					CreateSound(743521450, NEWCLOCK, 2, 3, false)
2067
					for E = 1, #CHROMES do
2068
						CHROMES[E].Undo.Value = true
2069
					end
2070
					for E = 1, #AFFECTEDPEOPLE do
2071
						for index, PART in pairs(AFFECTEDPEOPLE[E]:GetChildren()) do
2072
							if PART:IsA("BasePart") then
2073
								PART.Anchored = false
2074
								if PART:FindFirstChild("TimeStopPosition") then
2075
									PART:FindFirstChild("TimeStopPosition"):Remove()
2076
								end
2077
							elseif PART.Name == "TimeStopMark" then
2078
								PART:Remove()
2079
							end
2080
						end
2081
					end
2082
				end
2083
			end))
2084
			for i = 0, 0.7, 0.1 / Animation_Speed do
2085
				Swait()
2086
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(0)), 2 / Animation_Speed)
2087
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
2088
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(160), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2089
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(160), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2090
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 2 / Animation_Speed)
2091
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 2 / Animation_Speed)
2092
			end
2093
			UNANCHOR = true
2094
			ATTACK = false
2095
			Rooted = false
2096
		end
2097
	end
2098
end
2099
function TemporalTrap()
2100
	ATTACK = true
2101
	Rooted = true
2102
	for i = 0, 1, 0.1 / Animation_Speed do
2103
		Swait()
2104
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
2105
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(-2.5 * COS(SINE / 12)), RAD(-25)), 1 / Animation_Speed)
2106
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(160), RAD(-45), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2107
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2108
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
2109
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2110
	end
2111
	coroutine.resume(coroutine.create(function()
2112
		local CFRAME = CF(Mouse.Hit.p) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
2113
		local CFRAME2 = CF(Mouse.Hit.p) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
2114
		local CLOCK = CLOCKPART:Clone()
2115
		CLOCK.Parent = Effects
2116
		CLOCK.Transparency = 1
2117
		CLOCK.Anchored = true
2118
		local PRT = CreatePart(3, CLOCK, "Metal", 0, 1, "Really black", "Visor", VT(0.02, 0.05, 0.4) * (CLOCK.Size.Y * 10), true)
2119
		local PRT1 = CreatePart(3, CLOCK, "Metal", 0, 1, "Really black", "Visor", VT(0.02, 0.05, 0.26666666666666666) * (CLOCK.Size.Y * 10), true)
2120
		PRT.CFrame = CLOCK.CFrame * CF(0, 0, PRT.Size.Z / 2)
2121
		PRT1.CFrame = CLOCK.CFrame * CF(0, 0, PRT1.Size.Z / 2)
2122
		WACKYEFFECT({
2123
			Time = 25,
2124
			EffectType = "Sphere",
2125
			Size = VT(0, 0, 0),
2126
			Size2 = VT(150, 0.2, 150),
2127
			Transparency = 0.5,
2128
			Transparency2 = 1,
2129
			CFrame = CFRAME2,
2130
			MoveToPos = nil,
2131
			RotationX = 0,
2132
			RotationY = 0,
2133
			RotationZ = 0,
2134
			Material = "Neon",
2135
			Color = BASECOLOR,
2136
			SoundID = 743521450,
2137
			SoundPitch = 1.5,
2138
			SoundVolume = 6,
2139
			UseBoomerangMath = false,
2140
			Boomerang = 0,
2141
			SizeBoomerang = 0
2142
		})
2143
		for index, PART in pairs(CLOCK:GetDescendants()) do
2144
			if PART:IsA("Decal") then
2145
				PART.Transparency = 1
2146
			end
2147
		end
2148
		for i = 1, 61 do
2149
			CLOCK.CFrame = CFRAME * ANGLES(RAD(90), RAD(0), RAD(0))
2150
			CLOCK.Transparency = CLOCK.Transparency - 0.016666666666666666
2151
			for index, PART in pairs(CLOCK:GetDescendants()) do
2152
				if PART:IsA("Decal") then
2153
					PART.Transparency = PART.Transparency - 0.016666666666666666
2154
				elseif PART:IsA("BasePart") then
2155
					PART.Transparency = CLOCK.Transparency
2156
				end
2157
			end
2158
			PRT.CFrame = CLOCK.CFrame * CF(0, 0, PRT.Size.Z / 2)
2159
			PRT1.CFrame = CLOCK.CFrame * CF(0, 0, PRT1.Size.Z / 2)
2160
			CFRAME = CFRAME * CF(0, (60 - i) / 55, 0)
2161
			Swait()
2162
		end
2163
		wait(0.1)
2164
		ClockEffect(CLOCK.CFrame, 45, 35)
2165
		local TICKTOCK = CreateSound(447682521, CLOCK, 0, 0.7, true)
2166
		TICKTOCK.EmitterSize = 45
2167
		coroutine.resume(coroutine.create(function()
2168
			for i = 1, 35 do
2169
				Swait()
2170
				TICKTOCK.Volume = TICKTOCK.Volume + 0.17142857142857143
2171
			end
2172
		end))
2173
		local LOOP = 1
2174
		local SPINNING = true
2175
		local ACTIVE = false
2176
		local LOOPED = 0
2177
		local AFFECTEDENTITIES = {}
2178
		repeat
2179
			Swait()
2180
			LOOP = LOOP - 1
2181
			PRT.CFrame = CLOCK.CFrame * ANGLES(RAD(0), RAD(-LOOP * 5), RAD(0)) * CF(0, 0, PRT.Size.Z / 2)
2182
			PRT1.CFrame = CLOCK.CFrame * ANGLES(RAD(0), RAD(-LOOP * 5 / 2), RAD(0)) * CF(0, 0, PRT1.Size.Z / 2)
2183
			if LOOP <= -145 then
2184
				LOOP = 0
2185
				if ACTIVE == false then
2186
					ClockEffect(CLOCK.CFrame, 45, 35)
2187
					WACKYEFFECT({
2188
						Time = 25,
2189
						EffectType = "Sphere",
2190
						Size = VT(0, 0, 0),
2191
						Size2 = VT(150, 0.2, 150),
2192
						Transparency = 0.5,
2193
						Transparency2 = 1,
2194
						CFrame = CFRAME2,
2195
						MoveToPos = nil,
2196
						RotationX = 0,
2197
						RotationY = 0,
2198
						RotationZ = 0,
2199
						Material = "Neon",
2200
						Color = BASECOLOR,
2201
						SoundID = 743521450,
2202
						SoundPitch = 1.5,
2203
						SoundVolume = 6,
2204
						UseBoomerangMath = false,
2205
						Boomerang = 0,
2206
						SizeBoomerang = 0
2207
					})
2208
					for index, CHILD in pairs(workspace:GetDescendants()) do
2209
						if CHILD.ClassName == "Model" and CHILD ~= Character then
2210
							local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2211
							if HUM then
2212
								local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2213
								if TORSO and 0 < HUM.Health and (TORSO.Position - CFRAME2.p).Magnitude <= 75 then
2214
									ApplyDamage(HUM, 15)
2215
									table.insert(AFFECTEDENTITIES, CHILD)
2216
									ACTIVE = true
2217
								end
2218
							end
2219
						end
2220
					end
2221
					if ACTIVE == true then
2222
						ClockEffect(CLOCK.CFrame, 80, 65)
2223
						
2224
						local CLOCKER = WACKYEFFECT({
2225
							Time = 500,
2226
							EffectType = "Crystal",
2227
							Size = VT(150, 150, 150) / 190,
2228
							Size2 = VT(145, 145, 145) / 190,
2229
							Transparency = 0.5,
2230
							Transparency2 = 1,
2231
							CFrame = CFRAME2,
2232
							MoveToPos = nil,
2233
							RotationX = 0,
2234
							RotationY = 4,
2235
							RotationZ = 4,
2236
							Material = "Neon",
2237
							Color = BASECOLOR,
2238
							SoundID = 588697034,
2239
							SoundPitch = 0.8,
2240
							SoundVolume = 6,
2241
							UseBoomerangMath = false,
2242
							Boomerang = 0,
2243
							SizeBoomerang = 0
2244
						})
2245
						WACKYEFFECT({
2246
							Time = 500,
2247
							EffectType = "Sphere",
2248
							Size = VT(150, 150, 150),
2249
							Size2 = VT(145, 145, 145),
2250
							Transparency = 0.85,
2251
							Transparency2 = 1,
2252
							CFrame = CFRAME2,
2253
							MoveToPos = nil,
2254
							RotationX = 0,
2255
							RotationY = 0,
2256
							RotationZ = 0,
2257
							Material = "Neon",
2258
							Color = BASECOLOR,
2259
							SoundID = 908895929,
2260
							SoundPitch = 1,
2261
							SoundVolume = 10,
2262
							UseBoomerangMath = true,
2263
							Boomerang = 3,
2264
							SizeBoomerang = 3
2265
						})
2266
						coroutine.resume(coroutine.create(function()
2267
							for i = 1, 495 do
2268
								Swait()
2269
								for E = 1, #AFFECTEDENTITIES do
2270
									local CHILD = AFFECTEDENTITIES[E]
2271
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2272
									local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2273
									if HUM and TORSO and HUM.Health > 0 and (TORSO.Position - CFRAME2.p).Magnitude > 75 then
2274
										TORSO.CFrame = CF(CFRAME2.p) * ANGLES(RAD(0), RAD(TORSO.Orientation.Y), RAD(0))
2275
										ApplyDamage(HUM, 65)
2276
										CreateSound(782199941, TORSO, 6, 1.5, false)
2277
									end
2278
								end
2279
							end
2280
							SPINNING = false
2281
						end))
2282
					end
2283
				end
2284
				LOOPED = LOOPED + 1
2285
				if LOOPED >= 3 and ACTIVE == false then
2286
					SPINNING = false
2287
				end
2288
			end
2289
		until SPINNING == false
2290
		WACKYEFFECT({
2291
			Time = 35,
2292
			EffectType = "Sphere",
2293
			Size = VT(150, 0.2, 150),
2294
			Size2 = VT(0, 0, 0),
2295
			Transparency = 1,
2296
			Transparency2 = 0,
2297
			CFrame = CFRAME2,
2298
			MoveToPos = nil,
2299
			RotationX = 0,
2300
			RotationY = 0,
2301
			RotationZ = 0,
2302
			Material = "Neon",
2303
			Color = BASECOLOR,
2304
			SoundID = 743521450,
2305
			SoundPitch = 1.5,
2306
			SoundVolume = 6,
2307
			UseBoomerangMath = false,
2308
			Boomerang = 0,
2309
			SizeBoomerang = 0
2310
		})
2311
		for i = 1, 61 do
2312
			CLOCK.CFrame = CFRAME * ANGLES(RAD(-90), RAD(0), RAD(0))
2313
			CLOCK.Transparency = CLOCK.Transparency + 0.016666666666666666
2314
			for index, PART in pairs(CLOCK:GetDescendants()) do
2315
				if PART:IsA("Decal") then
2316
					PART.Transparency = PART.Transparency + 0.016666666666666666
2317
				elseif PART:IsA("BasePart") then
2318
					PART.Transparency = CLOCK.Transparency
2319
				end
2320
			end
2321
			LOOP = LOOP - 1
2322
			PRT.CFrame = CLOCK.CFrame * ANGLES(RAD(0), RAD(-LOOP * 5), RAD(0)) * CF(0, 0, PRT.Size.Z / 2)
2323
			PRT1.CFrame = CLOCK.CFrame * ANGLES(RAD(0), RAD(-LOOP * 5 / 2), RAD(0)) * CF(0, 0, PRT1.Size.Z / 2)
2324
			CFRAME = CFRAME * CF(0, -(60 - i) / 35, 0)
2325
			TICKTOCK.Volume = TICKTOCK.Volume - 0.1
2326
			Swait()
2327
		end
2328
		CLOCK:Remove()
2329
	end))
2330
	for i = 0, 1, 0.1 / Animation_Speed do
2331
		Swait()
2332
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(5), RAD(25)), 1 / Animation_Speed)
2333
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(-2.5 * COS(SINE / 12)), RAD(-25)), 1 / Animation_Speed)
2334
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(170), RAD(-35), RAD(6)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2335
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2336
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(-15)), 1 / Animation_Speed)
2337
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.03, -0.97 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
2338
	end
2339
	ATTACK = false
2340
	Rooted = false
2341
end
2342
function GrandfatherTime()
2343
	GFT = true
2344
	ATTACK = true
2345
	Rooted = true
2346
	UNANCHOR = false
2347
	local BUILDUP = true
2348
	coroutine.resume(coroutine.create(function()
2349
		local FX = IT("ColorCorrectionEffect", Cam)
2350
		FX.Brightness = 1
2351
		FX.Saturation = -1
2352
		for i = 1, 4 do
2353
			Swait()
2354
			FX.Brightness = FX.Brightness - 0.25
2355
		end
2356
		for i = 1, 45 do
2357
			Swait()
2358
			FX.Saturation = FX.Saturation + 0.022222222222222223
2359
		end
2360
		FX:Remove()
2361
	end))
2362
	WACKYEFFECT({
2363
		EffectType = "Sphere",
2364
		Size = VT(4, 6, 4) / 1.1,
2365
		Size2 = VT(7, 7, 7) / 1.1,
2366
		Transparency = 0,
2367
		Transparency2 = 1,
2368
		CFrame = CF(RootPart.Position),
2369
		MoveToPos = nil,
2370
		RotationX = 0,
2371
		RotationY = 0,
2372
		RotationZ = 0,
2373
		Material = "Neon",
2374
		Color = C3(0, 0, 0),
2375
		SoundID = nil,
2376
		SoundPitch = nil,
2377
		SoundVolume = nil,
2378
		UseBoomerangMath = false,
2379
		Boomerang = 0,
2380
		SizeBoomerang = 0
2381
	})
2382
	WACKYEFFECT({
2383
		EffectType = "Sphere",
2384
		Size = VT(4, 6, 4),
2385
		Size2 = VT(7, 7, 7),
2386
		Transparency = 0.8,
2387
		Transparency2 = 1,
2388
		CFrame = CF(RootPart.Position),
2389
		MoveToPos = nil,
2390
		RotationX = 0,
2391
		RotationY = 0,
2392
		RotationZ = 0,
2393
		Material = "Neon",
2394
		Color = BASECOLOR,
2395
		SoundID = 782199941,
2396
		SoundPitch = 1,
2397
		SoundVolume = 4,
2398
		UseBoomerangMath = false,
2399
		Boomerang = 0,
2400
		SizeBoomerang = 0
2401
	})
2402
	RootPart.CFrame = RootPart.CFrame * CF(0, 200, 0)
2403
	local E = 0
2404
	local RANGE = 250
2405
	coroutine.resume(coroutine.create(function()
2406
		repeat
2407
			Swait()
2408
			E = E + 1
2409
		until KEYHOLD == false or E > 25
2410
		if E > 25 then
2411
			RANGE = 200
2412
		end
2413
	end))
2414
	coroutine.resume(coroutine.create(function()
2415
		coroutine.resume(coroutine.create(function()
2416
			wait(1.5)
2417
			if E > 25 then
2418
				Vocal(819312817)
2419
			end
2420
		end))
2421
		repeat
2422
			Swait()
2423
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(5), RAD(25)), 1 / Animation_Speed)
2424
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(-2.5 * COS(SINE / 12)), RAD(-25)), 1 / Animation_Speed)
2425
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(170), RAD(-35), RAD(6)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2426
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2427
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(-15)), 1 / Animation_Speed)
2428
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
2429
		until BUILDUP == false
2430
	end))
2431
	local CLOCK = GFC:Clone()
2432
	local NEWCLOCK = CLOCK.Face
2433
	local SWAY = CLOCK.Sway
2434
	local PRT = CreatePart(3, CLOCK, "Metal", 0, 0, "Really black", "Visor", VT(0.05, 0.1, 0.6) * (NEWCLOCK.Size.Y * 10), true)
2435
	local PRT1 = CreatePart(3, CLOCK, "Metal", 0, 0, "Really black", "Visor", VT(0.05, 0.1, 0.39999999999999997) * (NEWCLOCK.Size.Y * 10), true)
2436
	PRT.CFrame = NEWCLOCK.CFrame * CF(0, 0, -(PRT.Size.Z / 2))
2437
	PRT1.CFrame = NEWCLOCK.CFrame * CF(0, 0, -(PRT1.Size.Z / 2))
2438
	local SPINNING = true
2439
	local BODIES = {}
2440
	CLOCK.Parent = Character
2441
	for index, PART in pairs(CLOCK:GetDescendants()) do
2442
		if PART:IsA("BasePart") then
2443
			PART.Transparency = PART.Transparency + 1
2444
			PART.CanCollide = true
2445
			PART.Locked = true
2446
		elseif PART:IsA("Decal") then
2447
			PART.Transparency = 1
2448
		end
2449
	end
2450
	CLOCK:SetPrimaryPartCFrame(RootPart.CFrame * CF(0, -45.327777777777776, 0) * ANGLES(RAD(0), RAD(0), RAD(180)))
2451
	ClockEffect(CF(CLOCK.PrimaryPart.Position), 550, 150)
2452
	local SPIN = 18.1
2453
	local DELAY = SPIN / 180
2454
	CreateSound(1208650519, Effects, 8, 1, false)
2455
	for i = 1, 181 do
2456
		Swait()
2457
		CLOCK:SetPrimaryPartCFrame(CLOCK.PrimaryPart.CFrame * ANGLES(RAD(0), RAD(0), RAD(SPIN - DELAY * i)))
2458
		for index, PART in pairs(CLOCK:GetDescendants()) do
2459
			if PART:IsA("BasePart") then
2460
				PART.Transparency = PART.Transparency - 0.005555555555555556
2461
				PART.CanCollide = true
2462
				PART.Locked = true
2463
			elseif PART:IsA("Decal") then
2464
				PART.Transparency = PART.Transparency - 0.005555555555555556
2465
			end
2466
		end
2467
	end
2468
	for i = 1, 20 do
2469
		Swait()
2470
		CLOCK:SetPrimaryPartCFrame(Clerp(CLOCK.PrimaryPart.CFrame, RootPart.CFrame * CF(0, -45.327777777777776, 0), 0.22))
2471
	end
2472
	BUILDUP = false
2473
	for i = 0, 1, 0.1 / Animation_Speed do
2474
		Swait()
2475
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(55), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
2476
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(35)), 1 / Animation_Speed)
2477
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.51, 0.6) * ANGLES(RAD(90), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2478
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2479
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2480
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2481
	end
2482
	for i = 0, 0.2, 0.1 / Animation_Speed do
2483
		Swait()
2484
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(65)), 1 / Animation_Speed)
2485
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-65)), 1 / Animation_Speed)
2486
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.51, -0.5) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2487
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2488
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2489
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2490
	end
2491
	for i = 1, 8 do
2492
		WACKYEFFECT({
2493
			Time = 5 + i * 5,
2494
			EffectType = "Wave",
2495
			Size = VT(3, 0, 3),
2496
			Size2 = VT(45, 1, 45),
2497
			Transparency = 0.6,
2498
			Transparency2 = 1,
2499
			CFrame = CF(CLOCK.PrimaryPart.CFrame * CF(0, 40.795, 0).p) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-15, 15)), RAD(MRANDOM(0, 360)), RAD(0)),
2500
			MoveToPos = nil,
2501
			RotationX = 0.2,
2502
			RotationY = 0,
2503
			RotationZ = 0,
2504
			Material = "Neon",
2505
			Color = BASECOLOR,
2506
			SoundID = nil,
2507
			SoundPitch = MRANDOM(9, 11) / 10,
2508
			SoundVolume = MRANDOM(9, 11) / 2,
2509
			UseBoomerangMath = true,
2510
			Boomerang = 0,
2511
			SizeBoomerang = 22
2512
		})
2513
	end
2514
	CreateSound(198360470, RightArm, 10, 1.5, false)
2515
	coroutine.resume(coroutine.create(function()
2516
		local AFFECTEDPEOPLE = {}
2517
		local CHROMES = {}
2518
		local HITFLOOR, HITPOS = Raycast(CLOCK.PrimaryPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 1500, Character)
2519
		if HITFLOOR then
2520
			do
2521
				for i = 1, 7 do
2522
					Swait()
2523
					CLOCK:SetPrimaryPartCFrame(CLOCK.PrimaryPart.CFrame * CF(0, -19, 0))
2524
				end
2525
				CreateSound(233856097, Effects, 6, 0.8, false)
2526
				CreateSound(231917744, Effects, 6, 1, false)
2527
				CreateSound(765590102, Effects, 7, 0.6, false)
2528
				CamShake(HITPOS, 8.888888888888888E30, 8, 25)
2529
				for i = 1, 12 do
2530
					WACKYEFFECT({
2531
						Time = 20 + i * 15,
2532
						EffectType = "Wave",
2533
						Size = VT(15, 0, 15),
2534
						Size2 = VT(120, 15, 120),
2535
						Transparency = 0.6,
2536
						Transparency2 = 1,
2537
						CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-15, 15)), RAD(MRANDOM(0, 360)), RAD(0)),
2538
						MoveToPos = nil,
2539
						RotationX = 0.2,
2540
						RotationY = 0,
2541
						RotationZ = 0,
2542
						Material = "Neon",
2543
						Color = BASECOLOR,
2544
						SoundID = nil,
2545
						SoundPitch = MRANDOM(9, 11) / 10,
2546
						SoundVolume = MRANDOM(9, 11) / 2,
2547
						UseBoomerangMath = true,
2548
						Boomerang = 0,
2549
						SizeBoomerang = 22
2550
					})
2551
				end
2552
				local TICKTOCK = CreateSound(447682521, NEWCLOCK, 10, 0.7, true)
2553
				TICKTOCK.EmitterSize = 150
2554
				local TICKTOCK2 = CreateSound(850256806, NEWCLOCK, 10, 1, true)
2555
				TICKTOCK2.EmitterSize = 150
2556
				local LOOP = 0
2557
				local LOOP2 = 0
2558
				local SPEED = 1
2559
				local PRIMARYPARTCFRAME = SWAY.PrimaryPart.CFrame
2560
				Debree({
2561
					Delay = 12,
2562
					Variant = "Random",
2563
					Location = HITPOS,
2564
					Color = HITFLOOR.Color,
2565
					Size = 7,
2566
					Distance = 75,
2567
					Material = HITFLOOR.Material,
2568
					Scatter = 1,
2569
					Amount = MRANDOM(15, 18),
2570
					DebreeCount = 8
2571
				})
2572
				Debree({
2573
					Delay = 12,
2574
					Variant = "Random",
2575
					Location = HITPOS,
2576
					Color = HITFLOOR.Color,
2577
					Size = 6,
2578
					Distance = 125,
2579
					Material = HITFLOOR.Material,
2580
					Scatter = 1,
2581
					Amount = MRANDOM(35, 45),
2582
					DebreeCount = 8
2583
				})
2584
				wait(0.5)
2585
				coroutine.resume(coroutine.create(function()
2586
					
2587
					ClockEffect(CF(NEWCLOCK.Position), 350, 150)
2588
					CreateSound(743521450, Effects, 10, 1, false)
2589
					coroutine.resume(coroutine.create(function()
2590
						repeat
2591
							wait(0.2)
2592
							WACKYEFFECT({
2593
								Time = 55,
2594
								EffectType = "Sphere",
2595
								Size = VT(0, 0.2, 0),
2596
								Size2 = VT(45, 0, 45),
2597
								Transparency = 0.6,
2598
								Transparency2 = 1,
2599
								CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
2600
								MoveToPos = nil,
2601
								RotationX = 0,
2602
								RotationY = 0,
2603
								RotationZ = 0,
2604
								Material = "Neon",
2605
								Color = BASECOLOR,
2606
								SoundID = 743521450,
2607
								SoundPitch = 1.5,
2608
								SoundVolume = 6,
2609
								UseBoomerangMath = false,
2610
								Boomerang = 0,
2611
								SizeBoomerang = 0
2612
							})
2613
						until SPINNING == false
2614
					end))
2615
					repeat
2616
						Swait()
2617
						LOOP = LOOP - 1 * SPEED
2618
						LOOP2 = LOOP2 + 4
2619
						PRT.CFrame = NEWCLOCK.CFrame * ANGLES(RAD(0), RAD(LOOP * 5), RAD(0)) * CF(0, 0, -(PRT.Size.Z / 2))
2620
						PRT1.CFrame = NEWCLOCK.CFrame * ANGLES(RAD(0), RAD(LOOP * 5 / 2), RAD(0)) * CF(0, 0, -(PRT1.Size.Z / 2))
2621
						SWAY:SetPrimaryPartCFrame(PRIMARYPARTCFRAME * ANGLES(RAD(0), RAD(2 * COS(LOOP / 12)), RAD(0 * COS(LOOP / 12))))
2622
						if LOOP <= -149 then
2623
							LOOP = 0
2624
						end
2625
						local CFRAME = CF(HITPOS) * ANGLES(RAD(0), RAD(LOOP2), RAD(0)) * CF(0, 0, RANGE)
2626
						WACKYEFFECT({
2627
							Time = 35,
2628
							EffectType = "Box",
2629
							Size = VT(22, 5, 0.1),
2630
							Size2 = VT(22, 65, 0.1),
2631
							Transparency = 0.6,
2632
							Transparency2 = 1,
2633
							CFrame = CFRAME,
2634
							MoveToPos = CFRAME * CF(0, 150, 0).p,
2635
							RotationX = 0,
2636
							RotationY = 0,
2637
							RotationZ = 0,
2638
							Material = "Neon",
2639
							Color = BASECOLOR,
2640
							SoundID = nil,
2641
							SoundPitch = 1,
2642
							SoundVolume = 6,
2643
							UseBoomerangMath = false,
2644
							Boomerang = 0,
2645
							SizeBoomerang = 0
2646
						})
2647
					until SPINNING == false
2648
					TICKTOCK:Remove()
2649
					TICKTOCK2:Remove()
2650
				end))
2651
				wait(1.5)
2652
				if E <= 25 then
2653
					for i = 1, 75 do
2654
						Swait()
2655
						SPEED = SPEED - 0.013333333333333334
2656
						TICKTOCK.Pitch = 0.7 * SPEED
2657
						TICKTOCK2.Pitch = 1 * SPEED
2658
					end
2659
					CreateSound(782353117, Effects, 6, 1.8, false)
2660
					do
2661
						local LOOPSOUND = CreateSound(228343433, NEWCLOCK, 0, 0.5, true)
2662
						LOOPSOUND.EmitterSize = 180
2663
						coroutine.resume(coroutine.create(function()
2664
							for i = 1, 35 do
2665
								Swait()
2666
								LOOPSOUND.Volume = LOOPSOUND.Volume + 0.17142857142857143
2667
							end
2668
						end))
2669
						for i = 1, 700 do
2670
							Swait()
2671
							for index, CHILD in pairs(workspace:GetDescendants()) do
2672
								if CHILD.ClassName == "Model" and CHILD ~= Character then
2673
									local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2674
									if HUM then
2675
										local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2676
										 if TORSO and 75 >= (TORSO.Position - NEWCLOCK.Position).Magnitude then
2677
											HUM.Health = HUM.Health - 0.09285714285714286
2678
											local PASS = true
2679
											if CHILD:FindFirstChild("TimeStopMark") then
2680
												PASS = false
2681
											end
2682
											if PASS == true then
2683
												local CHROME = PERMACHROME:Clone()
2684
												CHROME.Parent = CHILD
2685
												CHROME.Disabled = false
2686
												local UNDO = IT("BoolValue", CHROME)
2687
												UNDO.Name = "Undo"
2688
												table.insert(CHROMES, CHROME)
2689
												table.insert(AFFECTEDPEOPLE, CHILD)
2690
												local MARK = IT("Folder", CHILD)
2691
												MARK.Name = "TimeStopMark"
2692
												for index, PART in pairs(CHILD:GetChildren()) do
2693
													if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
2694
														PART.Anchored = true
2695
														local POSITION = IT("BodyPosition", PART)
2696
														POSITION.Position = PART.Position
2697
														POSITION.D = 450
2698
														POSITION.P = 4000
2699
														POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
2700
														POSITION.Name = "TimeStopPosition"
2701
													end
2702
												end
2703
											end
2704
										end
2705
									end
2706
								end
2707
							end
2708
						end
2709
						coroutine.resume(coroutine.create(function()
2710
							for i = 1, 35 do
2711
								Swait()
2712
								LOOPSOUND.Volume = LOOPSOUND.Volume - 0.17142857142857143
2713
							end
2714
							LOOPSOUND:Remove()
2715
						end))
2716
					end
2717
				else
2718
					for i = 1, 120 do
2719
						Swait()
2720
						SPEED = SPEED + 0.06666666666666667
2721
						TICKTOCK.Pitch = 0.7 * (0.5 + SPEED / 2)
2722
						TICKTOCK2.Pitch = 1 * SPEED
2723
					end
2724
					CreateSound(782353117, Effects, 6, 1.8, false)
2725
					for i = 1, 550 do
2726
						Swait()
2727
						for index, CHILD in pairs(workspace:GetDescendants()) do
2728
							if CHILD.ClassName == "Model" and CHILD ~= Character then
2729
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2730
								if HUM then
2731
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2732
								if TORSO and HUM.Health > 0 and 75 >= (TORSO.Position - NEWCLOCK.Position).Magnitude then
2733
									
2734
										HUM.Health = 0
2735
										CHILD:BreakJoints()
2736
										do
2737
											local NIL = script.TotalNil:Clone()
2738
											NIL.Parent = CHILD
2739
											NIL.Disabled = false
2740
											local AFFECTEDPARTS = {}
2741
											for index, PART in pairs(CHILD:GetChildren()) do
2742
												if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
2743
													PART.Color = C3(PART.Color.r / 1.4, PART.Color.g / 1.4, PART.Color.b / 1.4)
2744
													table.insert(AFFECTEDPARTS, PART)
2745
												elseif PART:IsA("Accessory") then
2746
													PART:Remove()
2747
												end
2748
											end
2749
											coroutine.resume(coroutine.create(function()
2750
												wait(0.3)
2751
												local PARTICLES = {}
2752
												for E = 1, #AFFECTEDPARTS do
2753
													local PARTICLE = DUST:Clone()
2754
													PARTICLE.Parent = AFFECTEDPARTS[E]
2755
													PARTICLE.Color = ColorSequence.new(AFFECTEDPARTS[E].Color)
2756
													PARTICLE.Enabled = true
2757
													table.insert(PARTICLES, PARTICLE)
2758
												end
2759
												for i = 1, 60 do
2760
													Swait()
2761
													for E = 1, #AFFECTEDPARTS do
2762
														AFFECTEDPARTS[E].Transparency = AFFECTEDPARTS[E].Transparency + 0.016666666666666666
2763
														for index, CHILD in pairs(AFFECTEDPARTS[E]:GetChildren()) do
2764
															if CHILD:IsA("Texture") or CHILD:IsA("Decal") then
2765
																CHILD.Transparency = AFFECTEDPARTS[E].Transparency
2766
															end
2767
														end
2768
													end
2769
												end
2770
												for E = 1, #PARTICLES do
2771
													PARTICLES[E].Enabled = false
2772
												end
2773
												for E = 1, #AFFECTEDPARTS do
2774
													Debris:AddItem(AFFECTEDPARTS[E], 1.75)
2775
												end
2776
											end))
2777
										end
2778
									end
2779
								end
2780
							end
2781
						end
2782
					end
2783
				end
2784
				SPINNING = false
2785
			end
2786
		else
2787
			wait(5)
2788
		end
2789
		wait(0.5)
2790
		if #AFFECTEDPEOPLE > 0 then
2791
			CreateSound(743521450, Effects, 2, 3, false)
2792
			for E = 1, #CHROMES do
2793
				if CHROMES[E]:FindFirstChild("Undo") then
2794
					CHROMES[E].Undo.Value = true
2795
				end
2796
			end
2797
			for E = 1, #AFFECTEDPEOPLE do
2798
				for index, PART in pairs(AFFECTEDPEOPLE[E]:GetChildren()) do
2799
					if PART:IsA("BasePart") then
2800
						PART.Anchored = false
2801
						if PART:FindFirstChild("TimeStopPosition") then
2802
							PART:FindFirstChild("TimeStopPosition"):Remove()
2803
						end
2804
					elseif PART.Name == "TimeStopMark" then
2805
						PART:Remove()
2806
					end
2807
				end
2808
			end
2809
		end
2810
		CreateSound(588694531, Effects, 5, 0.6, false)
2811
		local CFRAME = CLOCK.PrimaryPart.CFrame
2812
		local SPINNER = 0
2813
		GFT = false
2814
		for i = 1, 120 do
2815
			Swait()
2816
			if SPINNER < 35 then
2817
				SPINNER = SPINNER + 1.5
2818
			end
2819
			CLOCK:SetPrimaryPartCFrame(CFRAME * CF(0, i / 10, 0) * ANGLES(RAD(SPINNER * COS(i / 6)), RAD(0), RAD(-(i * i) / 8)))
2820
			for index, PART in pairs(CLOCK:GetDescendants()) do
2821
				if PART:IsA("BasePart") then
2822
					PART.Transparency = PART.Transparency + 0.008333333333333333
2823
					PART.CanCollide = false
2824
					PART.Locked = true
2825
				elseif PART:IsA("Decal") then
2826
					PART.Transparency = PART.Transparency + 0.008333333333333333
2827
				end
2828
			end
2829
		end
2830
		CamShake(CLOCK.PrimaryPart.Position, 100, 8, 25)
2831
		WACKYEFFECT({
2832
			Time = 12,
2833
			EffectType = "Sphere",
2834
			Size = VT(0, 0, 0),
2835
			Size2 = VT(150, 150, 150),
2836
			Transparency = 0.15,
2837
			Transparency2 = 1,
2838
			CFrame = CF(CLOCK.PrimaryPart.Position),
2839
			MoveToPos = nil,
2840
			RotationX = 0,
2841
			RotationY = 0,
2842
			RotationZ = 0,
2843
			Material = "Neon",
2844
			Color = BASECOLOR,
2845
			SoundID = 782199941,
2846
			SoundPitch = 1,
2847
			SoundVolume = 6,
2848
			UseBoomerangMath = false,
2849
			Boomerang = 0,
2850
			SizeBoomerang = 0
2851
		})
2852
		CLOCK:Remove()
2853
	end))
2854
	for i = 0, 0.3, 0.1 / Animation_Speed do
2855
		Swait()
2856
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(65)), 0.5 / Animation_Speed)
2857
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-65)), 1 / Animation_Speed)
2858
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.51, -0.5) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2859
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2860
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2861
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2862
	end
2863
	UNANCHOR = true
2864
	ATTACK = false
2865
	Rooted = false
2866
end
2867
function Taunt()
2868
	ATTACK = true
2869
	Rooted = true
2870
	for i = 0, 0.1, 0.1 / Animation_Speed do
2871
		Swait()
2872
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
2873
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(-2.5 * COS(SINE / 12)), RAD(-25)), 1 / Animation_Speed)
2874
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), 0.7) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(-95)) * ANGLES(RAD(-5), RAD(-90 + 2.5 * COS(SINE / 12)), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2875
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), 0.6) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2876
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
2877
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2878
	end
2879
	Vocal(819373088)
2880
	for i = 1, 65 do
2881
		Swait()
2882
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
2883
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5), RAD(5), RAD(20 + 12 * SIN(i / 3))), 1 / Animation_Speed)
2884
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.35, 0.05) * ANGLES(RAD(6), RAD(0), RAD(140)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2885
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.35, 0.05) * ANGLES(RAD(6), RAD(0), RAD(-140)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2886
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
2887
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2888
	end
2889
	for i = 0, 1, 0.1 / Animation_Speed do
2890
		Swait()
2891
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
2892
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, -0.10000000000000009) * ANGLES(RAD(15), RAD(5), RAD(-20)), 1 / Animation_Speed)
2893
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.45, 0.05) * ANGLES(RAD(6), RAD(0), RAD(140)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2894
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.45, 0.05) * ANGLES(RAD(6), RAD(0), RAD(-140)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2895
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
2896
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2897
	end
2898
	ATTACK = false
2899
	Rooted = false
2900
end
2901
function KeyDown(Key)
2902
	KEYHOLD = true
2903
	if Key == "m" and ATTACK == false then
2904
		if Speed == 16 then
2905
			SPEDUP = true
2906
			Speed = 48
2907
			CHANGE = 6 / Animation_Speed
2908
			ClockEffect(CF(RootPart.Position), 12, 12)
2909
			CreateSound(743521450, RootPart, 6, 1.5, false)
2910
			CLOCKSPEED = 3
2911
		elseif Speed == 48 then
2912
			SPEDUP = false
2913
			Speed = 16
2914
			CHANGE = 2 / Animation_Speed
2915
			ClockEffect(CF(RootPart.Position), 12, 12)
2916
			CreateSound(743521450, RootPart, 6, 1.5, false)
2917
			CLOCKSPEED = 1
2918
		end
2919
	end
2920
	if SPEDUP == false then
2921
		if Key == "z" and ATTACK == false then
2922
			TemporalTemper()
2923
		end
2924
		if Key == "x" and ATTACK == false then
2925
			Chronostasis()
2926
		end
2927
		if Key == "c" and ATTACK == false then
2928
			FastForward()
2929
		end
2930
		if Key == "v" and ATTACK == false then
2931
			ChronosCannon()
2932
		end
2933
		if Key == "b" and ATTACK == false then
2934
			Temporalysis()
2935
		end
2936
		if Key == "g" and ATTACK == false then
2937
			TemporalTrap()
2938
		end
2939
		if Key == "q" and ATTACK == false and GFT == false then
2940
			GrandfatherTime()
2941
		end
2942
		if Key == "t" and ATTACK == false then
2943
			Taunt()
2944
		end
2945
	end
2946
end
2947
function KeyUp(Key)
2948
	KEYHOLD = false
2949
end
2950
Mouse.KeyDown:connect(function(NEWKEY)
2951
	KeyDown(NEWKEY)
2952
end)
2953
Mouse.KeyUp:connect(function(NEWKEY)
2954
	KeyUp(NEWKEY)
2955
end)
2956
function unanchor()
2957
	for _, c in pairs(Character:GetChildren()) do
2958
		if c:IsA("BasePart") and c ~= RootPart then
2959
			c.Anchored = false
2960
		end
2961
	end
2962
	for _, c in pairs(HALO:GetChildren()) do
2963
		if c:IsA("BasePart") and c ~= RootPart then
2964
			c.Anchored = false
2965
		end
2966
	end
2967
	if UNANCHOR == true then
2968
		RootPart.Anchored = false
2969
	else
2970
		RootPart.Anchored = true
2971
	end
2972
end
2973
Humanoid.Changed:connect(function(Jump)
2974
	if Jump == "Jump" and Disable_Jump == true then
2975
		Humanoid.Jump = false
2976
	end
2977
end)
2978
local TIMESTAMP = 0
2979
while true do
2980
	Swait()
2981
	script.Parent = WEAPONGUI
2982
	ANIMATE.Parent = nil
2983
	for _, v in next, Humanoid:GetPlayingAnimationTracks() do
2984
		v:Stop()
2985
	end
2986
	if Humanoid.Parent ~= Character then
2987
		Humanoid = IT("Humanoid", Character)
2988
	end
2989
	SINE = SINE + CHANGE
2990
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2991
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2992
	HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
2993
	local HITFLOOR = CastProperRay(RootPart.Position, RootPart.Position - VT(0, 1, 0), 4, {
2994
		Torso,
2995
		RightArm,
2996
		LeftArm,
2997
		LeftLeg,
2998
		RightLeg,
2999
		Head,
3000
		HALO,
3001
		Effects
3002
	})
3003
	local WALKSPEEDVALUE = 6
3004
	
3005
	
3006
	
3007
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
3008
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3009
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.5 / Animation_Speed)
3010
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2), 0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10 + (35 + 15 * (Humanoid.WalkSpeed / 16)) * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
3011
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2), -0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10 + (35 + 15 * (Humanoid.WalkSpeed / 16)) * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
3012
	elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
3013
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3014
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3015
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3016
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3017
	end
3018
	HaloWeld.C1 = Clerp(HaloWeld.C1, CF(0, 0, 0) * ANGLES(RAD(3 * COS(SINE / 12)), RAD(0), RAD(3 * SIN(SINE / 12))), 0.1)
3019
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
3020
		ANIM = "Jump"
3021
		if ATTACK == false then
3022
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
3023
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
3024
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3025
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3026
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3027
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3028
		end
3029
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
3030
		ANIM = "Fall"
3031
		if ATTACK == false then
3032
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
3033
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
3034
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3035
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3036
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3037
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3038
		end
3039
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
3040
		ANIM = "Idle"
3041
		if ATTACK == false then
3042
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
3043
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(-2.5 * COS(SINE / 12)), RAD(-25)), 1 / Animation_Speed)
3044
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -1) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(-95)) * ANGLES(RAD(-5), RAD(-90 + 2.5 * COS(SINE / 12)), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3045
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12),-0.9) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / 12)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / 12)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3046
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
3047
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
3048
		end
3049
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
3050
		ANIM = "Walk"
3051
		if ATTACK == false then
3052
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.08) * ANGLES(RAD(8), RAD(0), RAD(25 - 7 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
3053
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(-25 + 7 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
3054
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.1 * SIN(SINE / (WALKSPEEDVALUE / 2)), -1) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-95)) * ANGLES(RAD(-5), RAD(-90 + 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3055
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.1 * SIN(SINE / (WALKSPEEDVALUE / 2)), -0.9) * ANGLES(RAD(1.5 - 1.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(90 - 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3056
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.96, 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3057
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3058
		end
3059
	end
3060
	unanchor()
3061
	Humanoid.MaxHealth = 1000
3062
	Humanoid.Health = 1000
3063
	if Rooted == false then
3064
		Disable_Jump = false
3065
		Humanoid.WalkSpeed = Speed
3066
	elseif Rooted == true then
3067
		Disable_Jump = true
3068
		Humanoid.WalkSpeed = 0
3069
	end
3070
	BMUSIC.SoundId = "rbxassetid://" .. SONGID
3071
	BMUSIC.Looped = true
3072
	BMUSIC.Pitch = PITCH
3073
	BMUSIC.Volume = VOLUME
3074
	BMUSIC.Playing = true
3075
	BMUSIC.EmitterSize = 35
3076
	if BMUSIC.Parent ~= RootPart then
3077
		print("Fixing music")
3078
		BMUSIC = IT("Sound", RootPart)
3079
		BMUSIC.SoundId = "rbxassetid://" .. SONGID
3080
		BMUSIC.Looped = true
3081
		BMUSIC.Pitch = PITCH
3082
		BMUSIC.Volume = VOLUME
3083
		BMUSIC.Playing = true
3084
		BMUSIC.EmitterSize = 25
3085
		BMUSIC.TimePosition = TIMESTAMP
3086
		FIXING = true
3087
	elseif FIXING == false then
3088
		TIMESTAMP = BMUSIC.TimePosition
3089
	else
3090
		FIXING = false
3091
	end
3092
	Humanoid.Name = "CHRONOS_SENTINEL"
3093
	if SPEDUP == true then
3094
		for index, CHILD in pairs(workspace:GetDescendants()) do
3095
			if CHILD.ClassName == "Model" and CHILD ~= Character then
3096
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3097
				if HUM then
3098
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3099
					if TORSO and HUM.health > 0 and (TORSO.Position - Torso.Position).Magnitude <= 8 then
3100
						HUM.Health = 0
3101
						CHILD:BreakJoints()
3102
						do
3103
							local NIL = script.TotalNil:Clone()
3104
							NIL.Parent = CHILD
3105
							NIL.Disabled = false
3106
							local AFFECTEDPARTS = {}
3107
							for index, PART in pairs(CHILD:GetChildren()) do
3108
								if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
3109
									PART.Color = C3(PART.Color.r / 1.1, PART.Color.g / 1.1, PART.Color.b / 1.1)
3110
									table.insert(AFFECTEDPARTS, PART)
3111
								elseif PART:IsA("Accessory") then
3112
									PART:Remove()
3113
								end
3114
							end
3115
							coroutine.resume(coroutine.create(function()
3116
								wait(0.3)
3117
								local PARTICLES = {}
3118
								for E = 1, #AFFECTEDPARTS do
3119
									local PARTICLE = DUST:Clone()
3120
									PARTICLE.Parent = AFFECTEDPARTS[E]
3121
									PARTICLE.Color = ColorSequence.new(AFFECTEDPARTS[E].Color)
3122
									PARTICLE.Enabled = true
3123
									table.insert(PARTICLES, PARTICLE)
3124
								end
3125
								for i = 1, 180 do
3126
									Swait()
3127
									for E = 1, #AFFECTEDPARTS do
3128
										AFFECTEDPARTS[E].Transparency = AFFECTEDPARTS[E].Transparency + 0.005555555555555556
3129
										for index, CHILD in pairs(AFFECTEDPARTS[E]:GetChildren()) do
3130
											if CHILD:IsA("Texture") or CHILD:IsA("Decal") then
3131
												CHILD.Transparency = AFFECTEDPARTS[E].Transparency
3132
											end
3133
										end
3134
									end
3135
								end
3136
								for E = 1, #PARTICLES do
3137
									PARTICLES[E].Enabled = false
3138
								end
3139
								for E = 1, #AFFECTEDPARTS do
3140
									Debris:AddItem(AFFECTEDPARTS[E], 1.75)
3141
								end
3142
							end))
3143
						end
3144
					end
3145
				end
3146
			end
3147
		end
3148
	end
3149
	refit()
3150
	HALO.Transparency = 0
3151
end