Advertisement
Guest User

Untitled

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