Advertisement
whyumean

Untitled

Feb 16th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 185.39 KB | None | 0 0
  1. wait(1)
  2. local Player = game:GetService("Players").jane12421
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do
  5. script.Parent = Player.Character
  6. local CAS = {Actions={}}
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9. Event.Parent = Player.Character
  10. local fakeEvent = function()
  11. local t = {_fakeEvent=true}
  12. t.Connect = function(self,f)self.Function=f end
  13. t.connect = t.Connect
  14. return t
  15. end
  16. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  17. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  18. function CAS:BindAction(name,fun,touch,...)
  19. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  20. end
  21. function CAS:UnbindAction(name)
  22. CAS.Actions[name] = nil
  23. end
  24. local function te(self,ev,...)
  25. local t = m[ev]
  26. if t and t._fakeEvent and t.Function then
  27. t.Function(...)
  28. end
  29. end
  30. m.TrigEvent = te
  31. UIS.TrigEvent = te
  32. Event.OnServerEvent:Connect(function(plr,io)
  33. if plr~=Player then return end
  34. if io.isMouse then
  35. m.Target = io.Target
  36. m.Hit = io.Hit
  37. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  38. if io.UserInputState == Enum.UserInputState.Begin then
  39. m:TrigEvent("Button1Down")
  40. else
  41. m:TrigEvent("Button1Up")
  42. end
  43. else
  44. for n,t in pairs(CAS.Actions) do
  45. for _,k in pairs(t.Keys) do
  46. if k==io.KeyCode then
  47. t.Function(t.Name,io.UserInputState,io)
  48. end
  49. end
  50. end
  51. if io.UserInputState == Enum.UserInputState.Begin then
  52. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  53. UIS:TrigEvent("InputBegan",io,false)
  54. else
  55. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent("InputEnded",io,false)
  57. end
  58. end
  59. end)
  60. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  61. end
  62.  
  63.  
  64. wait(0.5)
  65.  
  66. warn([[Sythezizer Loaded.
  67.  
  68. Created by NoobyGames12
  69. ]])
  70.  
  71. --[[the characters because i can lol
  72. Deone, the person behind sad or edgy modes such as Nuclear_Eggsermine, Abnormality, Sad, error, and other depressed modes. Incredibly edgy, and actually alone.
  73. Ceeque, the person behind happy or joyful modes such as Radiocutter, Eggsermine, Relaxed, and other positive modes. Incredibly energetic, and has friends.
  74. Neteutrality, the person behind neutral and bored modes which is basically just Synthezizer and Time-Keeper. Incredibly bored, and likes to listen to boring music and tv shows without friends.
  75. --]]
  76.  
  77. --[[
  78. SYNTH SWITCHER-B, or as i like to call synb lol
  79. version 4
  80. THE END UDPATE
  81. added the final mode, Impraefectium.
  82. --]]
  83.  
  84. -------------
  85. warn([[--------------------------------------------
  86. BUILD 1.0.0
  87. --------------------------------------------]])
  88. ---- Sources and functions might be taken from others
  89. plr = game:GetService("Players").jane12421
  90. char = plr.Character
  91. hum = char.Humanoid
  92. local cam = game.Workspace.CurrentCamera
  93. Camera = cam
  94. local CamInterrupt = false
  95. local TwoD = false
  96. local TargetInfo = {nil, nil}
  97. cam.CameraType = "Custom"
  98. t = char.Torso
  99. h = char.Head
  100. ra = char["Right Arm"]
  101. la = char["Left Arm"]
  102. rl = char["Right Leg"]
  103. ll = char["Left Leg"]
  104. tors = char.Torso
  105. lleg = char["Left Leg"]
  106. root = char.HumanoidRootPart
  107. hed = char.Head
  108. rleg = char["Right Leg"]
  109. rarm = char["Right Arm"]
  110. larm = char["Left Arm"]
  111. radian = math.rad
  112. random = math.random
  113. Vec3 = Vector3.new
  114. Inst = Instance.new
  115. cFrame = CFrame.new
  116. Euler = CFrame.fromEulerAnglesXYZ
  117. vt = Vector3.new
  118. bc = BrickColor.new
  119. br = BrickColor.random
  120. it = Instance.new
  121. cf = CFrame.new
  122.  
  123. local Booleans = {
  124. CamFollow = true,
  125. GyroUse = true
  126. }
  127.  
  128. function lerp(object, newCFrame, alpha)
  129. return object:lerp(newCFrame, alpha)
  130. end
  131.  
  132. local Directer = Inst("BodyGyro", root)
  133. Directer.MaxTorque = Vec3(0, 0, 0)
  134. Directer.P = 600000
  135. local CPart = Inst("Part")
  136. CPart.Anchored = true
  137. CPart.CanCollide = false
  138. CPart.Locked = true
  139. CPart.Transparency = 1
  140.  
  141. --the modes
  142. local mode = 1
  143. local suicideavailable = false
  144. --[[local secondary = false
  145. local eggsermine = false
  146. local nuclear = false
  147. local relax = false
  148. local sad = false
  149. local cutter = false
  150. local depress = false]]
  151. --other stuff, and a memory of what once was.
  152.  
  153.  
  154.  
  155. --[[
  156. secondary = false
  157. eggsermine = false
  158. nuclear = false
  159. relax = false
  160.  
  161. end of mode stuff]]
  162.  
  163. local kan = Instance.new("Sound",char)
  164. kan.Volume = 1.25
  165. kan.TimePosition = 0
  166. kan.PlaybackSpeed = 1.01
  167. kan.Pitch = 1.01
  168. kan.SoundId = "rbxassetid://923445685"
  169. kan.Name = "synthezitation"
  170. kan.Looped = true
  171. kan:Play()
  172.  
  173. local currentThemePlaying = kan.SoundId
  174. local currentPitch = kan.Pitch
  175. local currentVol = kan.Volume
  176. function NT(ID,timepos,pitch,vol)
  177. local kanz = kan
  178. --kanz:Stop()
  179. kanz.Volume = vol
  180. --kanz.TimePosition = timepos
  181. kanz.PlaybackSpeed = pitch
  182. kanz.Pitch = pitch
  183. kanz.SoundId = ID
  184. kanz.Name = "synthezitation"
  185. kanz.Looped = true
  186. currentThemePlaying = kanz.SoundId
  187. currentVol = kanz.Volume
  188. currentPitch = kanz.Pitch
  189. --kanz:Play()
  190. --coroutine.resume(coroutine.create(function()
  191. --wait(0.05)
  192. --end))
  193. end
  194.  
  195. function NTC(ID,timepos,pitch,vol)
  196. local kanz = kan
  197. kanz:Stop()
  198. kanz.Volume = vol
  199. kanz.TimePosition = timepos
  200. kanz.PlaybackSpeed = pitch
  201. kanz.Pitch = pitch
  202. kanz.SoundId = ID
  203. kanz.Name = "wrecked"
  204. kanz.Looped = true
  205. currentThemePlaying = kanz.SoundId
  206. currentVol = kanz.Volume
  207. currentPitch = kanz.Pitch
  208. kanz:Play()
  209. coroutine.resume(coroutine.create(function()
  210. wait(0.05)
  211. end))
  212. end
  213.  
  214. local mutedtog = false
  215.  
  216. function CameraEnshaking(Length,Intensity)
  217. coroutine.resume(coroutine.create(function()
  218. local intensity = 1*Intensity
  219. local rotM = 0.01*Intensity
  220. for i = 0, Length, 0.1 do
  221. swait()
  222. intensity = intensity - 0.05*Intensity/Length
  223. rotM = rotM - 0.0005*Intensity/Length
  224. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  225. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  226. end
  227. Humanoid.CameraOffset = Vec3(0, 0, 0)
  228. end))
  229. end
  230. CamShake=function(Part,Distan,Power,Times)
  231. local de=Part.Position
  232. for i,v in pairs(workspace:children()) do
  233. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  234. for _,c in pairs(v:children()) do
  235. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  236. local Noob=v.Humanoid
  237. if Noob~=nil then
  238. coroutine.resume(coroutine.create(function()
  239. FV = Instance.new("BoolValue", Noob)
  240. FV.Name = "CameraShake"
  241. for ShakeNum=1,Times do
  242. swait()
  243. local ef=Power
  244. if ef>=1 then
  245. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  246. else
  247. ef=Power*10
  248. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  249. end
  250. end
  251. Humanoid.CameraOffset = Vector3.new(0,0,0)
  252. FV:Destroy()
  253. end))
  254. CameraShake(Times, Power, Noob)
  255. end
  256. end
  257. end
  258. end
  259. end
  260. end
  261.  
  262.  
  263. function chatfunc(text,color,typet,font,timeex)
  264. local chat = coroutine.wrap(function()
  265. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  266. Character:FindFirstChild("TalkingBillBoard"):destroy()
  267. end
  268. local naeeym2 = Instance.new("BillboardGui",Character)
  269. naeeym2.Size = UDim2.new(0,100,0,40)
  270. naeeym2.StudsOffset = Vector3.new(0,3,0)
  271. naeeym2.Adornee = Character.Head
  272. naeeym2.Name = "TalkingBillBoard"
  273. local tecks2 = Instance.new("TextLabel",naeeym2)
  274. tecks2.BackgroundTransparency = 1
  275. tecks2.BorderSizePixel = 0
  276. tecks2.Text = ""
  277. tecks2.Font = font
  278. tecks2.TextSize = 30
  279. tecks2.TextStrokeTransparency = 0
  280. tecks2.TextColor3 = color
  281. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  282. tecks2.Size = UDim2.new(1,0,0.5,0)
  283. local tecks3 = Instance.new("TextLabel",naeeym2)
  284. tecks3.BackgroundTransparency = 1
  285. tecks3.BorderSizePixel = 0
  286. tecks3.Text = ""
  287. tecks3.Font = font
  288. tecks3.TextSize = 30
  289. tecks3.TextStrokeTransparency = 0
  290. if typet == "Inverted" then
  291. tecks3.TextColor3 = Color3.new(0,0,0)
  292. tecks3.TextStrokeColor3 = color
  293. elseif typet == "Normal" then
  294. tecks3.TextColor3 = color
  295. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  296. end
  297. tecks3.Size = UDim2.new(1,0,0.5,0)
  298. for i = 0, 74*timeex do
  299. swait()
  300. tecks2.Text = text
  301. tecks3.Text = text
  302. end
  303. local randomrot = math.random(1,2)
  304. if randomrot == 1 then
  305. for i = 1, 50 do
  306. swait()
  307. tecks2.Text = text
  308. tecks3.Text = text
  309. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  310. tecks2.TextTransparency = tecks2.TextTransparency + .04
  311. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  312. tecks3.TextTransparency = tecks2.TextTransparency + .04
  313. end
  314. elseif randomrot == 2 then
  315. for i = 1, 50 do
  316. swait()
  317. tecks2.Text = text
  318. tecks3.Text = text
  319. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  320. tecks2.TextTransparency = tecks2.TextTransparency + .04
  321. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  322. tecks3.TextTransparency = tecks2.TextTransparency + .04
  323. end
  324. end
  325. naeeym2:Destroy()
  326. end)
  327. chat()
  328. end
  329.  
  330. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  331. local gui = it(GuiType)
  332. gui.Parent = parent
  333. gui.Text = text
  334. gui.BackgroundTransparency = backtrans
  335. gui.BackgroundColor3 = backcol
  336. gui.SizeConstraint = "RelativeXY"
  337. gui.TextXAlignment = "Center"
  338. gui.TextYAlignment = "Center"
  339. gui.Position = pos
  340. gui.Size = size
  341. gui.Font = "SourceSans"
  342. gui.FontSize = "Size14"
  343. gui.TextWrapped = false
  344. gui.TextStrokeTransparency = 0
  345. gui.TextColor = BrickColor.new("White")
  346. return gui
  347. end
  348. --------------------------- GUI STUFF
  349. local basgui = it("GuiMain")
  350. basgui.Parent = plr.PlayerGui
  351. basgui.Name = "VISgui"
  352. local fullscreenz = it("Frame")
  353. fullscreenz.Parent = basgui
  354. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  355. fullscreenz.BackgroundTransparency = 1
  356. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  357. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  358. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  359. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  360. imgl2.BackgroundTransparency = 1
  361. imgl2.BorderSizePixel = 0
  362. imgl2.ImageTransparency = 0.5
  363. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  364. imgl2.Position = UDim2.new(0.75,-100,0.55,-100)
  365. imgl2.Size = UDim2.new(0,800,0,800)
  366. imgl2.Image = "rbxassetid://2076458450"
  367. local techc = imgl2:Clone()
  368. techc.Parent = fullscreenz
  369. techc.ImageTransparency = 0
  370. techc.Size = UDim2.new(0,900,0,900)
  371. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  372. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  373. techc.Image = "rbxassetid://2092248396"
  374. local circl = imgl2:Clone()
  375. circl.Parent = fullscreenz
  376. circl.ImageTransparency = 0
  377. circl.Size = UDim2.new(0,550,0,550)
  378. circl.Position = UDim2.new(0.75,25,0.55,25)
  379. circl.ImageColor3 = BrickColor.new("Alder").Color
  380. circl.Image = "rbxassetid://2109052855"
  381. local circl2 = imgl2:Clone()
  382. circl2.Parent = fullscreenz
  383. circl2.ImageTransparency = 0
  384. circl2.Size = UDim2.new(0,700,0,700)
  385. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  386. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  387. circl2.Image = "rbxassetid://2109045978"
  388. local imgl2b = imgl2:Clone()
  389. imgl2b.Parent = fullscreenz
  390. imgl2b.ImageTransparency = 0
  391. imgl2b.Size = UDim2.new(0,600,0,600)
  392. imgl2b.Position = UDim2.new(0.75,0,0.55,0)
  393. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  394. local ned = Instance.new("TextLabel",fullscreenz)
  395. ned.ZIndex = 2
  396. ned.Font = "SciFi"
  397. ned.BackgroundTransparency = 1
  398. ned.BorderSizePixel = 0.65
  399. ned.Size = UDim2.new(0.3,0,0.2,0)
  400. ned.Position = UDim2.new(0.7,0,0.8,0)
  401. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  402. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  403. ned.TextScaled = true
  404. ned.TextStrokeTransparency = 0
  405. ned.Text = "SYNTHEZIZER"
  406. ned.TextSize = 24
  407. ned.Rotation = 1
  408. ned.TextXAlignment = "Right"
  409. ned.TextYAlignment = "Bottom"
  410.  
  411. function bosschatfunc(text,color,watval)
  412. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  413. coroutine.resume(coroutine.create(function()
  414. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  415. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  416. end
  417. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  418. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  419. scrg.Name = "Dialog"
  420. local txtlb = Instance.new("TextLabel",scrg)
  421. txtlb.Text = ""
  422. txtlb.Font = "SciFi"
  423. txtlb.TextColor3 = Color3.new(0,0,0)
  424. txtlb.TextStrokeTransparency = 0
  425. txtlb.BackgroundTransparency = 0.75
  426. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  427. txtlb.TextStrokeColor3 = color
  428. txtlb.TextScaled = true
  429. txtlb.Size = UDim2.new(1,0,0.25,0)
  430. txtlb.TextXAlignment = "Left"
  431. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  432. local txtlb2 = Instance.new("TextLabel",scrg)
  433. txtlb2.Text = ned.Text..":"
  434. txtlb2.Font = "Code"
  435. txtlb2.TextColor3 = Color3.new(0,0,0)
  436. txtlb2.TextStrokeTransparency = 0
  437. txtlb2.BackgroundTransparency = 1
  438. txtlb2.TextStrokeColor3 = color
  439. txtlb2.TextSize = 40
  440. txtlb2.Size = UDim2.new(1,0,0.25,0)
  441. txtlb2.TextXAlignment = "Left"
  442. txtlb2.Position = UDim2.new(0,0,1,0)
  443. local fvalen = 0.55
  444. local fval = -0.49
  445. coroutine.resume(coroutine.create(function()
  446. while true do
  447. swait()
  448. if chaosmode == true then
  449. txtlb.Rotation = math.random(-1,1)
  450. txtlb2.Rotation = math.random(-1,1)
  451. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  452. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  453. txtlb.TextStrokeColor3 = BrickColor.random().Color
  454. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  455. end
  456. end
  457. end))
  458. coroutine.resume(coroutine.create(function()
  459. while true do
  460. swait()
  461. if scrg.Parent ~= nil then
  462. fvalen = fvalen - 0.0001
  463. elseif scrg.Parent == nil then
  464. break
  465. end
  466. end
  467. end))
  468. local flol = 1.75
  469. local flil = 1.6
  470. coroutine.resume(coroutine.create(function()
  471. for i = 0, 9 do
  472. swait()
  473. fval = fval + 0.05
  474. flol = flol - 0.1
  475. flil = flil - 0.1
  476. txtlb.Text = ""
  477. txtlb.Position = UDim2.new(0,0,flol,0)
  478. txtlb2.Position = UDim2.new(0,0,flil,0)
  479. end
  480. txtlb.Text = text
  481. wait(watval)
  482. local valinc = 0
  483. for i = 0, 99 do
  484. swait()
  485. valinc = valinc + 0.0001
  486. flol = flol + valinc
  487. flil = flil + valinc
  488. txtlb.Rotation = txtlb.Rotation + valinc*20
  489. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  490. txtlb.Position = UDim2.new(0,0,flol,0)
  491. txtlb2.Position = UDim2.new(0,0,flil,0)
  492. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  493. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  494. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  495. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  496. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  497. end
  498. scrg:Destroy()
  499. end))
  500. end))
  501. end
  502. end
  503.  
  504.  
  505. local Create = LoadLibrary("RbxUtility").Create
  506.  
  507. CFuncs = {
  508. ["Part"] = {
  509. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  510. local Part = Create("Part"){
  511. Parent = Parent,
  512. Reflectance = Reflectance,
  513. Transparency = Transparency,
  514. CanCollide = false,
  515. Locked = true,
  516. BrickColor = BrickColor.new(tostring(BColor)),
  517. Name = Name,
  518. Size = Size,
  519. Material = Material,
  520. }
  521. RemoveOutlines(Part)
  522. return Part
  523. end;
  524. };
  525.  
  526. ["Mesh"] = {
  527. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  528. local Msh = Create(Mesh){
  529. Parent = Part,
  530. Offset = OffSet,
  531. Scale = Scale,
  532. }
  533. if Mesh == "SpecialMesh" then
  534. Msh.MeshType = MeshType
  535. Msh.MeshId = MeshId
  536. end
  537. return Msh
  538. end;
  539. };
  540.  
  541. ["Mesh"] = {
  542. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  543. local Msh = Create(Mesh){
  544. Parent = Part,
  545. Offset = OffSet,
  546. Scale = Scale,
  547. }
  548. if Mesh == "SpecialMesh" then
  549. Msh.MeshType = MeshType
  550. Msh.MeshId = MeshId
  551. end
  552. return Msh
  553. end;
  554. };
  555.  
  556. ["Weld"] = {
  557. Create = function(Parent, Part0, Part1, C0, C1)
  558. local Weld = Create("Weld"){
  559. Parent = Parent,
  560. Part0 = Part0,
  561. Part1 = Part1,
  562. C0 = C0,
  563. C1 = C1,
  564. }
  565. return Weld
  566. end;
  567. };
  568.  
  569. ["Sound"] = {
  570. Create = function(id, par, vol, pit)
  571. coroutine.resume(coroutine.create(function()
  572. local S = Create("Sound"){
  573. Volume = vol,
  574. Name = "EffectSoundo",
  575. Pitch = pit or 1,
  576. SoundId = id,
  577. Parent = par or workspace,
  578. }
  579. wait()
  580. S:play()
  581. game:GetService("Debris"):AddItem(S, 10)
  582. end))
  583. end;
  584. };
  585.  
  586. ["TimeSound"] = {
  587. Create = function(id, par, vol, pit, timepos,timedel)
  588. coroutine.resume(coroutine.create(function()
  589. local S = Create("Sound"){
  590. Volume = vol,
  591. Name = "EffectSoundo",
  592. Pitch = pit or 1,
  593. SoundId = id,
  594. TimePosition = timepos,
  595. Parent = par or workspace,
  596. }
  597. wait()
  598. S:play()
  599. game:GetService("Debris"):AddItem(S, timedel)
  600. end))
  601. end;
  602. };
  603. ["EchoSound"] = {
  604. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  605. coroutine.resume(coroutine.create(function()
  606. local Sas = Create("Sound"){
  607. Volume = vol,
  608. Name = "EffectSoundo",
  609. Pitch = pit or 1,
  610. SoundId = id,
  611. TimePosition = timepos,
  612. Parent = par or workspace,
  613. }
  614. local E = Create("EchoSoundEffect"){
  615. Delay = echodelay,
  616. Name = "Echo",
  617. Feedback = fedb,
  618. DryLevel = dryl,
  619. Parent = Sas,
  620. }
  621. wait()
  622. Sas:play()
  623. game:GetService("Debris"):AddItem(Sas, delays)
  624. end))
  625. end;
  626. };
  627.  
  628. ["LongSound"] = {
  629. Create = function(id, par, vol, pit)
  630. coroutine.resume(coroutine.create(function()
  631. local S = Create("Sound"){
  632. Volume = vol,
  633. Pitch = pit or 1,
  634. SoundId = id,
  635. Parent = par or workspace,
  636. }
  637. wait()
  638. S:play()
  639. game:GetService("Debris"):AddItem(S, 60)
  640. end))
  641. end;
  642. };
  643.  
  644. ["ParticleEmitter"] = {
  645. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  646. local fp = Create("ParticleEmitter"){
  647. Parent = Parent,
  648. Color = ColorSequence.new(Color1, Color2),
  649. LightEmission = LightEmission,
  650. Size = Size,
  651. Texture = Texture,
  652. Transparency = Transparency,
  653. ZOffset = ZOffset,
  654. Acceleration = Accel,
  655. Drag = Drag,
  656. LockedToPart = LockedToPart,
  657. VelocityInheritance = VelocityInheritance,
  658. EmissionDirection = EmissionDirection,
  659. Enabled = Enabled,
  660. Lifetime = LifeTime,
  661. Rate = Rate,
  662. Rotation = Rotation,
  663. RotSpeed = RotSpeed,
  664. Speed = Speed,
  665. VelocitySpread = VelocitySpread,
  666. }
  667. return fp
  668. end;
  669. };
  670.  
  671. CreateTemplate = {
  672.  
  673. };
  674. }
  675.  
  676.  
  677.  
  678. New = function(Object, Parent, Name, Data)
  679. local Object = Instance.new(Object)
  680. for Index, Value in pairs(Data or {}) do
  681. Object[Index] = Value
  682. end
  683. Object.Parent = Parent
  684. Object.Name = Name
  685. return Object
  686. end
  687. local maincolor = BrickColor.new("Really black")
  688. local m = Instance.new("Model",char)
  689. local colorizermod = Instance.new("Model",char)
  690.  
  691.  
  692. --HAHA BOOKMARK FOR GUI COLORING STUFF
  693. --LOOK UP GUI COLOR
  694. --[[TEMPLATE
  695. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  696. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  697. circl.ImageColor3 = BrickColor.new("Alder").Color
  698. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  699. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  700. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  701. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  702. ]]
  703.  
  704. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  705. local p = Instance.new("Part")
  706. p.TopSurface = 0
  707. p.BottomSurface = 0
  708. p.Parent = parent
  709. p.Size = Vector3.new(0.1,0.1,0.1)
  710. p.Transparency = transparency
  711. p.Reflectance = reflectance
  712. p.CanCollide = false
  713. p.Locked = true
  714. p.BrickColor = brickcolor
  715. p.Material = material
  716. return p
  717. end
  718.  
  719. function CreateMesh(parent,meshtype,x1,y1,z1)
  720. local mesh = Instance.new("SpecialMesh",parent)
  721. mesh.MeshType = meshtype
  722. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  723. return mesh
  724. end
  725.  
  726. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  727. local mesh = Instance.new("SpecialMesh",parent)
  728. mesh.MeshType = "FileMesh"
  729. mesh.MeshId = meshid
  730. mesh.Scale = Vector3.new(x1,y1,z1)
  731. return mesh
  732. end
  733.  
  734.  
  735. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  736. local mesh = Instance.new("SpecialMesh",parent)
  737. mesh.MeshType = "FileMesh"
  738. mesh.MeshId = meshid
  739. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  740. mesh.Scale = Vector3.new(x1,y1,z1)
  741. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  742. return mesh
  743. end
  744.  
  745. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  746. local weld = Instance.new("Weld")
  747. weld.Parent = parent
  748. weld.Part0 = part0
  749. weld.Part1 = part1
  750. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  751. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  752. return weld
  753. end
  754.  
  755.  
  756. ----------------------------
  757. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  758. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  759. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  760. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  761.  
  762. local handlex = CreateParta(m,1,1,"Neon",maincolor)
  763. CreateMesh(handlex,"Brick",0,0,0)
  764. local handlexweld = CreateWeld(handlex,tors,handlex,0,-2,-2.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  765.  
  766. local rotzo = CreateParta(m,1,1,"Neon",maincolor)
  767. CreateMesh(rotzo,"Brick",0,0,0)
  768. local rotingweld = CreateWeld(rotzo,handlex,rotzo,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  769. local rotzo2 = CreateParta(m,1,1,"Neon",maincolor)
  770. CreateMesh(rotzo2,"Brick",0,0,0)
  771. local rotingweld2 = CreateWeld(rotzo2,handlex,rotzo2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  772.  
  773. local roterval = 0
  774. for i = 0, 7 do
  775. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  776. CreateMesh(rn,"Wedge",0.15,1,0.15)
  777. CreateWeld(rn,rotzo,rn,0,-4.25,0.1,math.rad(0),math.rad(90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  778. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  779. CreateMesh(rn,"Wedge",0.15,1,0.15)
  780. CreateWeld(rn,rotzo,rn,0,-4.25,0.1,math.rad(0),math.rad(-90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  781. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  782. CreateMesh(rn,"Wedge",0.15,1,0.15)
  783. CreateWeld(rn,rotzo,rn,0,3.25,0.1,math.rad(0),math.rad(90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  784. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  785. CreateMesh(rn,"Wedge",0.15,1,0.15)
  786. CreateWeld(rn,rotzo,rn,0,3.25,0.1,math.rad(0),math.rad(-90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  787.  
  788. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  789. CreateMesh(rn,"Wedge",0.15,1,0.25)
  790. CreateWeld(rn,rotzo2,rn,0,1.5,0.2,math.rad(0),math.rad(90),math.rad(roterval + 22.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  791. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  792. CreateMesh(rn,"Wedge",0.15,1,0.25)
  793. CreateWeld(rn,rotzo2,rn,0,1.5,0.2,math.rad(0),math.rad(-90),math.rad(roterval + 22.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  794. roterval = roterval + 45
  795. end
  796. local refec = Instance.new("ParticleEmitter",handlex)
  797. refec.Texture = "rbxassetid://284205403"
  798. refec.LightEmission = 0.95
  799. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  800. refec.Rate = 50
  801. refec.Lifetime = NumberRange.new(0.5)
  802. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  803. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  804. refec.Speed = NumberRange.new(0,2)
  805. refec.Drag = 5
  806. refec.LockedToPart = true
  807. refec.Rotation = NumberRange.new(-500,500)
  808. refec.VelocitySpread = 9000
  809. refec.RotSpeed = NumberRange.new(-500,500)
  810. local refec2 = refec:Clone()
  811. refec2.LightEmission = 0.75
  812. refec2.Texture = "rbxassetid://2109052855"--2108979939 254287058 2109052855
  813. refec2.Parent = handlex
  814. refec2.Rate = 15
  815. refec2.Lifetime = NumberRange.new(0.75)
  816. refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.15,0),NumberSequenceKeypoint.new(0.7,2.25,0),NumberSequenceKeypoint.new(0.8,2.15,0),NumberSequenceKeypoint.new(1,1.75,0)})
  817. refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  818. refec2.Speed = NumberRange.new(0)
  819. local refec3 = refec:Clone()
  820. refec3.LightEmission = 0.75
  821. refec3.Texture = "rbxassetid://2092248396"
  822. refec3.Parent = handlex
  823. refec3.Rate = 25
  824. refec3.Lifetime = NumberRange.new(1)
  825. refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,4,0),NumberSequenceKeypoint.new(1,15,0)})
  826. refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  827. refec3.Speed = NumberRange.new(0)
  828. refec3.RotSpeed = NumberRange.new(-50,50)
  829. local valuaring = 10
  830. for i = 0, 35 do
  831. valuaring = valuaring + 10
  832. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  833. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  834. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  835. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  836. CreateMesh(rn,"Brick",0.725,0.045,0.045)
  837. CreateWeld(rn,handlex,rn,0,3.8,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  838. rn = CreateParta(m,0,0,"Granite",maincolor)
  839. CreateMesh(rn,"Brick",0.35,0.05,0.2)
  840. CreateWeld(rn,handlex,rn,0,1.975,0,math.rad(0),math.rad(0),math.rad(valuaring + 5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  841. rn = CreateParta(m,0,0,"Granite",maincolor)
  842. CreateMesh(rn,"Torso",0.385,0.15,0.2)
  843. CreateWeld(rn,handlex,rn,0,2.1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  844. rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
  845. CreateMesh(rn,"Wedge",0.5,0.5,0.15)
  846. CreateWeld(rn,handlex,rn,0,-2.25,0,math.rad(0),math.rad(0),math.rad(valuaring + 5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  847. end
  848. ------
  849.  
  850.  
  851. function RemoveOutlines(part)
  852. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  853. end
  854. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  855. local Part = Create("Part")({
  856. Parent = Parent,
  857. Reflectance = Reflectance,
  858. Transparency = Transparency,
  859. CanCollide = false,
  860. Locked = true,
  861. BrickColor = BrickColor.new(tostring(BColor)),
  862. Name = Name,
  863. Size = Size,
  864. Material = Material
  865. })
  866. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  867. RemoveOutlines(Part)
  868. return Part
  869. end
  870. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  871. local Msh = Create(Mesh)({
  872. Parent = Part,
  873. Offset = OffSet,
  874. Scale = Scale
  875. })
  876. if Mesh == "SpecialMesh" then
  877. Msh.MeshType = MeshType
  878. Msh.MeshId = MeshId
  879. end
  880. return Msh
  881. end
  882. function CreateWeld(Parent, Part0, Part1, C0, C1)
  883. local Weld = Create("Weld")({
  884. Parent = Parent,
  885. Part0 = Part0,
  886. Part1 = Part1,
  887. C0 = C0,
  888. C1 = C1
  889. })
  890. return Weld
  891. end
  892.  
  893. Character=Player.Character
  894. PlayerGui=Player.PlayerGui
  895. Backpack=Player.Backpack
  896. Torso=Character.Torso
  897. Head=Character.Head
  898. Humanoid=Character.Humanoid
  899. m=Instance.new('Model',Character)
  900. LeftArm=Character["Left Arm"]
  901. LeftLeg=Character["Left Leg"]
  902. RightArm=Character["Right Arm"]
  903. RightLeg=Character["Right Leg"]
  904. LW=Torso["Left Shoulder"]
  905. LH=Torso["Left Hip"]
  906. RW=Torso["Right Shoulder"]
  907. RH=Torso["Right Hip"]
  908. Face = Head.face
  909. Neck=Torso.Neck
  910. it=Instance.new
  911. attacktype=1
  912. vt=Vector3.new
  913. cf=CFrame.new
  914. euler=CFrame.fromEulerAnglesXYZ
  915. angles=CFrame.Angles
  916. cloaked=false
  917. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  918. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  919. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  920. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  921. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  922. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  923. RootPart=Character.HumanoidRootPart
  924. RootJoint=RootPart.RootJoint
  925. RootCF=euler(-1.57,0,3.14)
  926. attack = false
  927. attackdebounce = false
  928. deb=false
  929. equipped=true
  930. hand=false
  931. combo=0
  932. mana=0
  933. trispeed=.2
  934. attackmode='none'
  935. local idle=0
  936. local Anim="Idle"
  937. local Effects={}
  938. local gun=false
  939. local shoot=false
  940. local sine = 0
  941. local change = 1
  942.  
  943. --save shoulders
  944. RSH, LSH=nil, nil
  945. --welds
  946. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  947. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  948. LH=Torso["Left Hip"]
  949. RH=Torso["Right Hip"]
  950. TorsoColor=Torso.BrickColor
  951. function NoOutline(Part)
  952. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  953. end
  954. ch=Character
  955. RSH=ch.Torso["Right Shoulder"]
  956. LSH=ch.Torso["Left Shoulder"]
  957. --
  958. RSH.Parent=nil
  959. LSH.Parent=nil
  960. --
  961. RW.Name="Right Shoulder"
  962. RW.Part0=char.Torso
  963. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  964. RW.C1=cf(0, 0.5, 0)
  965. RW.Part1=char["Right Arm"]
  966. RW.Parent=char.Torso
  967. --
  968. LW.Name="Left Shoulder"
  969. LW.Part0=char.Torso
  970. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  971. LW.C1=cf(0, 0.5, 0)
  972. LW.Part1=char["Left Arm"]
  973. LW.Parent=char.Torso
  974. local donum=0
  975.  
  976.  
  977. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  978. local fp=it("Part")
  979. fp.formFactor=formfactor
  980. fp.Parent=parent
  981. fp.Reflectance=reflectance
  982. fp.Transparency=transparency
  983. fp.CanCollide=false
  984. fp.Locked=true
  985. fp.BrickColor=brickcolor
  986. fp.Name=name
  987. fp.Size=size
  988. fp.Position=Torso.Position
  989. NoOutline(fp)
  990. fp.Material="SmoothPlastic"
  991. fp:BreakJoints()
  992. return fp
  993. end
  994.  
  995. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  996. local mesh=it(Mesh)
  997. mesh.Parent=part
  998. if Mesh=="SpecialMesh" then
  999. mesh.MeshType=meshtype
  1000. if meshid~="nil" then
  1001. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1002. end
  1003. end
  1004. mesh.Offset=offset
  1005. mesh.Scale=scale
  1006. return mesh
  1007. end
  1008.  
  1009. function weld(parent,part0,part1,c0)
  1010. local weld=it("Weld")
  1011. weld.Parent=parent
  1012. weld.Part0=part0
  1013. weld.Part1=part1
  1014. weld.C0=c0
  1015. return weld
  1016. end
  1017.  
  1018. local Color1=Torso.BrickColor
  1019.  
  1020. local bodvel=Instance.new("BodyVelocity")
  1021. local bg=Instance.new("BodyGyro")
  1022.  
  1023.  
  1024. --------- SazEreno's Artificial HB --------------
  1025. ArtificialHB = Instance.new("BindableEvent", script)
  1026. ArtificialHB.Name = "ArtificialHB"
  1027.  
  1028. script:WaitForChild("ArtificialHB")
  1029. Frame_Speed = 1 / 60
  1030. frame = Frame_Speed
  1031. tf = 0
  1032. allowframeloss = false
  1033. tossremainder = false
  1034. lastframe = tick()
  1035. script.ArtificialHB:Fire()
  1036.  
  1037. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1038. tf = tf + s
  1039. if tf >= frame then
  1040. if allowframeloss then
  1041. script.ArtificialHB:Fire()
  1042. lastframe = tick()
  1043. else
  1044. for i = 1, math.floor(tf / frame) do
  1045. script.ArtificialHB:Fire()
  1046. end
  1047. lastframe = tick()
  1048. end
  1049. if tossremainder then
  1050. tf = 0
  1051. else
  1052. tf = tf - frame * math.floor(tf / frame)
  1053. end
  1054. end
  1055. end)
  1056.  
  1057. ------------------
  1058. function swait(num)
  1059. if num == 0 or num == nil then
  1060. ArtificialHB.Event:wait()
  1061. else
  1062. for i = 1, num do
  1063. ArtificialHB.Event:wait()
  1064. end
  1065. end
  1066. end
  1067.  
  1068. -------- RAINBOW LEAVE IT TO ME
  1069. local r = 255
  1070. local g = 0
  1071. local b = 0
  1072. coroutine.resume(coroutine.create(function()
  1073. while wait() do
  1074. for i = 0, 254/5 do
  1075. swait()
  1076. g = g + 5
  1077. end
  1078. for i = 0, 254/5 do
  1079. swait()
  1080. r = r - 5
  1081. end
  1082. for i = 0, 254/5 do
  1083. swait()
  1084. b = b + 5
  1085. end
  1086. for i = 0, 254/5 do
  1087. swait()
  1088. g = g - 5
  1089. end
  1090. for i = 0, 254/5 do
  1091. swait()
  1092. r = r + 5
  1093. end
  1094. for i = 0, 254/5 do
  1095. swait()
  1096. b = b - 5
  1097. end
  1098. end
  1099. end))
  1100.  
  1101.  
  1102. so = function(id,par,vol,pit)
  1103. coroutine.resume(coroutine.create(function()
  1104. local sou = Instance.new("Sound",par or workspace)
  1105. sou.Volume=vol
  1106. sou.Pitch=pit or 1
  1107. sou.SoundId=id
  1108. swait()
  1109. sou:play()
  1110. game:GetService("Debris"):AddItem(sou,6)
  1111. end))
  1112. end
  1113.  
  1114. function clerp(a,b,t)
  1115. local qa = {QuaternionFromCFrame(a)}
  1116. local qb = {QuaternionFromCFrame(b)}
  1117. local ax, ay, az = a.x, a.y, a.z
  1118. local bx, by, bz = b.x, b.y, b.z
  1119. local _t = 1-t
  1120. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1121. end
  1122.  
  1123. function QuaternionFromCFrame(cf)
  1124. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1125. local trace = m00 + m11 + m22
  1126. if trace > 0 then
  1127. local s = math.sqrt(1 + trace)
  1128. local recip = 0.5/s
  1129. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1130. else
  1131. local i = 0
  1132. if m11 > m00 then
  1133. i = 1
  1134. end
  1135. if m22 > (i == 0 and m00 or m11) then
  1136. i = 2
  1137. end
  1138. if i == 0 then
  1139. local s = math.sqrt(m00-m11-m22+1)
  1140. local recip = 0.5/s
  1141. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1142. elseif i == 1 then
  1143. local s = math.sqrt(m11-m22-m00+1)
  1144. local recip = 0.5/s
  1145. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1146. elseif i == 2 then
  1147. local s = math.sqrt(m22-m00-m11+1)
  1148. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1149. end
  1150. end
  1151. end
  1152.  
  1153. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1154. local xs, ys, zs = x + x, y + y, z + z
  1155. local wx, wy, wz = w*xs, w*ys, w*zs
  1156. local xx = x*xs
  1157. local xy = x*ys
  1158. local xz = x*zs
  1159. local yy = y*ys
  1160. local yz = y*zs
  1161. local zz = z*zs
  1162. 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))
  1163. end
  1164.  
  1165. function QuaternionSlerp(a, b, t)
  1166. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1167. local startInterp, finishInterp;
  1168. if cosTheta >= 0.0001 then
  1169. if (1 - cosTheta) > 0.0001 then
  1170. local theta = math.acos(cosTheta)
  1171. local invSinTheta = 1/math.sin(theta)
  1172. startInterp = math.sin((1-t)*theta)*invSinTheta
  1173. finishInterp = math.sin(t*theta)*invSinTheta
  1174. else
  1175. startInterp = 1-t
  1176. finishInterp = t
  1177. end
  1178. else
  1179. if (1+cosTheta) > 0.0001 then
  1180. local theta = math.acos(-cosTheta)
  1181. local invSinTheta = 1/math.sin(theta)
  1182. startInterp = math.sin((t-1)*theta)*invSinTheta
  1183. finishInterp = math.sin(t*theta)*invSinTheta
  1184. else
  1185. startInterp = t-1
  1186. finishInterp = t
  1187. end
  1188. end
  1189. 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
  1190. end
  1191.  
  1192. local function CFrameFromTopBack(at, top, back)
  1193. local right = top:Cross(back)
  1194. return CFrame.new(at.x, at.y, at.z,
  1195. right.x, top.x, back.x,
  1196. right.y, top.y, back.y,
  1197. right.z, top.z, back.z)
  1198. end
  1199.  
  1200. function Triangle(a, b, c)
  1201. local edg1 = (c-a):Dot((b-a).unit)
  1202. local edg2 = (a-b):Dot((c-b).unit)
  1203. local edg3 = (b-c):Dot((a-c).unit)
  1204. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1205. a, b, c = a, b, c
  1206. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1207. a, b, c = b, c, a
  1208. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1209. a, b, c = c, a, b
  1210. else
  1211. assert(false, "unreachable")
  1212. end
  1213.  
  1214. local len1 = (c-a):Dot((b-a).unit)
  1215. local len2 = (b-a).magnitude - len1
  1216. local width = (a + (b-a).unit*len1 - c).magnitude
  1217.  
  1218. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1219.  
  1220. local list = {}
  1221.  
  1222. if len1 > 0.01 then
  1223. local w1 = Instance.new('WedgePart', m)
  1224. game:GetService("Debris"):AddItem(w1,5)
  1225. w1.Material = "SmoothPlastic"
  1226. w1.FormFactor = 'Custom'
  1227. w1.BrickColor = BrickColor.new("Really red")
  1228. w1.Transparency = 0
  1229. w1.Reflectance = 0
  1230. w1.Material = "SmoothPlastic"
  1231. w1.CanCollide = false
  1232. local l1 = Instance.new("PointLight",w1)
  1233. l1.Color = Color3.new(170,0,0)
  1234. NoOutline(w1)
  1235. local sz = Vector3.new(0.2, width, len1)
  1236. w1.Size = sz
  1237. local sp = Instance.new("SpecialMesh",w1)
  1238. sp.MeshType = "Wedge"
  1239. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1240. w1:BreakJoints()
  1241. w1.Anchored = true
  1242. w1.Parent = workspace
  1243. w1.Transparency = 0.7
  1244. table.insert(Effects,{w1,"Disappear",.01})
  1245. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1246. table.insert(list,w1)
  1247. end
  1248.  
  1249. if len2 > 0.01 then
  1250. local w2 = Instance.new('WedgePart', m)
  1251. game:GetService("Debris"):AddItem(w2,5)
  1252. w2.Material = "SmoothPlastic"
  1253. w2.FormFactor = 'Custom'
  1254. w2.BrickColor = BrickColor.new("Really red")
  1255. w2.Transparency = 0
  1256. w2.Reflectance = 0
  1257. w2.Material = "SmoothPlastic"
  1258. w2.CanCollide = false
  1259. local l2 = Instance.new("PointLight",w2)
  1260. l2.Color = Color3.new(170,0,0)
  1261. NoOutline(w2)
  1262. local sz = Vector3.new(0.2, width, len2)
  1263. w2.Size = sz
  1264. local sp = Instance.new("SpecialMesh",w2)
  1265. sp.MeshType = "Wedge"
  1266. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1267. w2:BreakJoints()
  1268. w2.Anchored = true
  1269. w2.Parent = workspace
  1270. w2.Transparency = 0.7
  1271. table.insert(Effects,{w2,"Disappear",.01})
  1272. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1273. table.insert(list,w2)
  1274. end
  1275. return unpack(list)
  1276. end
  1277.  
  1278.  
  1279. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1280. if hit.Parent == nil then
  1281. return
  1282. end
  1283. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1284. for _, v in pairs(hit.Parent:children()) do
  1285. if v:IsA("Humanoid") then
  1286. h = v
  1287. end
  1288. end
  1289. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1290. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1291. return
  1292. end
  1293. local c = Create("ObjectValue")({
  1294. Name = "creator",
  1295. Value = game:GetService("Players").noahcarter100,
  1296. Parent = h
  1297. })
  1298. game:GetService("Debris"):AddItem(c, 0.5)
  1299. if HitSound ~= nil and HitPitch ~= nil then
  1300. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1301. end
  1302. local Damage = math.random(minim, maxim)
  1303. local blocked = false
  1304. local block = hit.Parent:findFirstChild("Block")
  1305. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1306. blocked = true
  1307. block.Value = block.Value - 1
  1308. print(block.Value)
  1309. end
  1310. if blocked == false then
  1311. local HitHealth = h.Health
  1312. h.MaxHealth = 100
  1313. h.Health = h.Health - Damage
  1314. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1315. print("gained kill")
  1316. dmg(h.Parent)
  1317. end
  1318. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1319. else
  1320. h.Health = h.Health - Damage / 2
  1321. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1322. end
  1323. if Type == "Knockdown" then
  1324. local hum = hit.Parent.Humanoid
  1325. hum.PlatformStand = true
  1326. coroutine.resume(coroutine.create(function(HHumanoid)
  1327. swait(1)
  1328. HHumanoid.PlatformStand = false
  1329. end), hum)
  1330. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1331. local bodvol = Create("BodyVelocity")({
  1332. velocity = angle * knockback,
  1333. P = 5000,
  1334. maxForce = Vector3.new(8000, 8000, 8000),
  1335. Parent = hit
  1336. })
  1337. local rl = Create("BodyAngularVelocity")({
  1338. P = 3000,
  1339. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1340. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1341. Parent = hit
  1342. })
  1343. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1344. game:GetService("Debris"):AddItem(rl, 0.5)
  1345. elseif Type == "Normal" then
  1346. local vp = Create("BodyVelocity")({
  1347. P = 500,
  1348. maxForce = Vector3.new(math.huge, 0, math.huge),
  1349. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1350. })
  1351. if knockback > 0 then
  1352. vp.Parent = hit.Parent.Head
  1353. end
  1354. game:GetService("Debris"):AddItem(vp, 0.5)
  1355. elseif Type == "Up" then
  1356. local bodyVelocity = Create("BodyVelocity")({
  1357. velocity = Vector3.new(0, 20, 0),
  1358. P = 5000,
  1359. maxForce = Vector3.new(8000, 8000, 8000),
  1360. Parent = hit
  1361. })
  1362. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1363. local bodyVelocity = Create("BodyVelocity")({
  1364. velocity = Vector3.new(0, 20, 0),
  1365. P = 5000,
  1366. maxForce = Vector3.new(8000, 8000, 8000),
  1367. Parent = hit
  1368. })
  1369. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1370. elseif Type == "Leech" then
  1371. local hum = hit.Parent.Humanoid
  1372. if hum ~= nil then
  1373. for i = 0, 2 do
  1374. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1375. end
  1376. Humanoid.Health = Humanoid.Health + 10
  1377. end
  1378. elseif Type == "UpKnock" then
  1379. local hum = hit.Parent.Humanoid
  1380. hum.PlatformStand = true
  1381. if hum ~= nil then
  1382. hitr = true
  1383. end
  1384. coroutine.resume(coroutine.create(function(HHumanoid)
  1385. swait(5)
  1386. HHumanoid.PlatformStand = false
  1387. hitr = false
  1388. end), hum)
  1389. local bodyVelocity = Create("BodyVelocity")({
  1390. velocity = Vector3.new(0, 20, 0),
  1391. P = 5000,
  1392. maxForce = Vector3.new(8000, 8000, 8000),
  1393. Parent = hit
  1394. })
  1395. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1396. local bodyVelocity = Create("BodyVelocity")({
  1397. velocity = Vector3.new(0, 20, 0),
  1398. P = 5000,
  1399. maxForce = Vector3.new(8000, 8000, 8000),
  1400. Parent = hit
  1401. })
  1402. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1403. elseif Type == "Snare" then
  1404. local bp = Create("BodyPosition")({
  1405. P = 2000,
  1406. D = 100,
  1407. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1408. position = hit.Parent.Torso.Position,
  1409. Parent = hit.Parent.Torso
  1410. })
  1411. game:GetService("Debris"):AddItem(bp, 1)
  1412. elseif Type == "Slashnare" then
  1413. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  1414. for i = 1, math.random(4, 5) do
  1415. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1416. end
  1417. local bp = Create("BodyPosition")({
  1418. P = 2000,
  1419. D = 100,
  1420. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1421. position = hit.Parent.Torso.Position,
  1422. Parent = hit.Parent.Torso
  1423. })
  1424. game:GetService("Debris"):AddItem(bp, 1)
  1425. elseif Type == "Spike" then
  1426. local bp = Create("BodyPosition")({
  1427. P = 2000,
  1428. D = 100,
  1429. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1430. position = hit.Parent.Torso.Position,
  1431. Parent = hit.Parent.Torso
  1432. })
  1433. game:GetService("Debris"):AddItem(bp, 1)
  1434. elseif Type == "Freeze" then
  1435. local BodPos = Create("BodyPosition")({
  1436. P = 50000,
  1437. D = 1000,
  1438. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1439. position = hit.Parent.Torso.Position,
  1440. Parent = hit.Parent.Torso
  1441. })
  1442. local BodGy = Create("BodyGyro")({
  1443. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1444. P = 20000,
  1445. Parent = hit.Parent.Torso,
  1446. cframe = hit.Parent.Torso.CFrame
  1447. })
  1448. hit.Parent.Torso.Anchored = true
  1449. coroutine.resume(coroutine.create(function(Part)
  1450. swait(1.5)
  1451. Part.Anchored = false
  1452. end), hit.Parent.Torso)
  1453. game:GetService("Debris"):AddItem(BodPos, 3)
  1454. game:GetService("Debris"):AddItem(BodGy, 3)
  1455. end
  1456. local debounce = Create("BoolValue")({
  1457. Name = "DebounceHit",
  1458. Parent = hit.Parent,
  1459. Value = true
  1460. })
  1461. game:GetService("Debris"):AddItem(debounce, Delay)
  1462. c = Instance.new("ObjectValue")
  1463. c.Name = "creator"
  1464. c.Value = Player
  1465. c.Parent = h
  1466. game:GetService("Debris"):AddItem(c, 0.5)
  1467. end
  1468. end
  1469. function ShowDamage(Pos, Text, Time, Color)
  1470. local Rate = 0.03333333333333333
  1471. local Pos = Pos or Vector3.new(0, 0, 0)
  1472. local Text = Text or ""
  1473. local Time = Time or 2
  1474. local Color = Color or Color3.new(1, 0, 1)
  1475. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1476. EffectPart.Anchored = true
  1477. local BillboardGui = Create("BillboardGui")({
  1478. Size = UDim2.new(3, 0, 3, 0),
  1479. Adornee = EffectPart,
  1480. Parent = EffectPart
  1481. })
  1482. local TextLabel = Create("TextLabel")({
  1483. BackgroundTransparency = 1,
  1484. Size = UDim2.new(1, 0, 1, 0),
  1485. Text = Text,
  1486. TextColor3 = Color,
  1487. TextScaled = true,
  1488. Font = Enum.Font.ArialBold,
  1489. Parent = BillboardGui
  1490. })
  1491. game.Debris:AddItem(EffectPart, Time + 0.1)
  1492. EffectPart.Parent = game:GetService("Workspace")
  1493. delay(0, function()
  1494. local Frames = Time / Rate
  1495. for Frame = 1, Frames do
  1496. wait(Rate)
  1497. local Percent = Frame / Frames
  1498. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1499. TextLabel.TextTransparency = Percent
  1500. end
  1501. if EffectPart and EffectPart.Parent then
  1502. EffectPart:Destroy()
  1503. end
  1504. end)
  1505. end
  1506. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1507. for _, c in pairs(workspace:children()) do
  1508. local hum = c:findFirstChildOfClass("Humanoid")
  1509. if hum ~= nil then
  1510. local head = c:findFirstChild("Head")
  1511. if head ~= nil then
  1512. local targ = head.Position - Part.Position
  1513. local mag = targ.magnitude
  1514. if magni >= mag and c.Name ~= Player.Name then
  1515. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1516. end
  1517. end
  1518. end
  1519. end
  1520. end
  1521.  
  1522. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1523. for _, c in pairs(workspace:children()) do
  1524. local hum = c:findFirstChild("Humanoid")
  1525. if hum ~= nil then
  1526. local head = c:findFirstChild("Torso")
  1527. if head ~= nil then
  1528. local targ = head.Position - Part.Position
  1529. local mag = targ.magnitude
  1530. if magni >= mag and c.Name ~= Player.Name then
  1531. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1532. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1533. end
  1534. end
  1535. end
  1536. end
  1537. end
  1538.  
  1539. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1540. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1541. end
  1542.  
  1543.  
  1544. function ring(type,pos,scale,value)
  1545. local type = type
  1546. local rng = Instance.new("Part", char)
  1547. rng.Anchored = true
  1548. rng.BrickColor = origcolor
  1549. rng.CanCollide = false
  1550. rng.FormFactor = 3
  1551. rng.Name = "Ring"
  1552. rng.Size = Vector3.new(1, 1, 1)
  1553. rng.Transparency = 0
  1554. rng.TopSurface = 0
  1555. rng.BottomSurface = 0
  1556. rng.CFrame = pos
  1557. local rngm = Instance.new("SpecialMesh", rng)
  1558. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1559. rngm.Scale = scale
  1560. local scaler2 = 1
  1561. if type == "Add" then
  1562. scaler2 = 1*value
  1563. elseif type == "Divide" then
  1564. scaler2 = 1/value
  1565. end
  1566. coroutine.resume(coroutine.create(function()
  1567. for i = 0,10,0.1 do
  1568. swait()
  1569. if type == "Add" then
  1570. scaler2 = scaler2 - 0.01*value
  1571. elseif type == "Divide" then
  1572. scaler2 = scaler2 - 0.01/value
  1573. end
  1574. rng.Transparency = rng.Transparency + 0.01
  1575. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1576. end
  1577. rng:Destroy()
  1578. end))
  1579. end
  1580.  
  1581.  
  1582. function wave(type,pos,scale,value)
  1583. local type = type
  1584. local rng = Instance.new("Part", char)
  1585. rng.Anchored = true
  1586. rng.BrickColor = origcolor
  1587. rng.CanCollide = false
  1588. rng.FormFactor = 3
  1589. rng.Name = "Ring"
  1590. rng.Size = Vector3.new(1, 1, 1)
  1591. rng.Transparency = 0
  1592. rng.TopSurface = 0
  1593. rng.BottomSurface = 0
  1594. rng.CFrame = pos
  1595. local rngm = Instance.new("SpecialMesh", rng)
  1596. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1597. rngm.Scale = scale
  1598. local scaler2 = 1
  1599. if type == "Add" then
  1600. scaler2 = 1*value
  1601. elseif type == "Divide" then
  1602. scaler2 = 1/value
  1603. end
  1604. coroutine.resume(coroutine.create(function()
  1605. for i = 0,10,0.1 do
  1606. swait()
  1607. if type == "Add" then
  1608. scaler2 = scaler2 - 0.01*value
  1609. elseif type == "Divide" then
  1610. scaler2 = scaler2 - 0.01/value
  1611. end
  1612. rng.Transparency = rng.Transparency + 0.01
  1613. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  1614. end
  1615. rng:Destroy()
  1616. end))
  1617. end
  1618.  
  1619. function wind(type,pos,scale,value,speed)
  1620. local type = type
  1621. local rng = Instance.new("Part", char)
  1622. rng.Anchored = true
  1623. rng.BrickColor = origcolor
  1624. rng.CanCollide = false
  1625. rng.FormFactor = 3
  1626. rng.Name = "Ring"
  1627. rng.Size = Vector3.new(1, 1, 1)
  1628. rng.Transparency = 0
  1629. rng.TopSurface = 0
  1630. rng.BottomSurface = 0
  1631. rng.CFrame = pos
  1632. local rngm = Instance.new("SpecialMesh", rng)
  1633. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1634. rngm.Scale = scale
  1635. local scaler2 = 1
  1636. if type == "Add" then
  1637. scaler2 = 1*value
  1638. elseif type == "Divide" then
  1639. scaler2 = 1/value
  1640. end
  1641. coroutine.resume(coroutine.create(function()
  1642. for i = 0,10,0.1 do
  1643. swait()
  1644. if type == "Add" then
  1645. scaler2 = scaler2 - 0.01*value
  1646. elseif type == "Divide" then
  1647. scaler2 = scaler2 - 0.01/value
  1648. end
  1649. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  1650. rng.Transparency = rng.Transparency + 0.01
  1651. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  1652. end
  1653. rng:Destroy()
  1654. end))
  1655. end
  1656.  
  1657. function groundwind(type,pos,scale,value,speed)
  1658. local type = type
  1659. local rng = Instance.new("Part", char)
  1660. rng.Anchored = true
  1661. rng.BrickColor = origcolor
  1662. rng.CanCollide = false
  1663. rng.FormFactor = 3
  1664. rng.Name = "Ring"
  1665. rng.Size = Vector3.new(1, 1, 1)
  1666. rng.Transparency = 0
  1667. rng.TopSurface = 0
  1668. rng.BottomSurface = 0
  1669. rng.CFrame = pos
  1670. local rngm = Instance.new("SpecialMesh", rng)
  1671. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1672. rngm.Scale = scale
  1673. local scaler2 = 1
  1674. if type == "Add" then
  1675. scaler2 = 1*value
  1676. elseif type == "Divide" then
  1677. scaler2 = 1/value
  1678. end
  1679. coroutine.resume(coroutine.create(function()
  1680. for i = 0,10,0.1 do
  1681. swait()
  1682. if type == "Add" then
  1683. scaler2 = scaler2 - 0.01*value
  1684. elseif type == "Divide" then
  1685. scaler2 = scaler2 - 0.01/value
  1686. end
  1687. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  1688. rng.Transparency = rng.Transparency + 0.01
  1689. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  1690. end
  1691. rng:Destroy()
  1692. end))
  1693. end
  1694.  
  1695. function CameraManager()
  1696. if TwoD and not CamInterrupt then
  1697. if Humanoid.Health > 0 then
  1698. Camera.CameraSubject = Humanoid
  1699. Camera.CameraType = "Scriptable"
  1700. Humanoid.AutoRotate = false
  1701. if Booleans.GyroUse then
  1702. Directer.MaxTorque = Vec3(0, math.huge, 0)
  1703. else
  1704. Directer.MaxTorque = Vec3(0, 0, 0)
  1705. end
  1706. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  1707. if Booleans.CamFollow then
  1708. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  1709. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  1710. else
  1711. CPart.Position = RootPart.Position
  1712. end
  1713. else
  1714. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  1715. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  1716. end
  1717. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  1718. else
  1719. Camera.CameraSubject = Humanoid
  1720. Camera.CameraType = "Custom"
  1721. Controller.Disabled = false
  1722. end
  1723. end
  1724. end
  1725.  
  1726. function ring(type,pos,scale,value)
  1727. local type = type
  1728. local rng = Instance.new("Part", char)
  1729. rng.Anchored = true
  1730. rng.BrickColor = origcolor
  1731. rng.CanCollide = false
  1732. rng.FormFactor = 3
  1733. rng.Name = "Ring"
  1734. rng.Size = Vector3.new(1, 1, 1)
  1735. rng.Transparency = 0
  1736. rng.TopSurface = 0
  1737. rng.BottomSurface = 0
  1738. rng.CFrame = pos
  1739. local rngm = Instance.new("SpecialMesh", rng)
  1740. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1741. rngm.Scale = scale
  1742. local scaler2 = 1
  1743. if type == "Add" then
  1744. scaler2 = 1*value
  1745. elseif type == "Divide" then
  1746. scaler2 = 1/value
  1747. end
  1748. coroutine.resume(coroutine.create(function()
  1749. for i = 0,10,0.1 do
  1750. swait()
  1751. if type == "Add" then
  1752. scaler2 = scaler2 - 0.01*value
  1753. elseif type == "Divide" then
  1754. scaler2 = scaler2 - 0.01/value
  1755. end
  1756. rng.Transparency = rng.Transparency + 0.01
  1757. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1758. end
  1759. rng:Destroy()
  1760. end))
  1761. end
  1762.  
  1763.  
  1764. function wave(type,pos,scale,value)
  1765. local type = type
  1766. local rng = Instance.new("Part", char)
  1767. rng.Anchored = true
  1768. rng.BrickColor = origcolor
  1769. rng.CanCollide = false
  1770. rng.FormFactor = 3
  1771. rng.Name = "Ring"
  1772. rng.Size = Vector3.new(1, 1, 1)
  1773. rng.Transparency = 0
  1774. rng.TopSurface = 0
  1775. rng.BottomSurface = 0
  1776. rng.CFrame = pos
  1777. local rngm = Instance.new("SpecialMesh", rng)
  1778. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1779. rngm.Scale = scale
  1780. local scaler2 = 1
  1781. if type == "Add" then
  1782. scaler2 = 1*value
  1783. elseif type == "Divide" then
  1784. scaler2 = 1/value
  1785. end
  1786. coroutine.resume(coroutine.create(function()
  1787. for i = 0,10,0.1 do
  1788. swait()
  1789. if type == "Add" then
  1790. scaler2 = scaler2 - 0.01*value
  1791. elseif type == "Divide" then
  1792. scaler2 = scaler2 - 0.01/value
  1793. end
  1794. rng.Transparency = rng.Transparency + 0.01
  1795. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  1796. end
  1797. rng:Destroy()
  1798. end))
  1799. end
  1800.  
  1801. function sphere(bonuspeed,type,pos,scale,value,color)
  1802. local type = type
  1803. local rng = Instance.new("Part", char)
  1804. rng.Anchored = true
  1805. if ModeOfGlitch ~= 9 then
  1806. rng.BrickColor = color
  1807. elseif ModeOfGlitch == 9 then
  1808. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1809. end
  1810. rng.CanCollide = false
  1811. rng.FormFactor = 3
  1812. rng.Name = "Ring"
  1813. rng.Material = "Neon"
  1814. rng.Size = Vector3.new(1, 1, 1)
  1815. rng.Transparency = 0
  1816. rng.TopSurface = 0
  1817. rng.BottomSurface = 0
  1818. rng.CFrame = pos
  1819. local rngm = Instance.new("SpecialMesh", rng)
  1820. rngm.MeshType = "Sphere"
  1821. rngm.Scale = scale
  1822. if rainbowmode == true then
  1823. rng.Color = Color3.new(r/255,g/255,b/255)
  1824. end
  1825. if ModeOfGlitch == 9 then
  1826. coroutine.resume(coroutine.create(function()
  1827. while true do
  1828. swait()
  1829. if rng.Parent ~= nil then
  1830. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1831. else
  1832. break
  1833. end
  1834. end
  1835. end))
  1836. end
  1837. local scaler2 = 1
  1838. if type == "Add" then
  1839. scaler2 = 1*value
  1840. elseif type == "Divide" then
  1841. scaler2 = 1/value
  1842. end
  1843. coroutine.resume(coroutine.create(function()
  1844. for i = 0,10/bonuspeed,0.1 do
  1845. swait()
  1846. if rainbowmode == true then
  1847. rng.Color = Color3.new(r/255,g/255,b/255)
  1848. end
  1849. if type == "Add" then
  1850. scaler2 = scaler2 - 0.01*value/bonuspeed
  1851. elseif type == "Divide" then
  1852. scaler2 = scaler2 - 0.01/value*bonuspeed
  1853. end
  1854. if chaosmode == true then
  1855. rng.BrickColor = BrickColor.random()
  1856. end
  1857. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1858. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1859. end
  1860. rng:Destroy()
  1861. end))
  1862. end
  1863.  
  1864. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  1865. local type = type
  1866. local rng = Instance.new("Part", char)
  1867. rng.Anchored = true
  1868. if ModeOfGlitch ~= 9 then
  1869. rng.BrickColor = color
  1870. elseif ModeOfGlitch == 9 then
  1871. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1872. end
  1873. rng.CanCollide = false
  1874. rng.FormFactor = 3
  1875. rng.Name = "Ring"
  1876. rng.Material = "Neon"
  1877. rng.Size = Vector3.new(1, 1, 1)
  1878. rng.Transparency = 0
  1879. rng.TopSurface = 0
  1880. rng.BottomSurface = 0
  1881. rng.CFrame = pos
  1882. local rngm = Instance.new("SpecialMesh", rng)
  1883. rngm.MeshType = "Sphere"
  1884. rngm.Scale = scale
  1885. local scaler2 = 1
  1886. local scaler2b = 1
  1887. local scaler2c = 1
  1888. if type == "Add" then
  1889. scaler2 = 1*value
  1890. scaler2b = 1*value2
  1891. scaler2c = 1*value3
  1892. elseif type == "Divide" then
  1893. scaler2 = 1/value
  1894. scaler2b = 1/value2
  1895. scaler2c = 1/value3
  1896. end
  1897. if ModeOfGlitch == 9 then
  1898. coroutine.resume(coroutine.create(function()
  1899. while true do
  1900. swait()
  1901. if rng.Parent ~= nil then
  1902. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1903. else
  1904. break
  1905. end
  1906. end
  1907. end))
  1908. end
  1909. coroutine.resume(coroutine.create(function()
  1910. for i = 0,10/bonuspeed,0.1 do
  1911. swait()
  1912. if type == "Add" then
  1913. scaler2 = scaler2 - 0.01*value/bonuspeed
  1914. scaler2b = scaler2b - 0.01*value/bonuspeed
  1915. scaler2c = scaler2c - 0.01*value/bonuspeed
  1916. elseif type == "Divide" then
  1917. scaler2 = scaler2 - 0.01/value*bonuspeed
  1918. scaler2b = scaler2b - 0.01/value*bonuspeed
  1919. scaler2c = scaler2c - 0.01/value*bonuspeed
  1920. end
  1921. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1922. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1923. end
  1924. rng:Destroy()
  1925. end))
  1926. end
  1927.  
  1928. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  1929. local type = type
  1930. local rotenable = rotatingop
  1931. local rng = Instance.new("Part", char)
  1932. rng.Anchored = true
  1933. rng.BrickColor = color
  1934. rng.CanCollide = false
  1935. rng.FormFactor = 3
  1936. rng.Name = "Ring"
  1937. rng.Material = "Neon"
  1938. rng.Size = Vector3.new(1, 1, 1)
  1939. rng.Transparency = 0
  1940. if typeoftrans == "In" then
  1941. rng.Transparency = 1
  1942. end
  1943. rng.TopSurface = 0
  1944. rng.BottomSurface = 0
  1945. rng.CFrame = pos
  1946. local rngm = Instance.new("SpecialMesh", rng)
  1947. rngm.MeshType = "FileMesh"
  1948. if typeofshape == "Normal" then
  1949. rngm.MeshId = "rbxassetid://662586858"
  1950. elseif typeofshape == "Round" then
  1951. rngm.MeshId = "rbxassetid://662585058"
  1952. end
  1953. rngm.Scale = scale
  1954. local scaler2 = 1/10
  1955. if type == "Add" then
  1956. scaler2 = 1*value/10
  1957. elseif type == "Divide" then
  1958. scaler2 = 1/value/10
  1959. end
  1960. local randomrot = math.random(1,2)
  1961. coroutine.resume(coroutine.create(function()
  1962. for i = 0,10/bonuspeed,0.1 do
  1963. swait()
  1964. if type == "Add" then
  1965. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  1966. elseif type == "Divide" then
  1967. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  1968. end
  1969. if rotenable == true then
  1970. if randomrot == 1 then
  1971. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  1972. elseif randomrot == 2 then
  1973. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  1974. end
  1975. end
  1976. if typeoftrans == "Out" then
  1977. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1978. elseif typeoftrans == "In" then
  1979. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1980. end
  1981. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  1982. end
  1983. rng:Destroy()
  1984. end))
  1985. end
  1986.  
  1987. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1988. local type = type
  1989. local rng = Instance.new("Part", char)
  1990. rng.Anchored = true
  1991. rng.BrickColor = color
  1992. rng.CanCollide = false
  1993. rng.FormFactor = 3
  1994. rng.Name = "Ring"
  1995. rng.Material = "Neon"
  1996. rng.Size = Vector3.new(1, 1, 1)
  1997. rng.Transparency = 0
  1998. rng.TopSurface = 0
  1999. rng.BottomSurface = 0
  2000. rng.CFrame = pos
  2001. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2002. local rngm = Instance.new("SpecialMesh", rng)
  2003. rngm.MeshType = "Brick"
  2004. rngm.Scale = vt(x1,y1,z1)
  2005. if rainbowmode == true then
  2006. rng.Color = Color3.new(r/255,g/255,b/255)
  2007. end
  2008. local scaler2 = 1
  2009. local speeder = FastSpeed/10
  2010. if type == "Add" then
  2011. scaler2 = 1*value
  2012. elseif type == "Divide" then
  2013. scaler2 = 1/value
  2014. end
  2015. coroutine.resume(coroutine.create(function()
  2016. for i = 0,10/bonuspeed,0.1 do
  2017. swait()
  2018. if rainbowmode == true then
  2019. rng.Color = Color3.new(r/255,g/255,b/255)
  2020. end
  2021. if type == "Add" then
  2022. scaler2 = scaler2 - 0.01*value/bonuspeed
  2023. elseif type == "Divide" then
  2024. scaler2 = scaler2 - 0.01/value*bonuspeed
  2025. end
  2026. if chaosmode == true then
  2027. rng.BrickColor = BrickColor.random()
  2028. end
  2029. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2030. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2031. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2032. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2033. end
  2034. rng:Destroy()
  2035. end))
  2036. end
  2037.  
  2038. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2039. local type = type
  2040. local rng = Instance.new("Part", char)
  2041. rng.Anchored = true
  2042. rng.BrickColor = color
  2043. rng.CanCollide = false
  2044. rng.FormFactor = 3
  2045. rng.Name = "Ring"
  2046. rng.Material = "Neon"
  2047. rng.Size = Vector3.new(1, 1, 1)
  2048. rng.Transparency = 0
  2049. rng.TopSurface = 0
  2050. rng.BottomSurface = 0
  2051. rng.CFrame = pos
  2052. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2053. local rngm = Instance.new("SpecialMesh", rng)
  2054. rngm.MeshType = "Brick"
  2055. rngm.Scale = vt(x1,y1,z1)
  2056. if rainbowmode == true then
  2057. rng.Color = Color3.new(r/255,g/255,b/255)
  2058. end
  2059. local scaler2 = 1
  2060. local speeder = FastSpeed/10
  2061. if type == "Add" then
  2062. scaler2 = 1*value
  2063. elseif type == "Divide" then
  2064. scaler2 = 1/value
  2065. end
  2066. coroutine.resume(coroutine.create(function()
  2067. for i = 0,10/bonuspeed,0.1 do
  2068. swait()
  2069. if rainbowmode == true then
  2070. rng.Color = Color3.new(r/255,g/255,b/255)
  2071. end
  2072. if type == "Add" then
  2073. scaler2 = scaler2 - 0.01*value/bonuspeed
  2074. elseif type == "Divide" then
  2075. scaler2 = scaler2 - 0.01/value*bonuspeed
  2076. end
  2077. if chaosmode == true then
  2078. rng.BrickColor = BrickColor.random()
  2079. end
  2080. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2081. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2082. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2083. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2084. end
  2085. rng:Destroy()
  2086. end))
  2087. end
  2088.  
  2089. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2090. local type = type
  2091. local rng = Instance.new("Part", char)
  2092. rng.Anchored = true
  2093. rng.BrickColor = color
  2094. rng.CanCollide = false
  2095. rng.FormFactor = 3
  2096. rng.Name = "Ring"
  2097. rng.Material = "Neon"
  2098. rng.Size = Vector3.new(1, 1, 1)
  2099. rng.Transparency = 0
  2100. rng.TopSurface = 0
  2101. rng.BottomSurface = 0
  2102. rng.CFrame = pos
  2103. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2104. local rngm = Instance.new("SpecialMesh", rng)
  2105. rngm.MeshType = "Brick"
  2106. rngm.Scale = vt(x1,y1,z1)
  2107. if rainbowmode == true then
  2108. rng.Color = Color3.new(r/255,g/255,b/255)
  2109. end
  2110. local scaler2 = 0
  2111. local speeder = FastSpeed/10
  2112. if type == "Add" then
  2113. scaler2 = 1*value
  2114. elseif type == "Divide" then
  2115. scaler2 = 1/value
  2116. end
  2117. coroutine.resume(coroutine.create(function()
  2118. for i = 0,10/bonuspeed,0.1 do
  2119. swait()
  2120. if rainbowmode == true then
  2121. rng.Color = Color3.new(r/255,g/255,b/255)
  2122. end
  2123. if type == "Add" then
  2124. scaler2 = scaler2 - 0.01*value/bonuspeed
  2125. elseif type == "Divide" then
  2126. scaler2 = scaler2 - 0.01/value*bonuspeed
  2127. end
  2128. if chaosmode == true then
  2129. rng.BrickColor = BrickColor.random()
  2130. end
  2131. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2132. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2133. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2134. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2135. end
  2136. rng:Destroy()
  2137. end))
  2138. end
  2139.  
  2140. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  2141. local type = type
  2142. local rng = Instance.new("Part", char)
  2143. rng.Anchored = true
  2144. rng.BrickColor = color
  2145. rng.Color = color3
  2146. rng.CanCollide = false
  2147. rng.FormFactor = 3
  2148. rng.Name = "Ring"
  2149. rng.Material = "Neon"
  2150. rng.Size = Vector3.new(1, 1, 1)
  2151. rng.Transparency = 0
  2152. rng.TopSurface = 0
  2153. rng.BottomSurface = 0
  2154. rng.CFrame = pos
  2155. local rngm = Instance.new("SpecialMesh", rng)
  2156. rngm.MeshType = "Brick"
  2157. rngm.Scale = scale
  2158. local scaler2 = 1
  2159. local scaler2b = 1
  2160. local scaler2c = 1
  2161. if type == "Add" then
  2162. scaler2 = 1*value
  2163. scaler2b = 1*value2
  2164. scaler2c = 1*value3
  2165. elseif type == "Divide" then
  2166. scaler2 = 1/value
  2167. scaler2b = 1/value2
  2168. scaler2c = 1/value3
  2169. end
  2170. coroutine.resume(coroutine.create(function()
  2171. for i = 0,10/bonuspeed,0.1 do
  2172. swait()
  2173. if type == "Add" then
  2174. scaler2 = scaler2 - 0.01*value/bonuspeed
  2175. scaler2b = scaler2b - 0.01*value/bonuspeed
  2176. scaler2c = scaler2c - 0.01*value/bonuspeed
  2177. elseif type == "Divide" then
  2178. scaler2 = scaler2 - 0.01/value*bonuspeed
  2179. scaler2b = scaler2b - 0.01/value*bonuspeed
  2180. scaler2c = scaler2c - 0.01/value*bonuspeed
  2181. end
  2182. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2183. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2184. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2185. end
  2186. rng:Destroy()
  2187. end))
  2188. end
  2189.  
  2190. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2191. local type = type
  2192. local rng = Instance.new("Part", char)
  2193. rng.Anchored = true
  2194. if ModeOfGlitch ~= 9 then
  2195. rng.BrickColor = color
  2196. elseif ModeOfGlitch == 9 then
  2197. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2198. end
  2199. rng.CanCollide = false
  2200. rng.FormFactor = 3
  2201. rng.Name = "Ring"
  2202. rng.Material = "Neon"
  2203. rng.Size = Vector3.new(1, 1, 1)
  2204. rng.Transparency = 0
  2205. rng.TopSurface = 0
  2206. rng.BottomSurface = 0
  2207. rng.CFrame = pos
  2208. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2209. local rngm = Instance.new("SpecialMesh", rng)
  2210. rngm.MeshType = "Sphere"
  2211. rngm.Scale = vt(x1,y1,z1)
  2212. if rainbowmode == true then
  2213. rng.Color = Color3.new(r/255,g/255,b/255)
  2214. end
  2215. if ModeOfGlitch == 9 then
  2216. coroutine.resume(coroutine.create(function()
  2217. while true do
  2218. swait()
  2219. if rng.Parent ~= nil then
  2220. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2221. else
  2222. break
  2223. end
  2224. end
  2225. end))
  2226. end
  2227. local scaler2 = 1
  2228. local speeder = FastSpeed
  2229. if type == "Add" then
  2230. scaler2 = 1*value
  2231. elseif type == "Divide" then
  2232. scaler2 = 1/value
  2233. end
  2234. coroutine.resume(coroutine.create(function()
  2235. for i = 0,10/bonuspeed,0.1 do
  2236. swait()
  2237. if rainbowmode == true then
  2238. rng.Color = Color3.new(r/255,g/255,b/255)
  2239. end
  2240. if type == "Add" then
  2241. scaler2 = scaler2 - 0.01*value/bonuspeed
  2242. elseif type == "Divide" then
  2243. scaler2 = scaler2 - 0.01/value*bonuspeed
  2244. end
  2245. if chaosmode == true then
  2246. rng.BrickColor = BrickColor.random()
  2247. end
  2248. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2249. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2250. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2251. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2252. end
  2253. rng:Destroy()
  2254. end))
  2255. end
  2256.  
  2257.  
  2258. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2259. local type = type
  2260. local rng = Instance.new("Part", char)
  2261. rng.Anchored = true
  2262. if ModeOfGlitch ~= 9 then
  2263. rng.BrickColor = color
  2264. elseif ModeOfGlitch == 9 then
  2265. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2266. end
  2267. rng.CanCollide = false
  2268. rng.FormFactor = 3
  2269. rng.Name = "Ring"
  2270. rng.Material = "Neon"
  2271. rng.Size = Vector3.new(1, 1, 1)
  2272. rng.Transparency = 1
  2273. rng.TopSurface = 0
  2274. rng.BottomSurface = 0
  2275. rng.CFrame = pos
  2276. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2277. local rngm = Instance.new("SpecialMesh", rng)
  2278. rngm.MeshType = "Sphere"
  2279. rngm.Scale = vt(x1,y1,z1)
  2280. if rainbowmode == true then
  2281. rng.Color = Color3.new(r/255,g/255,b/255)
  2282. end
  2283. if ModeOfGlitch == 9 then
  2284. coroutine.resume(coroutine.create(function()
  2285. while true do
  2286. swait()
  2287. if rng.Parent ~= nil then
  2288. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2289. else
  2290. break
  2291. end
  2292. end
  2293. end))
  2294. end
  2295. local scaler2 = 1
  2296. local speeder = FastSpeed
  2297. if type == "Add" then
  2298. scaler2 = 1*value
  2299. elseif type == "Divide" then
  2300. scaler2 = 1/value
  2301. end
  2302. coroutine.resume(coroutine.create(function()
  2303. for i = 0,10/bonuspeed,0.1 do
  2304. swait()
  2305. if rainbowmode == true then
  2306. rng.Color = Color3.new(r/255,g/255,b/255)
  2307. end
  2308. if type == "Add" then
  2309. scaler2 = scaler2 - 0.01*value/bonuspeed
  2310. elseif type == "Divide" then
  2311. scaler2 = scaler2 - 0.01/value*bonuspeed
  2312. end
  2313. if chaosmode == true then
  2314. rng.BrickColor = BrickColor.random()
  2315. end
  2316. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2317. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2318. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2319. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2320. end
  2321. rng:Destroy()
  2322. end))
  2323. end
  2324.  
  2325. function dmg(dude)
  2326. if dude.Name ~= Character then
  2327. local keptcolor = BrickColor.new("Alder")
  2328. local bgf = Instance.new("BodyGyro",dude.Head)
  2329. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2330. --[[local val = Instance.new("BoolValue",dude)
  2331. val.Name = "IsHit"]]--
  2332. local ds = coroutine.wrap(function()
  2333. dude:WaitForChild("Head"):BreakJoints()
  2334. for i, v in pairs(dude:GetChildren()) do
  2335. if v:IsA("Part") or v:IsA("MeshPart") then
  2336. v.Name = "DEMINISHED"
  2337. end
  2338. end
  2339. wait(0.5)
  2340. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  2341. coroutine.resume(coroutine.create(function()
  2342. for i, v in pairs(dude:GetChildren()) do
  2343. if v:IsA("Accessory") then
  2344. v:Destroy()
  2345. end
  2346. if v:IsA("Humanoid") then
  2347. v:Destroy()
  2348. end
  2349. if v:IsA("CharacterMesh") then
  2350. v:Destroy()
  2351. end
  2352. if v:IsA("Model") then
  2353. v:Destroy()
  2354. end
  2355. if v:IsA("Part") or v:IsA("MeshPart") then
  2356. for x, o in pairs(v:GetChildren()) do
  2357. if o:IsA("Decal") then
  2358. o:Destroy()
  2359. end
  2360. end
  2361. coroutine.resume(coroutine.create(function()
  2362. v.Material = "Neon"
  2363. v.CanCollide = false
  2364. v.Anchored = false
  2365. local bld = Instance.new("ParticleEmitter",v)
  2366. bld.LightEmission = 0.75
  2367. bld.Texture = "rbxassetid://363275192" ---284205403
  2368. bld.Color = ColorSequence.new(keptcolor.Color)
  2369. bld.Rate = 500
  2370. bld.Lifetime = NumberRange.new(1)
  2371. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  2372. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2373. bld.Speed = NumberRange.new(2,5)
  2374. bld.VelocitySpread = 50000
  2375. bld.Rotation = NumberRange.new(-500,500)
  2376. bld.RotSpeed = NumberRange.new(-500,500)
  2377. local sbs = Instance.new("BodyPosition", v)
  2378. sbs.P = 3000
  2379. sbs.D = 1000
  2380. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2381. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  2382. v.Color = keptcolor.Color
  2383. coroutine.resume(coroutine.create(function()
  2384. for i = 0, 49 do
  2385. swait(1)
  2386. v:BreakJoints()
  2387. v.Transparency = v.Transparency + 0.02
  2388. end
  2389. v:BreakJoints()
  2390. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  2391. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  2392. bld.Speed = NumberRange.new(10,25)
  2393. bld.Drag = 5
  2394. bld.Acceleration = vt(0,2,0)
  2395. wait(0.5)
  2396. bld.Enabled = false
  2397. wait(8)
  2398. v:Destroy()
  2399. dude:Destroy()
  2400. end))
  2401. end))
  2402. end
  2403. end
  2404. end))
  2405. end)
  2406. ds()
  2407. end
  2408. end
  2409.  
  2410.  
  2411. function FindNearestHead(Position, Distance, SinglePlayer)
  2412. if SinglePlayer then
  2413. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2414. end
  2415. local List = {}
  2416. for i, v in pairs(workspace:GetChildren()) do
  2417. if v:IsA("Model") then
  2418. if v:findFirstChild("Head") then
  2419. if v ~= Character then
  2420. if (v.Head.Position - Position).magnitude <= Distance then
  2421. table.insert(List, v)
  2422. end
  2423. end
  2424. end
  2425. end
  2426. end
  2427. return List
  2428. end
  2429.  
  2430. function FaceMouse()
  2431. Cam = workspace.CurrentCamera
  2432. return {
  2433. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2434. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2435. }
  2436. end
  2437.  
  2438. function FaceMouse2()
  2439. Cam = workspace.CurrentCamera
  2440. return {
  2441. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2442. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2443. }
  2444. end
  2445.  
  2446. -- Functions are ready.
  2447. local storehumanoidWS = 16
  2448.  
  2449. function createBGCircle(size,parent,color)
  2450. local bgui = Instance.new("BillboardGui",parent)
  2451. bgui.Size = UDim2.new(size, 0, size, 0)
  2452. local imgc = Instance.new("ImageLabel",bgui)
  2453. imgc.BackgroundTransparency = 1
  2454. imgc.ImageTransparency = 0
  2455. imgc.Size = UDim2.new(1,0,1,0)
  2456. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  2457. imgc.ImageColor3 = color
  2458. return bgui,imgc
  2459. end
  2460.  
  2461. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  2462. local bgui,imgc = createBGCircle(size,guipar,color)
  2463. bgui.AlwaysOnTop = true
  2464. imgc.Image = "rbxassetid://" ..img
  2465. local rrot = math.random(1,2)
  2466. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  2467. coroutine.resume(coroutine.create(function()
  2468. for i = 0, 24*delay do
  2469. swait()
  2470. if rotationenabled == true then
  2471. if rrot == 1 then
  2472. imgc.Rotation = imgc.Rotation + rotsp
  2473. elseif rrot == 2 then
  2474. imgc.Rotation = imgc.Rotation - rotsp
  2475. end
  2476. end
  2477. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  2478. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  2479. end
  2480. bgui:Destroy()
  2481. end))
  2482. end
  2483.  
  2484. local actualrotationvalue = 0
  2485.  
  2486. function Laserbeamy()
  2487. attack = true
  2488. hum.WalkSpeed = 0
  2489. bosschatfunc("Beams are nice.",maincolor.Color,2)
  2490. CFuncs["Sound"].Create("rbxassetid://289315275", handlex, 7.5, 1)
  2491. CFuncs["Sound"].Create("rbxassetid://1521621176", handlex, 5,1)
  2492. CFuncs["Sound"].Create("rbxassetid://418302853", handlex, 6.5, 1)
  2493. CFuncs["TimeSound"].Create("rbxassetid://184173042", handlex, 5, 1,0,2.75)
  2494. CFuncs["Sound"].Create("rbxassetid://898407368", handlex, 1.75, 1.2)
  2495. CFuncs["Sound"].Create("rbxassetid://1930016365", handlex, 1.75, 1.1)
  2496. CFuncs["Sound"].Create("rbxassetid://1752639888", handlex, 1.5, 1)
  2497. local efec = Instance.new("ParticleEmitter",handlex)
  2498. efec.Texture = "rbxassetid://2109052855"
  2499. efec.LightEmission = 1
  2500. efec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  2501. efec.Rate = 10
  2502. efec.Lifetime = NumberRange.new(0.75)
  2503. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.8,7.5,0),NumberSequenceKeypoint.new(1,0,0)})
  2504. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  2505. efec.Drag = 5
  2506. efec.LockedToPart = true
  2507. efec.Rotation = NumberRange.new(-500,500)
  2508. efec.VelocitySpread = 9000
  2509. efec.Speed = NumberRange.new(0)
  2510. efec.RotSpeed = NumberRange.new(-500,500)
  2511. local efec2 = efec:Clone()
  2512. efec2.LightEmission = 1
  2513. efec2.Texture = "rbxassetid://2092248396"
  2514. efec2.Parent = handlex
  2515. efec2.Rate = 10
  2516. efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,17.5,0),NumberSequenceKeypoint.new(0.5,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,100,0)})
  2517. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2518. efec2.RotSpeed = NumberRange.new(-100,100)
  2519. for i = 0,10,0.1 do
  2520. swait()
  2521. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  2522. actualrotationvalue = actualrotationvalue + 14
  2523. handlexweld.C0=clerp(handlexweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2524. handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,5)*angles(math.rad(-5),math.rad(60),math.rad(0)),.3)
  2525. sphere2(5,"Add",handlex.CFrame,vt(4,4,0.1),0.005,0.005,0.005,BrickColor.new("Alder"))
  2526. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
  2527. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
  2528. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
  2529. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.5)
  2530. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-30),math.rad(15)),.5)
  2531. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-4.5),math.rad(0),math.rad(10)),.5)
  2532. end
  2533. efec.Enabled = false
  2534. efec2.Enabled = false
  2535. game:GetService("Debris"):AddItem(efec, 5)
  2536. game:GetService("Debris"):AddItem(efec2, 5)
  2537. CFuncs["Sound"].Create("rbxassetid://919941001", handlex, 8, 1.1)
  2538. sphere2(5,"Add",handlex.CFrame,vt(4,4,0.1),0.5,0.5,0.005,BrickColor.new("Alder"))
  2539. sphere2(4,"Add",handlex.CFrame,vt(4,4,0.1),0.5,0.5,0.005,BrickColor.new("Alder"))
  2540. sphere2(3,"Add",handlex.CFrame,vt(4,4,0.1),0.5,0.5,0.005,BrickColor.new("Alder"))
  2541. for i = 0, 14 do
  2542. slash(math.random(10,40)/10,5,true,"Round","Add","Out",handlex.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(30,70)/250,BrickColor.new("White"))
  2543. end
  2544. for i = 0, 24 do
  2545. for i = 0,1,0.6 do
  2546. swait()
  2547. hum.CameraOffset = vt(math.random(-10,10)/60,math.random(-10,10)/60,math.random(-10,10)/60)
  2548. actualrotationvalue = actualrotationvalue + 14
  2549. handlexweld.C0=clerp(handlexweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2550. handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,5)*angles(math.rad(-5),math.rad(60),math.rad(0)),.3)
  2551. sphere2(5,"Add",handlex.CFrame,vt(4,4,0.1),0.005,0.005,0.005,BrickColor.new("Alder"))
  2552. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
  2553. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
  2554. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
  2555. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.5)
  2556. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-30),math.rad(15)),.5)
  2557. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-4.5),math.rad(0),math.rad(10)),.5)
  2558. end
  2559. local orb = Instance.new("Part", char)
  2560. CFuncs["Sound"].Create("rbxassetid://1146690130", handlex, 2,1.25)
  2561. orb.BrickColor = BrickColor.new("Alder")
  2562. orb.CanCollide = false
  2563. orb.FormFactor = 3
  2564. orb.Name = "Ring"
  2565. orb.Material = "Neon"
  2566. orb.Size = Vector3.new(1, 1, 1)
  2567. orb.Transparency = 1
  2568. orb.TopSurface = 0
  2569. orb.BottomSurface = 0
  2570. orb.Anchored = true
  2571. orb.CFrame = handlex.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,1))
  2572. local a = Instance.new("Part",char)
  2573. a.Name = "Direction"
  2574. a.Anchored = true
  2575. a.BrickColor = BrickColor.new("Alder")
  2576. a.Material = "Neon"
  2577. a.Transparency = 0.25
  2578. a.Shape = "Cylinder"
  2579. local ht = Instance.new("Part",char)
  2580. ht.Name = "DirectionHit"
  2581. ht.Anchored = true
  2582. ht.BrickColor = BrickColor.new("Alder")
  2583. ht.CanCollide = false
  2584. ht.Transparency = 1
  2585. ht.Size = vt(0.1,0.1,0.1)
  2586. CFuncs["Sound"].Create("rbxassetid://206049428", ht, 3, 1)
  2587. CFuncs["Sound"].Create("rbxassetid://824687369", ht, 6, 1)
  2588. CFuncs["Sound"].Create("rbxassetid://698224146", ht, 4, 1)
  2589. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 4, 1.1)
  2590. a.CanCollide = false
  2591. local ray = Ray.new(
  2592. orb.CFrame.p, -- origin
  2593. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  2594. )
  2595. local ignore = char
  2596. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2597. a.BottomSurface = 10
  2598. a.TopSurface = 10
  2599. local distance = (orb.CFrame.p - position).magnitude
  2600. a.Size = Vector3.new(distance,1,1)
  2601. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  2602. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  2603. sphere2(3,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.35,0.35,0.35,BrickColor.new("Alder"))
  2604. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.35,0.35,0.35,BrickColor.new("Alder"))
  2605. MagniDamage(ht, 15, 70,95, 0, "Normal")
  2606. for i = 0, 4 do
  2607. slash(math.random(10,60)/10,5,true,"Round","Add","Out",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,80)/250,BrickColor.new("White"))
  2608. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,1,3),-0.015,1.5,-0.015,BrickColor.new("Alder"))
  2609. local rsiz = math.random(30,60)
  2610. sphereMK(math.random(2,4),0.75,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Alder"),0)
  2611. end
  2612. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  2613. local msh = Instance.new("SpecialMesh",a)
  2614. msh.MeshType = "Cylinder"
  2615. msh.Scale = vt(1,2,2)
  2616. coroutine.resume(coroutine.create(function()
  2617. for i = 0, 49 do
  2618. swait()
  2619. msh.Scale = msh.Scale - vt(0,0.04,0.04)
  2620. a.Transparency = a.Transparency + 0.02
  2621. end
  2622. a:Destroy()
  2623. ht:Destroy()
  2624. orb:Destroy()
  2625. end))
  2626. end
  2627. hum.WalkSpeed = 16
  2628. attack = false
  2629. end
  2630.  
  2631. function vaporwave()
  2632. attack = true
  2633. hum.WalkSpeed = 0
  2634. bosschatfunc("Let's just relax, here, take some vaporwave.",maincolor.Color,2)
  2635. for i = 0,2,0.1 do
  2636. swait()
  2637. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
  2638. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
  2639. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  2640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  2641. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  2642. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  2643. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("White"))
  2644. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Ghost grey"))
  2645. MagniDamage(root, 200, 30,125, 0, "Normal")
  2646. CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
  2647. end
  2648. wait(1)
  2649. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("White"))
  2650. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Ghost grey"))
  2651. MagniDamage(root, 200, 30,125, 0, "Normal")
  2652. CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
  2653. wait(1)
  2654. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("White"))
  2655. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Ghost grey"))
  2656. MagniDamage(root, 200, 30,125, 0, "Normal")
  2657. CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
  2658. wait(1)
  2659. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("White"))
  2660. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Ghost grey"))
  2661. MagniDamage(root, 200, 30,125, 0, "Normal")
  2662. CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
  2663. wait(1)
  2664. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("White"))
  2665. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Ghost grey"))
  2666. MagniDamage(root, 200, 30,125, 0, "Normal")
  2667. CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
  2668. attack = false
  2669. hum.WalkSpeed = 16
  2670. end
  2671.  
  2672. function sadwave()
  2673. attack = true
  2674. hum.WalkSpeed = 0
  2675. bosschatfunc("I hate this world, this world hates me.",maincolor.Color,2)
  2676. for i = 0,2,0.1 do
  2677. swait()
  2678. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
  2679. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
  2680. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  2681. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  2682. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  2683. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  2684. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
  2685. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
  2686. MagniDamage(root, 200, 10,15, 0, "Normal")
  2687. CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
  2688. end
  2689. wait(2)
  2690. for i = 0,2,0.1 do
  2691. swait()
  2692. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
  2693. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
  2694. MagniDamage(root, 200, 10,15, 0, "Normal")
  2695. CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
  2696. end
  2697. wait(2)
  2698. for i = 0,2,0.1 do
  2699. swait()
  2700. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
  2701. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
  2702. MagniDamage(root, 200, 10,15, 0, "Normal")
  2703. CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
  2704. end
  2705. wait(2)
  2706. hum.WalkSpeed = 16
  2707. bosschatfunc("This world is cruel.",maincolor.Color,2)
  2708. attack = false
  2709. end
  2710.  
  2711. function slice()
  2712. attack = true
  2713. hum.WalkSpeed = 0
  2714. bosschatfunc("Cut it out!",maincolor.Color,2)
  2715. for i = 0,2,0.1 do
  2716. swait()
  2717. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
  2718. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
  2719. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
  2720. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.5)
  2721. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-30),math.rad(15)),.5)
  2722. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-4.5),math.rad(0),math.rad(10)),.5)
  2723. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.025,0.01,0.025),math.random(1,10)/250,BrickColor.new("Ghost grey"))
  2724. MagniDamage(RightArm, 7, 10,15, 0, "Normal")
  2725. CFuncs["Sound"].Create("rbxassetid://206049428", RightArm, 10, 1)
  2726. swait()
  2727. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.025,0.01,0.025),math.random(1,10)/250,BrickColor.new("Ghost grey"))
  2728. MagniDamage(RightArm, 7, 10,15, 0, "Normal")
  2729. CFuncs["Sound"].Create("rbxassetid://206049428", RightArm, 10, 1)
  2730. swait()
  2731. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.025,0.01,0.025),math.random(1,10)/250,BrickColor.new("Ghost grey"))
  2732. MagniDamage(RightArm, 7, 10,15, 0, "Normal")
  2733. CFuncs["Sound"].Create("rbxassetid://206049428", RightArm, 10, 1)
  2734. end
  2735. attack = false
  2736. hum.WalkSpeed = 20
  2737. end
  2738.  
  2739. function fallout()
  2740. attack = true
  2741. bosschatfunc("Radioactive slash.",maincolor.Color,2)
  2742. for i = 0, 14 do
  2743. slash(math.random(10,40)/10,5,true,"Round","Add","Out",Torso.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(30,70)/250,BrickColor.new("Camo"))
  2744. MagniDamage(root, 40, 100,125, 0, "Normal")
  2745. CFuncs["Sound"].Create("rbxassetid://206049428", RightArm, 10, 1)
  2746. attack = false
  2747. end
  2748. end
  2749.  
  2750. function abpunch()
  2751. attack = true
  2752. hum.WalkSpeed = 0
  2753. bosschatfunc("GeT DiSToRTed INtO tHE ABysS!1!1!!!!1!11!!1!111",maincolor.Color,2)
  2754. for i = 0,24 do
  2755. swait()
  2756. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
  2757. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
  2758. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
  2759. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.5)
  2760. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-30),math.rad(15)),.5)
  2761. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-4.5),math.rad(0),math.rad(10)),.5)
  2762. MagniDamage(RightArm, 5, 70,95, 0, "Normal")
  2763. hum.WalkSpeed = 16
  2764. attack = false
  2765. end
  2766. end
  2767.  
  2768. function leap()
  2769. local vel = Instance.new("BodyPosition", root)
  2770. vel.P = 30000
  2771. vel.D = 1000
  2772. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  2773. vel.position = root.CFrame.p + vt(0,150,0)
  2774. wait(2)
  2775. vel:Destroy()
  2776. end
  2777.  
  2778. function steampressurerun()
  2779. local vel = Instance.new("BodyPosition", root)
  2780. vel.P = 30000
  2781. vel.D = 1000
  2782. attack = true
  2783. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  2784. vel.position = root.CFrame.p + vt(0,10,0)
  2785. wait(0.2)
  2786. local orb = Instance.new("Part", char)
  2787. CFuncs["Sound"].Create("rbxassetid://1146690130", handlex, 2,1.25)
  2788. orb.BrickColor = BrickColor.new("Alder")
  2789. orb.CanCollide = false
  2790. orb.FormFactor = 3
  2791. orb.Name = "Ring"
  2792. orb.Material = "Neon"
  2793. orb.Size = Vector3.new(1, 1, 1)
  2794. orb.Transparency = 1
  2795. orb.TopSurface = 0
  2796. orb.BottomSurface = 0
  2797. orb.Anchored = true
  2798. orb.CFrame = handlex.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,1))
  2799. local a = Instance.new("Part",char)
  2800. a.Name = "Direction"
  2801. a.Anchored = true
  2802. a.BrickColor = BrickColor.new("Maroon")
  2803. a.Material = "Neon"
  2804. a.Transparency = 0.25
  2805. a.Shape = "Cylinder"
  2806. local ht = Instance.new("Part",char)
  2807. ht.Name = "DirectionHit"
  2808. ht.Anchored = true
  2809. ht.BrickColor = BrickColor.new("Maroon")
  2810. ht.CanCollide = false
  2811. ht.Transparency = 1
  2812. ht.Size = vt(0.1,0.1,0.1)
  2813. CFuncs["Sound"].Create("rbxassetid://206049428", ht, 3, 1)
  2814. CFuncs["Sound"].Create("rbxassetid://824687369", ht, 6, 1)
  2815. CFuncs["Sound"].Create("rbxassetid://698224146", ht, 4, 1)
  2816. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 4, 1.1)
  2817. a.CanCollide = false
  2818. local ray = Ray.new(
  2819. orb.CFrame.p, -- origin
  2820. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  2821. )
  2822. local ignore = char
  2823. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2824. a.BottomSurface = 10
  2825. a.TopSurface = 10
  2826. local distance = (orb.CFrame.p - position).magnitude
  2827. a.Size = Vector3.new(distance,1,1)
  2828. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  2829. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  2830. sphere2(3,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.35,0.35,0.35,BrickColor.new("Maroon"))
  2831. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.35,0.35,0.35,BrickColor.new("Maroon"))
  2832. MagniDamage(ht, 15, 10000,1000000, 0, "Normal")
  2833. for i = 0, 4 do
  2834. slash(math.random(10,60)/10,5,true,"Round","Add","Out",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,80)/250,BrickColor.new("Really black"))
  2835. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,1,3),-0.015,1.5,-0.015,BrickColor.new("Maroon"))
  2836. local rsiz = math.random(30,60)
  2837. sphereMK(math.random(2,4),0.75,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Maroon"),0)
  2838. end
  2839. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  2840. local msh = Instance.new("SpecialMesh",a)
  2841. msh.MeshType = "Cylinder"
  2842. msh.Scale = vt(1,2,2)
  2843. coroutine.resume(coroutine.create(function()
  2844. for i = 0, 49 do
  2845. swait()
  2846. msh.Scale = msh.Scale - vt(0,0.04,0.04)
  2847. a.Transparency = a.Transparency + 0.02
  2848. end
  2849. a:Destroy()
  2850. ht:Destroy()
  2851. orb:Destroy()
  2852. wait(1)
  2853. vel:Destroy()
  2854. attack = false
  2855. end))
  2856. end
  2857.  
  2858. function innovation()
  2859. attack = true
  2860. hum.WalkSpeed = 0
  2861. bosschatfunc("Hm. I fear that this creation will not last for long.",maincolor.Color,2)
  2862. for i = 0, 14, 0.1 do
  2863. swait()
  2864. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  2865. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  2866. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  2867. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  2868. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  2869. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
  2870. end
  2871. wait(2)
  2872. bosschatfunc("I will have to end this quick before space takes this over.",maincolor.Color,2)
  2873. for i = 0, 14, 0.1 do
  2874. swait()
  2875. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  2876. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  2877. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  2878. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  2879. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  2880. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
  2881. end
  2882. hum.WalkSpeed = 16
  2883. attack = false
  2884. end
  2885.  
  2886. function Fireball()
  2887. attack = true
  2888. hum.WalkSpeed = 0
  2889. local keptcolor = BrickColor.new("Institutional white")
  2890. local MAINRUINCOLOR = BrickColor.new("Institutional white")
  2891. chatfunc("Some move, but I'm using this anyways.",MAINRUINCOLOR.Color,"Inverted","SciFi",0.75)
  2892. for i = 0,2,0.1 do
  2893. swait()
  2894. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  2895. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  2896. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  2897. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  2898. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.3)
  2899. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  2900. end
  2901. local orb = Instance.new("Part", char)
  2902. orb.BrickColor = keptcolor
  2903. orb.CanCollide = false
  2904. orb.FormFactor = 3
  2905. orb.Name = "Ring"
  2906. orb.Material = "Neon"
  2907. orb.Size = Vector3.new(1, 1, 1)
  2908. orb.Transparency = 0
  2909. orb.TopSurface = 0
  2910. orb.BottomSurface = 0
  2911. local orbm = Instance.new("SpecialMesh", orb)
  2912. orbm.MeshType = "Sphere"
  2913. orbm.Name = "SizeMesh"
  2914. orbm.Scale = vt(4,4,4)
  2915. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  2916. local eff = Instance.new("ParticleEmitter",orb)
  2917. eff.Texture = "rbxassetid://296874871"
  2918. eff.LightEmission = 0.95
  2919. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2920. eff.Rate = 10000
  2921. eff.Lifetime = NumberRange.new(1.5)
  2922. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2923. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2924. eff.Speed = NumberRange.new(25)
  2925. eff.Drag = 5
  2926. eff.Rotation = NumberRange.new(-500,500)
  2927. eff.VelocitySpread = 9000
  2928. eff.RotSpeed = NumberRange.new(-500,500)
  2929. local a = Instance.new("Part",workspace)
  2930. a.Name = "Direction"
  2931. a.Anchored = true
  2932. a.BrickColor = bc("Toothpaste")
  2933. a.Material = "Neon"
  2934. a.Transparency = 1
  2935. a.CanCollide = false
  2936. local ray = Ray.new(
  2937. orb.CFrame.p, -- origin
  2938. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  2939. )
  2940. local ignore = orb
  2941. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2942. a.BottomSurface = 10
  2943. a.TopSurface = 10
  2944. local distance = (orb.CFrame.p - position).magnitude
  2945. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2946. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2947. orb.CFrame = a.CFrame
  2948. a:Destroy()
  2949. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  2950. local bv = Instance.new("BodyVelocity")
  2951. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2952. bv.velocity = orb.CFrame.lookVector*75
  2953. bv.Parent = orb
  2954. game:GetService("Debris"):AddItem(orb, 10)
  2955. local hitted = false
  2956. coroutine.resume(coroutine.create(function()
  2957. while true do
  2958. swait()
  2959. if orb.Parent ~= nil and hitted == false then
  2960. sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
  2961. elseif orb.Parent == nil and hitted == true then
  2962. break
  2963. end
  2964. end
  2965. end))
  2966. local hit =orb.Touched:connect(function(hit)
  2967. if hitted == false and hit.Parent ~= char then
  2968. hitted = true
  2969. eff.Enabled = false
  2970. CameraEnshaking(4,4)
  2971. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  2972. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  2973. MagniDamage(orb, 25, 20,30, 0, "Normal")
  2974. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2975. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2976. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2977. for i = 0, 9 do
  2978. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  2979. end
  2980. for i = 0, 49 do
  2981. local rsiz = math.random(10,30)
  2982. sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2983. end
  2984. local eff = Instance.new("ParticleEmitter",orb)
  2985. eff.Texture = "rbxassetid://296874871"
  2986. eff.LightEmission = 0.95
  2987. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2988. eff.Rate = 10000
  2989. eff.Lifetime = NumberRange.new(1.5)
  2990. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2991. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2992. eff.Speed = NumberRange.new(150)
  2993. eff.Drag = 5
  2994. eff.Rotation = NumberRange.new(-500,500)
  2995. eff.VelocitySpread = 9000
  2996. eff.RotSpeed = NumberRange.new(-500,500)
  2997. coroutine.resume(coroutine.create(function()
  2998. wait(0.25)
  2999. eff.Enabled = false
  3000. end))
  3001. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  3002. orb.Anchored = true
  3003. orb.Transparency = 1
  3004. coroutine.resume(coroutine.create(function()
  3005. if hfr ~= nil then
  3006. orb.Size = vt(50,1,50)
  3007. orb.Orientation = vt(0,0,0)
  3008. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  3009. orbm:Destroy()
  3010. local firef = eff:Clone()
  3011. firef.Parent = orb
  3012. firef.VelocitySpread = 50
  3013. firef.Rate = 500
  3014. firef.Drag = 3
  3015. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3016. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3017. firef.Speed = NumberRange.new(10,30)
  3018. for i = 0, 24 do
  3019. wait(0.25)
  3020. MagniDamage(orb, 25, 3,6, 0, "Normal")
  3021. end
  3022. firef.Enabled = false
  3023. end
  3024. end))
  3025. wait(10)
  3026. orb:Destroy()
  3027. end
  3028. end)
  3029. for i = 0,1,0.1 do
  3030. swait()
  3031. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
  3032. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3033. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  3034. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  3035. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  3036. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3037. end
  3038. hum.WalkSpeed = storehumanoidWS
  3039. attack = false
  3040. end
  3041.  
  3042. function suicide()
  3043. hum.WalkSpeed = 0
  3044. wait(2)
  3045. attack = true
  3046. bosschatfunc("Nobody here understands my pain.",maincolor.Color,2)
  3047. wait(2)
  3048. bosschatfunc("I wanted to fix this all, but I guess it won't happen.",maincolor.Color,2)
  3049. wait(2)
  3050. bosschatfunc("I'm done with life. I'm going to die now.",maincolor.Color,2)
  3051. wait(2)
  3052. bosschatfunc("Hope you're happy when I'm finally gone, void.",maincolor.Color,2)
  3053. wait(2)
  3054. bosschatfunc("BECAUSE IM GONNA TAKE YOU ALL DOWN WITH ME!",maincolor.Color,2)
  3055. wait(2)
  3056. bosschatfunc("SHATTER!",maincolor.Color,2)
  3057. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  3058. for i = 0,2,0.1 do
  3059. swait()
  3060. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
  3061. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
  3062. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  3063. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  3064. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  3065. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  3066. end
  3067. MagniDamage(RightArm, 1000000000, 100000000,200000000, 0, "Normal")
  3068. hum.Health = 0
  3069. attack = false
  3070. end
  3071.  
  3072. function chime()
  3073. local vel = Instance.new("BodyPosition", root)
  3074. vel.P = 30000
  3075. vel.D = 1000
  3076. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3077. vel.position = root.CFrame.p + vt(0,150,0)
  3078. bosschatfunc("HERE GOES...",maincolor.Color,2)
  3079. Fireball()
  3080. Fireball()
  3081. Fireball()
  3082. Fireball()
  3083. Fireball()
  3084. Fireball()
  3085. Fireball()
  3086. Fireball()
  3087. Fireball()
  3088. Fireball()
  3089. Fireball()
  3090. Fireball()
  3091. bosschatfunc("DROP!",maincolor.Color,2)
  3092. wait(2)
  3093. vel:Destroy()
  3094. end
  3095.  
  3096. function UNKNOWNDEATH()
  3097. attack = true
  3098. hum.WalkSpeed = 0
  3099. bosschatfunc("yoUR lIFE is PoiNtLEss anD so aRe yoU!!11!!1!!1!11!1111!1111!1!1!111",maincolor.Color,2)
  3100. for i = 0,24 do
  3101. swait()
  3102. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
  3103. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
  3104. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
  3105. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.5)
  3106. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-30),math.rad(15)),.5)
  3107. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-4.5),math.rad(0),math.rad(10)),.5)
  3108. end
  3109. MagniDamage(RightArm, 2.5, 1000,2000, 0, "Normal")
  3110. attack = false
  3111. hum.WalkSpeed = 16
  3112. end
  3113.  
  3114. function uselessnuke()
  3115. attack = true
  3116. local vel = Instance.new("BodyPosition", root)
  3117. vel.P = 25000
  3118. vel.D = 1000
  3119. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3120. vel.position = root.CFrame.p + vt(0,250,0)
  3121. CFuncs["Sound"].Create("rbxassetid://1295446488", char, 1.5, 0.8)
  3122. for i = 0, 49 do
  3123. coroutine.resume(coroutine.create(function()
  3124. slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(25,500)/250,BrickColor.new("White"))
  3125. end))
  3126. end
  3127. for i = 0, 4, 0.1 do
  3128. swait()
  3129. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-25)),.8)
  3130. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(25)),.8)
  3131. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.8)
  3132. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.8)
  3133. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-57)),.8)
  3134. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(83),math.rad(0),math.rad(58)),.8)
  3135. end
  3136. wait(2)
  3137. local efec = Instance.new("ParticleEmitter",root)
  3138. efec.Texture = "rbxassetid://2109052855"
  3139. efec.LightEmission = 1
  3140. efec.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  3141. efec.Rate = 15
  3142. efec.Lifetime = NumberRange.new(1)
  3143. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(0.2,50,0),NumberSequenceKeypoint.new(0.6,125,0),NumberSequenceKeypoint.new(0.8,175,0),NumberSequenceKeypoint.new(1,20,0)})
  3144. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  3145. efec.Drag = 5
  3146. efec.LockedToPart = true
  3147. efec.Rotation = NumberRange.new(-500,500)
  3148. efec.VelocitySpread = 9000
  3149. efec.RotSpeed = NumberRange.new(-500,500)
  3150. local efec2 = efec:Clone()
  3151. efec2.LightEmission = 1
  3152. efec2.Texture = "rbxassetid://2092248396"
  3153. efec2.Parent = root
  3154. efec2.Rate = 30
  3155. efec2.Lifetime = NumberRange.new(1)
  3156. efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(0.5,150,0),NumberSequenceKeypoint.new(0.8,500,0),NumberSequenceKeypoint.new(1,1000,0)})
  3157. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3158. efec2.Speed = NumberRange.new(0)
  3159. efec2.RotSpeed = NumberRange.new(-100,100)
  3160. sphere2(1,"Add",root.CFrame,vt(500,500,500),-10,-10,-10,BrickColor.new("Alder"))
  3161. sphere2(1,"Add",root.CFrame,vt(750,750,750),-15,-15,-15,BrickColor.new("Pastel light blue"))
  3162. CFuncs["LongSound"].Create("rbxassetid://1930483671", char, 10, 1)
  3163. wait(2)
  3164. CameraEnshaking(20,50)
  3165. CFuncs["Sound"].Create("rbxassetid://1368605755", char, 10, 1)
  3166. CFuncs["Sound"].Create("rbxassetid://763718160", char, 5, 0.5)
  3167. CFuncs["Sound"].Create("rbxassetid://763718160", char, 5, 0.25)
  3168. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 1)
  3169. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.75)
  3170. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.5)
  3171. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.25)
  3172. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10, 1)
  3173. CFuncs["Sound"].Create("rbxassetid://239000203", char, 10, 1)
  3174. coroutine.resume(coroutine.create(function()
  3175. for i = 0, 74, 0.1 do
  3176. swait()
  3177. MagniDamage(root, 1500000, 999999,99999999, 0, "Normal")
  3178. coroutine.resume(coroutine.create(function()
  3179. for i = 0, 2 do
  3180. slash(math.random(10,40)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(250,2500)/250,BrickColor.new("White"))
  3181. end
  3182. slash(math.random(30,90)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),math.random(2,5)/250,BrickColor.new("Alder"))
  3183. sphere2(10,"Add",root.CFrame,vt(30,100000,30),2.5,100,2.5,BrickColor.new("Alder"))
  3184. sphere2(10,"Add",root.CFrame,vt(50,100000,50),3,100,3,BrickColor.new("Pastel light blue"))
  3185. sphere2(10,"Add",root.CFrame,vt(10,10,10),5,5,5,BrickColor.new("Alder"))
  3186. sphere2(10,"Add",root.CFrame,vt(10,10,10),10,10,10,BrickColor.new("Pastel light blue"))
  3187. end))
  3188. end
  3189. vel:Destroy()
  3190. attack = false
  3191. efec.Enabled = false
  3192. efec2.Enabled = false
  3193. game:GetService("Debris"):AddItem(efec, 5)
  3194. game:GetService("Debris"):AddItem(efec2, 5)
  3195. end))
  3196. end
  3197. ----------------------------------- Abilities
  3198.  
  3199. -------------------------------------
  3200.  
  3201. Humanoid.Animator.Parent = nil
  3202.  
  3203. -------------------------------------
  3204.  
  3205. local attacktype = 1
  3206. mouse.Button1Down:connect(function()
  3207. if attack == false and attacktype == 1 then
  3208. attacktype = 2
  3209. --attackone()
  3210. elseif attack == false and attacktype == 2 then
  3211. attacktype = 3
  3212. --attacktwo()
  3213. elseif attack == false and attacktype == 3 then
  3214. attacktype = 1
  3215. --attackthree()
  3216. elseif attack == false and attacktype == 4 then
  3217. attacktype = 1
  3218. --attackfour()
  3219. end
  3220. end)
  3221.  
  3222. --modes start
  3223. mouse.KeyDown:connect(function(k)
  3224. if k == "e" and attack == false and mode == 1 and mode ~= 3 then
  3225. bosschatfunc("aBnOrMAlITy",maincolor.Color,2)
  3226. ned.Text = "Abnormality"
  3227. mode = 3
  3228. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3229. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3230. circl.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3231. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3232. imgl2b.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3233. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3234. ned.TextStrokeColor3 = BrickColor.new("Pastel light blue").Color
  3235. chatfunc("Current mode: Abnormality",maincolor.Color,"Inverted","Code",2)
  3236. NT("rbxassetid://1470848774",0,1,2)
  3237. --music thing
  3238. kan.SoundId = "rbxassetid://1470848774"
  3239. kan.PlaybackSpeed = 1.01
  3240. kan.Pitch = 1
  3241. kan.Looped = true
  3242. kan.Parent = char
  3243. kan:Resume()
  3244. --end music thing
  3245. for i,v in pairs(colorizermod:GetChildren()) do
  3246. if v:IsA("Part") then
  3247. v.BrickColor = BrickColor.new("Pastel light blue")
  3248. end
  3249. end
  3250. refec.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  3251. refec2.Color = refec.Color
  3252. refec3.Color = refec.Color
  3253. elseif k == "e" and attack == false and mode ~= 1 and mode == 3 then
  3254. bosschatfunc("Jeez, what a day.",maincolor.Color,2)
  3255. ned.Text = "SYNTHEZIZER"
  3256. mode = 1
  3257. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3258. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3259. circl.ImageColor3 = BrickColor.new("Alder").Color
  3260. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3261. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3262. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3263. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3264. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3265. NT("rbxassetid://923445685",0,1,2)
  3266. --music thing
  3267. kan.SoundId = "rbxassetid://923445685"
  3268. kan.PlaybackSpeed = 1.01
  3269. kan.Pitch = 1
  3270. kan.Looped = true
  3271. kan.Parent = char
  3272. kan:Resume()
  3273. --end music thing
  3274. for i,v in pairs(colorizermod:GetChildren()) do
  3275. if v:IsA("Part") then
  3276. v.BrickColor = BrickColor.new("Alder")
  3277. end
  3278. end
  3279. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3280. refec2.Color = refec.Color
  3281. refec3.Color = refec.Color
  3282. end
  3283.  
  3284. if k == "q" and attack == false and mode == 1 and mode ~= 2 then
  3285. bosschatfunc("An infestation of the infected.",maincolor.Color,2)
  3286. ned.Text = "Eggsermine"
  3287. mode = 2
  3288. imgl2.ImageColor3 = BrickColor.new("Bright green").Color
  3289. techc.ImageColor3 = BrickColor.new("Bright green").Color
  3290. circl.ImageColor3 = BrickColor.new("Bright green").Color
  3291. circl2.ImageColor3 = BrickColor.new("Bright green").Color
  3292. imgl2b.ImageColor3 = BrickColor.new("Bright green").Color
  3293. ned.TextColor3 = BrickColor.new("Bright green").Color
  3294. ned.TextStrokeColor3 = BrickColor.new("Bright green").Color
  3295. chatfunc("Current mode: Eggsermine",maincolor.Color,"Inverted","Code",2)
  3296. NT("rbxassetid://378518202",0,1,2)
  3297. --music thing
  3298. kan.SoundId = "rbxassetid://378518202"
  3299. kan.PlaybackSpeed = 1.01
  3300. kan.Pitch = 1
  3301. kan.Looped = true
  3302. kan.Parent = char
  3303. kan:Resume()
  3304. --end music thing
  3305. for i,v in pairs(colorizermod:GetChildren()) do
  3306. if v:IsA("Part") then
  3307. v.BrickColor = BrickColor.new("Bright green")
  3308. end
  3309. end
  3310. refec.Color = ColorSequence.new(BrickColor.new("Bright green").Color)
  3311. refec2.Color = refec.Color
  3312. refec3.Color = refec.Color
  3313. elseif k == "q" and attack == false and mode ~= 1 and mode == 2 then
  3314. bosschatfunc("I don't understand what's going on either.",maincolor.Color,2)
  3315. ned.Text = "SYNTHEZIZER"
  3316. mode = 1
  3317. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3318. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3319. circl.ImageColor3 = BrickColor.new("Alder").Color
  3320. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3321. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3322. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3323. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3324. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3325. NT("rbxassetid://923445685",0,1,2)
  3326. --music thing
  3327. kan.SoundId = "rbxassetid://923445685"
  3328. kan.PlaybackSpeed = 1.01
  3329. kan.Pitch = 1
  3330. kan.Looped = true
  3331. kan.Parent = char
  3332. kan:Resume()
  3333. --end music thing
  3334. for i,v in pairs(colorizermod:GetChildren()) do
  3335. if v:IsA("Part") then
  3336. v.BrickColor = BrickColor.new("Alder")
  3337. end
  3338. end
  3339. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3340. refec2.Color = refec.Color
  3341. refec3.Color = refec.Color
  3342. end
  3343.  
  3344. if k == "one" and attack == false and mode == 2 and mode ~= 4 then
  3345. bosschatfunc("Another chernobyl explosion.",maincolor.Color,2)
  3346. ned.Text = "Nuclear_Eggsermine"
  3347. mode = 4
  3348. imgl2.ImageColor3 = BrickColor.new("Really black").Color
  3349. techc.ImageColor3 = BrickColor.new("Really black").Color
  3350. circl.ImageColor3 = BrickColor.new("Bright green").Color
  3351. circl2.ImageColor3 = BrickColor.new("Really black").Color
  3352. imgl2b.ImageColor3 = BrickColor.new("Bright green").Color
  3353. ned.TextColor3 = BrickColor.new("Really black").Color
  3354. ned.TextStrokeColor3 = BrickColor.new("Bright green").Color
  3355. chatfunc("Current mode: Nuclear_Eggsermine",maincolor.Color,"Inverted","Code",2)
  3356. NT("rbxassetid://1812212957",0,1,2)
  3357. --music thing
  3358. kan.SoundId = "rbxassetid://1812212957"
  3359. kan.PlaybackSpeed = 1.01
  3360. kan.Pitch = 1
  3361. kan.Looped = true
  3362. kan.Parent = char
  3363. kan:Resume()
  3364. --end music thing
  3365. for i,v in pairs(colorizermod:GetChildren()) do
  3366. if v:IsA("Part") then
  3367. v.BrickColor = BrickColor.new("Really black")
  3368. end
  3369. end
  3370. refec.Color = ColorSequence.new(BrickColor.new("Bright green").Color)
  3371. refec2.Color = refec.Color
  3372. refec3.Color = refec.Color
  3373. elseif k == "one" and attack == false and mode ~= 1 and mode == 4 then
  3374. bosschatfunc("Smells like a nuclear fallout in here.",maincolor.Color,2)
  3375. ned.Text = "SYNTHEZIZER"
  3376. mode = 1
  3377. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3378. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3379. circl.ImageColor3 = BrickColor.new("Alder").Color
  3380. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3381. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3382. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3383. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3384. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3385. NT("rbxassetid://923445685",0,1,2)
  3386. --music thing
  3387. kan.SoundId = "rbxassetid://923445685"
  3388. kan.PlaybackSpeed = 1.01
  3389. kan.Pitch = 1
  3390. kan.Looped = true
  3391. kan.Parent = char
  3392. kan:Resume()
  3393. --end music thing
  3394. for i,v in pairs(colorizermod:GetChildren()) do
  3395. if v:IsA("Part") then
  3396. v.BrickColor = BrickColor.new("Alder")
  3397. end
  3398. end
  3399. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3400. refec2.Color = refec.Color
  3401. refec3.Color = refec.Color
  3402. end
  3403.  
  3404. if k == "r" and attack == false and mode == 1 and mode ~= 5 then
  3405. bosschatfunc("I take the D train to go to BK, I can't defeat rain.",maincolor.Color,2)
  3406. ned.Text = "+-_-Relaxed-_-+"
  3407. mode = 5
  3408. imgl2.ImageColor3 = BrickColor.new("White").Color
  3409. techc.ImageColor3 = BrickColor.new("White").Color
  3410. circl.ImageColor3 = BrickColor.new("White").Color
  3411. circl2.ImageColor3 = BrickColor.new("White").Color
  3412. imgl2b.ImageColor3 = BrickColor.new("Ghost grey").Color
  3413. ned.TextColor3 = BrickColor.new("White").Color
  3414. ned.TextStrokeColor3 = BrickColor.new("Ghost grey").Color
  3415. chatfunc("Current mode: Relaxed",maincolor.Color,"Inverted","Code",2)
  3416. NT("rbxassetid://452385370",0,1,2)
  3417. --music thing
  3418. kan.SoundId = "rbxassetid://452385370"
  3419. kan.PlaybackSpeed = 1.01
  3420. kan.Pitch = 1
  3421. kan.Looped = true
  3422. kan.Parent = char
  3423. kan:Resume()
  3424. --end music thing
  3425. for i,v in pairs(colorizermod:GetChildren()) do
  3426. if v:IsA("Part") then
  3427. v.BrickColor = BrickColor.new("White")
  3428. end
  3429. end
  3430. refec.Color = ColorSequence.new(BrickColor.new("Ghost grey").Color)
  3431. refec2.Color = refec.Color
  3432. refec3.Color = refec.Color
  3433. elseif k == "r" and attack == false and mode ~= 1 and mode == 5 then
  3434. bosschatfunc("Aw, I was really into that, oh well.",maincolor.Color,2)
  3435. ned.Text = "SYNTHEZIZER"
  3436. mode = 1
  3437. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3438. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3439. circl.ImageColor3 = BrickColor.new("Alder").Color
  3440. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3441. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3442. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3443. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3444. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3445. NT("rbxassetid://923445685",0,1,2)
  3446. --music thing
  3447. kan.SoundId = "rbxassetid://923445685"
  3448. kan.PlaybackSpeed = 1.01
  3449. kan.Pitch = 1
  3450. kan.Looped = true
  3451. kan.Parent = char
  3452. kan:Resume()
  3453. --end music thing
  3454. for i,v in pairs(colorizermod:GetChildren()) do
  3455. if v:IsA("Part") then
  3456. v.BrickColor = BrickColor.new("Alder")
  3457. end
  3458. end
  3459. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3460. refec2.Color = refec.Color
  3461. refec3.Color = refec.Color
  3462. end
  3463. if k == "one" and attack == false and mode == 5 and mode ~= 6 then
  3464. bosschatfunc("I don't fix, I'd rather weep.",maincolor.Color,2)
  3465. ned.Text = "Sad."
  3466. mode = 6
  3467. imgl2.ImageColor3 = BrickColor.new("Dark blue").Color
  3468. techc.ImageColor3 = BrickColor.new("Dark blue").Color
  3469. circl.ImageColor3 = BrickColor.new("Dark blue").Color
  3470. circl2.ImageColor3 = BrickColor.new("Dark blue").Color
  3471. imgl2b.ImageColor3 = BrickColor.new("Dark blue").Color
  3472. ned.TextColor3 = BrickColor.new("Dark blue").Color
  3473. ned.TextStrokeColor3 = BrickColor.new("Dark blue").Color
  3474. chatfunc("Current mode: Sad",maincolor.Color,"Inverted","Code",2)
  3475. NT("rbxassetid://2490605666",0,1,2)
  3476. --music thing
  3477. kan.SoundId = "rbxassetid://2490605666"
  3478. kan.PlaybackSpeed = 1.01
  3479. kan.Pitch = 1
  3480. kan.Looped = true
  3481. kan.Parent = char
  3482. kan:Resume()
  3483. --end music thing
  3484. for i,v in pairs(colorizermod:GetChildren()) do
  3485. if v:IsA("Part") then
  3486. v.BrickColor = BrickColor.new("Dark blue")
  3487. end
  3488. end
  3489. refec.Color = ColorSequence.new(BrickColor.new("Dark blue").Color)
  3490. refec2.Color = refec.Color
  3491. refec3.Color = refec.Color
  3492. elseif k == "one" and attack == false and mode == 6 and mode ~= 1 then
  3493. bosschatfunc("Wow, recovery without therapy.",maincolor.Color,2)
  3494. ned.Text = "SYNTHEZIZER"
  3495. mode = 1
  3496. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3497. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3498. circl.ImageColor3 = BrickColor.new("Alder").Color
  3499. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3500. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3501. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3502. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3503. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3504. NT("rbxassetid://923445685",0,1,2)
  3505. --music thing
  3506. kan.SoundId = "rbxassetid://923445685"
  3507. kan.PlaybackSpeed = 1.01
  3508. kan.Pitch = 1
  3509. kan.Looped = true
  3510. kan.Parent = char
  3511. kan:Resume()
  3512. --end music thing
  3513. for i,v in pairs(colorizermod:GetChildren()) do
  3514. if v:IsA("Part") then
  3515. v.BrickColor = BrickColor.new("Alder")
  3516. end
  3517. end
  3518. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3519. refec2.Color = refec.Color
  3520. refec3.Color = refec.Color
  3521. end
  3522.  
  3523. if k == "t" and attack == false and mode == 1 and mode ~= 7 then
  3524. bosschatfunc("Cut that radio, doc.",maincolor.Color,2)
  3525. ned.Text = "Radiocutter!"
  3526. mode = 7
  3527. imgl2.ImageColor3 = BrickColor.new("Ghost grey").Color
  3528. techc.ImageColor3 = BrickColor.new("Brown").Color
  3529. circl.ImageColor3 = BrickColor.new("Ghost grey").Color
  3530. circl2.ImageColor3 = BrickColor.new("Brown").Color
  3531. imgl2b.ImageColor3 = BrickColor.new("Ghost grey").Color
  3532. ned.TextColor3 = BrickColor.new("Brown").Color
  3533. ned.TextStrokeColor3 = BrickColor.new("Ghost grey").Color
  3534. chatfunc("Current mode: Radiocutter!",maincolor.Color,"Inverted","Code",2)
  3535. NT("rbxassetid://253050461",0,1,2)
  3536. --music thing
  3537. kan.SoundId = "rbxassetid://253050461"
  3538. kan.PlaybackSpeed = 1
  3539. kan.Pitch = 1
  3540. kan.Looped = true
  3541. kan.Parent = char
  3542. kan:Resume()
  3543. --end music thing
  3544. for i,v in pairs(colorizermod:GetChildren()) do
  3545. if v:IsA("Part") then
  3546. v.BrickColor = BrickColor.new("Brown")
  3547. end
  3548. end
  3549. refec.Color = ColorSequence.new(BrickColor.new("Ghost grey").Color)
  3550. refec2.Color = refec.Color
  3551. refec3.Color = refec.Color
  3552. elseif k == "t" and attack == false and mode == 7 and mode ~= 1 then
  3553. bosschatfunc("Yikes, don't play with sharp objects.",maincolor.Color,2)
  3554. ned.Text = "SYNTHEZIZER"
  3555. mode = 1
  3556. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3557. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3558. circl.ImageColor3 = BrickColor.new("Alder").Color
  3559. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3560. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3561. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3562. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3563. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3564. NT("rbxassetid://923445685",0,1,2)
  3565. --music thing
  3566. kan.SoundId = "rbxassetid://923445685"
  3567. kan.PlaybackSpeed = 1.01
  3568. kan.Pitch = 1
  3569. kan.Looped = true
  3570. kan.Parent = char
  3571. kan:Resume()
  3572. --end music thing
  3573. for i,v in pairs(colorizermod:GetChildren()) do
  3574. if v:IsA("Part") then
  3575. v.BrickColor = BrickColor.new("Alder")
  3576. end
  3577. end
  3578. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3579. refec2.Color = refec.Color
  3580. refec3.Color = refec.Color
  3581. end
  3582.  
  3583. if k == "y" and attack == false and mode == 1 and mode ~= 8 then
  3584. bosschatfunc("AN eRror hAs OccURED!11!!!!!!!!!!!1!11!1!!",maincolor.Color,2)
  3585. mode = 8
  3586. imgl2.ImageColor3 = BrickColor.new("Really black").Color
  3587. techc.ImageColor3 = BrickColor.new("Really black").Color
  3588. circl.ImageColor3 = BrickColor.new("Really black").Color
  3589. circl2.ImageColor3 = BrickColor.new("Black").Color
  3590. imgl2b.ImageColor3 = BrickColor.new("Really black").Color
  3591. ned.TextColor3 = BrickColor.new("Black").Color
  3592. ned.TextStrokeColor3 = BrickColor.new("Black").Color
  3593. chatfunc("Current mode: UNKNOWN",maincolor.Color,"Inverted","Code",2)
  3594. NT("rbxassetid://1138145518",0,1,2)
  3595. --music thing
  3596. kan.SoundId = "rbxassetid://1138145518"
  3597. kan.PlaybackSpeed = 1.01
  3598. kan.Pitch = 1
  3599. kan.Looped = true
  3600. kan.Parent = char
  3601. kan:Resume()
  3602. --end music thing
  3603. for i,v in pairs(colorizermod:GetChildren()) do
  3604. if v:IsA("Part") then
  3605. v.BrickColor = BrickColor.new("Really black")
  3606. end
  3607. end
  3608. refec.Color = ColorSequence.new(BrickColor.new("Black").Color)
  3609. refec2.Color = refec.Color
  3610. refec3.Color = refec.Color
  3611. --random namer
  3612. local radm = math.random(1,7)
  3613. if radm == 1 then
  3614. ned.Text = "DEPRESSED"
  3615. elseif radm == 2 then
  3616. ned.Text = "LONELY"
  3617. elseif radm == 3 then
  3618. ned.Text = "FAILURE"
  3619. elseif radm == 4 then
  3620. ned.Text = "STUPID"
  3621. elseif radm == 5 then
  3622. ned.Text = "WASTED"
  3623. elseif radm == 6 then
  3624. ned.Text = "NO FRIENDS"
  3625. elseif radm == 7 then
  3626. ned.Text = "MENTALLY UNSTABLE"
  3627. end
  3628. if radm == 7 then
  3629. suicideavailable = true
  3630. elseif radm ~= 7 then
  3631. suicideavailable = false
  3632. end
  3633. --epic gamer moments
  3634. elseif k == "y" and attack == false and mode == 8 and mode ~= 1 then
  3635. bosschatfunc("I fixed the error!",maincolor.Color,2)
  3636. ned.Text = "SYNTHEZIZER"
  3637. suicideavailable = false
  3638. mode = 1
  3639. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3640. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3641. circl.ImageColor3 = BrickColor.new("Alder").Color
  3642. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3643. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3644. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3645. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3646. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3647. NT("rbxassetid://923445685",0,1,2)
  3648. --music thing
  3649. kan.SoundId = "rbxassetid://923445685"
  3650. kan.PlaybackSpeed = 1.01
  3651. kan.Pitch = 1
  3652. kan.Looped = true
  3653. kan.Parent = char
  3654. kan.TimePosition = 0
  3655. kan:Resume()
  3656. --end music thing
  3657. for i,v in pairs(colorizermod:GetChildren()) do
  3658. if v:IsA("Part") then
  3659. v.BrickColor = BrickColor.new("Alder")
  3660. end
  3661. end
  3662. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3663. refec2.Color = refec.Color
  3664. refec3.Color = refec.Color
  3665. end
  3666.  
  3667. if k == "u" and attack == false and mode == 1 and mode ~= 9 then
  3668. bosschatfunc("Man, this elevator ride is taking forever.",maincolor.Color,2)
  3669. ned.Text = "Time-Keeper"
  3670. mode = 9
  3671. hum.WalkSpeed = 0
  3672. hum.JumpPower = 0
  3673. imgl2.ImageColor3 = BrickColor.new("Dark stone grey").Color
  3674. techc.ImageColor3 = BrickColor.new("Dark stone grey").Color
  3675. circl.ImageColor3 = BrickColor.new("Dark stone grey").Color
  3676. circl2.ImageColor3 = BrickColor.new("Dark stone grey").Color
  3677. imgl2b.ImageColor3 = BrickColor.new("Dark stone grey").Color
  3678. ned.TextColor3 = BrickColor.new("Dark stone grey").Color
  3679. ned.TextStrokeColor3 = BrickColor.new("Dark stone grey").Color
  3680. chatfunc("Current status: Idle/Waiting.",maincolor.Color,"Inverted","Code",2)
  3681. NT("rbxassetid://130768299",0,1,2)
  3682. --music thing
  3683. kan.SoundId = "rbxassetid://130768299"
  3684. kan.PlaybackSpeed = 1
  3685. kan.Pitch = 1
  3686. kan.Looped = true
  3687. kan.Parent = char
  3688. kan:Resume()
  3689. --end music thing
  3690. for i,v in pairs(colorizermod:GetChildren()) do
  3691. if v:IsA("Part") then
  3692. v.BrickColor = BrickColor.new("Dark stone grey")
  3693. end
  3694. end
  3695. refec.Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color)
  3696. refec2.Color = refec.Color
  3697. refec3.Color = refec.Color
  3698. elseif k == "u" and attack == false and mode == 9 and mode ~= 1 then
  3699. bosschatfunc("Finally, I'm not in that elevator anymore.",maincolor.Color,2)
  3700. ned.Text = "SYNTHEZIZER"
  3701. mode = 1
  3702. hum.WalkSpeed = 16
  3703. hum.JumpPower = 50
  3704. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3705. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3706. circl.ImageColor3 = BrickColor.new("Alder").Color
  3707. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3708. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3709. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3710. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3711. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3712. NT("rbxassetid://923445685",0,1,2)
  3713. --music thing
  3714. kan.SoundId = "rbxassetid://923445685"
  3715. kan.PlaybackSpeed = 1.01
  3716. kan.Pitch = 1
  3717. kan.Looped = true
  3718. kan.Parent = char
  3719. kan:Resume()
  3720. --end music thing
  3721. for i,v in pairs(colorizermod:GetChildren()) do
  3722. if v:IsA("Part") then
  3723. v.BrickColor = BrickColor.new("Alder")
  3724. end
  3725. end
  3726. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3727. refec2.Color = refec.Color
  3728. refec3.Color = refec.Color
  3729. end
  3730.  
  3731. if k == "p" and attack == false and mode == 1 and mode ~= 10 then
  3732. bosschatfunc("It's cold, and this fire is too.",maincolor.Color,2)
  3733. ned.Text = "Chiberia"
  3734. mode = 10
  3735. imgl2.ImageColor3 = BrickColor.new("Institutional white").Color
  3736. techc.ImageColor3 = BrickColor.new("Institutional white").Color
  3737. circl.ImageColor3 = BrickColor.new("Institutional white").Color
  3738. circl2.ImageColor3 = BrickColor.new("Institutional white").Color
  3739. imgl2b.ImageColor3 = BrickColor.new("Institutional white").Color
  3740. ned.TextColor3 = BrickColor.new("Institutional white").Color
  3741. ned.TextStrokeColor3 = BrickColor.new("Institutional white").Color
  3742. chatfunc("Current mode: Chiberia",maincolor.Color,"Inverted","Code",2)
  3743. NT("rbxassetid://897199984",0,1,2)
  3744. --music thing
  3745. kan.SoundId = "rbxassetid://897199984"
  3746. kan.PlaybackSpeed = 1.01
  3747. kan.Pitch = 1
  3748. kan.Looped = true
  3749. kan.Parent = char
  3750. kan:Resume()
  3751. --end music thing
  3752. for i,v in pairs(colorizermod:GetChildren()) do
  3753. if v:IsA("Part") then
  3754. v.BrickColor = BrickColor.new("Institutional white")
  3755. end
  3756. end
  3757. refec.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  3758. refec2.Color = refec.Color
  3759. refec3.Color = refec.Color
  3760. elseif k == "p" and attack == false and mode == 10 and mode ~= 1 then
  3761. bosschatfunc("Thanks for turning that air conditioner off.",maincolor.Color,2)
  3762. ned.Text = "SYNTHEZIZER"
  3763. mode = 1
  3764. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3765. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3766. circl.ImageColor3 = BrickColor.new("Alder").Color
  3767. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3768. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3769. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3770. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3771. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3772. NT("rbxassetid://923445685",0,1,2)
  3773. --music thing
  3774. kan.SoundId = "rbxassetid://923445685"
  3775. kan.PlaybackSpeed = 1.01
  3776. kan.Pitch = 1
  3777. kan.Looped = true
  3778. kan.Parent = char
  3779. kan:Resume()
  3780. --end music thing
  3781. for i,v in pairs(colorizermod:GetChildren()) do
  3782. if v:IsA("Part") then
  3783. v.BrickColor = BrickColor.new("Alder")
  3784. end
  3785. end
  3786. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3787. refec2.Color = refec.Color
  3788. refec3.Color = refec.Color
  3789. end
  3790.  
  3791. if k == "f" and attack == false and mode == 1 and mode ~= 11 then
  3792. bosschatfunc("TV's nice and all, but what am I gonna do when my friends are busy?",maincolor.Color,2)
  3793. ned.Text = "Boredom."
  3794. mode = 11
  3795. hum.WalkSpeed = 0
  3796. hum.JumpPower = 0
  3797. imgl2.ImageColor3 = BrickColor.new("Ghost grey").Color
  3798. techc.ImageColor3 = BrickColor.new("Ghost grey").Color
  3799. circl.ImageColor3 = BrickColor.new("Ghost grey").Color
  3800. circl2.ImageColor3 = BrickColor.new("Ghost grey").Color
  3801. imgl2b.ImageColor3 = BrickColor.new("Ghost grey").Color
  3802. ned.TextColor3 = BrickColor.new("Ghost grey").Color
  3803. ned.TextStrokeColor3 = BrickColor.new("Ghost grey").Color
  3804. chatfunc("Current status: I'm feeling bored.",maincolor.Color,"Inverted","Code",2)
  3805. NT("rbxassetid://1690074464",0,1,2)
  3806. --music thing
  3807. kan.SoundId = "rbxassetid://1690074464"
  3808. kan.PlaybackSpeed = 1.01
  3809. kan.Pitch = 1
  3810. kan.Looped = true
  3811. kan.Parent = char
  3812. kan:Resume()
  3813. --end music thing
  3814. for i,v in pairs(colorizermod:GetChildren()) do
  3815. if v:IsA("Part") then
  3816. v.BrickColor = BrickColor.new("Ghost grey")
  3817. end
  3818. end
  3819. refec.Color = ColorSequence.new(BrickColor.new("Ghost grey").Color)
  3820. refec2.Color = refec.Color
  3821. refec3.Color = refec.Color
  3822. elseif k == "f" and attack == false and mode == 11 and mode ~= 1 then
  3823. bosschatfunc("Man, my favorite show just ended. Oh well, here I go, I guess.",maincolor.Color,2)
  3824. ned.Text = "SYNTHEZIZER"
  3825. mode = 1
  3826. hum.WalkSpeed = 16
  3827. hum.JumpPower = 50
  3828. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3829. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3830. circl.ImageColor3 = BrickColor.new("Alder").Color
  3831. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3832. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3833. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3834. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3835. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3836. NT("rbxassetid://923445685",0,1,2)
  3837. --music thing
  3838. kan.SoundId = "rbxassetid://923445685"
  3839. kan.PlaybackSpeed = 1.01
  3840. kan.Pitch = 1
  3841. kan.Looped = true
  3842. kan.Parent = char
  3843. kan:Resume()
  3844. --end music thing
  3845. for i,v in pairs(colorizermod:GetChildren()) do
  3846. if v:IsA("Part") then
  3847. v.BrickColor = BrickColor.new("Alder")
  3848. end
  3849. end
  3850. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3851. refec2.Color = refec.Color
  3852. refec3.Color = refec.Color
  3853. end
  3854. if k == "g" and attack == false and mode == 1 and mode ~= 12 then
  3855. bosschatfunc("Great, I can't believe I'm being in this again.",maincolor.Color,2)
  3856. ned.Text = "Preggsure"
  3857. mode = 12
  3858. hum.WalkSpeed = 100
  3859. hum.JumpPower = 100
  3860. imgl2.ImageColor3 = BrickColor.new("Maroon").Color
  3861. techc.ImageColor3 = BrickColor.new("Really black").Color
  3862. circl.ImageColor3 = BrickColor.new("Maroon").Color
  3863. circl2.ImageColor3 = BrickColor.new("Maroon").Color
  3864. imgl2b.ImageColor3 = BrickColor.new("Really black").Color
  3865. ned.TextColor3 = BrickColor.new("Really black").Color
  3866. ned.TextStrokeColor3 = BrickColor.new("Maroon").Color
  3867. chatfunc("Current mode: Preggsure",maincolor.Color,"Inverted","Code",2)
  3868. NT("rbxassetid://723652641",0,1,2)
  3869. --music thing
  3870. kan.SoundId = "rbxassetid://723652641"
  3871. kan.PlaybackSpeed = 1.01
  3872. kan.Pitch = 1
  3873. kan.Looped = true
  3874. kan.Parent = char
  3875. kan:Resume()
  3876. --end music thing
  3877. for i,v in pairs(colorizermod:GetChildren()) do
  3878. if v:IsA("Part") then
  3879. v.BrickColor = BrickColor.new("Maroon")
  3880. end
  3881. end
  3882. refec.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  3883. refec2.Color = refec.Color
  3884. refec3.Color = refec.Color
  3885. elseif k == "g" and attack == false and mode == 12 and mode ~= 1 then
  3886. bosschatfunc("Oh my god, I don't understand what is with it with this stress and stuff, and what is Preggsure even about anyways?",maincolor.Color,2)
  3887. ned.Text = "SYNTHEZIZER"
  3888. mode = 1
  3889. hum.WalkSpeed = 16
  3890. hum.JumpPower = 50
  3891. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3892. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3893. circl.ImageColor3 = BrickColor.new("Alder").Color
  3894. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3895. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3896. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3897. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3898. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3899. NT("rbxassetid://923445685",0,1,2)
  3900. --music thing
  3901. kan.SoundId = "rbxassetid://923445685"
  3902. kan.PlaybackSpeed = 1.01
  3903. kan.Pitch = 1
  3904. kan.Looped = true
  3905. kan.Parent = char
  3906. kan:Resume()
  3907. --end music thing
  3908. for i,v in pairs(colorizermod:GetChildren()) do
  3909. if v:IsA("Part") then
  3910. v.BrickColor = BrickColor.new("Alder")
  3911. end
  3912. end
  3913. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3914. refec2.Color = refec.Color
  3915. refec3.Color = refec.Color
  3916. end
  3917.  
  3918. if k == "h" and attack == false and mode == 1 and mode ~= 13 then
  3919. bosschatfunc("Colors weave into a spire of flames.",maincolor.Color,2)
  3920. ned.Text = "LIFELIGHT"
  3921. mode = 13
  3922. hum.WalkSpeed = 200
  3923. hum.JumpPower = 500
  3924. imgl2.ImageColor3 = BrickColor.new("Really red").Color
  3925. techc.ImageColor3 = BrickColor.new("Camo").Color
  3926. circl.ImageColor3 = BrickColor.new("Royal purple").Color
  3927. circl2.ImageColor3 = BrickColor.new("White").Color
  3928. imgl2b.ImageColor3 = BrickColor.new("Dark blue").Color
  3929. ned.TextColor3 = BrickColor.new("Really blue").Color
  3930. ned.TextStrokeColor3 = BrickColor.new("Cool yellow").Color
  3931. chatfunc("Current mode: LIFELIGHT",maincolor.Color,"Inverted","Code",2)
  3932. NT("rbxassetid://2532792635",0,1,5)
  3933. --music thing
  3934. kan.SoundId = "rbxassetid://2532792635"
  3935. kan.PlaybackSpeed = 1.01
  3936. kan.Pitch = 1
  3937. kan.Looped = true
  3938. kan.Parent = char
  3939. kan.Volume = 5
  3940. kan:Resume()
  3941. --end music thing
  3942. for i,v in pairs(colorizermod:GetChildren()) do
  3943. if v:IsA("Part") then
  3944. v.BrickColor = BrickColor.new("Cool yellow")
  3945. end
  3946. end
  3947. refec.Color = ColorSequence.new(BrickColor.new("White").Color)
  3948. refec2.Color = refec.Color
  3949. refec3.Color = refec.Color
  3950. elseif k == "h" and attack == false and mode == 13 and mode ~= 1 then
  3951. bosschatfunc("Aw, that was really cool.",maincolor.Color,2)
  3952. ned.Text = "SYNTHEZIZER"
  3953. mode = 1
  3954. hum.WalkSpeed = 16
  3955. hum.JumpPower = 50
  3956. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3957. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3958. circl.ImageColor3 = BrickColor.new("Alder").Color
  3959. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  3960. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  3961. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  3962. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  3963. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  3964. NT("rbxassetid://923445685",0,1,2)
  3965. --music thing
  3966. kan.SoundId = "rbxassetid://923445685"
  3967. kan.PlaybackSpeed = 1.01
  3968. kan.Pitch = 1
  3969. kan.Volume = 1.25
  3970. kan.Looped = true
  3971. kan.Parent = char
  3972. kan:Resume()
  3973. --end music thing
  3974. for i,v in pairs(colorizermod:GetChildren()) do
  3975. if v:IsA("Part") then
  3976. v.BrickColor = BrickColor.new("Alder")
  3977. end
  3978. end
  3979. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  3980. refec2.Color = refec.Color
  3981. refec3.Color = refec.Color
  3982. end
  3983.  
  3984. if k == "j" and attack == false and mode == 1 and mode ~= 14 then
  3985. bosschatfunc("We're nearing the end, and what better way to stall than rework?",maincolor.Color,2)
  3986. ned.Text = "Accession"
  3987. mode = 14
  3988. hum.WalkSpeed = 50
  3989. hum.JumpPower = 100
  3990. imgl2.ImageColor3 = BrickColor.new("White").Color
  3991. techc.ImageColor3 = BrickColor.new("Cool yellow").Color
  3992. circl.ImageColor3 = BrickColor.new("White").Color
  3993. circl2.ImageColor3 = BrickColor.new("Cool yellow").Color
  3994. imgl2b.ImageColor3 = BrickColor.new("Cool yellow").Color
  3995. ned.TextColor3 = BrickColor.new("White").Color
  3996. ned.TextStrokeColor3 = BrickColor.new("Cool yellow").Color
  3997. chatfunc("Current mode: Accession",maincolor.Color,"Inverted","Code",2)
  3998. NT("rbxassetid://227551982",0,1,2)
  3999. --music thing
  4000. kan.SoundId = "rbxassetid://227551982"
  4001. kan.PlaybackSpeed = 1.01
  4002. kan.Pitch = 1
  4003. kan.Looped = true
  4004. kan.Parent = char
  4005. kan:Resume()
  4006. --end music thing
  4007. for i,v in pairs(colorizermod:GetChildren()) do
  4008. if v:IsA("Part") then
  4009. v.BrickColor = BrickColor.new("White")
  4010. end
  4011. end
  4012. refec.Color = ColorSequence.new(BrickColor.new("Cool yellow").Color)
  4013. refec2.Color = refec.Color
  4014. refec3.Color = refec.Color
  4015. elseif k == "j" and attack == false and mode == 14 and mode ~= 1 then
  4016. bosschatfunc("Why is Winter Glitcher and a bit of Spectrum Glitcher v8 suddenly making it in here?",maincolor.Color,2)
  4017. ned.Text = "SYNTHEZIZER"
  4018. mode = 1
  4019. hum.WalkSpeed = 16
  4020. hum.JumpPower = 50
  4021. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  4022. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  4023. circl.ImageColor3 = BrickColor.new("Alder").Color
  4024. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  4025. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  4026. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  4027. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  4028. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  4029. NT("rbxassetid://923445685",0,1,2)
  4030. --music thing
  4031. kan.SoundId = "rbxassetid://923445685"
  4032. kan.PlaybackSpeed = 1.01
  4033. kan.Pitch = 1
  4034. kan.Looped = true
  4035. kan.Parent = char
  4036. kan:Resume()
  4037. --end music thing
  4038. for i,v in pairs(colorizermod:GetChildren()) do
  4039. if v:IsA("Part") then
  4040. v.BrickColor = BrickColor.new("Alder")
  4041. end
  4042. end
  4043. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  4044. refec2.Color = refec.Color
  4045. refec3.Color = refec.Color
  4046. end
  4047.  
  4048. if k == "k" and attack == false and mode == 1 and mode ~= 15 then
  4049. bosschatfunc("Hm. Yes. I have plans to make now.",maincolor.Color,2)
  4050. ned.Text = "INNOVATIVE"
  4051. mode = 15
  4052. imgl2.ImageColor3 = BrickColor.new("Black").Color
  4053. techc.ImageColor3 = BrickColor.new("Black").Color
  4054. circl.ImageColor3 = BrickColor.new("Black").Color
  4055. circl2.ImageColor3 = BrickColor.new("Black").Color
  4056. imgl2b.ImageColor3 = BrickColor.new("Black").Color
  4057. ned.TextColor3 = BrickColor.new("Black").Color
  4058. ned.TextStrokeColor3 = BrickColor.new("Black").Color
  4059. chatfunc("THE CREATOR.",maincolor.Color,"Inverted","Code",2)
  4060. NT("rbxassetid://892260150",0,1,2)
  4061. --music thing
  4062. kan.SoundId = "rbxassetid://892260150"
  4063. kan.PlaybackSpeed = 1.01
  4064. kan.Pitch = 1
  4065. kan.Looped = true
  4066. kan.Parent = char
  4067. kan:Resume()
  4068. --end music thing
  4069. for i,v in pairs(colorizermod:GetChildren()) do
  4070. if v:IsA("Part") then
  4071. v.BrickColor = BrickColor.new("Black")
  4072. end
  4073. end
  4074. refec.Color = ColorSequence.new(BrickColor.new("Black").Color)
  4075. refec2.Color = refec.Color
  4076. refec3.Color = refec.Color
  4077. elseif k == "k" and attack == false and mode == 15 and mode ~= 1 then
  4078. bosschatfunc("Who was that guy?",maincolor.Color,2)
  4079. ned.Text = "SYNTHEZIZER"
  4080. mode = 1
  4081. imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  4082. techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
  4083. circl.ImageColor3 = BrickColor.new("Alder").Color
  4084. circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
  4085. imgl2b.ImageColor3 = BrickColor.new("Alder").Color
  4086. ned.TextColor3 = BrickColor.new("Pastel light blue").Color
  4087. ned.TextStrokeColor3 = BrickColor.new("Alder").Color
  4088. chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
  4089. NT("rbxassetid://923445685",0,1,2)
  4090. --music thing
  4091. kan.SoundId = "rbxassetid://923445685"
  4092. kan.PlaybackSpeed = 1.01
  4093. kan.Pitch = 1
  4094. kan.Looped = true
  4095. kan.Parent = char
  4096. kan:Resume()
  4097. --end music thing
  4098. for i,v in pairs(colorizermod:GetChildren()) do
  4099. if v:IsA("Part") then
  4100. v.BrickColor = BrickColor.new("Alder")
  4101. end
  4102. end
  4103. refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  4104. refec2.Color = refec.Color
  4105. refec3.Color = refec.Color
  4106. end
  4107.  
  4108. if k == "l" and attack == false and mode == 1 and mode ~= 16 then
  4109. attack = true
  4110. NT("rbxassetid://2372056506",0,1,2)
  4111. kan.TimePosition = 0
  4112. hum.WalkSpeed = 0
  4113. hum.JumpPower = 0
  4114. bosschatfunc("Let's wait a moment and give many thanks.",maincolor.Color,5)
  4115. for i = 0, 14, 0.1 do
  4116. swait()
  4117. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  4118. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  4119. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4120. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  4121. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  4122. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
  4123. end
  4124. bosschatfunc("For those who danced in the moonlight.",maincolor.Color,5)
  4125. for i = 0, 14, 0.1 do
  4126. swait()
  4127. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  4128. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  4129. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4130. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  4131. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  4132. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
  4133. end
  4134. bosschatfunc("For those who were unstable.",maincolor.Color,5)
  4135. for i = 0, 14, 0.1 do
  4136. swait()
  4137. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  4138. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  4139. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4140. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  4141. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  4142. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
  4143. end
  4144. bosschatfunc("For those who waited in time.",maincolor.Color,5)
  4145. for i = 0, 14, 0.1 do
  4146. swait()
  4147. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  4148. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  4149. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4150. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  4151. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  4152. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
  4153. end
  4154. bosschatfunc("And for those, who decided to have to create, and end it all.",maincolor.Color,5)
  4155. for i = 0, 14, 0.1 do
  4156. swait()
  4157. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  4158. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  4159. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4160. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  4161. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  4162. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
  4163. end
  4164. ned.Text = "Impraefectium"
  4165. mode = 17
  4166. hum.WalkSpeed = 30
  4167. hum.JumpPower = 90
  4168. imgl2.ImageColor3 = BrickColor.new("New Yeller").Color
  4169. techc.ImageColor3 = BrickColor.new("Really black").Color
  4170. circl.ImageColor3 = BrickColor.new("New Yeller").Color
  4171. circl2.ImageColor3 = BrickColor.new("Really black").Color
  4172. imgl2b.ImageColor3 = BrickColor.new("New Yeller").Color
  4173. ned.TextColor3 = BrickColor.new("Really black").Color
  4174. ned.TextStrokeColor3 = BrickColor.new("New Yeller").Color
  4175. chatfunc("The. End.",maincolor.Color,"Inverted","Code",2)
  4176. --music thing
  4177. kan.SoundId = "rbxassetid://2372056506"
  4178. kan.PlaybackSpeed = 1.01
  4179. kan.Pitch = 1
  4180. kan.Looped = true
  4181. kan.Parent = char
  4182. kan:Resume()
  4183. --end music thing
  4184. for i,v in pairs(colorizermod:GetChildren()) do
  4185. if v:IsA("Part") then
  4186. v.BrickColor = BrickColor.new("New Yeller")
  4187. end
  4188. end
  4189. refec.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  4190. refec2.Color = refec.Color
  4191. refec3.Color = refec.Color
  4192. attack = false
  4193. elseif k == "l" and attack == false and mode == 17 and mode ~= 1 then
  4194. bosschatfunc("Sorry, but I can't allow that. Not after I've worked so hard.",maincolor.Color,2)
  4195. end
  4196.  
  4197. --end modes
  4198.  
  4199. --attacks
  4200. if k == "z" and attack == false and mode == 1 then
  4201. Laserbeamy()
  4202. end
  4203. if k == "m" and attack == false then
  4204. uselessnuke()
  4205. end
  4206. if k == "z" and attack == false and mode == 3 then
  4207. abpunch()
  4208. end
  4209. if k == "z" and attack == false and mode == 4 then
  4210. fallout()
  4211. elseif k == "z" and attack == false and mode == 5 then
  4212. vaporwave()
  4213. elseif k == "z" and attack == false and mode == 6 then
  4214. sadwave()
  4215. elseif k == "z" and attack == false and mode == 7 then
  4216. slice()
  4217. end
  4218. if k == "z" and attack == false and mode == 8 then
  4219. UNKNOWNDEATH()
  4220. end
  4221. if k == "one" and attack == false and suicideavailable == true then
  4222. suicide()
  4223. elseif k == "x" and attack == false and mode == 1 then
  4224. leap() --leap will be the base move for aerial moves such as chime.
  4225. end
  4226. if k == "z" and attack == false and mode == 10 then
  4227. chime()
  4228. end
  4229. --ultimate preggsure attack
  4230. if k == "z" and attack == false and mode == 12 then
  4231. bosschatfunc("GOD DANGIT! IM TIRED OF TRYING! IM DONE WITH WASTING TIME! I'LL KILL YOU ALL!",maincolor.Color,2)
  4232. steampressurerun()
  4233. steampressurerun()
  4234. steampressurerun()
  4235. steampressurerun()
  4236. steampressurerun()
  4237. steampressurerun()
  4238. steampressurerun()
  4239. steampressurerun()
  4240. steampressurerun()
  4241. steampressurerun()
  4242. steampressurerun()
  4243. steampressurerun()
  4244. bosschatfunc("JUST SHATTER ALREADY!",maincolor.Color,2)
  4245. steampressurerun()
  4246. steampressurerun()
  4247. steampressurerun()
  4248. steampressurerun()
  4249. steampressurerun()
  4250. steampressurerun()
  4251. steampressurerun()
  4252. steampressurerun()
  4253. steampressurerun()
  4254. steampressurerun()
  4255. steampressurerun()
  4256. steampressurerun()
  4257. bosschatfunc("JUST DIE!",maincolor.Color,2)
  4258. steampressurerun()
  4259. steampressurerun()
  4260. steampressurerun()
  4261. steampressurerun()
  4262. steampressurerun()
  4263. steampressurerun()
  4264. steampressurerun()
  4265. steampressurerun()
  4266. steampressurerun()
  4267. steampressurerun()
  4268. steampressurerun()
  4269. steampressurerun()
  4270. bosschatfunc("YOUR DEATH IS APPROACHING!",maincolor.Color,2)
  4271. steampressurerun()
  4272. steampressurerun()
  4273. steampressurerun()
  4274. steampressurerun()
  4275. steampressurerun()
  4276. steampressurerun()
  4277. steampressurerun()
  4278. steampressurerun()
  4279. steampressurerun()
  4280. steampressurerun()
  4281. steampressurerun()
  4282. steampressurerun()
  4283. steampressurerun()
  4284. steampressurerun()
  4285. steampressurerun()
  4286. steampressurerun()
  4287. steampressurerun()
  4288. steampressurerun()
  4289. steampressurerun()
  4290. steampressurerun()
  4291. steampressurerun()
  4292. steampressurerun()
  4293. steampressurerun()
  4294. steampressurerun()
  4295. steampressurerun()
  4296. steampressurerun()
  4297. steampressurerun()
  4298. steampressurerun()
  4299. steampressurerun()
  4300. steampressurerun()
  4301. steampressurerun()
  4302. steampressurerun()
  4303. steampressurerun()
  4304. steampressurerun()
  4305. steampressurerun()
  4306. steampressurerun()
  4307. bosschatfunc("YOU'RE DEAD!",maincolor.Color,2)
  4308. steampressurerun()
  4309. steampressurerun()
  4310. steampressurerun()
  4311. steampressurerun()
  4312. steampressurerun()
  4313. steampressurerun()
  4314. steampressurerun()
  4315. steampressurerun()
  4316. steampressurerun()
  4317. steampressurerun()
  4318. steampressurerun()
  4319. steampressurerun()
  4320. steampressurerun()
  4321. steampressurerun()
  4322. steampressurerun()
  4323. steampressurerun()
  4324. steampressurerun()
  4325. steampressurerun()
  4326. steampressurerun()
  4327. steampressurerun()
  4328. steampressurerun()
  4329. steampressurerun()
  4330. steampressurerun()
  4331. steampressurerun()
  4332. steampressurerun()
  4333. steampressurerun()
  4334. steampressurerun()
  4335. steampressurerun()
  4336. steampressurerun()
  4337. steampressurerun()
  4338. steampressurerun()
  4339. steampressurerun()
  4340. steampressurerun()
  4341. steampressurerun()
  4342. steampressurerun()
  4343. steampressurerun()
  4344. bosschatfunc("that was it.",maincolor.Color,2)
  4345. --machine gun rush reloading
  4346. end
  4347. if k == "z" and mode == 15 then
  4348. innovation()
  4349. end
  4350. end)
  4351. --things not attacks
  4352.  
  4353.  
  4354.  
  4355. Humanoid.Name = "SYNTHEZ"
  4356. Humanoid.MaxHealth = math.huge
  4357. Humanoid.Health = math.huge
  4358. Instance.new("ForceField",char).Visible = false
  4359.  
  4360.  
  4361.  
  4362. idleanim=.4
  4363. while true do
  4364. if mutedtog == false then
  4365. kan.Volume = 1.1
  4366. elseif mutedtog == true then
  4367. kan.Volume = 0
  4368. end
  4369. kan.PlaybackSpeed = 1.01
  4370. kan.Pitch = 1.01
  4371. kan.Looped = true
  4372. kan.Parent = char
  4373. kan:Resume()
  4374. actualrotationvalue = actualrotationvalue + 1
  4375. techc.Rotation = techc.Rotation + 1
  4376. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  4377. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  4378. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  4379. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  4380. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  4381. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  4382. CameraManager()
  4383. swait()
  4384. sine = sine + change
  4385. rotingweld.C0=clerp(rotingweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(actualrotationvalue + 750 * math.cos(sine / 1000))),.3)
  4386. rotingweld2.C0=clerp(rotingweld2.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-actualrotationvalue - 750 * math.cos(sine / 1000))),.3)
  4387. if attack == false then
  4388. hum.CameraOffset = vt(0 + 0.05 * math.cos(sine / 32),0 - 0.05 * math.cos(sine / 46),0 - 0.05 * math.cos(sine / 57))
  4389. handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,-2.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4390. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.25 * math.cos(sine / 57))*angles(math.rad(0 + 5 * math.cos(sine / 55)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(0 + 5 * math.cos(sine / 32))),.3)
  4391. end
  4392. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  4393. local velderp=RootPart.Velocity.y
  4394. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  4395. coroutine.resume(coroutine.create(function()
  4396. --[[if hitfloor ~= nil then
  4397. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.025,0.01,0.025),math.random(1,10)/250,BrickColor.new("White"))
  4398. end]]--
  4399. end))
  4400. if equipped==true or equipped==false then
  4401. if attack==false then
  4402. idle=idle+1
  4403. else
  4404. idle=0
  4405. end
  4406. if idle>=500 then
  4407. if attack==false then
  4408. --Sheath()
  4409. end
  4410. end
  4411. if RootPart.Velocity.y > 1 and hitfloor==nil then
  4412. Anim="Jump"
  4413. if attack==false then
  4414. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  4415. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  4416. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  4417. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  4418. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  4419. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  4420. end
  4421. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  4422. Anim="Fall"
  4423. if attack==false then
  4424. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  4425. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  4426. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  4427. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  4428. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  4429. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  4430. end
  4431. elseif torvel<1 and hitfloor~=nil then
  4432. Anim="Idle"
  4433. if attack==false then
  4434. if mode == 1 then --normal synth mode
  4435. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  4436. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  4437. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  4438. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4439. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
  4440. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  4441. elseif mode == 3 then --abnormality mode
  4442. RH.C0=clerp(RH.C0,cf(1,-1 - 5 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 48)),math.rad(10 - .2 * math.cos(sine / 32))),.1)
  4443. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.5 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 48)),math.rad(-.1 + 20 * math.cos(sine / 32))),.1)
  4444. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,10 + 2 * math.cos(sine / 32),0 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  4445. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4446. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 28)),math.rad(-29 + 4 * math.cos(sine / 45))),.1)
  4447. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 42)),math.rad(99 - 56 * math.cos(sine / 45))),.1)
  4448. elseif mode == 2 then --eggsermine mode
  4449. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  4450. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  4451. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  4453. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
  4454. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(21 - 3 * math.cos(sine / 45))),.1)
  4455. elseif mode == 4 then --nuclear eggsermine mode
  4456. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  4457. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  4458. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  4459. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  4460. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
  4461. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(21 - 3 * math.cos(sine / 45))),.1)
  4462. elseif mode == 5 then --relaxed mode
  4463. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 12)) * angles(math.rad(-60 + 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(5 + 1 * math.sin(sine / 12))), .1)
  4464. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0 + 4.5 * math.sin(sine / 12)), math.rad(0), math.rad(-5 - 2.5 * math.sin(sine / 12))), .1)
  4465. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  4466. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  4467. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.15 * math.cos(sine / 12), -0.05) * angles(math.rad(35 - 7.5 * math.sin(sine / 12)), math.rad(75), math.rad(0)) * angles(math.rad(-8 - 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(0)), .1)
  4468. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.15 * math.cos(sine / 12), -0.05) * angles(math.rad(35 - 7.5 * math.sin(sine / 12)), math.rad(-90), math.rad(0)) * angles(math.rad(-8 - 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(0)), .1)
  4469. elseif mode == 6 then --sad mode
  4470. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 12)) * angles(math.rad(-60 + 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(5 + 1 * math.sin(sine / 12))), .1)
  4471. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0 + 4.5 * math.sin(sine / 12)), math.rad(0), math.rad(-5 - 2.5 * math.sin(sine / 12))), .1)
  4472. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  4473. LW.C0 = clerp(LW.C0, cf(-1.15, 0.50 + 0.05 * math.cos(sine / 12), 0.4) * angles(math.rad(-160), math.rad(0 + 2.5 * math.sin(sine / 12)), math.rad(45 - 7.5 * math.sin(sine / 12))), .1)
  4474. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.15 * math.cos(sine / 12), -0.05) * angles(math.rad(35 - 7.5 * math.sin(sine / 12)), math.rad(75), math.rad(0)) * angles(math.rad(-8 - 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(0)), .1)
  4475. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.15 * math.cos(sine / 12), -0.05) * angles(math.rad(35 - 7.5 * math.sin(sine / 12)), math.rad(-90), math.rad(0)) * angles(math.rad(-8 - 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(0)), .1)
  4476. elseif mode == 7 then --cutter idle
  4477. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  4478. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  4479. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  4480. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4481. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  4482. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(21 - 3 * math.cos(sine / 45))),.1)
  4483. elseif mode == 8 then --UNKNOWN idle
  4484. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 12),0)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  4485. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 12),0)*angles(math.rad(15),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  4486. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 12),0 + 0.05 * math.cos(sine / 12))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  4487. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 10 * math.random(0,2)),math.rad(30 - 30 * math.random(0,2)),math.rad(30 - 30 * math.random(0,2))),.1)
  4488. RW.C0=clerp(RW.C0,cf(1.45,0.4 + 0.005 * math.cos(sine / 45),0)*angles(math.rad(190 - 27 * math.random(0,2)),math.rad(20 - 20 * math.random(0,2)),math.rad(-10 - 7 * math.random(0,2))),.1)
  4489. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  4490. elseif mode == 9 then --time-keeper status
  4491. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  4492. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  4493. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  4494. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4495. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 28)),math.rad(-29 + 4 * math.cos(sine / 45))),.1)
  4496. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  4497. elseif mode == 10 then --chiberia mode
  4498. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  4499. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  4500. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  4501. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  4502. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
  4503. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
  4504. elseif mode == 11 then --tv idle
  4505. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
  4506. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
  4507. LH.C0 = clerp(LH.C0, cf(-0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(-10)), 0.1)
  4508. RH.C0 = clerp(RH.C0, cf(0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(10)), 0.1)
  4509. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10 - 1.8 * math.cos(sine / 32)), math.rad(0), math.rad(20)), 0.1)
  4510. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4511. elseif mode == 12 then --preggsure idle
  4512. local snap = math.random(1,5)
  4513. if snap == 1 then
  4514. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
  4515. end
  4516. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  4517. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  4518. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),1 + 0.1 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  4519. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4520. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
  4521. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  4522. elseif mode == 13 then --lifelight idle
  4523. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-16 + 4 * math.cos(sine / 34))),.1)
  4524. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(10),math.rad(11 + 2 * math.cos(sine / 34))),.1)
  4525. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-6 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-25 - 4 * math.cos(sine / 53))),.1)
  4526. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(0 + 10 * math.cos(sine / 79)),math.rad(25 + 4 * math.cos(sine / 53))),.1)
  4527. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
  4528. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
  4529. elseif mode == 14 then --accession's beautiful idle
  4530. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-16 + 4 * math.cos(sine / 34))),.1)
  4531. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(10),math.rad(11 + 2 * math.cos(sine / 34))),.1)
  4532. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  4533. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4534. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
  4535. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
  4536. elseif mode == 15 then --THE CREATOR.
  4537. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  4538. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  4539. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4540. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  4541. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  4542. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  4543. elseif mode == 17 then --approach the end.
  4544. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 34))),.1)
  4545. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  4546. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  4547. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  4548. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
  4549. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
  4550. end
  4551. end
  4552. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  4553. Anim="Walk"
  4554. if attack==false then
  4555. if mode ~= 3 and mode ~= 5 and mode ~= 6 and mode ~= 8 and mode ~= 15 then
  4556. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  4557. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  4558. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  4559. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  4560. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  4561. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  4562. elseif mode == 3 or mode == 6 then
  4563. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  4564. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  4565. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  4566. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  4567. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  4568. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  4569. elseif mode == 5 then
  4570. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  4571. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  4572. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  4573. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  4574. RW.C0 = clerp(RW.C0, cf(1.15, 0.50 + 0.05 * math.cos(sine / 12), 0.4) * angles(math.rad(-160), math.rad(0 - 2.5 * math.sin(sine / 12)), math.rad(-45 + 7.5 * math.sin(sine / 12))), .1)
  4575. LW.C0 = clerp(LW.C0, cf(-1.15, 0.50 + 0.05 * math.cos(sine / 12), 0.4) * angles(math.rad(-160), math.rad(0 + 2.5 * math.sin(sine / 12)), math.rad(45 - 7.5 * math.sin(sine / 12))), .1)
  4576. elseif mode == 8 then
  4577. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  4578. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  4579. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  4580. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 10 * math.random(0,2)),math.rad(30 - 30 * math.random(0,2)),math.rad(30 - 30 * math.random(0,2))),.1)
  4581. RW.C0=clerp(RW.C0,cf(1.45,0.4 + 0.005 * math.cos(sine / 45),0)*angles(math.rad(190 - 27 * math.random(0,2)),math.rad(20 - 20 * math.random(0,2)),math.rad(-10 - 7 * math.random(0,2))),.1)
  4582. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  4583. elseif mode == 15 then
  4584. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  4585. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  4586. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  4587. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  4588. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  4589. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  4590. end
  4591. end
  4592. elseif torvel>=22 and hitfloor~=nil then
  4593. Anim="Run"
  4594. if attack==false then
  4595. if mode ~= 13 then
  4596. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  4597. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  4598. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  4599. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  4600. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  4601. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  4602. elseif mode == 13 then
  4603. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  4604. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  4605. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  4606. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  4607. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
  4608. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
  4609. end
  4610. end
  4611. end
  4612. end
  4613. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement