Advertisement
PR0J3CT11

Untitled

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