XSleepyDemonX_17

US (Universal SleepyChanger) 再加工!

Jun 19th, 2019 (edited)
721
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 499.59 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("For this script to work, you must use h/ instead of hl/.") end
  2. local Player = owner
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do
  5. script.Parent = TimmyTurney
  6. local CAS = {Actions={}}
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9. Event.Parent = Player.Character
  10. local fakeEvent = function()
  11. local t = {_fakeEvent=true}
  12. t.Connect = function(self,f)self.Function=f end
  13. t.connect = t.Connect
  14. return t
  15. end
  16. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  17. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  18. function CAS:BindAction(name,fun,touch,...)
  19. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  20. end
  21. function CAS:UnbindAction(name)
  22. CAS.Actions[name] = nil
  23. end
  24. local function te(self,ev,...)
  25. local t = m[ev]
  26. if t and t._fakeEvent and t.Function then
  27. t.Function(...)
  28. end
  29. end
  30. m.TrigEvent = te
  31. UIS.TrigEvent = te
  32. Event.OnServerEvent:Connect(function(plr,io)
  33. if plr~=Player then return end
  34. if io.isMouse then
  35. m.Target = io.Target
  36. m.Hit = io.Hit
  37. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  38. if io.UserInputState == Enum.UserInputState.Begin then
  39. m:TrigEvent("Button1Down")
  40. else
  41. m:TrigEvent("Button1Up")
  42. end
  43. else
  44. for n,t in pairs(CAS.Actions) do
  45. for _,k in pairs(t.Keys) do
  46. if k==io.KeyCode then
  47. t.Function(t.Name,io.UserInputState,io)
  48. end
  49. end
  50. end
  51. if io.UserInputState == Enum.UserInputState.Begin then
  52. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  53. UIS:TrigEvent("InputBegan",io,false)
  54. else
  55. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent("InputEnded",io,false)
  57. end
  58. end
  59. end)
  60. NLS([==[
  61. local Player = game:GetService("Players").LocalPlayer
  62.  
  63. local Char = Player.Character
  64. local Event = Char:WaitForChild("UserInput_Event")
  65.  
  66. local UIS = game:GetService("UserInputService")
  67.  
  68. local input = function(io,a)
  69. if a then return end
  70. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  71. Event:FireServer(io)
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75. local Changed = false
  76. local Mouse = Player:GetMouse()
  77. local h,t = Mouse.Hit,Mouse.Target
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  81. h,t=Mouse.Hit,Mouse.Target
  82. end
  83. end
  84. ]==],Player.Character)
  85. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  86. end
  87.  
  88.  
  89. wait(0.5)
  90.  
  91. warn([[Long lives Asuraph, The Queen Of The Sixth Heaven.
  92.  
  93. Created, Reworked by Asuraph
  94. This isn't my script too.
  95. It's an edit of SGR.
  96. So if you want the regular, go find it yourself.
  97. Also Make sure you don't abuse this. :D
  98. ]])
  99.  
  100.  
  101. -------------
  102. print([[Moves:
  103. Search it yourself xd]])
  104. warn([[Update Log:
  105. N - You'll see
  106. Extra modes:
  107. xd
  108. Info from Asuraph:
  109. If any of you peeps leak this, I'll need to make it as a private script, and if I see any of you complaining, deal with it.
  110. Note:
  111. <3
  112. Also just a reminder: That THIS script is FAR from completion, so expect some things not finished.]])
  113. --- its obs smooth af do not touch
  114. ---- Sources and functions might be taken from others
  115. plr = owner
  116. char = plr.Character
  117. hum = char.Humanoid
  118. local cam = game.Workspace.CurrentCamera
  119. Camera = cam
  120. local CamInterrupt = false
  121. local TwoD = false
  122. local TargetInfo = {nil, nil}
  123. cam.CameraType = "Custom"
  124. t = char.Torso
  125. h = char.Head
  126. ra = char["Right Arm"]
  127. la = char["Left Arm"]
  128. rl = char["Right Leg"]
  129. ll = char["Left Leg"]
  130. tors = char.Torso
  131. lleg = char["Left Leg"]
  132. root = char.HumanoidRootPart
  133. hed = char.Head
  134. rleg = char["Right Leg"]
  135. rarm = char["Right Arm"]
  136. larm = char["Left Arm"]
  137. radian = math.rad
  138. random = math.random
  139. Vec3 = Vector3.new
  140. Inst = Instance.new
  141. cFrame = CFrame.new
  142. Euler = CFrame.fromEulerAnglesXYZ
  143. vt = Vector3.new
  144. bc = BrickColor.new
  145. br = BrickColor.random
  146. it = Instance.new
  147. cf = CFrame.new
  148.  
  149. local Booleans = {
  150. CamFollow = true,
  151. GyroUse = true
  152. }
  153.  
  154. function lerp(object, newCFrame, alpha)
  155. return object:lerp(newCFrame, alpha)
  156. end
  157.  
  158. local Directer = Inst("BodyGyro", root)
  159. Directer.MaxTorque = Vec3(0, 0, 0)
  160. Directer.P = 600000
  161. local CPart = Inst("Part")
  162. CPart.Anchored = true
  163. CPart.CanCollide = false
  164. CPart.Locked = true
  165. CPart.Transparency = 1
  166.  
  167. local rainbowmode = false
  168. local chaosmode = false
  169.  
  170. local kan = Instance.new("Sound",char)
  171. kan.Volume = 1.25
  172. kan.TimePosition = 0
  173. kan.PlaybackSpeed = 1
  174. kan.Pitch = 1
  175. kan.SoundId = "rbxassetid://259031423"
  176. kan.Name = "wrecked"
  177. kan.Looped = true
  178. kan:Play()
  179.  
  180. local currentThemePlaying = kan.SoundId
  181. local currentPitch = kan.Pitch
  182. local currentVol = kan.Volume
  183. function newTheme(ID,timepos,pitch,vol)
  184. local kanz = kan
  185. --kanz:Stop()
  186. kanz.Volume = vol
  187. --kanz.TimePosition = timepos
  188. kanz.PlaybackSpeed = pitch
  189. kanz.Pitch = pitch
  190. kanz.SoundId = ID
  191. kanz.Name = "wrecked"
  192. kanz.Looped = true
  193. currentThemePlaying = kanz.SoundId
  194. currentVol = kanz.Volume
  195. currentPitch = kanz.Pitch
  196. --kanz:Play()
  197. --coroutine.resume(coroutine.create(function()
  198. --wait(0.05)
  199. --end))
  200. end
  201.  
  202.  
  203. function newThemeCust(ID,timepos,pitch,vol)
  204. local kanz = kan
  205. kanz:Stop()
  206. kanz.Volume = vol
  207. kanz.TimePosition = timepos
  208. kanz.PlaybackSpeed = pitch
  209. kanz.Pitch = pitch
  210. kanz.SoundId = ID
  211. kanz.Name = "wrecked"
  212. kanz.Looped = true
  213. currentThemePlaying = kanz.SoundId
  214. currentVol = kanz.Volume
  215. currentPitch = kanz.Pitch
  216. kanz:Play()
  217. coroutine.resume(coroutine.create(function()
  218. wait(0.05)
  219. end))
  220. end
  221.  
  222. local mutedtog = false
  223.  
  224. function CameraEnshaking(Length,Intensity)
  225. coroutine.resume(coroutine.create(function()
  226. local intensity = 1*Intensity
  227. local rotM = 0.01*Intensity
  228. for i = 0, Length, 0.1 do
  229. swait()
  230. intensity = intensity - 0.05*Intensity/Length
  231. rotM = rotM - 0.0005*Intensity/Length
  232. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  233. 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)
  234. end
  235. Humanoid.CameraOffset = Vec3(0, 0, 0)
  236. end))
  237. end
  238. CamShake=function(Part,Distan,Power,Times)
  239. local de=Part.Position
  240. for i,v in pairs(workspace:children()) do
  241. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  242. for _,c in pairs(v:children()) do
  243. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  244. local Noob=v.Humanoid
  245. if Noob~=nil then
  246. coroutine.resume(coroutine.create(function()
  247. FV = Instance.new("BoolValue", Noob)
  248. FV.Name = "CameraShake"
  249. for ShakeNum=1,Times do
  250. swait()
  251. local ef=Power
  252. if ef>=1 then
  253. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  254. else
  255. ef=Power*10
  256. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  257. end
  258. end
  259. Humanoid.CameraOffset = Vector3.new(0,0,0)
  260. FV:Destroy()
  261. end))
  262. CameraShake(Times, Power, Noob)
  263. end
  264. end
  265. end
  266. end
  267. end
  268. end
  269.  
  270. local toggleTag = true
  271. local bilguit = Instance.new("BillboardGui", hed)
  272. bilguit.Adornee = nil
  273. bilguit.Name = "ModeName"
  274. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  275. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  276. local modet = Instance.new("TextLabel", bilguit)
  277. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  278. modet.FontSize = "Size8"
  279. modet.TextScaled = true
  280. modet.TextTransparency = 0
  281. modet.BackgroundTransparency = 1
  282. modet.TextTransparency = 0
  283. modet.TextStrokeTransparency = 0
  284. modet.Font = "Antique"
  285. modet.TextStrokeColor3 = Color3.new(1,0,0)
  286. modet.TextColor3 = Color3.new(0.25,0,0)
  287. modet.Text = "眠いです"
  288.  
  289.  
  290. function chatfunc(text,color,typet,font,timeex)
  291. local chat = coroutine.wrap(function()
  292. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  293. Character:FindFirstChild("TalkingBillBoard"):destroy()
  294. end
  295. local naeeym2 = Instance.new("BillboardGui",Character)
  296. naeeym2.Size = UDim2.new(0,100,0,40)
  297. naeeym2.StudsOffset = Vector3.new(0,3,0)
  298. naeeym2.Adornee = Character.Head
  299. naeeym2.Name = "TalkingBillBoard"
  300. local tecks2 = Instance.new("TextLabel",naeeym2)
  301. tecks2.BackgroundTransparency = 1
  302. tecks2.BorderSizePixel = 0
  303. tecks2.Text = ""
  304. tecks2.Font = font
  305. tecks2.TextSize = 30
  306. tecks2.TextStrokeTransparency = 0
  307. tecks2.TextColor3 = color
  308. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  309. tecks2.Size = UDim2.new(1,0,0.5,0)
  310. local tecks3 = Instance.new("TextLabel",naeeym2)
  311. tecks3.BackgroundTransparency = 1
  312. tecks3.BorderSizePixel = 0
  313. tecks3.Text = ""
  314. tecks3.Font = font
  315. tecks3.TextSize = 30
  316. tecks3.TextStrokeTransparency = 0
  317. if typet == "Inverted" then
  318. tecks3.TextColor3 = Color3.new(0,0,0)
  319. tecks3.TextStrokeColor3 = color
  320. elseif typet == "Normal" then
  321. tecks3.TextColor3 = color
  322. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  323. end
  324. tecks3.Size = UDim2.new(1,0,0.5,0)
  325. coroutine.resume(coroutine.create(function()
  326. while true do
  327. swait(1)
  328. if chaosmode == true then
  329. tecks2.TextColor3 = BrickColor.random().Color
  330. tecks3.TextStrokeColor3 = BrickColor.random().Color
  331. end
  332. end
  333. end))
  334. modet.TextTransparency = modet.TextTransparency + 1
  335. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  336. for i = 0, 74*timeex do
  337. swait()
  338. modet.TextTransparency = 1
  339. modet.TextStrokeTransparency = 1
  340. tecks2.Text = text
  341. tecks3.Text = text
  342. end
  343. local randomrot = math.random(1,2)
  344. if randomrot == 1 then
  345. for i = 1, 50 do
  346. swait()
  347. tecks2.Text = text
  348. tecks3.Text = text
  349. modet.TextTransparency = modet.TextTransparency - .02
  350. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  351. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  352. tecks2.TextTransparency = tecks2.TextTransparency + .04
  353. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  354. tecks3.TextTransparency = tecks2.TextTransparency + .04
  355. end
  356. elseif randomrot == 2 then
  357. for i = 1, 50 do
  358. swait()
  359. tecks2.Text = text
  360. tecks3.Text = text
  361. modet.TextTransparency = modet.TextTransparency - .02
  362. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  363. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  364. tecks2.TextTransparency = tecks2.TextTransparency + .04
  365. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  366. tecks3.TextTransparency = tecks2.TextTransparency + .04
  367. end
  368. end
  369. modet.TextTransparency = 0
  370. modet.TextStrokeTransparency = 0
  371. if toggleTag == false then
  372. modet.TextTransparency = 1
  373. modet.TextStrokeTransparency = 1
  374. end
  375. naeeym2:Destroy()
  376. end)
  377. chat()
  378. end
  379. function warnedpeople(text,represfont,color,color2)
  380. if disably ~= true then
  381. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  382. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  383. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  384. coroutine.resume(coroutine.create(function()
  385. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  386. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  387. end
  388. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  389. scrg.Name = "Spinny"
  390. local frm = Instance.new("Frame",scrg)
  391. frm.BackgroundTransparency = 0.25
  392. frm.BackgroundColor3 = color
  393. frm.BorderSizePixel = 0
  394. frm.Rotation = 45
  395. frm.Size = UDim2.new(3,0,0,100)
  396. frm.Position = UDim2.new(-4,0,0,0)
  397. local frm2 = frm:Clone()
  398. frm2.Parent = scrg
  399. frm2.BackgroundColor3 = color2
  400. frm2.Position = UDim2.new(-4.05,0,0,0)
  401. local imlb = Instance.new("ImageLabel",scrg)
  402. imlb.BackgroundTransparency = 1
  403. imlb.BackgroundColor3 = Color3.new(0,0,0)
  404. imlb.Image = "rbxassetid://2344851144"
  405. imlb.Size = UDim2.new(0,750,0,750)
  406. imlb.ImageColor3 = color2
  407. imlb.ImageTransparency = 0.25
  408. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  409. local imlb2 = imlb:Clone()
  410. imlb2.Image = "rbxassetid://2076458450"
  411. imlb2.Size = UDim2.new(1,0,1,0)
  412. imlb2.ImageColor3 = color
  413. imlb2.ImageTransparency = 0
  414. imlb2.Position = UDim2.new(0,0,0,0)
  415. local imlb3 = imlb:Clone()
  416. imlb3.Image = "rbxassetid://2312119891"
  417. imlb3.Size = UDim2.new(1,0,1,0)
  418. imlb3.ImageColor3 = color2
  419. imlb3.ImageTransparency = 0
  420. imlb3.Position = UDim2.new(0,0,0,0)
  421. local imlb4 = imlb:Clone()
  422. imlb4.Image = "rbxassetid://2092248396"
  423. imlb4.Size = UDim2.new(3,0,3,0)
  424. imlb3.ImageColor3 = color
  425. imlb4.ImageTransparency = 0
  426. imlb4.Position = UDim2.new(-1,0,-1,0)
  427. local imlb5 = imlb:Clone()
  428. imlb5.Image = "rbxassetid://2344870656"
  429. imlb5.Size = UDim2.new(10,0,10,0)
  430. imlb5.ImageColor3 = color2
  431. imlb5.ImageTransparency = 0
  432. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  433. imlb2.Parent = imlb
  434. imlb3.Parent = imlb
  435. imlb4.Parent = imlb
  436. imlb5.Parent = imlb
  437. local txtlb2 = Instance.new("TextLabel",imlb)
  438. txtlb2.Text = text
  439. coroutine.resume(coroutine.create(function()
  440. while true do
  441. swait()
  442. if ASTRA == true then
  443. txtlb2.Text = est[math.random(1,5)]
  444. elseif dragon == true then
  445. txtlb2.Text = nobreak[math.random(1,3)]
  446. end
  447. end
  448. end))
  449. txtlb2.Font = represfont
  450. txtlb2.TextColor3 = color
  451. txtlb2.TextStrokeTransparency = 0
  452. txtlb2.BackgroundTransparency = 1
  453. txtlb2.TextStrokeColor3 = color2
  454. txtlb2.TextScaled = true
  455. txtlb2.Size = UDim2.new(1,0,1,0)
  456. txtlb2.Position = UDim2.new(0,0,0,0)
  457. local fvalen = 0.55
  458. local fval = -0.49
  459.  
  460. coroutine.resume(coroutine.create(function()
  461. while true do
  462. swait()
  463. if rainbowmode == true then
  464. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  465. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  466. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  467. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  468. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  469. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  470. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  471. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  472. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  473. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  474. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  475. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  476. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  477. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  478. end
  479. end
  480. end))
  481. coroutine.resume(coroutine.create(function()
  482. while true do
  483. swait()
  484. if Error == true then
  485. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  486. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  487. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  488. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  489. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  490. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  491. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  492. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  493. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  494. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  495. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  496. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  497. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  498. text = est[math.random(1,17)]
  499. end
  500. end
  501. end))
  502. coroutine.resume(coroutine.create(function()
  503. while true do
  504. swait()
  505. if CRAZED == true then
  506. txtlb2.Rotation = math.random(-1,1)
  507. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  508. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  509. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  510. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  511. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  512. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  513. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  514. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  515. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  516. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  517. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  518. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  519. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  520. end
  521. end
  522. end))
  523. coroutine.resume(coroutine.create(function()
  524. while true do
  525. swait()
  526. if chaosmode == true then
  527. txtlb2.Rotation = math.random(-1,1)
  528. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  529. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  530. imlb.ImageColor3 = BrickColor.random().Color
  531. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  532. end
  533. end
  534. end))
  535. coroutine.resume(coroutine.create(function()
  536. while true do
  537. swait()
  538. if scrg.Parent ~= nil then
  539. fvalen = fvalen - 0.0001
  540. elseif scrg.Parent == nil then
  541. break
  542. end
  543. end
  544. end))
  545. local flol = -5
  546. local flil = 1.6
  547. coroutine.resume(coroutine.create(function()
  548. for i = 0, 49 do
  549. swait()
  550. flol = flol + 0.125
  551. flil = flil - 0.1
  552. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  553. frm.Rotation = frm.Rotation - 0.25
  554. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  555. frm2.Rotation = frm.Rotation + 0.325
  556. imlb3.Rotation = imlb3.Rotation - 10
  557. imlb2.Rotation = imlb.Rotation + 7.5
  558. imlb.Rotation = imlb.Rotation + 5
  559. if Error == false then
  560. txtlb2.Rotation = txtlb2.Rotation - 5.125
  561. elseif Error == true then
  562. txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  563. end
  564. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  565. end
  566. for i = 0, 99 do
  567. swait()
  568. fval = fval + 0.05
  569. flol = flol + 0.005
  570. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  571. frm.Rotation = frm.Rotation - 0.075
  572. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  573. frm2.Rotation = frm2.Rotation + 0.125
  574. imlb3.Rotation = imlb3.Rotation - 2
  575. imlb2.Rotation = imlb.Rotation + 1.5
  576. imlb.Rotation = imlb.Rotation + 1
  577. if Error == false then
  578. txtlb2.Rotation = txtlb2.Rotation - 1.125
  579. elseif Error == true then
  580. txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  581. end
  582. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  583. end
  584. local valinc = 0
  585. local vinc2 = 1
  586. for i = 0, 99 do
  587. swait()
  588. vinc2 = vinc2 + 0.25
  589. valinc = valinc + 0.0001
  590. flol = flol + valinc
  591. flil = flil + valinc
  592. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  593. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  594. imlb.Rotation = imlb.Rotation + 1*vinc2
  595. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  596. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  597. frm.Rotation = frm.Rotation + 0.1*vinc2
  598. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  599. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  600. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  601. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  602. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  603. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  604. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  605. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  606. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  607. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  608. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  609. end
  610. scrg:Destroy()
  611. end))
  612. end))
  613. end
  614. end
  615. end
  616.  
  617. function bosschatfunc(text,color,watval)
  618. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  619. coroutine.resume(coroutine.create(function()
  620. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  621. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  622. end
  623. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  624. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  625. scrg.Name = "Dialog"
  626. local txtlb = Instance.new("TextLabel",scrg)
  627. txtlb.Text = ""
  628. txtlb.Font = "Bodoni"
  629. txtlb.TextColor3 = Color3.new(0,0,0)
  630. txtlb.TextStrokeTransparency = 0
  631. txtlb.BackgroundTransparency = 0.75
  632. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  633. txtlb.TextStrokeColor3 = color
  634. txtlb.TextScaled = true
  635. txtlb.Size = UDim2.new(1,0,0.25,0)
  636. txtlb.TextXAlignment = "Left"
  637. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  638. local txtlb2 = Instance.new("TextLabel",scrg)
  639. txtlb2.Text = "Sleepy Changer"
  640. txtlb2.Font = "Arcade"
  641. txtlb2.TextColor3 = Color3.new(0,0,0)
  642. txtlb2.TextStrokeTransparency = 0
  643. txtlb2.BackgroundTransparency = 1
  644. txtlb2.TextStrokeColor3 = color
  645. txtlb2.TextSize = 40
  646. txtlb2.Size = UDim2.new(1,0,0.25,0)
  647. txtlb2.TextXAlignment = "Left"
  648. txtlb2.Position = UDim2.new(0,0,1,0)
  649. local fvalen = 0.55
  650. local fval = -0.49
  651. coroutine.resume(coroutine.create(function()
  652. while true do
  653. swait()
  654. if chaosmode == true then
  655. txtlb.Rotation = math.random(-1,1)
  656. txtlb2.Rotation = math.random(-1,1)
  657. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  658. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  659. txtlb.TextStrokeColor3 = BrickColor.random().Color
  660. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  661. end
  662. end
  663. end))
  664. coroutine.resume(coroutine.create(function()
  665. while true do
  666. swait()
  667. if scrg.Parent ~= nil then
  668. fvalen = fvalen - 0.0001
  669. elseif scrg.Parent == nil then
  670. break
  671. end
  672. end
  673. end))
  674. local flol = 1.75
  675. local flil = 1.6
  676. coroutine.resume(coroutine.create(function()
  677. for i = 0, 9 do
  678. swait()
  679. fval = fval + 0.05
  680. flol = flol - 0.1
  681. flil = flil - 0.1
  682. txtlb.Text = ""
  683. txtlb.Position = UDim2.new(0,0,flol,0)
  684. txtlb2.Position = UDim2.new(0,0,flil,0)
  685. end
  686. txtlb.Text = text
  687. wait(watval)
  688. local valinc = 0
  689. for i = 0, 99 do
  690. swait()
  691. valinc = valinc + 0.0001
  692. flol = flol + valinc
  693. flil = flil + valinc
  694. txtlb.Rotation = txtlb.Rotation + valinc*20
  695. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  696. txtlb.Position = UDim2.new(0,0,flol,0)
  697. txtlb2.Position = UDim2.new(0,0,flil,0)
  698. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  699. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  700. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  701. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  702. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  703. end
  704. scrg:Destroy()
  705. end))
  706. end))
  707. end
  708. end
  709.  
  710.  
  711. local Create = LoadLibrary("RbxUtility").Create
  712.  
  713. CFuncs = {
  714. ["Part"] = {
  715. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  716. local Part = Create("Part"){
  717. Parent = Parent,
  718. Reflectance = Reflectance,
  719. Transparency = Transparency,
  720. CanCollide = false,
  721. Locked = true,
  722. BrickColor = BrickColor.new(tostring(BColor)),
  723. Name = Name,
  724. Size = Size,
  725. Material = Material,
  726. }
  727. RemoveOutlines(Part)
  728. return Part
  729. end;
  730. };
  731.  
  732. ["Mesh"] = {
  733. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  734. local Msh = Create(Mesh){
  735. Parent = Part,
  736. Offset = OffSet,
  737. Scale = Scale,
  738. }
  739. if Mesh == "SpecialMesh" then
  740. Msh.MeshType = MeshType
  741. Msh.MeshId = MeshId
  742. end
  743. return Msh
  744. end;
  745. };
  746.  
  747. ["Mesh"] = {
  748. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  749. local Msh = Create(Mesh){
  750. Parent = Part,
  751. Offset = OffSet,
  752. Scale = Scale,
  753. }
  754. if Mesh == "SpecialMesh" then
  755. Msh.MeshType = MeshType
  756. Msh.MeshId = MeshId
  757. end
  758. return Msh
  759. end;
  760. };
  761.  
  762. ["Weld"] = {
  763. Create = function(Parent, Part0, Part1, C0, C1)
  764. local Weld = Create("Weld"){
  765. Parent = Parent,
  766. Part0 = Part0,
  767. Part1 = Part1,
  768. C0 = C0,
  769. C1 = C1,
  770. }
  771. return Weld
  772. end;
  773. };
  774.  
  775. ["Sound"] = {
  776. Create = function(id, par, vol, pit)
  777. coroutine.resume(coroutine.create(function()
  778. local S = Create("Sound"){
  779. Volume = vol,
  780. Name = "EffectSoundo",
  781. Pitch = pit or 1,
  782. SoundId = id,
  783. Parent = par or workspace,
  784. }
  785. wait()
  786. S:play()
  787. game:GetService("Debris"):AddItem(S, 10)
  788. end))
  789. end;
  790. };
  791.  
  792. ["TimeSound"] = {
  793. Create = function(id, par, vol, pit, timepos)
  794. coroutine.resume(coroutine.create(function()
  795. local S = Create("Sound"){
  796. Volume = vol,
  797. Name = "EffectSoundo",
  798. Pitch = pit or 1,
  799. SoundId = id,
  800. TimePosition = timepos,
  801. Parent = par or workspace,
  802. }
  803. wait()
  804. S:play()
  805. game:GetService("Debris"):AddItem(S, 10)
  806. end))
  807. end;
  808. };
  809. ["EchoSound"] = {
  810. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  811. coroutine.resume(coroutine.create(function()
  812. local Sas = Create("Sound"){
  813. Volume = vol,
  814. Name = "EffectSoundo",
  815. Pitch = pit or 1,
  816. SoundId = id,
  817. TimePosition = timepos,
  818. Parent = par or workspace,
  819. }
  820. local E = Create("EchoSoundEffect"){
  821. Delay = echodelay,
  822. Name = "Echo",
  823. Feedback = fedb,
  824. DryLevel = dryl,
  825. Parent = Sas,
  826. }
  827. wait()
  828. Sas:play()
  829. game:GetService("Debris"):AddItem(Sas, delays)
  830. end))
  831. end;
  832. };
  833.  
  834. ["LongSound"] = {
  835. Create = function(id, par, vol, pit)
  836. coroutine.resume(coroutine.create(function()
  837. local S = Create("Sound"){
  838. Volume = vol,
  839. Pitch = pit or 1,
  840. SoundId = id,
  841. Parent = par or workspace,
  842. }
  843. wait()
  844. S:play()
  845. game:GetService("Debris"):AddItem(S, 60)
  846. end))
  847. end;
  848. };
  849.  
  850. ["ParticleEmitter"] = {
  851. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  852. local fp = Create("ParticleEmitter"){
  853. Parent = Parent,
  854. Color = ColorSequence.new(Color1, Color2),
  855. LightEmission = LightEmission,
  856. Size = Size,
  857. Texture = Texture,
  858. Transparency = Transparency,
  859. ZOffset = ZOffset,
  860. Acceleration = Accel,
  861. Drag = Drag,
  862. LockedToPart = LockedToPart,
  863. VelocityInheritance = VelocityInheritance,
  864. EmissionDirection = EmissionDirection,
  865. Enabled = Enabled,
  866. Lifetime = LifeTime,
  867. Rate = Rate,
  868. Rotation = Rotation,
  869. RotSpeed = RotSpeed,
  870. Speed = Speed,
  871. VelocitySpread = VelocitySpread,
  872. }
  873. return fp
  874. end;
  875. };
  876.  
  877. CreateTemplate = {
  878.  
  879. };
  880. }
  881.  
  882.  
  883.  
  884. New = function(Object, Parent, Name, Data)
  885. local Object = Instance.new(Object)
  886. for Index, Value in pairs(Data or {}) do
  887. Object[Index] = Value
  888. end
  889. Object.Parent = Parent
  890. Object.Name = Name
  891. return Object
  892. end
  893. local halocolor = BrickColor.new("Pastel light blue")
  894. local halocolor2 = BrickColor.new("Cool yellow")
  895. local starcolor = BrickColor.new("Bright yellow")
  896. local lunacolor = BrickColor.new("Navy blue")
  897. local lunacolor2 = BrickColor.new("Bright blue")
  898. local wepcolor = BrickColor.new("Really black")
  899. local maincolor = BrickColor.new("Really black")
  900. local m = Instance.new("Model",char)
  901. local m2 = Instance.new("Model",char)
  902. local m3 = Instance.new("Model",char)
  903. local mw1 = Instance.new("Model",char)
  904. local mw2 = Instance.new("Model",char)
  905.  
  906.  
  907. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  908. local gui = it(GuiType)
  909. gui.Parent = parent
  910. gui.Text = text
  911. gui.BackgroundTransparency = backtrans
  912. gui.BackgroundColor3 = backcol
  913. gui.SizeConstraint = "RelativeXY"
  914. gui.TextXAlignment = "Center"
  915. gui.TextYAlignment = "Center"
  916. gui.Position = pos
  917. gui.Size = size
  918. gui.Font = "SciFi"
  919. gui.FontSize = "Size14"
  920. gui.TextWrapped = false
  921. gui.TextStrokeTransparency = 0
  922. gui.TextColor = BrickColor.new("White")
  923. return gui
  924. end
  925. --------------------------- GUI STUFF
  926. local basgui = it("GuiMain")
  927. basgui.Parent = plr.PlayerGui
  928. basgui.Name = "VISgui"
  929. local fullscreenz = it("Frame")
  930. fullscreenz.Parent = basgui
  931. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  932. fullscreenz.BackgroundTransparency = 1
  933. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  934. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  935. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  936. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  937. imgl2.BackgroundTransparency = 1
  938. imgl2.BorderSizePixel = 0
  939. imgl2.ImageTransparency = 0.5
  940. imgl2.ImageColor3 = Color3.new(1,0,0)
  941. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  942. imgl2.Size = UDim2.new(0,1000,0,1000)
  943. imgl2.Image = "rbxassetid://2325939897"
  944. local techc = imgl2:Clone()
  945. techc.Parent = fullscreenz
  946. techc.ImageTransparency = 0
  947. techc.Size = UDim2.new(0,900,0,900)
  948. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  949. techc.ImageColor3 = Color3.new(1,0,0)
  950. techc.Image = "rbxassetid://2273224484"
  951. local circl = imgl2:Clone()
  952. circl.Parent = fullscreenz
  953. circl.ImageTransparency = 0
  954. circl.Size = UDim2.new(0,550,0,550)
  955. circl.Position = UDim2.new(0.75,25,0.55,25)
  956. circl.ImageColor3 = Color3.new(0,0,0)
  957. circl.Image = "rbxassetid://2312119891"
  958. local circl2 = imgl2:Clone()
  959. circl2.Parent = fullscreenz
  960. circl2.ImageTransparency = 0
  961. circl2.Size = UDim2.new(0,700,0,700)
  962. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  963. circl2.ImageColor3 = Color3.new(1,0,0)
  964. circl2.Image = "rbxassetid://2312119891"
  965. local imgl2b = imgl2:Clone()
  966. imgl2b.Parent = fullscreenz
  967. imgl2b.ImageTransparency = 0
  968. imgl2b.Size = UDim2.new(0,800,0,800)
  969. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  970. imgl2b.ImageColor3 = Color3.new(0,0,0)
  971. local ned = Instance.new("TextLabel",fullscreenz)
  972. ned.ZIndex = 2
  973. ned.Font = "Arcade"
  974. ned.BackgroundTransparency = 1
  975. ned.BorderSizePixel = 0.65
  976. ned.Size = UDim2.new(0.3,0,0.2,0)
  977. ned.Position = UDim2.new(0.7,0,0.8,0)
  978. ned.TextColor3 = BrickColor.new("Royal purple").Color
  979. ned.TextStrokeColor3 = BrickColor.new("Royal purple").Color
  980. ned.TextScaled = true
  981. ned.TextStrokeTransparency = 0
  982. ned.Text = "悪魔"
  983. ned.TextSize = 24
  984. ned.Rotation = 1
  985. ned.TextXAlignment = "Right"
  986. ned.TextYAlignment = "Bottom"
  987.  
  988. local extrawingmod1 = Instance.new("Model",char)
  989. local extrawingmod2 = Instance.new("Model",char)
  990.  
  991. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  992. local p = Instance.new("Part")
  993. p.TopSurface = 0
  994. p.BottomSurface = 0
  995. p.Parent = parent
  996. p.Size = Vector3.new(0.1,0.1,0.1)
  997. p.Transparency = transparency
  998. p.Reflectance = reflectance
  999. p.CanCollide = false
  1000. p.Locked = true
  1001. p.BrickColor = brickcolor
  1002. p.Material = material
  1003. return p
  1004. end
  1005.  
  1006. function CreateMesh(parent,meshtype,x1,y1,z1)
  1007. local mesh = Instance.new("SpecialMesh",parent)
  1008. mesh.MeshType = meshtype
  1009. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1010. return mesh
  1011. end
  1012.  
  1013. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  1014. local mesh = Instance.new("SpecialMesh",parent)
  1015. mesh.MeshType = "FileMesh"
  1016. mesh.MeshId = meshid
  1017. mesh.Scale = Vector3.new(x1,y1,z1)
  1018. return mesh
  1019. end
  1020.  
  1021.  
  1022. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  1023. local mesh = Instance.new("SpecialMesh",parent)
  1024. mesh.MeshType = "FileMesh"
  1025. mesh.MeshId = meshid
  1026. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  1027. mesh.Scale = Vector3.new(x1,y1,z1)
  1028. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  1029. return mesh
  1030. end
  1031.  
  1032. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  1033. local weld = Instance.new("Weld")
  1034. weld.Parent = parent
  1035. weld.Part0 = part0
  1036. weld.Part1 = part1
  1037. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  1038. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  1039. return weld
  1040. end
  1041.  
  1042.  
  1043. --------------
  1044. --------------
  1045. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1046. 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))
  1047. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1048. 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))
  1049.  
  1050. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1051. CreateMesh(handle,"Brick",0,0,0)
  1052. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1053. local valuaring = 10
  1054. for i = 0, 49 do
  1055. valuaring = valuaring + 10
  1056. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  1057. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1058. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1059. end
  1060.  
  1061. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1062. CreateMesh(handle,"Brick",0,0,0)
  1063. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1064. local valuaring = 10
  1065. for i = 0, 49 do
  1066. valuaring = valuaring + 10
  1067. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1068. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  1069. 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))
  1070. end
  1071.  
  1072.  
  1073. local handle = CreateParta(m,1,1,"Neon",maincolor)
  1074. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1075. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1076.  
  1077. --- Left wing.
  1078.  
  1079. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1080. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1081. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1082.  
  1083. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1084. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1085. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1086. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1087. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1088. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1089. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1090. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1091. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1092. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1093. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1094. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1095. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1096. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1097. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1098. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1099. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1100. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1101. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1102. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1103. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1104. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1105. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1106. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1107. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1108. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1109. CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1110. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1111. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1112. CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1113.  
  1114. tl1 = Instance.new('Trail',wed)
  1115. tl1.Attachment0 = A1
  1116. tl1.Attachment1 = A0
  1117. tl1.Texture = "rbxassetid://2108945559"
  1118. tl1.LightEmission = 1
  1119. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1120. tl1.Color = ColorSequence.new(BrickColor.new('Industrial white').Color)
  1121. tl1.Lifetime = 0.6
  1122.  
  1123. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1124. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1125. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1126.  
  1127. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1128. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1129. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1130. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1131. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1132. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1133. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1135. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1136. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1137. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1138. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1139. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1140. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1141. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1142. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1143. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1144. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1145. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1146. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1147. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1148. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1149. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1150. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1151. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1152. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1153. CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1154. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1155. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1156. CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1157.  
  1158. tl2 = Instance.new('Trail',wed)
  1159. tl2.Attachment0 = A1
  1160. tl2.Attachment1 = A0
  1161. tl2.Texture = "rbxassetid://2108945559"
  1162. tl2.LightEmission = 1
  1163. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1164. tl2.Color = ColorSequence.new(BrickColor.new('Industrial white').Color)
  1165. tl2.Lifetime = 0.6
  1166.  
  1167. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1168. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1169. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1170.  
  1171. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1172. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1173. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1174. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1175. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1176. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1177. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1178. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1179. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1180. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1181. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1182. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1183. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1184. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1185. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1186. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1187. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1188. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1189. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1190. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1191. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1192. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1193. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1194. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1195. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1196. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1197. CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1198. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1199. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1200. CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1201.  
  1202. tl3 = Instance.new('Trail',wed)
  1203. tl3.Attachment0 = A1
  1204. tl3.Attachment1 = A0
  1205. tl3.Texture = "rbxassetid://2108945559"
  1206. tl3.LightEmission = 1
  1207. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1208. tl3.Color = ColorSequence.new(BrickColor.new('Industrial white').Color)
  1209. tl3.Lifetime = 0.6
  1210.  
  1211. tl1.Enabled = true
  1212. tl2.Enabled = true
  1213. tl3.Enabled = true
  1214. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1215. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1216. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1217.  
  1218. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1219. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1220. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1221. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1222. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1223. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1224. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1225. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1226. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1227. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1228. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1229. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1230.  
  1231. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1232. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1233. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1234.  
  1235. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1236. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1237. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1238. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1239. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1240. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1241. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1242. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1243. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1244. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1245. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1246. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1247.  
  1248. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1249. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1250. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1251.  
  1252. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1253. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1254. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1255. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1256. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1257. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1258. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1259. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1260. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1261. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1262. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1263. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1264.  
  1265. -- Right wing.
  1266.  
  1267. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1268. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1269. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1270.  
  1271. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1272. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1273. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1274. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1275. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1276. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1277. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1278. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1279. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1280. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1281. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1282. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1283. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1284. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1285. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1286. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1287. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1288. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1289. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1290. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1291. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1292. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1293. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1294. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1295. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1296. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1297. CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1298. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1299. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1300. CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1301.  
  1302. tr1 = Instance.new('Trail',wed)
  1303. tr1.Attachment0 = A1
  1304. tr1.Attachment1 = A0
  1305. tr1.Texture = "rbxassetid://2108945559"
  1306. tr1.LightEmission = 1
  1307. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1308. tr1.Color = ColorSequence.new(BrickColor.new('Industrial white').Color)
  1309. tr1.Lifetime = 0.6
  1310.  
  1311. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1312. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1313. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1314.  
  1315. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1316. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1317. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1318. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1319. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1320. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1321. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1322. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1323. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1324. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1325. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1326. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1327. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1328. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1329. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1330. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1331. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1332. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1333. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1334. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1335. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1336. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1337. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1338. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1339. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1340. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1341. CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1342. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1343. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1344. CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1345.  
  1346. tr2 = Instance.new('Trail',wed)
  1347. tr2.Attachment0 = A1
  1348. tr2.Attachment1 = A0
  1349. tr2.Texture = "rbxassetid://2108945559"
  1350. tr2.LightEmission = 1
  1351. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1352. tr2.Color = ColorSequence.new(BrickColor.new('Industrial white').Color)
  1353. tr2.Lifetime = 0.6
  1354.  
  1355. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1356. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1357. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1358.  
  1359.  
  1360. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1361. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1362. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1363. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1364. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1365. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1366. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1367. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1368. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1369. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1370. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1371. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1372. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1373. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1374. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1375. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1376. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1377. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1378. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1379. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1380. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1381. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1382. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1383. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1384. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1385. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1386. CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1387. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1388. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1389. CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1390.  
  1391. tr3 = Instance.new('Trail',wed)
  1392. tr3.Attachment0 = A1
  1393. tr3.Attachment1 = A0
  1394. tr3.Texture = "rbxassetid://2108945559"
  1395. tr3.LightEmission = 1
  1396. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1397. tr3.Color = ColorSequence.new(BrickColor.new('Industrial white').Color)
  1398. tr3.Lifetime = 0.6
  1399.  
  1400. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1401. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1402. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1403.  
  1404. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1405. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1406. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1407. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1408. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1409. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1410. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1411. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1412. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1413. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1414. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1415. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1416.  
  1417. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1418. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1419. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1420.  
  1421. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1422. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1423. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1424. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1425. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1426. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1427. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1428. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1429. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1430. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1431. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1432. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1433.  
  1434. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1435. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1436. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1437.  
  1438. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1439. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1440. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1441. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1442. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1443. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1444. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1445. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1446. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1447. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1448. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1449. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1450.  
  1451.  
  1452. ---- HERES THE RING
  1453.  
  1454.  
  1455. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1456. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1457. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1458. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1459. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1460. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1461. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1462. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1463. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1464.  
  1465.  
  1466. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1467. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1468. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1469.  
  1470. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1471. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1472. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1473.  
  1474.  
  1475.  
  1476. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1477. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1478. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1479.  
  1480. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1481. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1482. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1483.  
  1484. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1485. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1486. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1487.  
  1488. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1489. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1490. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1491. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1492. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1493. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1494.  
  1495. --- second ring
  1496.  
  1497. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1498. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1499. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1500. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1501. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1502. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1503. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1504. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1505. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1506.  
  1507. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1508. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1509. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1510.  
  1511. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1512. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1513. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1514.  
  1515.  
  1516.  
  1517. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1518. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1519. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1520.  
  1521. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1522. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1523. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1524.  
  1525. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1526. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1527. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1528.  
  1529. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1530. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1531. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1532. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1533. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1534. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1535.  
  1536.  
  1537.  
  1538. for i, v in pairs(m:GetChildren()) do
  1539. if v:IsA("Part") then
  1540. v.BrickColor = BrickColor.new("Really black")
  1541. v.Material = "Glass"
  1542. end
  1543. end
  1544. for i, v in pairs(m2:GetChildren()) do
  1545. if v:IsA("Part") then
  1546. v.BrickColor = BrickColor.new("New yeller")
  1547. v.Material = "Granite"
  1548. end
  1549. end
  1550. for i, v in pairs(m3:GetChildren()) do
  1551. if v:IsA("Part") then
  1552. v.BrickColor = BrickColor.new("Industrial white")
  1553. v.Material = "Neon"
  1554. end
  1555. end
  1556. for i, v in pairs(mw2:GetChildren()) do
  1557. if v:IsA("Part") then
  1558. v.BrickColor = BrickColor.new("Royal purple")
  1559. v.Material = "Neon"
  1560. end
  1561. end
  1562. for i, v in pairs(mw1:GetChildren()) do
  1563. if v:IsA("Part") then
  1564. v.Transparency = 0
  1565. v.BrickColor = BrickColor.new("Royal purple")
  1566. v.Material = "Neon"
  1567. end
  1568. end
  1569. for i, v in pairs(extrawingmod1:GetChildren()) do
  1570. if v:IsA("Part") then
  1571. v.Transparency = 1
  1572. v.BrickColor = BrickColor.new("White")
  1573. v.Material = "Neon"
  1574. end
  1575. end
  1576. for i, v in pairs(extrawingmod2:GetChildren()) do
  1577. if v:IsA("Part") then
  1578. v.Transparency = 1
  1579. v.BrickColor = BrickColor.new("White")
  1580. v.Material = "Neon"
  1581. end
  1582. end
  1583. local MAINRUINCOLOR = BrickColor.new("Royal purple")
  1584. ------
  1585.  
  1586.  
  1587. function RemoveOutlines(part)
  1588. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1589. end
  1590. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1591. local Part = Create("Part")({
  1592. Parent = Parent,
  1593. Reflectance = Reflectance,
  1594. Transparency = Transparency,
  1595. CanCollide = false,
  1596. Locked = true,
  1597. BrickColor = BrickColor.new(tostring(BColor)),
  1598. Name = Name,
  1599. Size = Size,
  1600. Material = Material
  1601. })
  1602. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1603. RemoveOutlines(Part)
  1604. return Part
  1605. end
  1606. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1607. local Msh = Create(Mesh)({
  1608. Parent = Part,
  1609. Offset = OffSet,
  1610. Scale = Scale
  1611. })
  1612. if Mesh == "SpecialMesh" then
  1613. Msh.MeshType = MeshType
  1614. Msh.MeshId = MeshId
  1615. end
  1616. return Msh
  1617. end
  1618. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1619. local Weld = Create("Weld")({
  1620. Parent = Parent,
  1621. Part0 = Part0,
  1622. Part1 = Part1,
  1623. C0 = C0,
  1624. C1 = C1
  1625. })
  1626. return Weld
  1627. end
  1628.  
  1629. Character=Player.Character
  1630. PlayerGui=Player.PlayerGui
  1631. Backpack=Player.Backpack
  1632. Torso=Character.Torso
  1633. Head=Character.Head
  1634. Humanoid=Character.Humanoid
  1635. m=Instance.new('Model',Character)
  1636. LeftArm=Character["Left Arm"]
  1637. LeftLeg=Character["Left Leg"]
  1638. RightArm=Character["Right Arm"]
  1639. RightLeg=Character["Right Leg"]
  1640. LS=Torso["Left Shoulder"]
  1641. LH=Torso["Left Hip"]
  1642. RS=Torso["Right Shoulder"]
  1643. RH=Torso["Right Hip"]
  1644. Face = Head.face
  1645. Neck=Torso.Neck
  1646. it=Instance.new
  1647. attacktype=1
  1648. vt=Vector3.new
  1649. cf=CFrame.new
  1650. euler=CFrame.fromEulerAnglesXYZ
  1651. angles=CFrame.Angles
  1652. cloaked=false
  1653. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1654. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1655. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1656. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1657. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1658. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1659. RootPart=Character.HumanoidRootPart
  1660. RootJoint=RootPart.RootJoint
  1661. RootCF=euler(-1.57,0,3.14)
  1662. attack = false
  1663. attackdebounce = false
  1664. deb=false
  1665. equipped=true
  1666. hand=false
  1667. combo=0
  1668. mana=0
  1669. trispeed=.2
  1670. attackmode='none'
  1671. local idle=0
  1672. local Anim="Idle"
  1673. local Effects={}
  1674. local gun=false
  1675. local shoot=false
  1676. local sine = 0
  1677. local change = 1
  1678.  
  1679. function RecolorTextAndRename(name,col1,col2,font)
  1680. modet.TextStrokeColor3 = col2
  1681. modet.TextColor3 = col1
  1682. modet.Font = font
  1683. modet.Text = name
  1684. techc.ImageColor3 = col2
  1685. circl.ImageColor3 = col2
  1686. circl2.ImageColor3 = col1
  1687. imgl2.ImageColor3 = col1
  1688. imgl2b.ImageColor3 = col2
  1689. ned.Text = name
  1690. ned.TextColor3 = col1
  1691. ned.TextStrokeColor3 = col2
  1692. end
  1693. --save shoulders
  1694. RSH, LSH=nil, nil
  1695. --welds
  1696. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1697. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1698. LH=Torso["Left Hip"]
  1699. RH=Torso["Right Hip"]
  1700. TorsoColor=Torso.BrickColor
  1701. function NoOutline(Part)
  1702. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1703. end
  1704. ch=Character
  1705. RSH=ch.Torso["Right Shoulder"]
  1706. LSH=ch.Torso["Left Shoulder"]
  1707. --
  1708. RSH.Parent=nil
  1709. LSH.Parent=nil
  1710. --
  1711. RW.Name="Right Shoulder"
  1712. RW.Part0=ch.Torso
  1713. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1714. RW.C1=cf(0, 0.5, 0)
  1715. RW.Part1=ch["Right Arm"]
  1716. RW.Parent=ch.Torso
  1717. --
  1718. LW.Name="Left Shoulder"
  1719. LW.Part0=ch.Torso
  1720. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1721. LW.C1=cf(0, 0.5, 0)
  1722. LW.Part1=ch["Left Arm"]
  1723. LW.Parent=ch.Torso
  1724.  
  1725. local Stats=Instance.new("BoolValue")
  1726. Stats.Name="Stats"
  1727. Stats.Parent=Character
  1728. local Atk=Instance.new("NumberValue")
  1729. Atk.Name="Damage"
  1730. Atk.Parent=Stats
  1731. Atk.Value=1
  1732. local Def=Instance.new("NumberValue")
  1733. Def.Name="Defense"
  1734. Def.Parent=Stats
  1735. Def.Value=1
  1736. local Speed=Instance.new("NumberValue")
  1737. Speed.Name="Speed"
  1738. Speed.Parent=Stats
  1739. Speed.Value=1
  1740. local Mvmt=Instance.new("NumberValue")
  1741. Mvmt.Name="Movement"
  1742. Mvmt.Parent=Stats
  1743. Mvmt.Value=1
  1744.  
  1745. local donum=0
  1746.  
  1747.  
  1748. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1749. local fp=it("Part")
  1750. fp.formFactor=formfactor
  1751. fp.Parent=parent
  1752. fp.Reflectance=reflectance
  1753. fp.Transparency=transparency
  1754. fp.CanCollide=false
  1755. fp.Locked=true
  1756. fp.BrickColor=brickcolor
  1757. fp.Name=name
  1758. fp.Size=size
  1759. fp.Position=Torso.Position
  1760. NoOutline(fp)
  1761. fp.Material="SmoothPlastic"
  1762. fp:BreakJoints()
  1763. return fp
  1764. end
  1765.  
  1766. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1767. local mesh=it(Mesh)
  1768. mesh.Parent=part
  1769. if Mesh=="SpecialMesh" then
  1770. mesh.MeshType=meshtype
  1771. if meshid~="nil" then
  1772. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1773. end
  1774. end
  1775. mesh.Offset=offset
  1776. mesh.Scale=scale
  1777. return mesh
  1778. end
  1779.  
  1780. function weld(parent,part0,part1,c0)
  1781. local weld=it("Weld")
  1782. weld.Parent=parent
  1783. weld.Part0=part0
  1784. weld.Part1=part1
  1785. weld.C0=c0
  1786. return weld
  1787. end
  1788.  
  1789. local Color1=Torso.BrickColor
  1790.  
  1791. local bodvel=Instance.new("BodyVelocity")
  1792. local bg=Instance.new("BodyGyro")
  1793.  
  1794. --------- SazEreno's Artificial HB --------------
  1795. ArtificialHB = Instance.new("BindableEvent", script)
  1796. ArtificialHB.Name = "ArtificialHB"
  1797.  
  1798. script:WaitForChild("ArtificialHB")
  1799. Frame_Speed = 1 / 60
  1800. frame = Frame_Speed
  1801. tf = 0
  1802. allowframeloss = false
  1803. tossremainder = false
  1804. lastframe = tick()
  1805. script.ArtificialHB:Fire()
  1806.  
  1807. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1808. tf = tf + s
  1809. if tf >= frame then
  1810. if allowframeloss then
  1811. script.ArtificialHB:Fire()
  1812. lastframe = tick()
  1813. else
  1814. for i = 1, math.floor(tf / frame) do
  1815. script.ArtificialHB:Fire()
  1816. end
  1817. lastframe = tick()
  1818. end
  1819. if tossremainder then
  1820. tf = 0
  1821. else
  1822. tf = tf - frame * math.floor(tf / frame)
  1823. end
  1824. end
  1825. end)
  1826.  
  1827. ------------------
  1828. function swait(num)
  1829. function swait(num)
  1830. if num==0 or num==nil then
  1831. game:service'RunService'.Stepped:wait(0)
  1832. else
  1833. for i=0,num do
  1834. game:service'RunService'.Stepped:wait(0)
  1835. end
  1836. end
  1837. end
  1838. end
  1839.  
  1840. -------- RAINBOW LEAVE IT TO ME
  1841. local r = 255
  1842. local g = 0
  1843. local b = 0
  1844. coroutine.resume(coroutine.create(function()
  1845. while wait() do
  1846. for i = 0, 254/5 do
  1847. swait()
  1848. g = g + 5
  1849. end
  1850. for i = 0, 254/5 do
  1851. swait()
  1852. r = r - 5
  1853. end
  1854. for i = 0, 254/5 do
  1855. swait()
  1856. b = b + 5
  1857. end
  1858. for i = 0, 254/5 do
  1859. swait()
  1860. g = g - 5
  1861. end
  1862. for i = 0, 254/5 do
  1863. swait()
  1864. r = r + 5
  1865. end
  1866. for i = 0, 254/5 do
  1867. swait()
  1868. b = b - 5
  1869. end
  1870. end
  1871. end))
  1872.  
  1873.  
  1874. so = function(id,par,vol,pit)
  1875. coroutine.resume(coroutine.create(function()
  1876. local sou = Instance.new("Sound",par or workspace)
  1877. sou.Volume=vol
  1878. sou.Pitch=pit or 1
  1879. sou.SoundId=id
  1880. swait()
  1881. sou:play()
  1882. game:GetService("Debris"):AddItem(sou,6)
  1883. end))
  1884. end
  1885.  
  1886. function clerp(a,b,t)
  1887. local qa = {QuaternionFromCFrame(a)}
  1888. local qb = {QuaternionFromCFrame(b)}
  1889. local ax, ay, az = a.x, a.y, a.z
  1890. local bx, by, bz = b.x, b.y, b.z
  1891. local _t = 1-t
  1892. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1893. end
  1894.  
  1895. function QuaternionFromCFrame(cf)
  1896. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1897. local trace = m00 + m11 + m22
  1898. if trace > 0 then
  1899. local s = math.sqrt(1 + trace)
  1900. local recip = 0.5/s
  1901. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1902. else
  1903. local i = 0
  1904. if m11 > m00 then
  1905. i = 1
  1906. end
  1907. if m22 > (i == 0 and m00 or m11) then
  1908. i = 2
  1909. end
  1910. if i == 0 then
  1911. local s = math.sqrt(m00-m11-m22+1)
  1912. local recip = 0.5/s
  1913. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1914. elseif i == 1 then
  1915. local s = math.sqrt(m11-m22-m00+1)
  1916. local recip = 0.5/s
  1917. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1918. elseif i == 2 then
  1919. local s = math.sqrt(m22-m00-m11+1)
  1920. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1921. end
  1922. end
  1923. end
  1924.  
  1925. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1926. local xs, ys, zs = x + x, y + y, z + z
  1927. local wx, wy, wz = w*xs, w*ys, w*zs
  1928. local xx = x*xs
  1929. local xy = x*ys
  1930. local xz = x*zs
  1931. local yy = y*ys
  1932. local yz = y*zs
  1933. local zz = z*zs
  1934. 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))
  1935. end
  1936.  
  1937. function QuaternionSlerp(a, b, t)
  1938. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1939. local startInterp, finishInterp;
  1940. if cosTheta >= 0.0001 then
  1941. if (1 - cosTheta) > 0.0001 then
  1942. local theta = math.acos(cosTheta)
  1943. local invSinTheta = 1/math.sin(theta)
  1944. startInterp = math.sin((1-t)*theta)*invSinTheta
  1945. finishInterp = math.sin(t*theta)*invSinTheta
  1946. else
  1947. startInterp = 1-t
  1948. finishInterp = t
  1949. end
  1950. else
  1951. if (1+cosTheta) > 0.0001 then
  1952. local theta = math.acos(-cosTheta)
  1953. local invSinTheta = 1/math.sin(theta)
  1954. startInterp = math.sin((t-1)*theta)*invSinTheta
  1955. finishInterp = math.sin(t*theta)*invSinTheta
  1956. else
  1957. startInterp = t-1
  1958. finishInterp = t
  1959. end
  1960. end
  1961. 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
  1962. end
  1963.  
  1964. local function CFrameFromTopBack(at, top, back)
  1965. local right = top:Cross(back)
  1966. return CFrame.new(at.x, at.y, at.z,
  1967. right.x, top.x, back.x,
  1968. right.y, top.y, back.y,
  1969. right.z, top.z, back.z)
  1970. end
  1971.  
  1972. function Triangle(a, b, c)
  1973. local edg1 = (c-a):Dot((b-a).unit)
  1974. local edg2 = (a-b):Dot((c-b).unit)
  1975. local edg3 = (b-c):Dot((a-c).unit)
  1976. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1977. a, b, c = a, b, c
  1978. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1979. a, b, c = b, c, a
  1980. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1981. a, b, c = c, a, b
  1982. else
  1983. assert(false, "unreachable")
  1984. end
  1985.  
  1986. local len1 = (c-a):Dot((b-a).unit)
  1987. local len2 = (b-a).magnitude - len1
  1988. local width = (a + (b-a).unit*len1 - c).magnitude
  1989.  
  1990. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1991.  
  1992. local list = {}
  1993.  
  1994. if len1 > 0.01 then
  1995. local w1 = Instance.new('WedgePart', m)
  1996. game:GetService("Debris"):AddItem(w1,5)
  1997. w1.Material = "SmoothPlastic"
  1998. w1.FormFactor = 'Custom'
  1999. w1.BrickColor = BrickColor.new("Industrial white")
  2000. w1.Transparency = 0
  2001. w1.Reflectance = 0
  2002. w1.Material = "SmoothPlastic"
  2003. w1.CanCollide = false
  2004. local l1 = Instance.new("PointLight",w1)
  2005. l1.Color = Color3.new(170,0,0)
  2006. NoOutline(w1)
  2007. local sz = Vector3.new(0.2, width, len1)
  2008. w1.Size = sz
  2009. local sp = Instance.new("SpecialMesh",w1)
  2010. sp.MeshType = "Wedge"
  2011. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2012. w1:BreakJoints()
  2013. w1.Anchored = true
  2014. w1.Parent = workspace
  2015. w1.Transparency = 0.7
  2016. table.insert(Effects,{w1,"Disappear",.01})
  2017. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2018. table.insert(list,w1)
  2019. end
  2020.  
  2021. if len2 > 0.01 then
  2022. local w2 = Instance.new('WedgePart', m)
  2023. game:GetService("Debris"):AddItem(w2,5)
  2024. w2.Material = "SmoothPlastic"
  2025. w2.FormFactor = 'Custom'
  2026. w2.BrickColor = BrickColor.new("Industrial white")
  2027. w2.Transparency = 0
  2028. w2.Reflectance = 0
  2029. w2.Material = "SmoothPlastic"
  2030. w2.CanCollide = false
  2031. local l2 = Instance.new("PointLight",w2)
  2032. l2.Color = Color3.new(170,0,0)
  2033. NoOutline(w2)
  2034. local sz = Vector3.new(0.2, width, len2)
  2035. w2.Size = sz
  2036. local sp = Instance.new("SpecialMesh",w2)
  2037. sp.MeshType = "Wedge"
  2038. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2039. w2:BreakJoints()
  2040. w2.Anchored = true
  2041. w2.Parent = workspace
  2042. w2.Transparency = 0.7
  2043. table.insert(Effects,{w2,"Disappear",.01})
  2044. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2045. table.insert(list,w2)
  2046. end
  2047. return unpack(list)
  2048. end
  2049.  
  2050.  
  2051. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2052. if hit.Parent == nil then
  2053. return
  2054. end
  2055. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2056. for _, v in pairs(hit.Parent:children()) do
  2057. if v:IsA("Humanoid") then
  2058. h = v
  2059. end
  2060. end
  2061. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2062. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2063. return
  2064. end
  2065. local c = Create("ObjectValue")({
  2066. Name = "creator",
  2067. Value = Owner,
  2068. Parent = h
  2069. })
  2070. game:GetService("Debris"):AddItem(c, 0.5)
  2071. if HitSound ~= nil and HitPitch ~= nil then
  2072. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2073. end
  2074. local Damage = math.random(minim, maxim)
  2075. local blocked = false
  2076. local block = hit.Parent:findFirstChild("Block")
  2077. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2078. blocked = true
  2079. block.Value = block.Value - 1
  2080. print(block.Value)
  2081. end
  2082. if blocked == false then
  2083. HitHealth = h.Health
  2084. h.MaxHealth = 100
  2085. h.Health = h.Health - Damage
  2086. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2087. print("gained kill")
  2088. dmg(h.Parent)
  2089. end
  2090. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2091. else
  2092. h.Health = h.Health - Damage / 2
  2093. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2094. end
  2095. if Type == "Knockdown" then
  2096. local hum = hit.Parent.Humanoid
  2097. hum.PlatformStand = true
  2098. coroutine.resume(coroutine.create(function(HHumanoid)
  2099. swait(1)
  2100. HHumanoid.PlatformStand = false
  2101. end), hum)
  2102. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2103. local bodvol = Create("BodyVelocity")({
  2104. velocity = angle * knockback,
  2105. P = 5000,
  2106. maxForce = Vector3.new(8000, 8000, 8000),
  2107. Parent = hit
  2108. })
  2109. local rl = Create("BodyAngularVelocity")({
  2110. P = 3000,
  2111. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2112. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2113. Parent = hit
  2114. })
  2115. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2116. game:GetService("Debris"):AddItem(rl, 0.5)
  2117. elseif Type == "Normal" then
  2118. local vp = Create("BodyVelocity")({
  2119. P = 500,
  2120. maxForce = Vector3.new(math.huge, 0, math.huge),
  2121. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2122. })
  2123. if knockback > 0 then
  2124. vp.Parent = hit.Parent.Head
  2125. end
  2126. game:GetService("Debris"):AddItem(vp, 0.5)
  2127. elseif Type == "Up" then
  2128. local bodyVelocity = Create("BodyVelocity")({
  2129. velocity = Vector3.new(0, 20, 0),
  2130. P = 5000,
  2131. maxForce = Vector3.new(8000, 8000, 8000),
  2132. Parent = hit
  2133. })
  2134. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2135. local bodyVelocity = Create("BodyVelocity")({
  2136. velocity = Vector3.new(0, 20, 0),
  2137. P = 5000,
  2138. maxForce = Vector3.new(8000, 8000, 8000),
  2139. Parent = hit
  2140. })
  2141. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2142. elseif Type == "Leech" then
  2143. local hum = hit.Parent.Humanoid
  2144. if hum ~= nil then
  2145. for i = 0, 2 do
  2146. 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)
  2147. end
  2148. Humanoid.Health = Humanoid.Health + 10
  2149. end
  2150. elseif Type == "UpKnock" then
  2151. local hum = hit.Parent.Humanoid
  2152. hum.PlatformStand = true
  2153. if hum ~= nil then
  2154. hitr = true
  2155. end
  2156. coroutine.resume(coroutine.create(function(HHumanoid)
  2157. swait(5)
  2158. HHumanoid.PlatformStand = false
  2159. hitr = false
  2160. end), hum)
  2161. local bodyVelocity = Create("BodyVelocity")({
  2162. velocity = Vector3.new(0, 20, 0),
  2163. P = 5000,
  2164. maxForce = Vector3.new(8000, 8000, 8000),
  2165. Parent = hit
  2166. })
  2167. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2168. local bodyVelocity = Create("BodyVelocity")({
  2169. velocity = Vector3.new(0, 20, 0),
  2170. P = 5000,
  2171. maxForce = Vector3.new(8000, 8000, 8000),
  2172. Parent = hit
  2173. })
  2174. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2175. elseif Type == "Snare" then
  2176. local bp = Create("BodyPosition")({
  2177. P = 2000,
  2178. D = 100,
  2179. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2180. position = hit.Parent.Torso.Position,
  2181. Parent = hit.Parent.Torso
  2182. })
  2183. game:GetService("Debris"):AddItem(bp, 1)
  2184. elseif Type == "Slashnare" then
  2185. 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)
  2186. for i = 1, math.random(4, 5) do
  2187. 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)
  2188. end
  2189. local bp = Create("BodyPosition")({
  2190. P = 2000,
  2191. D = 100,
  2192. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2193. position = hit.Parent.Torso.Position,
  2194. Parent = hit.Parent.Torso
  2195. })
  2196. game:GetService("Debris"):AddItem(bp, 1)
  2197. elseif Type == "Spike" then
  2198. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2199. local bp = Create("BodyPosition")({
  2200. P = 2000,
  2201. D = 100,
  2202. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2203. position = hit.Parent.Torso.Position,
  2204. Parent = hit.Parent.Torso
  2205. })
  2206. game:GetService("Debris"):AddItem(bp, 1)
  2207. elseif Type == "Freeze" then
  2208. local BodPos = Create("BodyPosition")({
  2209. P = 50000,
  2210. D = 1000,
  2211. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2212. position = hit.Parent.Torso.Position,
  2213. Parent = hit.Parent.Torso
  2214. })
  2215. local BodGy = Create("BodyGyro")({
  2216. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2217. P = 20000,
  2218. Parent = hit.Parent.Torso,
  2219. cframe = hit.Parent.Torso.CFrame
  2220. })
  2221. hit.Parent.Torso.Anchored = true
  2222. coroutine.resume(coroutine.create(function(Part)
  2223. swait(1.5)
  2224. Part.Anchored = false
  2225. end), hit.Parent.Torso)
  2226. game:GetService("Debris"):AddItem(BodPos, 3)
  2227. game:GetService("Debris"):AddItem(BodGy, 3)
  2228. end
  2229. local debounce = Create("BoolValue")({
  2230. Name = "DebounceHit",
  2231. Parent = hit.Parent,
  2232. Value = true
  2233. })
  2234. game:GetService("Debris"):AddItem(debounce, Delay)
  2235. c = Instance.new("ObjectValue")
  2236. c.Name = "creator"
  2237. c.Value = Owner
  2238. c.Parent = h
  2239. game:GetService("Debris"):AddItem(c, 0.5)
  2240. end
  2241. end
  2242. function ShowDamage(Pos, Text, Time, Color)
  2243. local Rate = 0.03333333333333333
  2244. local Pos = Pos or Vector3.new(0, 0, 0)
  2245. local Text = Text or ""
  2246. local Time = Time or 2
  2247. local Color = Color or Color3.new(1, 0, 1)
  2248. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2249. EffectPart.Anchored = true
  2250. local BillboardGui = Create("BillboardGui")({
  2251. Size = UDim2.new(3, 0, 3, 0),
  2252. Adornee = EffectPart,
  2253. Parent = EffectPart
  2254. })
  2255. local TextLabel = Create("TextLabel")({
  2256. BackgroundTransparency = 1,
  2257. Size = UDim2.new(1, 0, 1, 0),
  2258. Text = Text,
  2259. TextColor3 = Color,
  2260. TextScaled = true,
  2261. Font = Enum.Font.ArialBold,
  2262. Parent = BillboardGui
  2263. })
  2264. game.Debris:AddItem(EffectPart, Time + 0.1)
  2265. EffectPart.Parent = game:GetService("Workspace")
  2266. delay(0, function()
  2267. local Frames = Time / Rate
  2268. for Frame = 1, Frames do
  2269. wait(Rate)
  2270. local Percent = Frame / Frames
  2271. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2272. TextLabel.TextTransparency = Percent
  2273. end
  2274. if EffectPart and EffectPart.Parent then
  2275. EffectPart:Destroy()
  2276. end
  2277. end)
  2278. end
  2279. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2280. for _, c in pairs(workspace:children()) do
  2281. local hum = c:findFirstChildOfClass("Humanoid")
  2282. if hum ~= nil then
  2283. local head = c:findFirstChild("Head")
  2284. if head ~= nil then
  2285. local targ = head.Position - Part.Position
  2286. local mag = targ.magnitude
  2287. if magni >= mag and c.Name ~= Player.Name then
  2288. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2289. end
  2290. end
  2291. end
  2292. end
  2293. end
  2294.  
  2295. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2296. for _, c in pairs(workspace:children()) do
  2297. local hum = c:findFirstChild("Humanoid")
  2298. if hum ~= nil then
  2299. local head = c:findFirstChild("Torso")
  2300. if head ~= nil then
  2301. local targ = head.Position - Part.Position
  2302. local mag = targ.magnitude
  2303. if magni >= mag and c.Name ~= Player.Name then
  2304. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2305. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2306. end
  2307. end
  2308. end
  2309. end
  2310. end
  2311.  
  2312. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2313. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2314. end
  2315.  
  2316. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2317. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2318. prt.Anchored=true
  2319. prt.CFrame=cframe
  2320. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2321. --http://www.roblox.com/asset/?id=4770560
  2322. game:GetService("Debris"):AddItem(prt,2)
  2323. CF=prt.CFrame
  2324. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2325. for i=0,1,0.2 do
  2326. wait()
  2327. Part.CFrame=CF*cf(0,0,-0.4)
  2328. end
  2329. for i=0,1,delay do
  2330. wait()
  2331. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  2332. Mesh.Scale=Mesh.Scale
  2333. end
  2334. for i=0,1,0.1 do
  2335. wait()
  2336. Part.Transparency=i
  2337. end
  2338. Part.Parent=nil
  2339. end),prt,msh,CF)
  2340. end
  2341.  
  2342. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2343. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2344. prt.Anchored=true
  2345. prt.Material = "Neon"
  2346. prt.CFrame=cframe
  2347. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2348. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2349. game:GetService("Debris"):AddItem(prt,5)
  2350. coroutine.resume(coroutine.create(function(Part,Mesh)
  2351. for i=0,1,delay do
  2352. swait()
  2353. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2354. Part.Transparency=i
  2355. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2356. end
  2357. Part.Parent=nil
  2358. end),prt,msh)
  2359. end
  2360.  
  2361. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2362. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2363. prt.Anchored=true
  2364. prt.Material = "Neon"
  2365. prt.CFrame=cframe
  2366. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2367. game:GetService("Debris"):AddItem(prt,5)
  2368. coroutine.resume(coroutine.create(function(Part,Mesh)
  2369. local rtype = rottype
  2370. for i=0,1,delay do
  2371. swait()
  2372. if rtype == 1 then
  2373. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2374. elseif rtype == 2 then
  2375. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2376. end
  2377. Part.Transparency=i
  2378. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2379. end
  2380. Part.Parent=nil
  2381. end),prt,msh)
  2382. end
  2383.  
  2384. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2385. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2386. prt.Anchored=true
  2387. prt.CFrame=cframe
  2388. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2389. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2390. game:GetService("Debris"):AddItem(prt,5)
  2391. coroutine.resume(coroutine.create(function(Part,Mesh)
  2392. for i=0,1,delay do
  2393. wait()
  2394. Part.Transparency=i
  2395. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2396. end
  2397. Part.Parent=nil
  2398. end),prt,msh)
  2399. end
  2400.  
  2401. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2402. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2403. prt.Anchored=true
  2404. prt.Material = "Neon"
  2405. prt.CFrame=cframe
  2406. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2407. game:GetService("Debris"):AddItem(prt,5)
  2408. coroutine.resume(coroutine.create(function(Part,Mesh)
  2409. local rtype = rottype
  2410. for i=0,1,delay do
  2411. swait()
  2412. if rtype == 1 then
  2413. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2414. elseif rtype == 2 then
  2415. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2416. end
  2417. Part.Transparency=i
  2418. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2419. end
  2420. Part.Parent=nil
  2421. end),prt,msh)
  2422. end
  2423.  
  2424. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2425. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2426. prt.Anchored=true
  2427. prt.Material = "Neon"
  2428. prt.CFrame=cframe
  2429. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2430. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2431. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2432. game:GetService("Debris"):AddItem(prt,5)
  2433. coroutine.resume(coroutine.create(function(Part,Mesh)
  2434. local rtype = rottype
  2435. for i=0,1,delay do
  2436. swait()
  2437. if rtype == 1 then
  2438. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2439. elseif rtype == 2 then
  2440. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2441. end
  2442. dec.Transparency=i
  2443. dec2.Transparency=i
  2444. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2445. end
  2446. Part.Parent=nil
  2447. end),prt,msh)
  2448. end
  2449.  
  2450. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2451. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2452. prt.Anchored=true
  2453. prt.Material = "Neon"
  2454. prt.CFrame=cframe
  2455. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2456. game:GetService("Debris"):AddItem(prt,5)
  2457. coroutine.resume(coroutine.create(function(Part,Mesh)
  2458. local rtype = rottype
  2459. for i=0,1,delay do
  2460. swait()
  2461. if rtype == 1 then
  2462. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2463. elseif rtype == 2 then
  2464. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2465. end
  2466. prt.Transparency=i
  2467. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2468. end
  2469. Part.Parent=nil
  2470. end),prt,msh)
  2471. end
  2472.  
  2473. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2474. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2475. prt.Anchored=true
  2476. prt.Material = "Neon"
  2477. prt.CFrame=cframe
  2478. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2479. game:GetService("Debris"):AddItem(prt,5)
  2480. coroutine.resume(coroutine.create(function(Part,Mesh)
  2481. local rtype = rottype
  2482. for i=0,1,delay do
  2483. swait()
  2484. if rtype == 1 then
  2485. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2486. elseif rtype == 2 then
  2487. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2488. end
  2489. prt.Transparency=i
  2490. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2491. end
  2492. Part.Parent=nil
  2493. end),prt,msh)
  2494. end
  2495.  
  2496. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2497. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2498. prt.Anchored=true
  2499. prt.Material = "Neon"
  2500. prt.CFrame=cframe
  2501. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2502. game:GetService("Debris"):AddItem(prt,5)
  2503. coroutine.resume(coroutine.create(function(Part,Mesh)
  2504. local rtype = rottype
  2505. for i=0,1,delay do
  2506. swait()
  2507. if rtype == 1 then
  2508. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2509. elseif rtype == 2 then
  2510. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2511. end
  2512. prt.Transparency=i
  2513. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2514. end
  2515. Part.Parent=nil
  2516. end),prt,msh)
  2517. end
  2518.  
  2519. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2520. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2521. prt.Anchored=true
  2522. prt.Material = "Neon"
  2523. prt.CFrame=cframe
  2524. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2525. game:GetService("Debris"):AddItem(prt,5)
  2526. coroutine.resume(coroutine.create(function(Part,Mesh)
  2527. local rtype = rottype
  2528. for i=0,1,delay do
  2529. swait()
  2530. if rtype == 1 then
  2531. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2532. elseif rtype == 2 then
  2533. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2534. end
  2535. prt.Transparency=i
  2536. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2537. end
  2538. Part.Parent=nil
  2539. end),prt,msh)
  2540. end
  2541.  
  2542. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2543. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2544. prt.Anchored=false
  2545. prt.CFrame=cframe
  2546. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2547. local wld=weld(prt,prt,Parent,cframe)
  2548. game:GetService("Debris"):AddItem(prt,5)
  2549. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2550. for i=0,1,delay do
  2551. wait()
  2552. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2553. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2554. Part.Transparency=i
  2555. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2556. end
  2557. Part.Parent=nil
  2558. end),prt,msh,wld)
  2559. end
  2560.  
  2561. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2562. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2563. prt.Anchored=false
  2564. prt.CFrame=cframe
  2565. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2566. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2567. game:GetService("Debris"):AddItem(prt,5)
  2568. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2569. for i=0,1,delay do
  2570. wait()
  2571. Weld.C0=euler(i*20,0,0)
  2572. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2573. Part.Transparency=i
  2574. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2575. end
  2576. Part.Parent=nil
  2577. end),prt,msh,wld)
  2578. end
  2579.  
  2580. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2581. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2582. prt.Anchored=true
  2583. prt.CFrame=cframe
  2584. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2585. game:GetService("Debris"):AddItem(prt,2)
  2586. coroutine.resume(coroutine.create(function(Part,Mesh)
  2587. for i=0,1,delay do
  2588. wait()
  2589. Part.CFrame=Part.CFrame
  2590. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2591. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2592. prt2.Anchored=true
  2593. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2594. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2595. game:GetService("Debris"):AddItem(prt2,2)
  2596. coroutine.resume(coroutine.create(function(Part,Mesh)
  2597. for i=0,1,0.1 do
  2598. wait()
  2599. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2600. end
  2601. Part.Parent=nil
  2602. end),prt2,msh2)
  2603. end
  2604. for i=0,1,delay*2 do
  2605. wait()
  2606. Part.CFrame=Part.CFrame
  2607. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2608. end
  2609. Part.Parent=nil
  2610. end),prt,msh)
  2611. end
  2612.  
  2613. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2614. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2615. prt.Anchored=true
  2616. prt.CFrame=cframe
  2617. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2618. game:GetService("Debris"):AddItem(prt,2)
  2619. coroutine.resume(coroutine.create(function(Part,Mesh)
  2620. for i=0,1,delay do
  2621. wait()
  2622. Part.CFrame=Part.CFrame
  2623. Part.Transparency=i
  2624. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2625. end
  2626. Part.Parent=nil
  2627. end),prt,msh)
  2628. end
  2629.  
  2630. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2631. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2632. prt.Anchored=true
  2633. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2634. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2635. game:GetService("Debris"):AddItem(prt,2)
  2636. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2637. CF=Part.CFrame
  2638. Numbb=0
  2639. randnumb=math.random()/10
  2640. rand1=math.random()/10
  2641. for i=0,1,rand1 do
  2642. wait()
  2643. CF=CF*cf(0,math.random()/2,0)
  2644. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2645. Part.CFrame=CF*euler(Numbb,0,0)
  2646. Part.Transparency=i
  2647. Numbb=Numbb+randnumb
  2648. end
  2649. Part.Parent=nil
  2650. end),prt,CF,Numbb,randnumb)
  2651. end
  2652.  
  2653. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2654. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2655. prt.Anchored=true
  2656. prt.CFrame=cframe
  2657. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2658. game:GetService("Debris"):AddItem(prt,5)
  2659. coroutine.resume(coroutine.create(function(Part,Mesh)
  2660. for i=0,1,delay do
  2661. wait()
  2662. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2663. Part.Transparency=i
  2664. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2665. end
  2666. Part.Parent=nil
  2667. end),prt,msh)
  2668. end
  2669.  
  2670. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2671. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2672. prt.Anchored=true
  2673. prt.CFrame=cframe
  2674. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2675. game:GetService("Debris"):AddItem(prt,2)
  2676. coroutine.resume(coroutine.create(function(Part,Mesh)
  2677. for i=0,1,delay do
  2678. wait()
  2679. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2680. Part.Transparency=i
  2681. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2682. end
  2683. Part.Parent=nil
  2684. end),prt,msh)
  2685. end
  2686.  
  2687. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2688. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2689. prt.Anchored=true
  2690. prt.CFrame=cframe*cf(x,y,z)
  2691. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2692. game:GetService("Debris"):AddItem(prt,5)
  2693. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2694. local num=math.random()
  2695. local num2=math.random(-3,2)+math.random()
  2696. local numm=0
  2697. for i=0,1,delay*2 do
  2698. swait()
  2699. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2700. Part.Transparency=i
  2701. numm=numm+0.01
  2702. end
  2703. Part.Parent=nil
  2704. Mesh.Parent=nil
  2705. end),prt,msh,x,y,z)
  2706. end
  2707.  
  2708. function dmgstart(dmg,what)
  2709. hitcon = what.Touched:connect(function(hit)
  2710. local hum = hit.Parent:FindFirstChild("Humanoid")
  2711. if hum and not hum:IsDescendantOf(Character) then
  2712. hum:TakeDamage(dmg)
  2713. end
  2714. end)
  2715. end
  2716.  
  2717. function dmgstop()
  2718. hitcon:disconnect()
  2719. end
  2720.  
  2721. function Cloak()
  2722. Face.Parent=nil
  2723. cloaked=true
  2724. for _,v in pairs(Torso.Parent:children()) do
  2725. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2726. coroutine.resume(coroutine.create(function()
  2727. for i=0,1,0.2 do
  2728. wait()
  2729. v.Transparency=i
  2730. end
  2731. v.Transparency=1
  2732. end))
  2733. end
  2734. if v.className=="Hat" then
  2735. hatp=v.Handle
  2736. coroutine.resume(coroutine.create(function(derp)
  2737. for i=0,1,0.2 do
  2738. wait()
  2739. derp.Transparency=i
  2740. end
  2741. derp.Transparency=1
  2742. end),hatp)
  2743. end
  2744. end
  2745. for _,v in pairs(m:children()) do
  2746. if v.className=="Part" then
  2747. coroutine.resume(coroutine.create(function()
  2748. for i=0,1,0.2 do
  2749. wait()
  2750. v.Transparency=i
  2751. end
  2752. v.Transparency=1
  2753. end))
  2754. end
  2755. end
  2756. end
  2757.  
  2758. function UnCloak()
  2759. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2760. Face.Parent=Head
  2761. cloaked=false
  2762. for _,v in pairs(Torso.Parent:children()) do
  2763. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2764. coroutine.resume(coroutine.create(function()
  2765. for i=0,1,0.1 do
  2766. wait()
  2767. v.Transparency=v.Transparency-0.1
  2768. end
  2769. v.Transparency=0
  2770. end))
  2771. end
  2772. if v.className=="Hat" then
  2773. hatp=v.Handle
  2774. coroutine.resume(coroutine.create(function(derp)
  2775. for i=0,1,0.1 do
  2776. wait()
  2777. derp.Transparency=derp.Transparency-0.1
  2778. end
  2779. derp.Transparency=0
  2780. end),hatp)
  2781. end
  2782. end
  2783. for _,v in pairs(m:children()) do
  2784. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2785. coroutine.resume(coroutine.create(function()
  2786. for i=0,1,0.1 do
  2787. wait()
  2788. v.Transparency=v.Transparency-0.1
  2789. end
  2790. v.Transparency=0
  2791. end))
  2792. v.Transparency=0
  2793. end
  2794. end
  2795. end
  2796.  
  2797. local origcolor = BrickColor.new("Pastel light blue")
  2798. ---- This section of explosions.
  2799.  
  2800. ----
  2801.  
  2802.  
  2803. function ring(type,pos,scale,value)
  2804. local type = type
  2805. local rng = Instance.new("Part", char)
  2806. rng.Anchored = true
  2807. rng.BrickColor = origcolor
  2808. rng.CanCollide = false
  2809. rng.FormFactor = 3
  2810. rng.Name = "Ring"
  2811. rng.Size = Vector3.new(1, 1, 1)
  2812. rng.Transparency = 0
  2813. rng.TopSurface = 0
  2814. rng.BottomSurface = 0
  2815. rng.CFrame = pos
  2816. local rngm = Instance.new("SpecialMesh", rng)
  2817. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2818. rngm.Scale = scale
  2819. local scaler2 = 1
  2820. if type == "Add" then
  2821. scaler2 = 1*value
  2822. elseif type == "Divide" then
  2823. scaler2 = 1/value
  2824. end
  2825. coroutine.resume(coroutine.create(function()
  2826. for i = 0,10,0.1 do
  2827. swait()
  2828. if type == "Add" then
  2829. scaler2 = scaler2 - 0.01*value
  2830. elseif type == "Divide" then
  2831. scaler2 = scaler2 - 0.01/value
  2832. end
  2833. rng.Transparency = rng.Transparency + 0.01
  2834. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2835. end
  2836. rng:Destroy()
  2837. end))
  2838. end
  2839.  
  2840.  
  2841. function wave(type,pos,scale,value)
  2842. local type = type
  2843. local rng = Instance.new("Part", char)
  2844. rng.Anchored = true
  2845. rng.BrickColor = origcolor
  2846. rng.CanCollide = false
  2847. rng.FormFactor = 3
  2848. rng.Name = "Ring"
  2849. rng.Size = Vector3.new(1, 1, 1)
  2850. rng.Transparency = 0
  2851. rng.TopSurface = 0
  2852. rng.BottomSurface = 0
  2853. rng.CFrame = pos
  2854. local rngm = Instance.new("SpecialMesh", rng)
  2855. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2856. rngm.Scale = scale
  2857. local scaler2 = 1
  2858. if type == "Add" then
  2859. scaler2 = 1*value
  2860. elseif type == "Divide" then
  2861. scaler2 = 1/value
  2862. end
  2863. coroutine.resume(coroutine.create(function()
  2864. for i = 0,10,0.1 do
  2865. swait()
  2866. if type == "Add" then
  2867. scaler2 = scaler2 - 0.01*value
  2868. elseif type == "Divide" then
  2869. scaler2 = scaler2 - 0.01/value
  2870. end
  2871. rng.Transparency = rng.Transparency + 0.01
  2872. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2873. end
  2874. rng:Destroy()
  2875. end))
  2876. end
  2877.  
  2878. function wind(type,pos,scale,value,speed)
  2879. local type = type
  2880. local rng = Instance.new("Part", char)
  2881. rng.Anchored = true
  2882. rng.BrickColor = origcolor
  2883. rng.CanCollide = false
  2884. rng.FormFactor = 3
  2885. rng.Name = "Ring"
  2886. rng.Size = Vector3.new(1, 1, 1)
  2887. rng.Transparency = 0
  2888. rng.TopSurface = 0
  2889. rng.BottomSurface = 0
  2890. rng.CFrame = pos
  2891. local rngm = Instance.new("SpecialMesh", rng)
  2892. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2893. rngm.Scale = scale
  2894. local scaler2 = 1
  2895. if type == "Add" then
  2896. scaler2 = 1*value
  2897. elseif type == "Divide" then
  2898. scaler2 = 1/value
  2899. end
  2900. coroutine.resume(coroutine.create(function()
  2901. for i = 0,10,0.1 do
  2902. swait()
  2903. if type == "Add" then
  2904. scaler2 = scaler2 - 0.01*value
  2905. elseif type == "Divide" then
  2906. scaler2 = scaler2 - 0.01/value
  2907. end
  2908. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2909. rng.Transparency = rng.Transparency + 0.01
  2910. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2911. end
  2912. rng:Destroy()
  2913. end))
  2914. end
  2915.  
  2916. function groundwind(type,pos,scale,value,speed)
  2917. local type = type
  2918. local rng = Instance.new("Part", char)
  2919. rng.Anchored = true
  2920. rng.BrickColor = origcolor
  2921. rng.CanCollide = false
  2922. rng.FormFactor = 3
  2923. rng.Name = "Ring"
  2924. rng.Size = Vector3.new(1, 1, 1)
  2925. rng.Transparency = 0
  2926. rng.TopSurface = 0
  2927. rng.BottomSurface = 0
  2928. rng.CFrame = pos
  2929. local rngm = Instance.new("SpecialMesh", rng)
  2930. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2931. rngm.Scale = scale
  2932. local scaler2 = 1
  2933. if type == "Add" then
  2934. scaler2 = 1*value
  2935. elseif type == "Divide" then
  2936. scaler2 = 1/value
  2937. end
  2938. coroutine.resume(coroutine.create(function()
  2939. for i = 0,10,0.1 do
  2940. swait()
  2941. if type == "Add" then
  2942. scaler2 = scaler2 - 0.01*value
  2943. elseif type == "Divide" then
  2944. scaler2 = scaler2 - 0.01/value
  2945. end
  2946. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2947. rng.Transparency = rng.Transparency + 0.01
  2948. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2949. end
  2950. rng:Destroy()
  2951. end))
  2952. end
  2953.  
  2954. function CameraManager()
  2955. if TwoD and not CamInterrupt then
  2956. if Humanoid.Health > 0 then
  2957. Camera.CameraSubject = Humanoid
  2958. Camera.CameraType = "Scriptable"
  2959. Humanoid.AutoRotate = false
  2960. if Booleans.GyroUse then
  2961. Directer.MaxTorque = Vec3(0, huge, 0)
  2962. else
  2963. Directer.MaxTorque = Vec3(0, 0, 0)
  2964. end
  2965. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2966. if Booleans.CamFollow then
  2967. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2968. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2969. else
  2970. CPart.Position = RootPart.Position
  2971. end
  2972. else
  2973. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2974. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2975. end
  2976. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2977. else
  2978. Camera.CameraSubject = Humanoid
  2979. Camera.CameraType = "Custom"
  2980. Controller.Disabled = false
  2981. end
  2982. end
  2983. end
  2984.  
  2985. function ring(type,pos,scale,value)
  2986. local type = type
  2987. local rng = Instance.new("Part", char)
  2988. rng.Anchored = true
  2989. rng.BrickColor = origcolor
  2990. rng.CanCollide = false
  2991. rng.FormFactor = 3
  2992. rng.Name = "Ring"
  2993. rng.Size = Vector3.new(1, 1, 1)
  2994. rng.Transparency = 0
  2995. rng.TopSurface = 0
  2996. rng.BottomSurface = 0
  2997. rng.CFrame = pos
  2998. local rngm = Instance.new("SpecialMesh", rng)
  2999. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3000. rngm.Scale = scale
  3001. local scaler2 = 1
  3002. if type == "Add" then
  3003. scaler2 = 1*value
  3004. elseif type == "Divide" then
  3005. scaler2 = 1/value
  3006. end
  3007. coroutine.resume(coroutine.create(function()
  3008. for i = 0,10,0.1 do
  3009. swait()
  3010. if type == "Add" then
  3011. scaler2 = scaler2 - 0.01*value
  3012. elseif type == "Divide" then
  3013. scaler2 = scaler2 - 0.01/value
  3014. end
  3015. rng.Transparency = rng.Transparency + 0.01
  3016. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3017. end
  3018. rng:Destroy()
  3019. end))
  3020. end
  3021.  
  3022.  
  3023. function wave(type,pos,scale,value)
  3024. local type = type
  3025. local rng = Instance.new("Part", char)
  3026. rng.Anchored = true
  3027. rng.BrickColor = origcolor
  3028. rng.CanCollide = false
  3029. rng.FormFactor = 3
  3030. rng.Name = "Ring"
  3031. rng.Size = Vector3.new(1, 1, 1)
  3032. rng.Transparency = 0
  3033. rng.TopSurface = 0
  3034. rng.BottomSurface = 0
  3035. rng.CFrame = pos
  3036. local rngm = Instance.new("SpecialMesh", rng)
  3037. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3038. rngm.Scale = scale
  3039. local scaler2 = 1
  3040. if type == "Add" then
  3041. scaler2 = 1*value
  3042. elseif type == "Divide" then
  3043. scaler2 = 1/value
  3044. end
  3045. coroutine.resume(coroutine.create(function()
  3046. for i = 0,10,0.1 do
  3047. swait()
  3048. if type == "Add" then
  3049. scaler2 = scaler2 - 0.01*value
  3050. elseif type == "Divide" then
  3051. scaler2 = scaler2 - 0.01/value
  3052. end
  3053. rng.Transparency = rng.Transparency + 0.01
  3054. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3055. end
  3056. rng:Destroy()
  3057. end))
  3058. end
  3059.  
  3060. function sphere(bonuspeed,type,pos,scale,value,color)
  3061. local type = type
  3062. local rng = Instance.new("Part", char)
  3063. rng.Anchored = true
  3064. if ModeOfGlitch ~= 9 then
  3065. rng.BrickColor = color
  3066. elseif ModeOfGlitch == 9 then
  3067. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3068. end
  3069. rng.CanCollide = false
  3070. rng.FormFactor = 3
  3071. rng.Name = "Ring"
  3072. rng.Material = "Neon"
  3073. rng.Size = Vector3.new(1, 1, 1)
  3074. rng.Transparency = 0
  3075. rng.TopSurface = 0
  3076. rng.BottomSurface = 0
  3077. rng.CFrame = pos
  3078. local rngm = Instance.new("SpecialMesh", rng)
  3079. rngm.MeshType = "Sphere"
  3080. rngm.Scale = scale
  3081. if rainbowmode == true then
  3082. rng.Color = Color3.new(r/255,g/255,b/255)
  3083. end
  3084. if ModeOfGlitch == 9 then
  3085. coroutine.resume(coroutine.create(function()
  3086. while true do
  3087. swait()
  3088. if rng.Parent ~= nil then
  3089. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3090. else
  3091. break
  3092. end
  3093. end
  3094. end))
  3095. end
  3096. local scaler2 = 1
  3097. if type == "Add" then
  3098. scaler2 = 1*value
  3099. elseif type == "Divide" then
  3100. scaler2 = 1/value
  3101. end
  3102. coroutine.resume(coroutine.create(function()
  3103. for i = 0,10/bonuspeed,0.1 do
  3104. swait()
  3105. if rainbowmode == true then
  3106. rng.Color = Color3.new(r/255,g/255,b/255)
  3107. end
  3108. if type == "Add" then
  3109. scaler2 = scaler2 - 0.01*value/bonuspeed
  3110. elseif type == "Divide" then
  3111. scaler2 = scaler2 - 0.01/value*bonuspeed
  3112. end
  3113. if chaosmode == true then
  3114. rng.BrickColor = BrickColor.random()
  3115. end
  3116. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3117. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3118. end
  3119. rng:Destroy()
  3120. end))
  3121. end
  3122.  
  3123. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3124. local type = type
  3125. local rng = Instance.new("Part", char)
  3126. rng.Anchored = true
  3127. if ModeOfGlitch ~= 9 then
  3128. rng.BrickColor = color
  3129. elseif ModeOfGlitch == 9 then
  3130. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3131. end
  3132. rng.CanCollide = false
  3133. rng.FormFactor = 3
  3134. rng.Name = "Ring"
  3135. rng.Material = "Neon"
  3136. rng.Size = Vector3.new(1, 1, 1)
  3137. rng.Transparency = 0
  3138. rng.TopSurface = 0
  3139. rng.BottomSurface = 0
  3140. rng.CFrame = pos
  3141. local rngm = Instance.new("SpecialMesh", rng)
  3142. rngm.MeshType = "Sphere"
  3143. rngm.Scale = scale
  3144. local scaler2 = 1
  3145. local scaler2b = 1
  3146. local scaler2c = 1
  3147. if type == "Add" then
  3148. scaler2 = 1*value
  3149. scaler2b = 1*value2
  3150. scaler2c = 1*value3
  3151. elseif type == "Divide" then
  3152. scaler2 = 1/value
  3153. scaler2b = 1/value2
  3154. scaler2c = 1/value3
  3155. end
  3156. if ModeOfGlitch == 9 then
  3157. coroutine.resume(coroutine.create(function()
  3158. while true do
  3159. swait()
  3160. if rng.Parent ~= nil then
  3161. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3162. else
  3163. break
  3164. end
  3165. end
  3166. end))
  3167. end
  3168. coroutine.resume(coroutine.create(function()
  3169. for i = 0,10/bonuspeed,0.1 do
  3170. swait()
  3171. if type == "Add" then
  3172. scaler2 = scaler2 - 0.01*value/bonuspeed
  3173. scaler2b = scaler2b - 0.01*value/bonuspeed
  3174. scaler2c = scaler2c - 0.01*value/bonuspeed
  3175. elseif type == "Divide" then
  3176. scaler2 = scaler2 - 0.01/value*bonuspeed
  3177. scaler2b = scaler2b - 0.01/value*bonuspeed
  3178. scaler2c = scaler2c - 0.01/value*bonuspeed
  3179. end
  3180. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3181. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3182. end
  3183. rng:Destroy()
  3184. end))
  3185. end
  3186.  
  3187. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3188. local type = type
  3189. local rotenable = rotatingop
  3190. local rng = Instance.new("Part", char)
  3191. rng.Anchored = true
  3192. rng.BrickColor = color
  3193. rng.CanCollide = false
  3194. rng.FormFactor = 3
  3195. rng.Name = "Ring"
  3196. rng.Material = "Neon"
  3197. rng.Size = Vector3.new(1, 1, 1)
  3198. rng.Transparency = 0
  3199. if typeoftrans == "In" then
  3200. rng.Transparency = 1
  3201. end
  3202. rng.TopSurface = 0
  3203. rng.BottomSurface = 0
  3204. rng.CFrame = pos
  3205. local rngm = Instance.new("SpecialMesh", rng)
  3206. rngm.MeshType = "FileMesh"
  3207. if typeofshape == "Normal" then
  3208. rngm.MeshId = "rbxassetid://662586858"
  3209. elseif typeofshape == "Round" then
  3210. rngm.MeshId = "rbxassetid://662585058"
  3211. end
  3212. rngm.Scale = scale
  3213. local scaler2 = 1/10
  3214. if type == "Add" then
  3215. scaler2 = 1*value/10
  3216. elseif type == "Divide" then
  3217. scaler2 = 1/value/10
  3218. end
  3219. local randomrot = math.random(1,2)
  3220. coroutine.resume(coroutine.create(function()
  3221. for i = 0,10/bonuspeed,0.1 do
  3222. swait()
  3223. if type == "Add" then
  3224. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3225. elseif type == "Divide" then
  3226. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3227. end
  3228. if rotenable == true then
  3229. if randomrot == 1 then
  3230. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3231. elseif randomrot == 2 then
  3232. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3233. end
  3234. end
  3235. if typeoftrans == "Out" then
  3236. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3237. elseif typeoftrans == "In" then
  3238. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3239. end
  3240. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3241. end
  3242. rng:Destroy()
  3243. end))
  3244. end
  3245.  
  3246. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3247. local type = type
  3248. local rng = Instance.new("Part", char)
  3249. rng.Anchored = true
  3250. rng.BrickColor = color
  3251. rng.CanCollide = false
  3252. rng.FormFactor = 3
  3253. rng.Name = "Ring"
  3254. rng.Material = "Neon"
  3255. rng.Size = Vector3.new(1, 1, 1)
  3256. rng.Transparency = 0
  3257. rng.TopSurface = 0
  3258. rng.BottomSurface = 0
  3259. rng.CFrame = pos
  3260. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3261. local rngm = Instance.new("SpecialMesh", rng)
  3262. rngm.MeshType = "Brick"
  3263. rngm.Scale = vt(x1,y1,z1)
  3264. if rainbowmode == true then
  3265. rng.Color = Color3.new(r/255,g/255,b/255)
  3266. end
  3267. local scaler2 = 1
  3268. local speeder = FastSpeed/10
  3269. if type == "Add" then
  3270. scaler2 = 1*value
  3271. elseif type == "Divide" then
  3272. scaler2 = 1/value
  3273. end
  3274. coroutine.resume(coroutine.create(function()
  3275. for i = 0,10/bonuspeed,0.1 do
  3276. swait()
  3277. if rainbowmode == true then
  3278. rng.Color = Color3.new(r/255,g/255,b/255)
  3279. end
  3280. if type == "Add" then
  3281. scaler2 = scaler2 - 0.01*value/bonuspeed
  3282. elseif type == "Divide" then
  3283. scaler2 = scaler2 - 0.01/value*bonuspeed
  3284. end
  3285. if chaosmode == true then
  3286. rng.BrickColor = BrickColor.random()
  3287. end
  3288. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3289. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3290. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3291. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3292. end
  3293. rng:Destroy()
  3294. end))
  3295. end
  3296.  
  3297. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3298. local type = type
  3299. local rng = Instance.new("Part", char)
  3300. rng.Anchored = true
  3301. rng.BrickColor = color
  3302. rng.CanCollide = false
  3303. rng.FormFactor = 3
  3304. rng.Name = "Ring"
  3305. rng.Material = "Neon"
  3306. rng.Size = Vector3.new(1, 1, 1)
  3307. rng.Transparency = 0
  3308. rng.TopSurface = 0
  3309. rng.BottomSurface = 0
  3310. rng.CFrame = pos
  3311. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3312. local rngm = Instance.new("SpecialMesh", rng)
  3313. rngm.MeshType = "Brick"
  3314. rngm.Scale = vt(x1,y1,z1)
  3315. if rainbowmode == true then
  3316. rng.Color = Color3.new(r/255,g/255,b/255)
  3317. end
  3318. local scaler2 = 1
  3319. local speeder = FastSpeed/10
  3320. if type == "Add" then
  3321. scaler2 = 1*value
  3322. elseif type == "Divide" then
  3323. scaler2 = 1/value
  3324. end
  3325. coroutine.resume(coroutine.create(function()
  3326. for i = 0,10/bonuspeed,0.1 do
  3327. swait()
  3328. if rainbowmode == true then
  3329. rng.Color = Color3.new(r/255,g/255,b/255)
  3330. end
  3331. if type == "Add" then
  3332. scaler2 = scaler2 - 0.01*value/bonuspeed
  3333. elseif type == "Divide" then
  3334. scaler2 = scaler2 - 0.01/value*bonuspeed
  3335. end
  3336. if chaosmode == true then
  3337. rng.BrickColor = BrickColor.random()
  3338. end
  3339. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3340. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3341. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3342. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3343. end
  3344. rng:Destroy()
  3345. end))
  3346. end
  3347.  
  3348. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3349. local type = type
  3350. local rng = Instance.new("Part", char)
  3351. rng.Anchored = true
  3352. rng.BrickColor = color
  3353. rng.CanCollide = false
  3354. rng.FormFactor = 3
  3355. rng.Name = "Ring"
  3356. rng.Material = "Neon"
  3357. rng.Size = Vector3.new(1, 1, 1)
  3358. rng.Transparency = 0
  3359. rng.TopSurface = 0
  3360. rng.BottomSurface = 0
  3361. rng.CFrame = pos
  3362. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3363. local rngm = Instance.new("SpecialMesh", rng)
  3364. rngm.MeshType = "Brick"
  3365. rngm.Scale = vt(x1,y1,z1)
  3366. if rainbowmode == true then
  3367. rng.Color = Color3.new(r/255,g/255,b/255)
  3368. end
  3369. local scaler2 = 0
  3370. local speeder = FastSpeed/10
  3371. if type == "Add" then
  3372. scaler2 = 1*value
  3373. elseif type == "Divide" then
  3374. scaler2 = 1/value
  3375. end
  3376. coroutine.resume(coroutine.create(function()
  3377. for i = 0,10/bonuspeed,0.1 do
  3378. swait()
  3379. if rainbowmode == true then
  3380. rng.Color = Color3.new(r/255,g/255,b/255)
  3381. end
  3382. if type == "Add" then
  3383. scaler2 = scaler2 - 0.01*value/bonuspeed
  3384. elseif type == "Divide" then
  3385. scaler2 = scaler2 - 0.01/value*bonuspeed
  3386. end
  3387. if chaosmode == true then
  3388. rng.BrickColor = BrickColor.random()
  3389. end
  3390. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3391. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3392. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3393. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3394. end
  3395. rng:Destroy()
  3396. end))
  3397. end
  3398.  
  3399. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3400. local type = type
  3401. local rng = Instance.new("Part", char)
  3402. rng.Anchored = true
  3403. rng.BrickColor = color
  3404. rng.Color = color3
  3405. rng.CanCollide = false
  3406. rng.FormFactor = 3
  3407. rng.Name = "Ring"
  3408. rng.Material = "Neon"
  3409. rng.Size = Vector3.new(1, 1, 1)
  3410. rng.Transparency = 0
  3411. rng.TopSurface = 0
  3412. rng.BottomSurface = 0
  3413. rng.CFrame = pos
  3414. local rngm = Instance.new("SpecialMesh", rng)
  3415. rngm.MeshType = "Brick"
  3416. rngm.Scale = scale
  3417. local scaler2 = 1
  3418. local scaler2b = 1
  3419. local scaler2c = 1
  3420. if type == "Add" then
  3421. scaler2 = 1*value
  3422. scaler2b = 1*value2
  3423. scaler2c = 1*value3
  3424. elseif type == "Divide" then
  3425. scaler2 = 1/value
  3426. scaler2b = 1/value2
  3427. scaler2c = 1/value3
  3428. end
  3429. coroutine.resume(coroutine.create(function()
  3430. for i = 0,10/bonuspeed,0.1 do
  3431. swait()
  3432. if type == "Add" then
  3433. scaler2 = scaler2 - 0.01*value/bonuspeed
  3434. scaler2b = scaler2b - 0.01*value/bonuspeed
  3435. scaler2c = scaler2c - 0.01*value/bonuspeed
  3436. elseif type == "Divide" then
  3437. scaler2 = scaler2 - 0.01/value*bonuspeed
  3438. scaler2b = scaler2b - 0.01/value*bonuspeed
  3439. scaler2c = scaler2c - 0.01/value*bonuspeed
  3440. end
  3441. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3442. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3443. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3444. end
  3445. rng:Destroy()
  3446. end))
  3447. end
  3448.  
  3449. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3450. local type = type
  3451. local rng = Instance.new("Part", char)
  3452. rng.Anchored = true
  3453. if ModeOfGlitch ~= 9 then
  3454. rng.BrickColor = color
  3455. elseif ModeOfGlitch == 9 then
  3456. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3457. end
  3458. rng.CanCollide = false
  3459. rng.FormFactor = 3
  3460. rng.Name = "Ring"
  3461. rng.Material = "Neon"
  3462. rng.Size = Vector3.new(1, 1, 1)
  3463. rng.Transparency = 0
  3464. rng.TopSurface = 0
  3465. rng.BottomSurface = 0
  3466. rng.CFrame = pos
  3467. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3468. local rngm = Instance.new("SpecialMesh", rng)
  3469. rngm.MeshType = "Sphere"
  3470. rngm.Scale = vt(x1,y1,z1)
  3471. if rainbowmode == true then
  3472. rng.Color = Color3.new(r/255,g/255,b/255)
  3473. end
  3474. if ModeOfGlitch == 9 then
  3475. coroutine.resume(coroutine.create(function()
  3476. while true do
  3477. swait()
  3478. if rng.Parent ~= nil then
  3479. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3480. else
  3481. break
  3482. end
  3483. end
  3484. end))
  3485. end
  3486. local scaler2 = 1
  3487. local speeder = FastSpeed
  3488. if type == "Add" then
  3489. scaler2 = 1*value
  3490. elseif type == "Divide" then
  3491. scaler2 = 1/value
  3492. end
  3493. coroutine.resume(coroutine.create(function()
  3494. for i = 0,10/bonuspeed,0.1 do
  3495. swait()
  3496. if rainbowmode == true then
  3497. rng.Color = Color3.new(r/255,g/255,b/255)
  3498. end
  3499. if type == "Add" then
  3500. scaler2 = scaler2 - 0.01*value/bonuspeed
  3501. elseif type == "Divide" then
  3502. scaler2 = scaler2 - 0.01/value*bonuspeed
  3503. end
  3504. if chaosmode == true then
  3505. rng.BrickColor = BrickColor.random()
  3506. end
  3507. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3508. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3509. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3510. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3511. end
  3512. rng:Destroy()
  3513. end))
  3514. end
  3515.  
  3516.  
  3517. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3518. local type = type
  3519. local rng = Instance.new("Part", char)
  3520. rng.Anchored = true
  3521. if ModeOfGlitch ~= 9 then
  3522. rng.BrickColor = color
  3523. elseif ModeOfGlitch == 9 then
  3524. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3525. end
  3526. rng.CanCollide = false
  3527. rng.FormFactor = 3
  3528. rng.Name = "Ring"
  3529. rng.Material = "Neon"
  3530. rng.Size = Vector3.new(1, 1, 1)
  3531. rng.Transparency = 1
  3532. rng.TopSurface = 0
  3533. rng.BottomSurface = 0
  3534. rng.CFrame = pos
  3535. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3536. local rngm = Instance.new("SpecialMesh", rng)
  3537. rngm.MeshType = "Sphere"
  3538. rngm.Scale = vt(x1,y1,z1)
  3539. if rainbowmode == true then
  3540. rng.Color = Color3.new(r/255,g/255,b/255)
  3541. end
  3542. if ModeOfGlitch == 9 then
  3543. coroutine.resume(coroutine.create(function()
  3544. while true do
  3545. swait()
  3546. if rng.Parent ~= nil then
  3547. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3548. else
  3549. break
  3550. end
  3551. end
  3552. end))
  3553. end
  3554. local scaler2 = 1
  3555. local speeder = FastSpeed
  3556. if type == "Add" then
  3557. scaler2 = 1*value
  3558. elseif type == "Divide" then
  3559. scaler2 = 1/value
  3560. end
  3561. coroutine.resume(coroutine.create(function()
  3562. for i = 0,10/bonuspeed,0.1 do
  3563. swait()
  3564. if rainbowmode == true then
  3565. rng.Color = Color3.new(r/255,g/255,b/255)
  3566. end
  3567. if type == "Add" then
  3568. scaler2 = scaler2 - 0.01*value/bonuspeed
  3569. elseif type == "Divide" then
  3570. scaler2 = scaler2 - 0.01/value*bonuspeed
  3571. end
  3572. if chaosmode == true then
  3573. rng.BrickColor = BrickColor.random()
  3574. end
  3575. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3576. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3577. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3578. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3579. end
  3580. rng:Destroy()
  3581. end))
  3582. end
  3583.  
  3584. function dmg(dude)
  3585. if dude.Name ~= Character then
  3586. local keptcolor = MAINRUINCOLOR
  3587. local bgf = Instance.new("BodyGyro",dude.Head)
  3588. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3589. --[[local val = Instance.new("BoolValue",dude)
  3590. val.Name = "IsHit"]]--
  3591. local ds = coroutine.wrap(function()
  3592. dude:WaitForChild("Head"):BreakJoints()
  3593. for i, v in pairs(dude:GetChildren()) do
  3594. if v:IsA("Part") or v:IsA("MeshPart") then
  3595. v.Name = "DEMINISHED"
  3596. end
  3597. end
  3598. wait(0.5)
  3599. targetted = nil
  3600. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3601. coroutine.resume(coroutine.create(function()
  3602. for i, v in pairs(dude:GetChildren()) do
  3603. if v:IsA("Accessory") then
  3604. v:Destroy()
  3605. end
  3606. if v:IsA("Humanoid") then
  3607. v:Destroy()
  3608. end
  3609. if v:IsA("CharacterMesh") then
  3610. v:Destroy()
  3611. end
  3612. if v:IsA("Model") then
  3613. v:Destroy()
  3614. end
  3615. if v:IsA("Part") or v:IsA("MeshPart") then
  3616. for x, o in pairs(v:GetChildren()) do
  3617. if o:IsA("Decal") then
  3618. o:Destroy()
  3619. end
  3620. end
  3621. coroutine.resume(coroutine.create(function()
  3622. v.Material = "Neon"
  3623. v.CanCollide = false
  3624. v.Anchored = false
  3625. local bld = Instance.new("ParticleEmitter",v)
  3626. bld.LightEmission = 0.75
  3627. bld.Texture = "rbxassetid://363275192" ---284205403
  3628. bld.Color = ColorSequence.new(keptcolor.Color)
  3629. bld.Rate = 500
  3630. bld.Lifetime = NumberRange.new(1)
  3631. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3632. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3633. bld.Speed = NumberRange.new(2,5)
  3634. bld.VelocitySpread = 50000
  3635. bld.Rotation = NumberRange.new(-500,500)
  3636. bld.RotSpeed = NumberRange.new(-500,500)
  3637. local sbs = Instance.new("BodyPosition", v)
  3638. sbs.P = 3000
  3639. sbs.D = 1000
  3640. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3641. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3642. v.Color = keptcolor.Color
  3643. coroutine.resume(coroutine.create(function()
  3644. for i = 0, 49 do
  3645. swait(1)
  3646. v:BreakJoints()
  3647. v.Transparency = v.Transparency + 0.02
  3648. end
  3649. v:BreakJoints()
  3650. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3651. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3652. bld.Speed = NumberRange.new(10,25)
  3653. bld.Drag = 5
  3654. bld.Acceleration = vt(0,2,0)
  3655. wait(0.5)
  3656. bld.Enabled = false
  3657. wait(8)
  3658. v:Destroy()
  3659. dude:Destroy()
  3660. end))
  3661. end))
  3662. end
  3663. end
  3664. end))
  3665. end)
  3666. ds()
  3667. end
  3668. end
  3669.  
  3670.  
  3671. function FindNearestHead(Position, Distance, SinglePlayer)
  3672. if SinglePlayer then
  3673. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3674. end
  3675. local List = {}
  3676. for i, v in pairs(workspace:GetChildren()) do
  3677. if v:IsA("Model") then
  3678. if v:findFirstChild("Head") then
  3679. if v ~= Character then
  3680. if (v.Head.Position - Position).magnitude <= Distance then
  3681. table.insert(List, v)
  3682. end
  3683. end
  3684. end
  3685. end
  3686. end
  3687. return List
  3688. end
  3689.  
  3690. function FaceMouse()
  3691. Cam = workspace.CurrentCamera
  3692. return {
  3693. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3694. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3695. }
  3696. end
  3697.  
  3698. function FaceMouse2()
  3699. Cam = workspace.CurrentCamera
  3700. return {
  3701. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3702. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3703. }
  3704. end
  3705.  
  3706. local ModeOfGlitch = 1
  3707. -- Functions are ready.
  3708. local storehumanoidWS = 16
  3709.  
  3710. function CorruptBlink()
  3711. for i = 0, 14 do
  3712. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3713. end
  3714. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3715. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3716. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3717. CameraEnshaking(2,10)
  3718. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3719. if v:FindFirstChild('Head') then
  3720. dmg(v)
  3721. end
  3722. end
  3723. for i = 0, 14 do
  3724. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3725. end
  3726. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3727. end
  3728.  
  3729. function PureBomb()
  3730. attack = true
  3731. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  3732. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  3733. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  3734. local orb = Instance.new("Part", char)
  3735. orb.Anchored = true
  3736. orb.BrickColor = BrickColor.new("Toothpaste")
  3737. orb.CanCollide = false
  3738. orb.FormFactor = 3
  3739. orb.Name = "Ring"
  3740. orb.Material = "Neon"
  3741. orb.Size = Vector3.new(1, 1, 1)
  3742. orb.Transparency = 0
  3743. orb.TopSurface = 0
  3744. orb.BottomSurface = 0
  3745. local orbm = Instance.new("SpecialMesh", orb)
  3746. orbm.MeshType = "Sphere"
  3747. orbm.Name = "SizeMesh"
  3748. orbm.Scale = vt(0,0,0)
  3749. local scaled = 0.1
  3750. local posid = 0
  3751. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  3752. for i = 0, 5, 0.1 do
  3753. swait()
  3754. scaled = scaled - 0.001
  3755. posid = posid - scaled
  3756. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3757. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3758. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  3759. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3760. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3761. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3762. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3763. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3764. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3765. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3766. end
  3767. for i = 0, 2, 0.1 do
  3768. swait()
  3769. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3770. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3771. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3772. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3773. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3774. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3775. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3776. end
  3777. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  3778. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  3779. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  3780. coroutine.resume(coroutine.create(function()
  3781. orb.Anchored = false
  3782. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  3783. local a = Instance.new("Part",workspace)
  3784. a.Name = "Direction"
  3785. a.Anchored = true
  3786. a.BrickColor = bc("Bright red")
  3787. a.Material = "Neon"
  3788. a.Transparency = 1
  3789. a.CanCollide = false
  3790. local ray = Ray.new(
  3791. orb.CFrame.p, -- origin
  3792. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3793. )
  3794. local ignore = orb
  3795. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3796. a.BottomSurface = 10
  3797. a.TopSurface = 10
  3798. local distance = (orb.CFrame.p - position).magnitude
  3799. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3800. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3801. orb.CFrame = a.CFrame
  3802. a:Destroy()
  3803. local bv = Instance.new("BodyVelocity")
  3804. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3805. bv.velocity = orb.CFrame.lookVector*125
  3806. bv.Parent = orb
  3807. local hitted = false
  3808. game:GetService("Debris"):AddItem(orb, 15)
  3809. wait()
  3810. local hit =orb.Touched:connect(function(hit)
  3811. if hitted == false then
  3812. hitted = true
  3813. CameraEnshaking(10,2.5)
  3814. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3815. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3816. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3817. for i = 0, 49 do
  3818. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  3819. end
  3820. local eff = Instance.new("ParticleEmitter",orb)
  3821. eff.Texture = "rbxassetid://2273224484"
  3822. eff.LightEmission = 1
  3823. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  3824. eff.Rate = 500000
  3825. eff.Lifetime = NumberRange.new(0.5,2)
  3826. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3827. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3828. eff.Speed = NumberRange.new(20,250)
  3829. eff.Drag = 5
  3830. eff.Rotation = NumberRange.new(-500,500)
  3831. eff.VelocitySpread = 9000
  3832. eff.RotSpeed = NumberRange.new(-50,50)
  3833. coroutine.resume(coroutine.create(function()
  3834. wait(0.25)
  3835. eff.Enabled = false
  3836. end))
  3837. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  3838. for i = 0, 9 do
  3839. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3840. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3841. end
  3842. orb.Anchored = true
  3843. orb.Transparency = 1
  3844. local eff = Instance.new("ParticleEmitter",orb)
  3845. eff.Texture = "rbxassetid://2273224484"
  3846. eff.LightEmission = 1
  3847. eff.Color = ColorSequence.new(Color3.new(M))
  3848. eff.Rate = 500000
  3849. eff.Lifetime = NumberRange.new(0.5,2)
  3850. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3851. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3852. eff.Speed = NumberRange.new(20,250)
  3853. eff.Drag = 5
  3854. eff.Rotation = NumberRange.new(-500,500)
  3855. eff.VelocitySpread = 9000
  3856. eff.RotSpeed = NumberRange.new(-50,50)
  3857. coroutine.resume(coroutine.create(function()
  3858. wait(1)
  3859. eff.Enabled = false
  3860. end))
  3861. wait(8)
  3862. orb:Destroy()
  3863. end
  3864. end)
  3865. end))
  3866. for i = 0, 1, 0.1 do
  3867. swait()
  3868. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3869. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3870. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3871. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3872. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3873. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3874. end
  3875. attack = false
  3876. end
  3877.  
  3878. function BanishingOrb()
  3879. attack = true
  3880. hum.WalkSpeed = 0
  3881. local radm = math.random(1,3)
  3882. if radm == 1 then
  3883. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3884. elseif radm == 2 then
  3885. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3886. elseif radm == 3 then
  3887. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3888. end
  3889. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3890. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3891. local orb = Instance.new("Part", char)
  3892. orb.Anchored = true
  3893. orb.BrickColor = BrickColor.new("Lime green")
  3894. orb.CanCollide = false
  3895. orb.FormFactor = 3
  3896. orb.Name = "Ring"
  3897. orb.Material = "Neon"
  3898. orb.Size = Vector3.new(1, 1, 1)
  3899. orb.Transparency = 0
  3900. orb.TopSurface = 0
  3901. orb.BottomSurface = 0
  3902. local orbm = Instance.new("SpecialMesh", orb)
  3903. orbm.MeshType = "Sphere"
  3904. orbm.Name = "SizeMesh"
  3905. orbm.Scale = vt(0,0,0)
  3906. local scaled = 0.1
  3907. local posid = 0
  3908. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3909. for i = 0, 5, 0.1 do
  3910. swait()
  3911. scaled = scaled - 0.001
  3912. posid = posid - scaled
  3913. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3914. local scaled = 0.1
  3915. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3916. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Cool yellow"),10)
  3917. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3918. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3919. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3920. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3921. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3922. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3923. end
  3924. for i = 0, 2, 0.1 do
  3925. swait()
  3926. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3927. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3928. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3929. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3930. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3931. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3932. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3933. end
  3934. coroutine.resume(coroutine.create(function()
  3935. orb.Anchored = false
  3936. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3937. local a = Instance.new("Part",workspace)
  3938. a.Name = "Direction"
  3939. a.Anchored = true
  3940. a.BrickColor = bc("Lime green")
  3941. a.Material = "Neon"
  3942. a.Transparency = 1
  3943. a.CanCollide = false
  3944. local ray = Ray.new(
  3945. orb.CFrame.p, -- origin
  3946. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3947. )
  3948. local ignore = orb
  3949. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3950. a.BottomSurface = 10
  3951. a.TopSurface = 10
  3952. local distance = (orb.CFrame.p - position).magnitude
  3953. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3954. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3955. orb.CFrame = a.CFrame
  3956. a:Destroy()
  3957. local bv = Instance.new("BodyVelocity")
  3958. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3959. bv.velocity = orb.CFrame.lookVector*0
  3960. bv.Parent = orb
  3961. local hitted = false
  3962. local rate = 0
  3963. coroutine.resume(coroutine.create(function()
  3964. for i = 0, 24 do
  3965. wait(0.1)
  3966. rate = rate + 0.25
  3967. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3968. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3969. if v:FindFirstChild('Head') then
  3970. dmg(v)
  3971. end
  3972. end
  3973. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3974. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3975. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3976. end
  3977. orb.Anchored = true
  3978. orb.Transparency = 1
  3979. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3980. if v:FindFirstChild('Head') then
  3981. dmg(v)
  3982. end
  3983. end
  3984. local eff = Instance.new("ParticleEmitter",orb)
  3985. eff.Texture = "rbxassetid://296874871"
  3986. eff.LightEmission = 0.95
  3987. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3988. eff.Rate = 1000000000
  3989. eff.Lifetime = NumberRange.new(3)
  3990. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
  3991. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3992. eff.Speed = NumberRange.new(30)
  3993. eff.Acceleration = vt(0,-15,0)
  3994. eff.Rotation = NumberRange.new(-500,500)
  3995. eff.VelocitySpread = 100000
  3996. eff.RotSpeed = NumberRange.new(-500,500)
  3997. coroutine.resume(coroutine.create(function()
  3998. wait(0.6)
  3999. eff.Enabled = false
  4000. end))
  4001. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  4002. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  4003. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  4004. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4005. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  4006. game:GetService("Debris"):AddItem(orb, 15)
  4007. end))
  4008. end))
  4009. for i = 0, 1, 0.1 do
  4010. swait()
  4011. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4012. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4013. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  4014. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  4015. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  4016. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4017. end
  4018. hum.WalkSpeed = storehumanoidWS
  4019. attack = false
  4020. end
  4021.  
  4022.  
  4023. function ChaosGroundStrike()
  4024. attack = true
  4025. for i = 0, 2, 0.1 do
  4026. swait()
  4027. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4028. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4029. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4030. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4031. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4032. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4033. end
  4034. bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
  4035. CFuncs["EchoSound"].Create("rbxassetid://207155717", root, 7.5,1)
  4036. CFuncs["EchoSound"].Create("rbxassetid://207155717", root, 7.5,1)
  4037. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  4038. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  4039. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 2, 1)
  4040. CameraEnshaking(4,12)
  4041. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4042. if v:FindFirstChild('Head') then
  4043. dmg(v)
  4044. end
  4045. end
  4046. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  4047. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  4048. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  4049. for i = 0, 2, 0.1 do
  4050. swait()
  4051. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4052. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4053. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4054. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4055. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4056. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4057. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4058. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4059. end
  4060. attack = false
  4061. end
  4062.  
  4063. function Starfall()
  4064. attack = true
  4065. hum.WalkSpeed = 0
  4066. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  4067. for i = 0, 5, 0.1 do
  4068. swait()
  4069. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4070. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4071. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4072. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4073. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4074. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  4075. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  4076. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  4077. end
  4078. local Overed = false
  4079. CameraEnshaking(2,20)
  4080. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4081. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4082. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  4083. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  4084. local orb = Instance.new("Part", char)
  4085. orb.Anchored = true
  4086. orb.BrickColor = BrickColor.new("Toothpaste")
  4087. orb.CanCollide = false
  4088. orb.FormFactor = 3
  4089. orb.Name = "Remenant"
  4090. orb.Material = "Neon"
  4091. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  4092. orb.Size = Vector3.new(1, 1, 1)
  4093. orb.Transparency = 1
  4094. orb.TopSurface = 0
  4095. orb.BottomSurface = 0
  4096. hum.WalkSpeed = storehumanoidWS
  4097. coroutine.resume(coroutine.create(function()
  4098. for i = 0, 9 do
  4099. swait(10)
  4100. local lb = Instance.new("Part")
  4101. lb.Color = MAINRUINCOLOR.Color
  4102. lb.CanCollide = false
  4103. lb.Material = "Neon"
  4104. lb.Anchored = true
  4105. lb.TopSurface = 0
  4106. lb.BottomSurface = 0
  4107. lb.Transparency = 0
  4108. lb.Size = vt(1,1,1)
  4109. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  4110. lb.Anchored = false
  4111. lb.Parent = char
  4112. local thingery = Instance.new("SpecialMesh",lb)
  4113. thingery.MeshType = "Sphere"
  4114. thingery.Scale = vt(20,20,20)
  4115. game:GetService("Debris"):AddItem(lb, 10)
  4116. local bv = Instance.new("BodyVelocity")
  4117. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4118. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  4119. bv.Parent = lb
  4120. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  4121. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  4122. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  4123. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  4124. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  4125. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  4126. local hitted = false
  4127. coroutine.resume(coroutine.create(function()
  4128. while true do
  4129. swait(1)
  4130. if lb.Parent ~= nil and hitted == false then
  4131. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  4132. elseif lb.Parent == nil then
  4133. break
  4134. end
  4135. end
  4136. end))
  4137.  
  4138. game:GetService("Debris"):AddItem(a, 0.1)
  4139.  
  4140. coroutine.resume(coroutine.create(function()
  4141. swait(1)
  4142. lb.Touched:connect(function(hit)
  4143. if hitted == false then
  4144. hitted = true
  4145. lb.Transparency = 1
  4146. lb.Anchored = true
  4147. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  4148. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  4149. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  4150. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  4151. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  4152. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  4153. MagniDamage(lb, 45, 45,85, 0, "Normal")
  4154. CameraEnshaking(1,5)
  4155. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4156. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4157. for i = 0, 9 do
  4158. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  4159. end
  4160. for i = 0, 49 do
  4161. swait()
  4162. MagniDamage(lb, 30, 2,4, 0, "Normal")
  4163. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  4164. end
  4165. end
  4166. end)
  4167. end))
  4168. end
  4169. Overed = true
  4170. orb:Destroy()
  4171. end))
  4172.  
  4173. attack = false
  4174. end
  4175.  
  4176. function StarfallEX()
  4177. attack = true
  4178. hum.WalkSpeed = 0
  4179. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  4180. for i = 0, 10, 0.1 do
  4181. swait()
  4182. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4183. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4184. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4185. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4186. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4187. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  4188. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  4189. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  4190. end
  4191. local Overed = false
  4192. CameraEnshaking(2,20)
  4193. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  4194. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  4195. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  4196. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  4197. local orb = Instance.new("Part", char)
  4198. orb.Anchored = true
  4199. orb.BrickColor = BrickColor.new("Toothpaste")
  4200. orb.CanCollide = false
  4201. orb.FormFactor = 3
  4202. orb.Name = "Remenant"
  4203. orb.Material = "Neon"
  4204. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  4205. orb.Size = Vector3.new(1, 1, 1)
  4206. orb.Transparency = 1
  4207. orb.TopSurface = 0
  4208. orb.BottomSurface = 0
  4209. hum.WalkSpeed = storehumanoidWS
  4210. coroutine.resume(coroutine.create(function()
  4211. for i = 0, 4 do
  4212. swait(15)
  4213. local lb = Instance.new("Part")
  4214. lb.Color = MAINRUINCOLOR.Color
  4215. lb.CanCollide = false
  4216. lb.Material = "Neon"
  4217. lb.Anchored = true
  4218. lb.TopSurface = 0
  4219. lb.BottomSurface = 0
  4220. lb.Transparency = 0
  4221. lb.Size = vt(1,1,1)
  4222. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  4223. lb.Anchored = false
  4224. lb.Parent = char
  4225. local thingery = Instance.new("SpecialMesh",lb)
  4226. thingery.MeshType = "Sphere"
  4227. thingery.Scale = vt(50,50,50)
  4228. game:GetService("Debris"):AddItem(lb, 10)
  4229. local bv = Instance.new("BodyVelocity")
  4230. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4231. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  4232. bv.Parent = lb
  4233. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  4234. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  4235. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  4236. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  4237. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  4238. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  4239. local hitted = false
  4240. coroutine.resume(coroutine.create(function()
  4241. while true do
  4242. swait(1)
  4243. if lb.Parent ~= nil and hitted == false then
  4244. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2)
  4245. elseif lb.Parent == nil then
  4246. break
  4247. end
  4248. end
  4249. end))
  4250.  
  4251. game:GetService("Debris"):AddItem(a, 0.1)
  4252.  
  4253. coroutine.resume(coroutine.create(function()
  4254. swait(1)
  4255. lb.Touched:connect(function(hit)
  4256. if hitted == false then
  4257. hitted = true
  4258. lb.Transparency = 1
  4259. lb.Anchored = true
  4260. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  4261. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  4262. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  4263. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  4264. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  4265. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  4266. MagniDamage(lb, 50, 60,99, 0, "Normal")
  4267. CameraEnshaking(1,5)
  4268. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  4269. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  4270. for i = 0, 9 do
  4271. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0)
  4272. end
  4273. for i = 0, 99 do
  4274. swait()
  4275. MagniDamage(lb, 30, 6,18, 0, "Normal")
  4276. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0)
  4277. end
  4278. end
  4279. end)
  4280. end))
  4281. end
  4282. Overed = true
  4283. orb:Destroy()
  4284. end))
  4285.  
  4286. attack = false
  4287. end
  4288.  
  4289. function DivineBlast()
  4290. attack = true
  4291. bosschatfunc("I WILL END YOU!",MAINRUINCOLOR.Color,0.7)
  4292. hum.WalkSpeed = 0
  4293. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  4294. elocacenter.Anchored = true
  4295. elocacenter.CFrame = sorb.CFrame
  4296. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4297. eloca1.Anchored = true
  4298. eloca1.CFrame = elocacenter.CFrame
  4299. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4300. eloca2.Anchored = true
  4301. eloca2.CFrame = elocacenter.CFrame
  4302. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4303. eloca3.Anchored = true
  4304. eloca3.CFrame = elocacenter.CFrame
  4305. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4306. eloca4.Anchored = true
  4307. eloca4.CFrame = elocacenter.CFrame
  4308. local lookavec = 0
  4309. local speeds = 0
  4310. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4311. for i = 0, 3, 0.1 do
  4312. swait()
  4313. ---
  4314. lookavec = lookavec + 0.1
  4315. speeds = speeds + 10
  4316. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4317. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4318. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4319.  
  4320. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4321. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4322.  
  4323. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4324. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4325.  
  4326. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4327. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4328. ---
  4329. root.CFrame = FaceMouse()[1]
  4330. 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(0 + 1 * math.cos(sine / 34))),.1)
  4331. 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(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4332. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4333. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4334. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4335. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4336. end
  4337. for i = 0, 3, 0.1 do
  4338. swait()
  4339. ---
  4340. speeds = speeds + 10
  4341. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4342. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4343. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4344.  
  4345. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4346. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4347.  
  4348. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4349. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4350.  
  4351. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4352. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4353. ---
  4354. root.CFrame = FaceMouse()[1]
  4355. 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(0 + 1 * math.cos(sine / 34))),.1)
  4356. 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(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4357. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4358. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4359. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4360. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4361. end
  4362. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4363. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4364. for i = 0, 3, 0.1 do
  4365. swait()
  4366. ---
  4367. speeds = speeds + 10
  4368. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4369. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4370. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4371.  
  4372. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4373. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4374.  
  4375. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4376. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4377.  
  4378. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4379. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4380. ---
  4381. root.CFrame = FaceMouse()[1]
  4382. 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(0 + 1 * math.cos(sine / 34))),.1)
  4383. 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(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4384. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  4385. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1)
  4386. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4387. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4388. end
  4389. coroutine.resume(coroutine.create(function()
  4390. local a = Instance.new("Part",Character)
  4391. a.Name = "Direction"
  4392. a.Anchored = true
  4393. a.BrickColor = bc("White")
  4394. a.Material = "Neon"
  4395. a.Transparency = 0
  4396. a.Shape = "Cylinder"
  4397. a.CanCollide = false
  4398. local a2 = Instance.new("Part",Character)
  4399. a2.Name = "Direction"
  4400. a2.Anchored = true
  4401. a2.BrickColor = bc("Bright yellow")
  4402. a2.Material = "Neon"
  4403. a2.Transparency = 0
  4404. a2.Shape = "Cylinder"
  4405. a2.CanCollide = false
  4406. local b = Instance.new("Part",Character)
  4407. b.Name = "HitDirect"
  4408. b.Anchored = true
  4409. b.BrickColor = bc("Cool yellow")
  4410. b.Material = "Neon"
  4411. b.Transparency = 1
  4412. b.CanCollide = false
  4413. local ray = Ray.new(
  4414. elocacenter.CFrame.p, -- origin
  4415. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4416. )
  4417. local ignore = Character
  4418. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4419. a.BottomSurface = 10
  4420. a.TopSurface = 10
  4421. a2.BottomSurface = 10
  4422. a2.TopSurface = 10
  4423. local distance = (elocacenter.CFrame.p - position).magnitude
  4424. a.Size = Vector3.new(distance, 1, 1)
  4425. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4426. a2.Size = Vector3.new(distance, 1, 1)
  4427. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4428. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4429. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4430. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4431. game:GetService("Debris"):AddItem(a, 10)
  4432. game:GetService("Debris"):AddItem(a2, 10)
  4433. game:GetService("Debris"):AddItem(b, 10)
  4434. local eff = Instance.new("ParticleEmitter",b)
  4435. eff.Texture = "rbxassetid://2273224484"
  4436. eff.LightEmission = 1
  4437. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4438. eff.Rate = 500000
  4439. eff.Lifetime = NumberRange.new(0.5,2)
  4440. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4441. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4442. eff.Speed = NumberRange.new(20,250)
  4443. eff.Drag = 5
  4444. eff.Rotation = NumberRange.new(-500,500)
  4445. eff.VelocitySpread = 9000
  4446. eff.RotSpeed = NumberRange.new(-50,50)
  4447. coroutine.resume(coroutine.create(function()
  4448. wait(0.25)
  4449. eff.Enabled = false
  4450. end))
  4451. local msh = Instance.new("SpecialMesh",a)
  4452. msh.MeshType = "Cylinder"
  4453. msh.Scale = vt(1,2,2)
  4454. local msh2 = Instance.new("SpecialMesh",a2)
  4455. msh2.MeshType = "Cylinder"
  4456. msh2.Scale = vt(1,2.5,2.5)
  4457. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4458. coroutine.resume(coroutine.create(function()
  4459. for i = 0,10,0.1 do
  4460. swait()
  4461. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4462. a.Transparency = a.Transparency + 0.025
  4463. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4464. a2.Transparency = a2.Transparency + 0.05
  4465. end
  4466. a:Destroy()
  4467. a2:Destroy()
  4468. end))
  4469. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4470. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4471. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4472. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4473. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4474. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4475. MagniDamage(b, 25, 40,65, 0, "Normal")
  4476. for i = 0, 49 do
  4477. PixelBlock(2,math.random(10,20),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.04,BrickColor.new("Bright yellow"),0)
  4478. PixelBlock(1,math.random(1,10),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Bright yellow"),0)
  4479. end
  4480. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4481. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4482. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4483. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4484. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4485. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4486. end))
  4487. game:GetService("Debris"):AddItem(elocacenter, 5)
  4488. hum.WalkSpeed = storehumanoidWS
  4489. attack = false
  4490. end
  4491.  
  4492.  
  4493. function StarDivision()
  4494. attack = true
  4495. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4496. for i = 0, 2, 0.1 do
  4497. swait()
  4498. 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(0 + 1 * math.cos(sine / 34))),.1)
  4499. 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(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  4500. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4501. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4502. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4503. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4504. end
  4505. local orb = Instance.new("Part", char)
  4506. orb.BrickColor = MAINRUINCOLOR
  4507. orb.CanCollide = false
  4508. orb.FormFactor = 3
  4509. orb.Name = "Ring"
  4510. orb.Material = "Neon"
  4511. orb.Size = Vector3.new(1, 1, 1)
  4512. orb.Transparency = 0
  4513. orb.TopSurface = 0
  4514. orb.BottomSurface = 0
  4515. local orbm = Instance.new("SpecialMesh", orb)
  4516. orbm.MeshType = "Sphere"
  4517. orbm.Name = "SizeMesh"
  4518. orbm.Scale = vt(2,2,2)
  4519. local a = Instance.new("Part",workspace)
  4520. a.Name = "Direction"
  4521. a.Anchored = true
  4522. a.BrickColor = bc("Bright red")
  4523. a.Material = "Neon"
  4524. a.Transparency = 1
  4525. a.CanCollide = false
  4526. local ray = Ray.new(
  4527. sorb.CFrame.p, -- origin
  4528. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4529. )
  4530. local ignore = sorb
  4531. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4532. a.BottomSurface = 10
  4533. a.TopSurface = 10
  4534. local distance = (sorb.CFrame.p - position).magnitude
  4535. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4536. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4537. orb.CFrame = a.CFrame
  4538. a:Destroy()
  4539. local bv = Instance.new("BodyVelocity")
  4540. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4541. bv.velocity = orb.CFrame.lookVector*100
  4542. bv.Parent = orb
  4543. local hitted = false
  4544. game:GetService("Debris"):AddItem(orb, 10)
  4545. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4546. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4547. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4548. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4549. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4550. coroutine.resume(coroutine.create(function()
  4551. while true do
  4552. swait(1)
  4553. if orb.Parent ~= nil and hitted == false then
  4554. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  4555. elseif orb.Parent == nil then
  4556. break
  4557. end
  4558. end
  4559. end))
  4560. coroutine.resume(coroutine.create(function()
  4561. swait(1)
  4562. orb.Touched:connect(function(hit)
  4563. if hitted == false then
  4564. hitted = true
  4565. game:GetService("Debris"):AddItem(orb, 5)
  4566. orb.Transparency = 1
  4567. orb.Anchored = true
  4568. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4569. elocacenter.Anchored = true
  4570. elocacenter.CFrame = orb.CFrame
  4571. elocacenter.Orientation = vt(0,0,0)
  4572. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4573. eloca1.Anchored = true
  4574. eloca1.CFrame = elocacenter.CFrame
  4575. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4576. eloca2.Anchored = true
  4577. eloca2.CFrame = elocacenter.CFrame
  4578. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4579. eloca3.Anchored = true
  4580. eloca3.CFrame = elocacenter.CFrame
  4581. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4582. eloca4.Anchored = true
  4583. eloca4.CFrame = elocacenter.CFrame
  4584. local lookavec = 0
  4585. local speeds = 0
  4586. CameraEnshaking(1,1)
  4587. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4588. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4589. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4590. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4591. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4592. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4593. for i = 0, 99 do
  4594. swait()
  4595. lookavec = lookavec + 1
  4596. speeds = speeds + 0.1
  4597. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4598. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4599. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4600.  
  4601. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4602. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4603.  
  4604. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4605. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4606.  
  4607. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4608. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4609. end
  4610.  
  4611. for i = 0, 149 do
  4612. swait()
  4613. speeds = speeds + 0.1
  4614. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4615. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4616. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4617.  
  4618. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4619. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4620.  
  4621. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4622. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4623.  
  4624. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4625. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4626. end
  4627. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4628. if v:FindFirstChild('Head') then
  4629. dmg(v)
  4630. end
  4631. end
  4632. CameraEnshaking(7,30)
  4633. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4634. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4635. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4636. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4637. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4638. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4639. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4640. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4641. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4642. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4643. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4644. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4645. for i = 0, 24 do
  4646. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4647. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4648. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4649. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4650. end
  4651. coroutine.resume(coroutine.create(function()
  4652. for i = 0, 499 do
  4653. swait(1)
  4654. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4655. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  4656. end
  4657. elocacenter:Destroy()
  4658. eloca1:Destroy()
  4659. eloca2:Destroy()
  4660. eloca3:Destroy()
  4661. eloca4:Destroy()
  4662. end))
  4663. end
  4664. end)
  4665. end))
  4666. attack = false
  4667. end
  4668.  
  4669.  
  4670. function THE_TRUE_POWER_OF_VIOLENCE()
  4671. attack = true
  4672. hum.WalkSpeed = 0
  4673. bosschatfunc("EVERYTHING OF YOU...",MAINRUINCOLOR.Color,4)
  4674. for i = 0, 10, 0.1 do
  4675. swait()
  4676. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4677. 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)
  4678. 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)
  4679. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
  4680. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4681. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4682. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4683. end
  4684. local orb = Instance.new("Part", char)
  4685. orb.BrickColor = MAINRUINCOLOR
  4686. orb.CanCollide = false
  4687. orb.FormFactor = 3
  4688. orb.Name = "Ring"
  4689. orb.Material = "Neon"
  4690. orb.Size = Vector3.new(1, 1, 1)
  4691. orb.Transparency = 0
  4692. orb.TopSurface = 0
  4693. orb.BottomSurface = 0
  4694. orb.CFrame = sorb.CFrame
  4695. local orbm = Instance.new("SpecialMesh", orb)
  4696. orbm.MeshType = "Sphere"
  4697. orbm.Name = "SizeMesh"
  4698. orbm.Scale = vt(0,0,0)
  4699. local sbs = Instance.new("BodyPosition", orb)
  4700. sbs.P = 3000
  4701. sbs.D = 1000
  4702. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4703. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4704. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4705. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4706. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4707. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4708. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4709. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4710. for i = 0, 10, 0.1 do
  4711. swait()
  4712. PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0)
  4713. 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)
  4714. 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)
  4715. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  4716. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4717. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4718. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4719. end
  4720. orb.Anchored = true
  4721. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4722. elocacenter.Anchored = true
  4723. elocacenter.CFrame = orb.CFrame
  4724. elocacenter.Orientation = vt(0,0,0)
  4725. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4726. eloca1.Anchored = true
  4727. eloca1.CFrame = elocacenter.CFrame
  4728. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4729. eloca2.Anchored = true
  4730. eloca2.CFrame = elocacenter.CFrame
  4731. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4732. eloca3.Anchored = true
  4733. eloca3.CFrame = elocacenter.CFrame
  4734. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4735. eloca4.Anchored = true
  4736. eloca4.CFrame = elocacenter.CFrame
  4737. local lookavec = 0
  4738. local speeds = 0
  4739. CameraEnshaking(1,1)
  4740. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4741. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4742. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4743. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4744. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4745. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4746. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4747. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4748. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4749. for i = 0, 99 do
  4750. swait()
  4751. lookavec = lookavec + 2.5
  4752. speeds = speeds + 0.25
  4753. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4754. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4755. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4756.  
  4757. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4758. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4759.  
  4760. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4761. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4762.  
  4763. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4764. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4765. end
  4766.  
  4767. for i = 0, 149 do
  4768. swait()
  4769. speeds = speeds + 0.25
  4770. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4771. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4772. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4773.  
  4774. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4775. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4776.  
  4777. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4778. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4779.  
  4780. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4781. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4782. end
  4783. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4784. for i = 0, 99 do
  4785. swait()
  4786. lookavec = lookavec - 2.5
  4787. speeds = speeds + 0.25
  4788. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4789. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4790. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4791.  
  4792. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4793. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4794.  
  4795. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4796. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4797.  
  4798. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4799. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4800. end
  4801. local scaled = 0.1*75
  4802. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4803. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4804. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4805. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4806. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4807. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4808. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4809. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4810. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4811. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4812. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4813.  
  4814. for i = 0, 10, 0.1 do
  4815. swait()
  4816. scaled = scaled - 0.001*75
  4817. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4818. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4819. 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)
  4820. 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)
  4821. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  4822. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4823. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4824. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4825. end
  4826. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4827. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4828. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4829. for x = 0, 4 do
  4830. for i = 0, 9 do
  4831. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4832. end
  4833. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4834. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4835. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4836. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4837. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4838. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4839. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4840. for i = 0, 5, 0.1 do
  4841. swait()
  4842. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4843. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4844. 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)
  4845. 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)
  4846. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4848. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4849. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4850. end
  4851. end
  4852. local speedearn = 0
  4853. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4854. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4855. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4856. for i = 0, 30, 0.1 do
  4857. swait()
  4858. scaled = scaled - 0.001*75/10
  4859. speedearn = speedearn + 0.5
  4860. for i = 0, 4 do
  4861. sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4862. end
  4863. PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0)
  4864. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4865. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4866. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4867. 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)
  4868. 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)
  4869. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4870. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4871. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4872. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4873. end
  4874. orb.Transparency = 1
  4875. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4876. if v:FindFirstChild('Head') then
  4877. dmg(v)
  4878. end
  4879. end
  4880. CameraEnshaking(7,30)
  4881. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4882. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4883. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4884. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4885. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4886. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4887. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4888. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4889. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4890. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4891. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4892. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4893. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4894. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4895. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4896. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4897. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4898. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4899. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4900. for i = 0, 99 do
  4901. PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  4902. PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  4903. end
  4904. for i = 0, 24 do
  4905. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4906. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4907. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4908. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4909. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4910. end
  4911. game:GetService("Debris"):AddItem(orb, 10)
  4912. hum.WalkSpeed = storehumanoidWS
  4913. attack = false
  4914. end
  4915.  
  4916.  
  4917. function ViolentRing()
  4918. attack = true
  4919. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4920. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4921. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4922. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4923. for i = 0, 2, 0.1 do
  4924. swait()
  4925. local snap = math.random(1,10)
  4926. if snap == 1 then
  4927. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1)
  4928. end
  4929. PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4930. PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4931. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
  4932. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  4933. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  4934. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  4935. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4936. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4937. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4938. RootPart.CFrame = FaceMouse()[1]
  4939. end
  4940. local orb = Instance.new("Part", char)
  4941. orb.BrickColor = MAINRUINCOLOR
  4942. orb.CanCollide = false
  4943. orb.FormFactor = 3
  4944. orb.Name = "Ring"
  4945. orb.Material = "Neon"
  4946. orb.Size = Vector3.new(1, 1, 1)
  4947. orb.Transparency = 0
  4948. orb.TopSurface = 0
  4949. orb.BottomSurface = 0
  4950. local orbm = Instance.new("SpecialMesh", orb)
  4951. orbm.MeshType = "Sphere"
  4952. orbm.Name = "SizeMesh"
  4953. orbm.Scale = vt(2,2,2)
  4954. orb.CFrame = mouse.Hit
  4955. local bv = Instance.new("BodyVelocity")
  4956. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4957. bv.velocity = orb.CFrame.lookVector*100
  4958. bv.Parent = orb
  4959. local hitted = false
  4960. coroutine.resume(coroutine.create(function()
  4961. game:GetService("Debris"):AddItem(orb, 5)
  4962. orb.Transparency = 1
  4963. orb.Anchored = true
  4964. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4965. elocacenter.Anchored = true
  4966. elocacenter.CFrame = orb.CFrame
  4967. elocacenter.Orientation = vt(0,0,0)
  4968. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4969. eloca1.Anchored = true
  4970. eloca1.CFrame = elocacenter.CFrame
  4971. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4972. eloca2.Anchored = true
  4973. eloca2.CFrame = elocacenter.CFrame
  4974. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4975. eloca3.Anchored = true
  4976. eloca3.CFrame = elocacenter.CFrame
  4977. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4978. eloca4.Anchored = true
  4979. eloca4.CFrame = elocacenter.CFrame
  4980. local lookavec = 0
  4981. local speeds = 0
  4982. CameraEnshaking(1,1)
  4983. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4984. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4985. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4986. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4987. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4988. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4989. for i = 0, 24 do
  4990. swait()
  4991. lookavec = lookavec + 3.5
  4992. speeds = speeds + 1
  4993. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4994. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4995. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4996.  
  4997. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4998. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4999.  
  5000. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5001. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5002.  
  5003. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5004. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5005. end
  5006.  
  5007. local risen = 0
  5008. for i = 0, 49 do
  5009. swait()
  5010. risen = risen + 0.05
  5011. speeds = speeds + 0.1
  5012. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5013. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5014. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5015.  
  5016. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5017. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5018.  
  5019. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5020. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5021.  
  5022. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5023. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5024. end
  5025. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  5026. if v:FindFirstChild('Head') then
  5027. dmg(v)
  5028. end
  5029. end
  5030. CameraEnshaking(4,10)
  5031. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  5032. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  5033. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  5034. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  5035. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  5036. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  5037. local eff = Instance.new("ParticleEmitter",elocacenter)
  5038. eff.Texture = "rbxassetid://2273224484"
  5039. eff.LightEmission = 1
  5040. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  5041. eff.Rate = 1000000
  5042. eff.Lifetime = NumberRange.new(0.5,2)
  5043. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5044. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5045. eff.Speed = NumberRange.new(20,250)
  5046. eff.Drag = 5
  5047. eff.Rotation = NumberRange.new(-500,500)
  5048. eff.VelocitySpread = 5000000
  5049. eff.RotSpeed = NumberRange.new(-50,50)
  5050. coroutine.resume(coroutine.create(function()
  5051. wait(1)
  5052. eff.Enabled = false
  5053. end))
  5054. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  5055. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  5056. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5057. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5058. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5059. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5060. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5061. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  5062. for i = 0, 24 do
  5063. sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0)
  5064. sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  5065. sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  5066. sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  5067. end
  5068. coroutine.resume(coroutine.create(function()
  5069. wait(10)
  5070. elocacenter:Destroy()
  5071. eloca1:Destroy()
  5072. eloca2:Destroy()
  5073. eloca3:Destroy()
  5074. eloca4:Destroy()
  5075. end))
  5076. end))
  5077. attack = false
  5078. end
  5079.  
  5080. function UniversalCollapse()
  5081. attack = true
  5082. local speedearn = 0
  5083. hum.WalkSpeed = 0
  5084. local sbs = Instance.new("BodyPosition", root)
  5085. sbs.P = 3000
  5086. sbs.D = 1000
  5087. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5088. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  5089. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  5090. for i = 0, 85, 0.1 do
  5091. swait()
  5092. speedearn = speedearn + 0.1
  5093. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5094. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5095. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5096. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5097. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5098. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  5099. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  5100. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  5101. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5102. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5103. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5104. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5105. end
  5106. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  5107. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  5108. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  5109. for i = 0, 25, 0.1 do
  5110. swait()
  5111. speedearn = speedearn + 0.1
  5112. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5113. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5114. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5115. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5116. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5117. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  5118. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  5119. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  5120. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5121. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5122. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5123. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5124. end
  5125. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  5126. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  5127. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  5128. CameraEnshaking(5,50)
  5129. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  5130. for i = 0, 2 do
  5131. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  5132. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  5133. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  5134. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  5135. end
  5136. for i = 0, 49 do
  5137. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  5138. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  5139. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  5140. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  5141. end
  5142. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  5143. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  5144. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  5145. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  5146. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  5147. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  5148. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5149. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5150. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5151. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5152. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5153. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5154. for i = 0, 99 do
  5155. PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  5156. PixelBlock(2,math.random(250,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  5157. end
  5158. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  5159. if v:FindFirstChild('Head') then
  5160. dmg(v)
  5161. end
  5162. end
  5163. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  5164. sbs:Destroy()
  5165. hum.WalkSpeed = storehumanoidWS
  5166. attack = false
  5167. end
  5168.  
  5169. function ChaosEND()
  5170. attack = true
  5171. local speedearn = 0
  5172. bosschatfunc("THIS IS...",MAINRUINCOLOR.Color,1)
  5173. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  5174. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  5175. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  5176. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 5, 1)
  5177. for i = 0, 15, 0.1 do
  5178. swait()
  5179. speedearn = speedearn + 0.25
  5180. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  5181. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  5182. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  5183. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  5184. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  5185. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  5186. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  5187. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5188. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5189. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  5190. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  5191. end
  5192. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  5193. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  5194. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,1)
  5195. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  5196. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  5197. CameraEnshaking(5,25)
  5198. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  5199. if v:FindFirstChild('Head') then
  5200. dmg(v)
  5201. end
  5202. end
  5203. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  5204. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  5205. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  5206. for i = 0, 3, 0.1 do
  5207. swait()
  5208. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  5209. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  5210. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  5211. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  5212. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  5213. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  5214. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  5215. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  5216. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  5217. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  5218. end
  5219. attack = false
  5220. end
  5221.  
  5222. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  5223. local orb = Instance.new("Part", char)
  5224. orb.Anchored = true
  5225. orb.BrickColor = color
  5226. orb.CanCollide = false
  5227. orb.FormFactor = 3
  5228. orb.Name = "Ring"
  5229. orb.Material = "Neon"
  5230. orb.Size = Vector3.new(1, 1, 1)
  5231. orb.Transparency = 0
  5232. orb.TopSurface = 0
  5233. orb.BottomSurface = 0
  5234. local orbm = Instance.new("SpecialMesh", orb)
  5235. orbm.MeshType = "Sphere"
  5236. orb.CFrame = positted
  5237. orbm.Name = "SizeMesh"
  5238. orbm.Scale = vt(1,1,1)
  5239. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  5240. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  5241. --[[for i = 0, 2 do
  5242. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  5243. end]]--
  5244. coroutine.resume(coroutine.create(function()
  5245. wait(timer)
  5246. CameraEnshaking(3,ShakePower)
  5247. orb.Transparency = 1
  5248. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  5249. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  5250. --[[for i = 0, 4 do
  5251. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  5252. end]]--
  5253. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  5254. wait(3)
  5255. orb:Destroy()
  5256. end))
  5257. end
  5258.  
  5259. function orb_spawn(positted,timer)
  5260. local randomcol = math.random(1,2)
  5261. local orb = Instance.new("Part", char)
  5262. orb.Anchored = true
  5263. if randomcol == 1 then
  5264. orb.BrickColor = BrickColor.new("White")
  5265. elseif randomcol == 2 then
  5266. orb.BrickColor = BrickColor.new("Really black")
  5267. end
  5268. orb.CanCollide = false
  5269. orb.FormFactor = 3
  5270. orb.Name = "Ring"
  5271. orb.Material = "Neon"
  5272. orb.Size = Vector3.new(1, 1, 1)
  5273. orb.Transparency = 0
  5274. orb.TopSurface = 0
  5275. orb.BottomSurface = 0
  5276. local orbm = Instance.new("SpecialMesh", orb)
  5277. orbm.MeshType = "Sphere"
  5278. orb.CFrame = positted
  5279. orbm.Name = "SizeMesh"
  5280. orbm.Scale = vt(1,1,1)
  5281. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  5282. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  5283. for i = 0, 2 do
  5284. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  5285. end
  5286. coroutine.resume(coroutine.create(function()
  5287. wait(timer)
  5288. CameraEnshaking(3,2)
  5289. orb.Transparency = 1
  5290. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  5291. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  5292. for i = 0, 4 do
  5293. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  5294. end
  5295. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  5296. wait(3)
  5297. orb:Destroy()
  5298. end))
  5299. end
  5300.  
  5301. function scattercorrupt()
  5302. attack = true
  5303. hum.WalkSpeed = 0
  5304. for i = 0, 2, 0.1 do
  5305. swait()
  5306. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5307. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5308. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5309. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5310. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  5311. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  5312. end
  5313. local rot = 0
  5314. local randomrotations = math.random(1,2)
  5315. local lookv = 2.5
  5316. local power = 7
  5317. local radm = math.random(1,3)
  5318. if radm == 1 then
  5319. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  5320. elseif radm == 2 then
  5321. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  5322. elseif radm == 3 then
  5323. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  5324. end
  5325. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  5326. for i = 0, 1, 0.1 do
  5327. swait()
  5328. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  5329. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(15),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  5330. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  5331. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  5332. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  5333. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  5334. end
  5335. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  5336. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  5337. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  5338. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  5339. for i = 0, 9 do
  5340. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  5341. end
  5342. local hite = Instance.new("Part", char)
  5343. hite.Anchored = true
  5344. hite.CanCollide = false
  5345. hite.FormFactor = 3
  5346. hite.Name = "Ring"
  5347. hite.Material = "Neon"
  5348. hite.Size = Vector3.new(1, 1, 1)
  5349. hite.Transparency = 1
  5350. hite.TopSurface = 0
  5351. hite.BottomSurface = 0
  5352. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5353. local rem = Instance.new("Part", char)
  5354. rem.Anchored = true
  5355. rem.CanCollide = false
  5356. rem.FormFactor = 3
  5357. rem.Name = "Ring"
  5358. rem.Material = "Neon"
  5359. rem.Size = Vector3.new(1, 1, 1)
  5360. rem.Transparency = 1
  5361. rem.TopSurface = 0
  5362. rem.BottomSurface = 0
  5363. rem.CFrame = hite.CFrame
  5364. local rem2 = rem:Clone()
  5365. rem2.Parent = char
  5366. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5367. local rem3 = rem:Clone()
  5368. rem3.Parent = char
  5369. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5370. local rem4 = rem:Clone()
  5371. rem4.Parent = char
  5372. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5373. hite:Destroy()
  5374. coroutine.resume(coroutine.create(function()
  5375. for i = 0, 24 do
  5376. swait(1)
  5377. if randomrotations == 1 then
  5378. rot = rot + 1
  5379. elseif randomrotations == 2 then
  5380. rot = rot - 1
  5381. end
  5382. power = power + 0.5
  5383. lookv = lookv + 7.5
  5384. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5385. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5386. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5387. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5388. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5389. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5390. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5391. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5392. end
  5393. end))
  5394. wait(2)
  5395. hum.WalkSpeed = storehumanoidWS
  5396. attack = false
  5397. end
  5398.  
  5399. function yinyangi()
  5400. attack = true
  5401. for i = 0, 2, 0.1 do
  5402. swait()
  5403. bosschatfunc("ZA WARUTO!!!",MAINRUINCOLOR.Color,1)
  5404. CFuncs["Sound"].Create("rbxassetid://1055792303", root, 4, 1,0,10,0.25,0.25,1)
  5405. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  5406. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  5407. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  5408. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5409. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5410. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5411. end
  5412. local bv = Instance.new("BodyVelocity")
  5413. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5414. bv.velocity = root.CFrame.lookVector*175
  5415. bv.Parent = root
  5416. for Rotations = 0, 9 do
  5417. for i = 0, 1, 0.5 do
  5418. swait()
  5419. bv.velocity = root.CFrame.lookVector*175
  5420. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5421. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  5422. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  5423. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5424. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5425. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5426. end
  5427. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5428. for i = 0, 1, 0.5 do
  5429. swait()
  5430. bv.velocity = root.CFrame.lookVector*175
  5431. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5432. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  5433. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  5434. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5435. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5436. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5437. end
  5438. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5439. for i = 0, 1, 0.5 do
  5440. swait()
  5441. bv.velocity = root.CFrame.lookVector*175
  5442. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5443. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  5444. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  5445. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5446. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5447. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5448. end
  5449. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5450. for i = 0, 1, 0.5 do
  5451. swait()
  5452. bv.velocity = root.CFrame.lookVector*175
  5453. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5454. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  5455. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  5456. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5457. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5458. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5459. end
  5460. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5461. end
  5462. bv:Destroy()
  5463. attack = false
  5464. end
  5465.  
  5466. function createBGCircle(size,parent,color)
  5467. local bgui = Instance.new("BillboardGui",parent)
  5468. bgui.Size = UDim2.new(size, 0, size, 0)
  5469. local imgc = Instance.new("ImageLabel",bgui)
  5470. imgc.BackgroundTransparency = 1
  5471. imgc.ImageTransparency = 0
  5472. imgc.Size = UDim2.new(1,0,1,0)
  5473. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5474. imgc.ImageColor3 = color
  5475. return bgui,imgc
  5476. end
  5477.  
  5478. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5479. local bgui,imgc = createBGCircle(size,guipar,color)
  5480. bgui.AlwaysOnTop = true
  5481. imgc.Image = "rbxassetid://" ..img
  5482. local rrot = math.random(1,2)
  5483. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5484. coroutine.resume(coroutine.create(function()
  5485. for i = 0, 24*delay do
  5486. swait()
  5487. if rotationenabled == true then
  5488. if rrot == 1 then
  5489. imgc.Rotation = imgc.Rotation + rotsp
  5490. elseif rrot == 2 then
  5491. imgc.Rotation = imgc.Rotation - rotsp
  5492. end
  5493. end
  5494. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5495. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5496. end
  5497. bgui:Destroy()
  5498. end))
  5499. end
  5500. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5501. for i, v in pairs(mw2:GetChildren()) do
  5502. if v:IsA("Part") then
  5503. v.BrickColor = one
  5504. v.Material = "Neon"
  5505. end
  5506. end
  5507. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5508. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5509. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5510. tr1.Color = ColorSequence.new(one.Color)
  5511. tr2.Color = ColorSequence.new(one.Color)
  5512. tr3.Color = ColorSequence.new(one.Color)
  5513. for i, v in pairs(mw1:GetChildren()) do
  5514. if v:IsA("Part") then
  5515. if secondaryenabled == false then
  5516. v.Transparency = 1
  5517. elseif secondaryenabled == true then
  5518. v.Transparency = 0
  5519. end
  5520. v.BrickColor = two
  5521. v.Material = "Neon"
  5522. end
  5523. end
  5524. if secondaryenabled == false then
  5525. tl1.Enabled = false
  5526. tl2.Enabled = false
  5527. tl3.Enabled = false
  5528. elseif secondaryenabled == true then
  5529. tl1.Enabled = true
  5530. tl2.Enabled = true
  5531. tl3.Enabled = true
  5532. end
  5533. tl1.Color = ColorSequence.new(two.Color)
  5534. tl2.Color = ColorSequence.new(two.Color)
  5535. tl3.Color = ColorSequence.new(two.Color)
  5536. for i, v in pairs(m:GetChildren()) do
  5537. if v:IsA("Part") then
  5538. v.BrickColor = three
  5539. v.Material = "Ice"
  5540. end
  5541. end
  5542. for i, v in pairs(m2:GetChildren()) do
  5543. if v:IsA("Part") then
  5544. v.BrickColor = four
  5545. v.Material = "Ice"
  5546. end
  5547. end
  5548. for i, v in pairs(m3:GetChildren()) do
  5549. if v:IsA("Part") then
  5550. v.BrickColor = five
  5551. v.Material = "Neon"
  5552. end
  5553. end
  5554. for i, v in pairs(extrawingmod1:GetChildren()) do
  5555. if v:IsA("Part") then
  5556. v.Transparency = exonetran
  5557. v.BrickColor = exone
  5558. v.Material = "Neon"
  5559. end
  5560. end
  5561. for i, v in pairs(extrawingmod2:GetChildren()) do
  5562. if v:IsA("Part") then
  5563. v.Transparency = extwotran
  5564. v.BrickColor = extwo
  5565. v.Material = "Neon"
  5566. end
  5567. end
  5568. end
  5569.  
  5570.  
  5571. function normalmog()
  5572. attack = true
  5573. hum.WalkSpeed = 0
  5574. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 35, 1.25)
  5575. bosschatfunc("YOUR DEATH IS ASSURED!!!",MAINRUINCOLOR.Color,1)
  5576. for i = 0,6,0.1 do
  5577. swait()
  5578. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5579. slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR)
  5580. 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(30)),.2)
  5581. 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(-2.5),math.rad(0),math.rad(-30)),.2)
  5582. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5583. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5584. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5585. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5586. end
  5587. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5588. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5589. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5590. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5591. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5592. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5593. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5594. rainbowmode = false
  5595. chaosmode = false
  5596. ModeOfGlitch = 1
  5597. storehumanoidWS = 16
  5598. newTheme("rbxassetid://259031423",48.6,1,1.25)
  5599. RecolorTextAndRename("眠いです",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5600. CameraEnshaking(5,2.5)
  5601. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5602. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5603. for i = 0, 49 do
  5604. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5605. end
  5606. for i = 0, 24 do
  5607. sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
  5608. slash(math.random(10,30)/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(150,350)/250,BrickColor.new("White"))
  5609. end
  5610. for i = 0,3,0.1 do
  5611. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5612. end
  5613. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5614. for i = 0,2,0.1 do
  5615. swait()
  5616. 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(-30)),.5)
  5617. 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(-2.5),math.rad(0),math.rad(30)),.5)
  5618. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5619. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  5620. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  5621. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  5622. end
  5623. hum.WalkSpeed = storehumanoidWS
  5624. attack = false
  5625. end
  5626.  
  5627. function attackone()
  5628. attack = true
  5629. for i = 0,1,0.1 do
  5630. swait()
  5631. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5632. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5633. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5634. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5635. 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(-0.5),math.rad(0),math.rad(0)),.3)
  5636. 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(-2.5),math.rad(10),math.rad(0)),.3)
  5637. end
  5638. local distlook = 5
  5639. for i = 0, 4 do
  5640. swait(2)
  5641. CameraEnshaking(2,3)
  5642. local hite = Instance.new("Part", char)
  5643. hite.Anchored = true
  5644. hite.CanCollide = false
  5645. hite.FormFactor = 3
  5646. hite.Name = "Ring"
  5647. hite.Material = "Neon"
  5648. hite.Size = Vector3.new(1, 1, 1)
  5649. hite.Transparency = 1
  5650. hite.TopSurface = 0
  5651. hite.BottomSurface = 0
  5652. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5653. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5654. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5655. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5656. for i = 0, 2 do
  5657. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5658. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5659. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5660. end
  5661. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5662. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5663. game:GetService("Debris"):AddItem(hite, 5)
  5664. distlook = distlook + 10
  5665. end
  5666. attack = false
  5667. end
  5668.  
  5669. function attacktwo()
  5670. attack = true
  5671. for i = 0,1,0.1 do
  5672. swait()
  5673. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  5674. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  5675. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  5676. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  5677. 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(10)),.3)
  5678. 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(-2.5),math.rad(0),math.rad(-10)),.3)
  5679. end
  5680. CameraEnshaking(3,4)
  5681. MagniDamage(root, 12, 15,30, 0, "Normal")
  5682. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  5683. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  5684. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  5685. coroutine.resume(coroutine.create(function()
  5686. local eff = Instance.new("ParticleEmitter",root)
  5687. eff.Texture = "rbxassetid://363275192"
  5688. eff.LightEmission = 0.95
  5689. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5690. eff.Rate = 10000
  5691. eff.Lifetime = NumberRange.new(1)
  5692. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  5693. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  5694. eff.Speed = NumberRange.new(10,125)
  5695. eff.Drag = 5
  5696. eff.Rotation = NumberRange.new(-500,500)
  5697. eff.VelocitySpread = 9000
  5698. eff.RotSpeed = NumberRange.new(-50,50)
  5699. local eff2 = eff:Clone()
  5700. eff2.Parent = root
  5701. eff2.Texture = "rbxassetid://284205403"
  5702. eff2.Rate = 10000
  5703. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  5704. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  5705. eff2.Drag = 5
  5706. eff2.Speed = NumberRange.new(10,50)
  5707. eff2.Rotation = NumberRange.new(-500,500)
  5708. eff2.VelocitySpread = 9000
  5709. wait(0.25)
  5710. eff2.Enabled = false
  5711. eff.Enabled = false
  5712. wait(3)
  5713. eff2:Destroy()
  5714. eff:Destroy()
  5715. end))
  5716. for i = 0, 9 do
  5717. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
  5718. end
  5719. for i = 0, 24 do
  5720. local rsiz = math.random(5,20)
  5721. sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  5722. end
  5723. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  5724. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  5725. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  5726. for i = 0,2,0.1 do
  5727. swait()
  5728. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  5729. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  5730. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  5731. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  5732. 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(-10)),.3)
  5733. 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(-2.5),math.rad(0),math.rad(10)),.3)
  5734. end
  5735. attack = false
  5736. end
  5737.  
  5738. function attackthree()
  5739. attack = true
  5740. local keptcolor = MAINRUINCOLOR
  5741. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
  5742. for i = 0,1,0.1 do
  5743. swait()
  5744. sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
  5745. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
  5746. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  5747. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
  5748. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
  5749. 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)),.5)
  5750. 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(-2.5),math.rad(0),math.rad(0)),.5)
  5751. end
  5752. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
  5753. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
  5754. local angle = -25
  5755. coroutine.resume(coroutine.create(function()
  5756. for i = 0, 2 do
  5757. local orb = Instance.new("Part", char)
  5758. orb.BrickColor = MAINRUINCOLOR
  5759. orb.CanCollide = false
  5760. orb.FormFactor = 3
  5761. orb.Name = "Ring"
  5762. orb.Material = "Neon"
  5763. orb.Size = Vector3.new(1, 1, 1)
  5764. orb.Transparency = 0.5
  5765. orb.TopSurface = 0
  5766. orb.BottomSurface = 0
  5767. local orbm = Instance.new("SpecialMesh", orb)
  5768. orbm.MeshType = "Sphere"
  5769. orbm.Name = "SizeMesh"
  5770. orbm.Scale = vt(3,3,3)
  5771. orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
  5772. local bv = Instance.new("BodyVelocity")
  5773. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5774. bv.velocity = orb.CFrame.lookVector*100
  5775. bv.Parent = orb
  5776. game:GetService("Debris"):AddItem(orb, 10)
  5777. sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  5778. sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  5779. coroutine.resume(coroutine.create(function()
  5780. MagniDamage(orb, 6, 8,15, 0, "Normal")
  5781. for i = 0, 7 do
  5782. swait(2.5)
  5783. CameraEnshaking(1,2)
  5784. MagniDamage(orb, 6, 8,15, 0, "Normal")
  5785. CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
  5786. for i = 0, 4 do
  5787. local rsiz = math.random(5,10)
  5788. 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(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
  5789. sphereMK(math.random(2,6),0.15,"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)
  5790. end
  5791. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  5792. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  5793. end
  5794. orb.Transparency = 1
  5795. orb.Anchored = false
  5796. wait(10)
  5797. orb:Destroy()
  5798. end))
  5799. angle = angle + 25
  5800. end
  5801. end))
  5802. for i = 0,1,0.1 do
  5803. swait()
  5804. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  5805. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  5806. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  5807. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  5808. 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(-10)),.3)
  5809. 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(-2.5),math.rad(0),math.rad(10)),.3)
  5810. end
  5811. attack = false
  5812. end
  5813. ----------------------------------- Abilities
  5814.  
  5815. function ExtinctiveHeartbreak()
  5816. local targetted = nil
  5817. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5818. targetted = mouse.Target.Parent
  5819. end
  5820. if targetted ~= nil then
  5821. attack = true
  5822. bosschatfunc("I AM THE MIGHTIEST!!",MAINRUINCOLOR.Color,1)
  5823. CFuncs["EchoSound"].Create("rbxassetid://357202141", char, 1.5, 1,0,10,0.15,0.5,1)
  5824. CFuncs["EchoSound"].Create("rbxassetid://357202141", root, 10, 1,0,10,0.15,0.5,1)
  5825. CFuncs["Sound"].Create("rbxassetid://2556945475", root, 2.5,1)
  5826. for i = 0, 9 do
  5827. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Industrial white"),0)
  5828. end
  5829. for i = 0, 24 do
  5830. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Industrial white"),0)
  5831. end
  5832. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Industrial white"))
  5833. local originalpos = root.CFrame
  5834. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5835. for i = 0, 9 do
  5836. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Industrial white"),0)
  5837. end
  5838. for i = 0, 24 do
  5839. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Industrial white"),0)
  5840. end
  5841. hum.WalkSpeed = 0
  5842. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Industrial white"))
  5843. local radm = math.random(1,3)
  5844. if radm == 1 then
  5845. bosschatfunc("I FEAR NO MAN...",MAINRUINCOLOR.Color,2)
  5846. elseif radm == 2 then
  5847. bosschatfunc("BUT THIS...",MAINRUINCOLOR.Color,2)
  5848. elseif radm == 3 then
  5849. bosschatfunc("IT SCARES ME",MAINRUINCOLOR.Color,2)
  5850. end
  5851. for i = 0,2,0.1 do
  5852. swait()
  5853. 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(-10),math.rad(0)),.4)
  5854. 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(-2.5),math.rad(0),math.rad(0)),.4)
  5855. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  5856. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5857. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  5858. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  5859. end
  5860. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5861. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5862. for i = 0,2,0.1 do
  5863. swait()
  5864. coroutine.resume(coroutine.create(function()
  5865. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5866. for i,v in pairs(targetted:GetChildren()) do
  5867. if v:IsA("Part") or v:IsA("MeshPart") then
  5868. v.Velocity = vt(0,0,0)
  5869. end
  5870. end
  5871. end))
  5872. 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(0)),.8)
  5873. 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(-2.5),math.rad(10),math.rad(0)),.8)
  5874. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5875. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5876. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5877. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  5878. end
  5879. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5880. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5881. for i = 0, 1 do
  5882. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5883. end
  5884. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5885. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5886. for i = 0,4,0.1 do
  5887. swait()
  5888. coroutine.resume(coroutine.create(function()
  5889. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5890. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5891. local at1 = Instance.new("Attachment",dis)
  5892. at1.Position = vt(-25000,0,0)
  5893. local at2 = Instance.new("Attachment",dis)
  5894. at2.Position = vt(25000,0,0)
  5895. local trl = Instance.new('Trail',dis)
  5896. trl.Attachment0 = at1
  5897. trl.FaceCamera = true
  5898. trl.Attachment1 = at2
  5899. trl.Texture = "rbxassetid://1049219073"
  5900. trl.LightEmission = 1
  5901. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5902. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5903. trl.Lifetime = 5
  5904. local bv = Instance.new("BodyVelocity")
  5905. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5906. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5907. bv.Parent = dis
  5908. game:GetService("Debris"):AddItem(dis, 5)
  5909. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5910. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5911. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5912. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5913. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5914. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5915. sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
  5916. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5917. for i = 0, 2 do
  5918. slash(5,5,true,"Round","Add","Out",targetted.Head.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(50,350)/250,BrickColor.new("Crimson"))
  5919. end
  5920. symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  5921. for i,v in pairs(targetted:GetChildren()) do
  5922. if v:IsA("Part") or v:IsA("MeshPart") then
  5923. v.Velocity = vt(0,0,0)
  5924. end
  5925. end
  5926. end))
  5927. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5928. 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(0)),.8)
  5929. 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(-2.5),math.rad(10),math.rad(0)),.8)
  5930. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  5931. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5932. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
  5933. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
  5934. end
  5935. hum.CameraOffset = vt(0,0,0)
  5936. for i = 0, 49 do
  5937. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5938. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5939. local at1 = Instance.new("Attachment",dis)
  5940. at1.Position = vt(-50000,0,0)
  5941. local at2 = Instance.new("Attachment",dis)
  5942. at2.Position = vt(50000,0,0)
  5943. local trl = Instance.new('Trail',dis)
  5944. trl.Attachment0 = at1
  5945. trl.FaceCamera = true
  5946. trl.Attachment1 = at2
  5947. trl.Texture = "rbxassetid://1049219073"
  5948. trl.LightEmission = 1
  5949. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5950. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5951. trl.Lifetime = 5
  5952. local bv = Instance.new("BodyVelocity")
  5953. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5954. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5955. bv.Parent = dis
  5956. game:GetService("Debris"):AddItem(dis, 5)
  5957. end
  5958. for i = 0, 49 do
  5959. sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
  5960. slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.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,500)/250,BrickColor.new("Industrial white"))
  5961. end
  5962. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5963. for i = 0, 1 do
  5964. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5965. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5966. end
  5967. for i = 0, 4 do
  5968. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5969. end
  5970. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5971. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5972. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5973. dmg(targetted)
  5974. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5975. for i = 0, 9 do
  5976. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Industrual white"),0)
  5977. end
  5978. for i = 0, 24 do
  5979. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Industrial white"),0)
  5980. end
  5981. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Industrial white"))
  5982. root.CFrame = originalpos
  5983. for i = 0, 9 do
  5984. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Industrial white"),0)
  5985. end
  5986. for i = 0, 24 do
  5987. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Industrial white"),0)
  5988. end
  5989. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Industrial white"))
  5990. attack = false
  5991. hum.WalkSpeed = storehumanoidWS
  5992. end
  5993. end
  5994.  
  5995. function CorruptionEvent()
  5996. attack = true
  5997. hum.WalkSpeed = 0
  5998. bosschatfunc("I'LL CRUSH YOU!",MAINRUINCOLOR.Color,1)
  5999. CFuncs["EchoSound"].Create("rbxassetid://358080519", char, 1.5, 1,0,10,0.15,0.5,1)
  6000. CFuncs["EchoSound"].Create("rbxassetid://358080519", root, 10, 1,0,10,0.15,0.5,1)
  6001. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  6002. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  6003. local keptcolor = MAINRUINCOLOR
  6004. for i = 0,4,0.1 do
  6005. swait()
  6006. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6007. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6008. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
  6009. 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)),.1)
  6010. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  6011. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  6012. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  6013. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  6014. end
  6015. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  6016. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  6017. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  6018. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  6019. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6020. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  6021. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  6022. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  6023. hum.CameraOffset = vt(0,0,0)
  6024. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6025. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6026. for i = 0, 24 do
  6027. slash(math.random(15,50)/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(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  6028. end
  6029. local rrot = 0
  6030. coroutine.resume(coroutine.create(function()
  6031. for i = 0, 4 do
  6032. rrot = rrot + 45
  6033. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6034. xa.Anchored = true
  6035. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6036. xb.Anchored = true
  6037. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6038. xc.Anchored = true
  6039. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6040. xd.Anchored = true
  6041. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  6042. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  6043. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  6044. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  6045. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  6046. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  6047. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  6048. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  6049. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  6050. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  6051. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  6052. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  6053. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  6054. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  6055. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  6056. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  6057. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6058. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6059. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6060. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6061. for i = 0, 9 do
  6062. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  6063. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  6064. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  6065. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  6066. end
  6067. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6068. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6069. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6070. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6071. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  6072. sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  6073. sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  6074. sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  6075. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  6076. sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  6077. sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  6078. sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  6079. game:GetService("Debris"):AddItem(xa, 5)
  6080. game:GetService("Debris"):AddItem(xb, 5)
  6081. game:GetService("Debris"):AddItem(xc, 5)
  6082. game:GetService("Debris"):AddItem(xd, 5)
  6083. coroutine.resume(coroutine.create(function()
  6084. for i = 0, 19 do
  6085. swait()
  6086. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  6087. end
  6088. hum.CameraOffset = vt(0,0,0)
  6089. end))
  6090. swait(9)
  6091. end
  6092. end))
  6093. for i = 0,2,0.1 do
  6094. swait()
  6095. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
  6096. 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(10)),.8)
  6097. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  6098. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  6099. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  6100. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  6101. end
  6102. attack = false
  6103. hum.WalkSpeed = storehumanoidWS
  6104. end
  6105.  
  6106. function EndGROUND()
  6107. attack = true
  6108. hum.WalkSpeed = 0
  6109. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  6110. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  6111. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  6112. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  6113. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  6114. local keptcolor = MAINRUINCOLOR
  6115. for i = 0,4,0.1 do
  6116. swait()
  6117. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6118. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6119. slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*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),-0.1,BrickColor.new("Really black"))
  6120. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
  6121. 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)),.1)
  6122. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  6123. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  6124. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  6125. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  6126. end
  6127. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  6128. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  6129. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6130. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  6131. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  6132. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  6133. coroutine.resume(coroutine.create(function()
  6134. local shval = 10
  6135. for i = 0, 99 do
  6136. swait()
  6137. shval = shval - 0.1
  6138. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  6139. end
  6140. hum.CameraOffset = vt(0,0,0)
  6141. end))
  6142. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6143. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6144. for i = 0, 24 do
  6145. slash(math.random(15,50)/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(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  6146. end
  6147. local rrot = 0
  6148. local xam = 1
  6149. coroutine.resume(coroutine.create(function()
  6150. for i = 0, 14 do
  6151. --swait()
  6152. rrot = rrot + 40*xam
  6153. xam = xam + 0.25
  6154. local bonus = xam
  6155. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  6156. xa.Anchored = true
  6157. xa.Color = Color3.new(0,0,0)
  6158. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  6159. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  6160. local xc = 0
  6161. coroutine.resume(coroutine.create(function()
  6162. for i = 0, 99 do
  6163. swait()
  6164. xc = xc + 0.01
  6165. xa.Color = Color3.new(xc,0,0)
  6166. end
  6167. xa.Transparency = 1
  6168. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  6169. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  6170. for i = 0, 9 do
  6171. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
  6172. end
  6173. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6174. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
  6175. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
  6176. game:GetService("Debris"):AddItem(xa, 5)
  6177. coroutine.resume(coroutine.create(function()
  6178. for i = 0, 19 do
  6179. swait()
  6180. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  6181. end
  6182. hum.CameraOffset = vt(0,0,0)
  6183. end))
  6184. end))
  6185. end
  6186. end))
  6187. for i = 0,2,0.1 do
  6188. swait()
  6189. 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)
  6190. 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)
  6191. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  6192. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  6193. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  6194. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  6195. end
  6196. attack = false
  6197. hum.WalkSpeed = storehumanoidWS
  6198. end
  6199.  
  6200.  
  6201. function HeavenlyDisk()
  6202. attack = true
  6203. hum.WalkSpeed = 2
  6204. local keptcolor = MAINRUINCOLOR
  6205. local radm = math.random(1,3)
  6206. if radm == 1 then
  6207. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  6208. elseif radm == 2 then
  6209. bosschatfunc("I really don't have a choice...",MAINRUINCOLOR.Color,1)
  6210. elseif radm == 3 then
  6211. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  6212. end
  6213. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6214. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 4, 1,0,10,0.15,0.5,1)
  6215. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6216. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  6217. for i = 0, 14 do
  6218. PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new(MULTIRUINCOLOR),0)
  6219. end
  6220. for i = 0,2,0.1 do
  6221. swait()
  6222. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6223. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  6224. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  6225. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6226. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6227. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6228. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6229. end
  6230. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6231. for i = 0,1,0.6 do
  6232. swait()
  6233. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6234. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6235. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6236. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6237. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6238. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6239. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6240. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6241. end
  6242. for i = 0,1,0.6 do
  6243. swait()
  6244. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6245. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6246. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6247. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6248. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6249. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6250. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6251. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6252. end
  6253. for i = 0,1,0.6 do
  6254. swait()
  6255. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6256. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6257. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6258. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6259. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6260. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6261. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6262. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6263. end
  6264. for i = 0,1,0.6 do
  6265. swait()
  6266. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6267. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  6268. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6269. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6270. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6271. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6272. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6273. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6274. end
  6275. local rot = 15
  6276. for i = 0, 2 do
  6277. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new(MULTIRUINCOLOR))
  6278. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6279. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6280. CreateMesh(dis,"Sphere",10,1,10)
  6281. local at1 = Instance.new("Attachment",dis)
  6282. at1.Position = vt(-5,0,0)
  6283. local at2 = Instance.new("Attachment",dis)
  6284. at2.Position = vt(5,0,0)
  6285. local trl = Instance.new('Trail',wed)
  6286. trl.Attachment0 = at1
  6287. trl.Attachment1 = at2
  6288. trl.Texture = "rbxassetid://1049219073"
  6289. trl.LightEmission = 1
  6290. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6291. trl.Color = ColorSequence.new(dis.Color)
  6292. trl.Lifetime = 0.6
  6293. local a = Instance.new("Part",workspace)
  6294. a.Name = "Direction"
  6295. a.Anchored = true
  6296. a.BrickColor = bc("Bright red")
  6297. a.Material = "Neon"
  6298. a.Transparency = 1
  6299. a.CanCollide = false
  6300. local ray = Ray.new(
  6301. dis.CFrame.p, -- origin
  6302. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6303. )
  6304. local ignore = dis
  6305. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6306. a.BottomSurface = 10
  6307. a.TopSurface = 10
  6308. local distance = (dis.CFrame.p - position).magnitude
  6309. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6310. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6311. dis.CFrame = a.CFrame
  6312. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6313. a:Destroy()
  6314. local bv = Instance.new("BodyVelocity")
  6315. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6316. bv.velocity = dis.CFrame.lookVector*250
  6317. bv.Parent = dis
  6318. game:GetService("Debris"):AddItem(dis, 5)
  6319. local hitted = false
  6320. coroutine.resume(coroutine.create(function()
  6321. dis.Touched:connect(function(hit)
  6322. if hitted == false and hit.Parent ~= char then
  6323. hitted = true
  6324. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6325. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6326. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6327. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6328. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6329. coroutine.resume(coroutine.create(function()
  6330. for i = 0, 9 do
  6331. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6332. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6333. local at1 = Instance.new("Attachment",disr)
  6334. at1.Position = vt(-2,0,0)
  6335. local at2 = Instance.new("Attachment",disr)
  6336. at2.Position = vt(2,0,0)
  6337. local trl = Instance.new('Trail',disr)
  6338. trl.Attachment0 = at1
  6339. trl.FaceCamera = true
  6340. trl.Attachment1 = at2
  6341. trl.Texture = "rbxassetid://2342682798"
  6342. trl.LightEmission = 1
  6343. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6344. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6345. trl.Lifetime = 0.5
  6346. local bv = Instance.new("BodyVelocity")
  6347. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6348. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6349. bv.Parent = disr
  6350. local val = 0
  6351. coroutine.resume(coroutine.create(function()
  6352. swait(30)
  6353. for i = 0, 9 do
  6354. swait()
  6355. val = val + 0.1
  6356. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6357. end
  6358. game:GetService("Debris"):AddItem(disr, 3)
  6359. end))
  6360. end
  6361. local eff = Instance.new("ParticleEmitter",dis)
  6362. eff.Texture = "rbxassetid://2273224484"
  6363. eff.LightEmission = 1
  6364. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6365. eff.Rate = 500000
  6366. eff.Lifetime = NumberRange.new(0.5,2)
  6367. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6368. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6369. eff.Speed = NumberRange.new(20,250)
  6370. eff.Drag = 5
  6371. eff.Rotation = NumberRange.new(-500,500)
  6372. eff.VelocitySpread = 9000
  6373. eff.RotSpeed = NumberRange.new(-50,50)
  6374. wait(0.25)
  6375. eff.Enabled = false
  6376. end))
  6377. for i = 0, 9 do
  6378. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  6379. end
  6380. for i = 0, 19 do
  6381. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  6382. end
  6383. coroutine.resume(coroutine.create(function()
  6384. for i = 0, 19 do
  6385. swait()
  6386. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6387. end
  6388. hum.CameraOffset = vt(0,0,0)
  6389. end))
  6390. dis.Anchored = true
  6391. dis.Transparency = 1
  6392. wait(8)
  6393. dis:Destroy()
  6394. end
  6395. end)
  6396. end))
  6397. rot = rot - 15
  6398. end
  6399. for i = 0,2,0.1 do
  6400. swait()
  6401. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  6402. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  6403. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6404. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6405. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6406. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6407. end
  6408. attack = false
  6409. hum.WalkSpeed = storehumanoidWS
  6410. end
  6411.  
  6412. function RapidBurst()
  6413. attack = true
  6414. hum.WalkSpeed = 0
  6415. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6416. CFuncs["Sound"].Create("rbxassetid://1097266621", root, 10, 0.5)
  6417. CFuncs["Sound"].Create("rbxassetid://138677306", root, 10, 0.5)
  6418. CFuncs["EchoSound"].Create("rbxassetid://358080429", char, 4, 1,0,10,0.15,0.5,1)
  6419. CFuncs["EchoSound"].Create("rbxassetid://2014087015", char, 4, 1,0,10,0.15,0.5,1)
  6420. bosschatfunc("ENOUGH!!",MAINRUINCOLOR.Color,2)
  6421. local keptcolor = MAINRUINCOLOR
  6422. for i = 0,8,0.1 do
  6423. swait()
  6424. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6425. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
  6426. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
  6427. 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(-15 - 2 * math.cos(sine / 32))),.1)
  6428. 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(15 + 2 * math.cos(sine / 32))),.1)
  6429. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6430. 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)
  6431. RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
  6432. LW.C0=clerp(LW.C0,cf(-1.35,1 + 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(13 - 3 * math.cos(sine / 45))),.1)
  6433. end
  6434. for i = 0, 99 do
  6435. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6436. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6437. local at1 = Instance.new("Attachment",dis)
  6438. at1.Position = vt(-25000,0,0)
  6439. local at2 = Instance.new("Attachment",dis)
  6440. at2.Position = vt(25000,0,0)
  6441. local trl = Instance.new('Trail',dis)
  6442. trl.Attachment0 = at1
  6443. trl.FaceCamera = true
  6444. trl.Attachment1 = at2
  6445. trl.Texture = "rbxassetid://1049219073"
  6446. trl.LightEmission = 1
  6447. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6448. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6449. trl.Lifetime = 5
  6450. local bv = Instance.new("BodyVelocity")
  6451. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6452. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6453. bv.Parent = dis
  6454. game:GetService("Debris"):AddItem(dis, 5)
  6455. end
  6456. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6457. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6458. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6459. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6460. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6461. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6462. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6463. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6464. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6465. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6466. hum.CameraOffset = vt(0,0,0)
  6467. for i = 0, 24 do
  6468. slash(math.random(10,30)/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(500,1500)/250,BrickColor.random())
  6469. end
  6470. local distam = 0
  6471. coroutine.resume(coroutine.create(function()
  6472. for i = 0, 99 do
  6473. wait()
  6474. distam = distam + 1
  6475. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6476. xa.Anchored = true
  6477. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6478. game:GetService("Debris"):AddItem(xa, 5)
  6479. for i = 0, 4 do
  6480. slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.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(200,500)/250,BrickColor.random())
  6481. end
  6482. coroutine.resume(coroutine.create(function()
  6483. local eff = Instance.new("ParticleEmitter",xa)
  6484. eff.Texture = "rbxassetid://2273224484"
  6485. eff.LightEmission = 1
  6486. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6487. eff.Rate = 500000
  6488. eff.Lifetime = NumberRange.new(1,3)
  6489. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  6490. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6491. eff.Speed = NumberRange.new(50,500)
  6492. eff.Drag = 5
  6493. eff.Rotation = NumberRange.new(-500,500)
  6494. eff.VelocitySpread = 9000
  6495. eff.RotSpeed = NumberRange.new(-50,50)
  6496. wait(0.25)
  6497. eff.Enabled = false
  6498. end))
  6499. coroutine.resume(coroutine.create(function()
  6500. for i = 0, 19 do
  6501. swait()
  6502. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6503. end
  6504. hum.CameraOffset = vt(0,0,0)
  6505. end))
  6506. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6507. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6508. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6509. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6510. end
  6511. end))
  6512. attack = false
  6513. hum.WalkSpeed = storehumanoidWS
  6514. end
  6515.  
  6516.  
  6517. function FallenOrbs()
  6518. attack = true
  6519. hum.WalkSpeed = 2
  6520. local keptcolor = MAINRUINCOLOR
  6521. CFuncs["EchoSound"].Create("rbxassetid://358080470", char, 1.5, 1,0,10,0.15,0.5,1)
  6522. CFuncs["EchoSound"].Create("rbxassetid://358080470", root, 10, 1,0,10,0.15,0.5,1)
  6523. local radm = math.random(1,3)
  6524. if radm == 1 then
  6525. bosschatfunc("Sorry...",MAINRUINCOLOR.Color,1)
  6526. elseif radm == 2 then
  6527. bosschatfunc("WHY WON'T YOU DIE!!!!",MAINRUINCOLOR.Color,1)
  6528. elseif radm == 3 then
  6529. bosschatfunc("IM SORRY JUST DIE!!",MAINRUINCOLOR.Color,1)
  6530. end
  6531. coroutine.resume(coroutine.create(function()
  6532. for i = 0, 29 do
  6533. swait(2)
  6534. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6535. dis.Anchored = true
  6536. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6537. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6538. CreateMesh(dis,"Sphere",2,2,2)
  6539. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6540. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.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(10,50)/250,BrickColor.new("White"))
  6541. coroutine.resume(coroutine.create(function()
  6542. wait(0.5)
  6543. dis.Anchored = false
  6544. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6545. local at1 = Instance.new("Attachment",dis)
  6546. at1.Position = vt(-1,0,0)
  6547. local at2 = Instance.new("Attachment",dis)
  6548. at2.Position = vt(1,0,0)
  6549. local trl = Instance.new('Trail',dis)
  6550. trl.Attachment0 = at1
  6551. trl.FaceCamera = true
  6552. trl.Attachment1 = at2
  6553. trl.Texture = "rbxassetid://1049219073"
  6554. trl.LightEmission = 1
  6555. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6556. trl.Color = ColorSequence.new(dis.Color)
  6557. trl.Lifetime = 0.6
  6558. local a = Instance.new("Part",workspace)
  6559. a.Name = "Direction"
  6560. a.Anchored = true
  6561. a.BrickColor = bc("Bright red")
  6562. a.Material = "Neon"
  6563. a.Transparency = 1
  6564. a.CanCollide = false
  6565. local ray = Ray.new(
  6566. dis.CFrame.p, -- origin
  6567. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6568. )
  6569. local ignore = dis
  6570. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6571. a.BottomSurface = 10
  6572. a.TopSurface = 10
  6573. local distance = (dis.CFrame.p - position).magnitude
  6574. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6575. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6576. dis.CFrame = a.CFrame
  6577. a:Destroy()
  6578. local bv = Instance.new("BodyVelocity")
  6579. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6580. bv.velocity = dis.CFrame.lookVector*500
  6581. bv.Parent = dis
  6582. game:GetService("Debris"):AddItem(dis, 5)
  6583. local hitted = false
  6584. coroutine.resume(coroutine.create(function()
  6585. dis.Touched:connect(function(hit)
  6586. if hitted == false and hit.Parent ~= char then
  6587. hitted = true
  6588. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6589. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6590. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6591. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6592. coroutine.resume(coroutine.create(function()
  6593. for i = 0, 4 do
  6594. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6595. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6596. local at1 = Instance.new("Attachment",disr)
  6597. at1.Position = vt(-10,0,0)
  6598. local at2 = Instance.new("Attachment",disr)
  6599. at2.Position = vt(10,0,0)
  6600. local trl = Instance.new('Trail',disr)
  6601. trl.Attachment0 = at1
  6602. trl.FaceCamera = true
  6603. trl.Attachment1 = at2
  6604. trl.Texture = "rbxassetid://2342682798"
  6605. trl.LightEmission = 1
  6606. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6607. trl.Color = ColorSequence.new(disr.Color)
  6608. trl.Lifetime = 0.5
  6609. local bv = Instance.new("BodyVelocity")
  6610. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6611. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6612. bv.Parent = disr
  6613. local val = 0
  6614. coroutine.resume(coroutine.create(function()
  6615. swait(30)
  6616. for i = 0, 9 do
  6617. swait()
  6618. val = val + 0.1
  6619. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6620. end
  6621. game:GetService("Debris"):AddItem(disr, 3)
  6622. end))
  6623. end
  6624. local eff = Instance.new("ParticleEmitter",dis)
  6625. eff.Texture = "rbxassetid://1049219073"
  6626. eff.LightEmission = 1
  6627. eff.Color = ColorSequence.new(dis.Color)
  6628. eff.Rate = 500000
  6629. eff.Lifetime = NumberRange.new(0.5,2)
  6630. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6631. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6632. eff.Speed = NumberRange.new(20,250)
  6633. eff.Drag = 5
  6634. eff.Rotation = NumberRange.new(-500,500)
  6635. eff.VelocitySpread = 9000
  6636. eff.RotSpeed = NumberRange.new(-50,50)
  6637. wait(0.5)
  6638. eff.Enabled = false
  6639. end))
  6640. for i = 0, 4 do
  6641. slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.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(100,200)/250,BrickColor.new("White"))
  6642. end
  6643. coroutine.resume(coroutine.create(function()
  6644. for i = 0, 19 do
  6645. swait()
  6646. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6647. end
  6648. hum.CameraOffset = vt(0,0,0)
  6649. end))
  6650. dis.Anchored = true
  6651. dis.Transparency = 1
  6652. wait(8)
  6653. dis:Destroy()
  6654. end
  6655. end)
  6656. end))
  6657. end))
  6658. end
  6659. end))
  6660. for i = 0,9,0.1 do
  6661. swait()
  6662. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6663. 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 / 32))),.3)
  6664. 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 + 2 * math.cos(sine / 32))),.3)
  6665. 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(90)),.3)
  6666. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3)
  6667. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3)
  6668. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
  6669. end
  6670. attack = false
  6671. hum.WalkSpeed = storehumanoidWS
  6672. end
  6673.  
  6674. function EquinoxOrbs()
  6675. hum.WalkSpeed = 0
  6676. attack = true
  6677. for i = 0,1,0.1 do
  6678. swait()
  6679. 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)),.2)
  6680. 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)
  6681. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6682. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6683. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6684. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6685. end
  6686. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6687. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6688. for i = 0, 24 do
  6689. --slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
  6690. end
  6691. bosschatfunc("TAKE THIS!",MAINRUINCOLOR.Color,1)
  6692. CFuncs["EchoSound"].Create("rbxassetid://313205954", char, 4, 1,0,10,0.15,0.5,1)
  6693. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6694. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6695. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6696. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6697. for i = 0,1,0.1 do
  6698. swait()
  6699. 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)),.2)
  6700. 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)
  6701. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6702. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6703. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6704. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6705. end
  6706. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6707. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6708. for i = 0, 24 do
  6709. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
  6710. end
  6711. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6712. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6713. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6714. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6715. for i = 0,4,0.1 do
  6716. swait()
  6717. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6718. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6719. CreateMesh(dis,"Sphere",1,1,1)
  6720. dis.Anchored = true
  6721. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6722. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6723. CreateMesh(dis2,"Sphere",1,1,1)
  6724. dis2.Anchored = true
  6725. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6726. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6727. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6728. coroutine.resume(coroutine.create(function()
  6729. swait(60)
  6730. dis.Transparency = 1
  6731. dis2.Transparency = 1
  6732. coroutine.resume(coroutine.create(function()
  6733. for i = 0, 19 do
  6734. swait()
  6735. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6736. end
  6737. hum.CameraOffset = vt(0,0,0)
  6738. end))
  6739. coroutine.resume(coroutine.create(function()
  6740. local eff = Instance.new("ParticleEmitter",dis)
  6741. eff.Texture = "rbxassetid://2273224484"
  6742. eff.LightEmission = 1
  6743. eff.Color = ColorSequence.new(dis.Color)
  6744. eff.Rate = 500000
  6745. eff.Lifetime = NumberRange.new(0.5,2)
  6746. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6747. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6748. eff.Speed = NumberRange.new(50,450)
  6749. eff.Drag = 5
  6750. eff.Rotation = NumberRange.new(-500,500)
  6751. eff.VelocitySpread = 9000
  6752. eff.RotSpeed = NumberRange.new(-50,50)
  6753. local eff2 = eff:Clone()
  6754. eff2.Parent = dis2
  6755. eff2.LightEmission = 0
  6756. eff2.Color = ColorSequence.new(dis2.Color)
  6757. wait(0.25)
  6758. eff.Enabled = false
  6759. eff2.Enabled = false
  6760. end))
  6761. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6762. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6763. for i = 0, 2 do
  6764. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.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(100,300)/250,dis.BrickColor)
  6765. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.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(100,300)/250,dis2.BrickColor)
  6766. end
  6767. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6768. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6769. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6770. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6771. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6772. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6773. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6774. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6775. end))
  6776. game:GetService("Debris"):AddItem(dis, 5)
  6777. game:GetService("Debris"):AddItem(dis2, 5)
  6778. 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)),.2)
  6779. 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)
  6780. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6781. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6782. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6783. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6784. end
  6785. attack = false
  6786. hum.WalkSpeed = storehumanoidWS
  6787. end
  6788.  
  6789. function FallenDEMISE()
  6790. attack = true
  6791. hum.WalkSpeed = 0
  6792. local keptcolor = MAINRUINCOLOR
  6793. bosschatfunc("HOW ABOUT THIS!?",MAINRUINCOLOR.Color,3)
  6794. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6795. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6796. for i = 0, 15, 0.1 do
  6797. swait()
  6798. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6799. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6800. local at1 = Instance.new("Attachment",dis)
  6801. at1.Position = vt(-25000,0,0)
  6802. local at2 = Instance.new("Attachment",dis)
  6803. at2.Position = vt(25000,0,0)
  6804. local trl = Instance.new('Trail',dis)
  6805. trl.Attachment0 = at1
  6806. trl.FaceCamera = true
  6807. trl.Attachment1 = at2
  6808. trl.Texture = "rbxassetid://1049219073"
  6809. trl.LightEmission = 1
  6810. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6811. trl.Color = ColorSequence.new(dis.Color)
  6812. trl.Lifetime = 5
  6813. local bv = Instance.new("BodyVelocity")
  6814. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6815. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6816. bv.Parent = dis
  6817. game:GetService("Debris"):AddItem(dis, 1)
  6818. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6819. 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("Toothpaste"))
  6820. 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("Deep orange"))
  6821. 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(-35)),.1)
  6822. 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(35)),.1)
  6823. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6824. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6825. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6826. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6827. end
  6828. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6829. for i = 0, 30, 0.1 do
  6830. swait()
  6831. coroutine.resume(coroutine.create(function()
  6832. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6833. if v:FindFirstChild('Head') then
  6834. dmg(v)
  6835. end
  6836. end
  6837. end))
  6838. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6839. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6840. local at1 = Instance.new("Attachment",dis)
  6841. at1.Position = vt(-50000,0,0)
  6842. local at2 = Instance.new("Attachment",dis)
  6843. at2.Position = vt(50000,0,0)
  6844. local trl = Instance.new('Trail',dis)
  6845. trl.Attachment0 = at1
  6846. trl.FaceCamera = true
  6847. trl.Attachment1 = at2
  6848. trl.Texture = "rbxassetid://1049219073"
  6849. trl.LightEmission = 1
  6850. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6851. trl.Color = ColorSequence.new(dis.Color)
  6852. trl.Lifetime = 10
  6853. local bv = Instance.new("BodyVelocity")
  6854. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6855. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6856. bv.Parent = dis
  6857. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6858. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6859. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6860. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
  6861. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
  6862. slash(math.random(50,100)/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(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
  6863. slash(math.random(50,100)/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(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
  6864. for i = 0, 2 do
  6865. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MAINRUINCOLOR)
  6866. end
  6867. 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(-35)),.1)
  6868. 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(35)),.1)
  6869. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6870. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6871. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6872. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6873. end
  6874. attack = false
  6875. hum.WalkSpeed = storehumanoidWS
  6876. end
  6877.  
  6878. function EightBitMegaBlade()
  6879. attack = true
  6880. hum.WalkSpeed = 0
  6881. hum.JumpPower = 0
  6882. CFuncs["Sound"].Create("rbxassetid://1368583274", larm, 4.5, 1.2)
  6883. local OverCut = false
  6884. cam.CameraSubject = Humanoid
  6885. cam.CameraType = "Scriptable"
  6886. coroutine.resume(coroutine.create(function()
  6887. while true do
  6888. swait()
  6889. if OverCut == false then
  6890. cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(1, 1.5, -6) * ceuler(math.rad(10), math.rad(170), math.rad(-20)), 0.1)
  6891. else
  6892. break
  6893. end
  6894. end
  6895. end))
  6896. for i = 0, 10, 0.1 do
  6897. swait()
  6898. 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.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  6899. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.1,-0.01,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6900. slash(math.random(20,40)/10,5,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.025,0.001,0.025),-0.025,BrickColor.new("White"))
  6901. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
  6902. 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(30),math.rad(3)),.3)
  6903. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  6904. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(5),math.rad(50)),.3)
  6905. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
  6906. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(170),math.rad(10),math.rad(0)),.3)
  6907. end
  6908. OverCut = true
  6909. local orb = Instance.new("Part", char)
  6910. orb.Anchored = true
  6911. orb.BrickColor = BrickColor.new("Toothpaste")
  6912. orb.CanCollide = false
  6913. orb.FormFactor = 3
  6914. orb.Name = "Ring"
  6915. orb.Material = "Neon"
  6916. orb.Size = Vector3.new(1, 1, 1)
  6917. orb.Transparency = 0.5
  6918. orb.TopSurface = 0
  6919. orb.BottomSurface = 0
  6920. local orbm = Instance.new("SpecialMesh", orb)
  6921. orbm.MeshType = "FileMesh"
  6922. orbm.MeshId = "rbxassetid://361629844"
  6923. orbm.Scale = vt(30,60,60)
  6924. orb.CFrame = root.CFrame*CFrame.new(0,50,0)
  6925. for i = 0, 24 do
  6926. slash(math.random(10,30)/10,5,true,"Round","Add","Out",orb.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.001,0.1),math.random(50,400)/420,BrickColor.new("White"))
  6927. end
  6928. sphere2(2,"Add",orb.CFrame,vt(10,10,10),0.5,0.5,0.5,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6929. sphere2(3,"Add",orb.CFrame,vt(10,10,10),0.75,0.75,0.75,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6930. sphere2(4,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  6931. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 7.5, 1)
  6932. local a = Instance.new("Part",workspace)
  6933. a.Name = "Direction"
  6934. a.Anchored = true
  6935. a.Transparency = 1
  6936. a.CanCollide = false
  6937. local ray = Ray.new(
  6938. orb.CFrame.p, -- origin
  6939. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6940. )
  6941. local ignore = orb
  6942. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6943. a.BottomSurface = 10
  6944. a.TopSurface = 10
  6945. local distance = (orb.CFrame.p - position).magnitude
  6946. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6947. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6948. orb.CFrame = a.CFrame
  6949. for i = 0, 8, 0.1 do
  6950. swait()
  6951. sphere2(5,"Add",orb.CFrame*CFrame.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  6952. ray = Ray.new(
  6953. orb.CFrame.p, -- origin
  6954. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6955. )
  6956. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6957. distance = (orb.CFrame.p - position).magnitude
  6958. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6959. orb.CFrame = a.CFrame
  6960. 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.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  6961. cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(20, 65, 55) * ceuler(math.rad(-20), math.rad(0), math.rad(10)), 0.2)
  6962. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
  6963. 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(40),math.rad(3)),.3)
  6964. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  6965. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.3)
  6966. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-20),math.rad(20)),.3)
  6967. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(100),math.rad(0),math.rad(60)),.3)
  6968. end
  6969. cam.CameraType = "Custom"
  6970. orb.Anchored = false
  6971. a:Destroy()
  6972. local bv = Instance.new("BodyVelocity")
  6973. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6974. bv.velocity = orb.CFrame.lookVector*250
  6975. bv.Parent = orb
  6976. local hitted = false
  6977. CFuncs["Sound"].Create("rbxassetid://466493476", orb, 7.5, 0.7)
  6978. waveEff(2,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.1,BrickColor.new("Cyan"))
  6979. waveEff(4,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.05,BrickColor.new("Royal purple"))
  6980. coroutine.resume(coroutine.create(function()
  6981. while true do
  6982. swait(2)
  6983. if hitted == false and orb.Parent ~= nil then
  6984. slash(3,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.075,0.005,0.075),-0.05,BrickColor.new("White"))
  6985. elseif hitted == true and orb.Parent == nil then
  6986. break
  6987. end
  6988. end
  6989. end))
  6990. orb.Touched:connect(function(hit)
  6991. if hitted == false and hit.Parent ~= char then
  6992. hitted = true
  6993. MagniDamage(orb, 30, 72,95, 0, "Normal",153092213)
  6994. CFuncs["Sound"].Create("rbxassetid://763717897", orb, 10, 1)
  6995. CFuncs["Sound"].Create("rbxassetid://1295446488", orb, 9, 0.75)
  6996. for i = 0, 24 do
  6997. slash(math.random(15,30)/10,5,true,"Round","Add","Out",orb.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.001,0.01),math.random(125,250)/400,BrickColor.new("White"))
  6998. end
  6999. slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.015,0.01),1.5,BrickColor.new("White"))
  7000. slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.01,0.01),2,BrickColor.new("White"))
  7001. sphere2(1,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  7002. sphere2(1.5,"Add",orb.CFrame,vt(10,10,10),1.1,1.1,1.1,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  7003. sphere2(2,"Add",orb.CFrame,vt(10,10,10),1.2,1.2,1.2,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  7004. orb.Anchored = true
  7005. orb.Transparency = 1
  7006. coroutine.resume(coroutine.create(function()
  7007. for i = 0, 4, 0.1 do
  7008. swait()
  7009. slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.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.015,0.01),1.5,BrickColor.new("Royal purple"))
  7010. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  7011. end
  7012. hum.CameraOffset = vt(0,0,0)
  7013. end))
  7014. wait(10)
  7015. orb:Destroy()
  7016. end
  7017. end)
  7018. game:GetService("Debris"):AddItem(orb, 10)
  7019. for i = 0, 2, 0.1 do
  7020. swait()
  7021. 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.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  7022. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
  7023. 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(30),math.rad(3)),.3)
  7024. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  7025. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  7026. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
  7027. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-80)),.3)
  7028. end
  7029. attack = false
  7030. hum.WalkSpeed = 24
  7031. hum.JumpPower = 50
  7032. end
  7033.  
  7034. function BladeSpinAgain()
  7035. attack = true
  7036. hum.WalkSpeed = 4
  7037. hum.JumpPower = 0
  7038. CFuncs["Sound"].Create("rbxassetid://1368598393", rarmor, 2, 1)
  7039. CFuncs["Sound"].Create("rbxassetid://1368583274", rarmor, 2.5, 1)
  7040. for x = 0, 9 do
  7041. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  7042. CFuncs["Sound"].Create("rbxassetid://200633108", rarmor, 2, 1.05)
  7043. CFuncs["Sound"].Create("rbxassetid://234365573", rarmor, 2.5, 1.025)
  7044. for i = 0, 1, 0.6 do
  7045. swait()
  7046. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  7047. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  7048. 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.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  7049. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  7050. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7051. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  7052. 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(30),math.rad(0)),.2)
  7053. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  7054. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  7055. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  7056. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  7057. end
  7058. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  7059. for i = 0, 1, 0.6 do
  7060. swait()
  7061. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  7062. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  7063. 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.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  7064. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  7065. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7066. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  7067. 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(30),math.rad(0)),.2)
  7068. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  7069. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  7070. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  7071. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  7072. end
  7073. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  7074. for i = 0, 1, 0.6 do
  7075. swait()
  7076. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  7077. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  7078. 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.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  7079. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  7080. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7081. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  7082. 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(30),math.rad(0)),.2)
  7083. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  7084. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  7085. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  7086. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  7087. end
  7088. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  7089. for i = 0, 1, 0.6 do
  7090. swait()
  7091. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  7092. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  7093. 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.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  7094. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  7095. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7096. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  7097. 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(30),math.rad(0)),.2)
  7098. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  7099. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  7100. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  7101. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  7102. end
  7103. local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  7104. hitb.Anchored = true
  7105. hitb.CFrame = root.CFrame + root.CFrame.lookVector*8
  7106. hitb.CFrame = hitb.CFrame*CFrame.new(0,1,0)
  7107. MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213)
  7108. sphere2(5,"Add",hitb.CFrame,vt(2.1,2.1,2),-0.02,-0.02,5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  7109. sphere2(5,"Add",hitb.CFrame,vt(2,2,2),-0.02,-0.02,4,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  7110. for i = 0, 24 do
  7111. slash(math.random(20,100)/10,5,true,"Round","Add","Out",hitb.CFrame*CFrame.new(0,0,math.random(-60,60))*CFrame.Angles(math.rad(90),0,0),vt(0.01,0.01,0.01),math.random(10,100)/1000,BrickColor.new("White"))
  7112. end
  7113. CFuncs["Sound"].Create("rbxassetid://313205954", root, 4,1)
  7114. CFuncs["Sound"].Create("rbxassetid://1368637781", rarmor, 4,1)
  7115. CFuncs["Sound"].Create("rbxassetid://763718160", rarmor, 5, 1.1)
  7116. CFuncs["Sound"].Create("rbxassetid://782353443", rarmor, 6, 1)
  7117. --CFuncs["Sound"].Create("rbxassetid://1548538202", rarmor, 4,1)
  7118. for i = 0, 2, 0.1 do
  7119. swait()
  7120. MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213)
  7121. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  7122. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-20),math.rad(-10)),.9)
  7123. 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),math.rad(0)),.9)
  7124. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.9)
  7125. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-80)),.9)
  7126. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(70)),.9)
  7127. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-60)),.9)
  7128. end
  7129. hum.CameraOffset = vt(0,0,0)
  7130. hitb:Destroy()
  7131. attack = false
  7132. hum.WalkSpeed = 24
  7133. hum.JumpPower = 50
  7134. end
  7135.  
  7136. function SpinnyBlade()
  7137. attack = true
  7138. hum.WalkSpeed = 1
  7139. hum.JumpPower = 0
  7140. CFuncs["Sound"].Create("rbxassetid://1368583274", root, 4.5, 1)
  7141. local bgui = Instance.new("BillboardGui",root)
  7142. bgui.Size = UDim2.new(25, 0, 25, 0)
  7143. local imgc = Instance.new("ImageLabel",bgui)
  7144. imgc.BackgroundTransparency = 1
  7145. imgc.ImageTransparency = 1
  7146. imgc.Size = UDim2.new(1,0,1,0)
  7147. imgc.Image = "rbxassetid://997291547"
  7148. imgc.ImageColor3 = Color3.new(0,0.5,1)
  7149. local imgc2 = imgc:Clone()
  7150. imgc2.Parent = bgui
  7151. imgc2.Position = UDim2.new(-0.5,0,-0.5,0)
  7152. imgc2.Size = UDim2.new(2,0,2,0)
  7153. imgc2.ImageColor3 = Color3.new(0.5,0,1)
  7154. for i = 0, 10, 0.1 do
  7155. swait()
  7156. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  7157. imgc.Rotation = imgc.Rotation + 1
  7158. imgc2.ImageTransparency = imgc2.ImageTransparency - 0.01
  7159. imgc2.Rotation = imgc2.Rotation - 1
  7160. bgui.Size = bgui.Size - UDim2.new(0.25, 0, 0.25, 0)
  7161. slash(math.random(50,100)/10,5,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.1,0.01,0.1),math.random(25,50)/250,BrickColor.new("White"))
  7162. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  7163. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  7164. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  7165. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  7166. waveEff(5,"Add","In",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(15,0.25,15),-0.075,0.05,BrickColor.new("White"))
  7167. RH.C0=clerp(RH.C0,cf(1,-0.5,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-40),math.rad(10)),.2)
  7168. 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)),.2)
  7169. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.3)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  7170. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  7171. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.65)*angles(math.rad(100),math.rad(0),math.rad(-23)),.3)
  7172. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(110),math.rad(0),math.rad(-85)),.3)
  7173. end
  7174. imgc.ImageTransparency = 1
  7175. hum.CameraOffset = vt(0,0,0)
  7176. waveEff(2,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.8,BrickColor.new("White"))
  7177. waveEff(3,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.4,BrickColor.new("White"))
  7178. waveEff(4,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.2,BrickColor.new("White"))
  7179. waveEff(5,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.1,BrickColor.new("White"))
  7180. waveEff(6,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.05,BrickColor.new("White"))
  7181. for i = 0, 9 do
  7182. slash(math.random(10,25)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,0,math.random(-30,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.1,0.01,0.1),math.random(75,250)/250,BrickColor.new("White"))
  7183. end
  7184. CFuncs["Sound"].Create("rbxassetid://430315987", root, 1.5, 1)
  7185. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 3, 1)
  7186. for x = 0, 14 do
  7187. CFuncs["Sound"].Create("rbxassetid://200633281", rarmor, 1, 1.05)
  7188. CFuncs["Sound"].Create("rbxassetid://161006195", rarmor, 1.5, 1.025)
  7189. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  7190. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  7191. slash(5,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  7192. for i = 0, 1, 0.6 do
  7193. swait()
  7194. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  7195. root.CFrame = root.CFrame + root.CFrame.lookVector*2
  7196. root.Velocity = vt(0,0,0)
  7197. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  7198. 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),math.rad(0)),.2)
  7199. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  7200. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  7201. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7202. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7203. end
  7204. slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  7205. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  7206. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  7207. for i = 0, 1, 0.6 do
  7208. swait()
  7209. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  7210. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  7211. root.Velocity = vt(0,0,0)
  7212. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  7213. 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),math.rad(0)),.2)
  7214. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7215. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  7216. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7217. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7218. end
  7219. slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  7220. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  7221. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  7222. for i = 0, 1, 0.6 do
  7223. swait()
  7224. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  7225. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  7226. root.Velocity = vt(0,0,0)
  7227. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  7228. 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),math.rad(0)),.2)
  7229. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(180),math.rad(0),math.rad(90)),.3)
  7230. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  7231. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7232. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7233. end
  7234. slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  7235. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  7236. MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  7237. for i = 0, 1, 0.6 do
  7238. swait()
  7239. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  7240. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  7241. root.Velocity = vt(0,0,0)
  7242. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  7243. 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),math.rad(0)),.2)
  7244. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(270),math.rad(0),math.rad(90)),.3)
  7245. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  7246. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7247. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  7248. end
  7249. end
  7250. hum.WalkSpeed = 0
  7251. for i = 0, 5, 0.1 do
  7252. swait()
  7253. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.2)
  7254. LH.C0=clerp(LH.C0,cf(-1,-0.6,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(20),math.rad(-12)),.2)
  7255. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.35)*angles(math.rad(10),math.rad(0),math.rad(-40)),.2)
  7256. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(40)),.2)
  7257. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(110)),.2)
  7258. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(45),math.rad(0),math.rad(-20)),.2)
  7259. end
  7260. bgui:Destroy()
  7261. attack = false
  7262. hum.WalkSpeed = 24
  7263. hum.JumpPower = 50
  7264. end
  7265. end
  7266.  
  7267. function GleamingBeam()
  7268. attack = true
  7269. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7270. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7271. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7272. local rsiz = math.random(1,15)
  7273. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7274. hb.Anchored = true
  7275. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7276. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7277. for i = 0, 16, 0.1 do
  7278. swait()
  7279. rsiz = math.random(5,15)
  7280. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7281. sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)
  7282. sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR)
  7283. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7284. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7285. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  7286. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7287. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7288. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7289. end
  7290. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7291. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7292. for i = 0, 2 do
  7293. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7294. end
  7295. sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7296. sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7297. sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7298. for i = 0, 49 do
  7299. local rsiza = math.random(1,15)
  7300. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  7301. end
  7302. local a = Instance.new("Part",Character)
  7303. a.Name = "Direction"
  7304. a.Anchored = true
  7305. a.BrickColor = MAINRUINCOLOR
  7306. a.Material = "Neon"
  7307. a.Transparency = 0
  7308. a.Shape = "Cylinder"
  7309. a.CanCollide = false
  7310. local ba = Instance.new("Part",Character)
  7311. ba.Name = "HitDirect"
  7312. ba.Anchored = true
  7313. ba.BrickColor = bc("Cool yellow")
  7314. ba.Material = "Neon"
  7315. ba.Transparency = 1
  7316. ba.CanCollide = false
  7317. local ray = Ray.new(
  7318. hb.CFrame.p, -- origin
  7319. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7320. )
  7321. local ignore = Character
  7322. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7323. a.BottomSurface = 10
  7324. a.TopSurface = 10
  7325. local distance = (hb.CFrame.p - position).magnitude
  7326. a.Size = Vector3.new(distance, 1, 1)
  7327. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7328. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7329. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7330. local msh = Instance.new("SpecialMesh",a)
  7331. msh.MeshType = "Cylinder"
  7332. msh.Scale = vt(1,4,4)
  7333. game:GetService("Debris"):AddItem(a, 30)
  7334. game:GetService("Debris"):AddItem(ba, 30)
  7335. for i = 0, 25, 0.1 do
  7336. swait()
  7337. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7338. ray = Ray.new(
  7339. hb.CFrame.p, -- origin
  7340. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7341. )
  7342. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7343. distance = (hb.CFrame.p - position).magnitude
  7344. a.Size = Vector3.new(distance, 1, 1)
  7345. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7346. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7347. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7348. rsiz = math.random(5,25)
  7349. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  7350. sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,0)
  7351. for c = 0, 2 do
  7352. sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,2)
  7353. end
  7354. sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  7355. sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR)
  7356. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  7357. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
  7358. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(80)),.6)
  7359. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  7360. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  7361. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  7362. end
  7363. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  7364. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  7365. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  7366. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  7367. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  7368. sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7369. sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7370. sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7371. sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7372. sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7373. sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7374. for i = 0, 49 do
  7375. local rsiza = math.random(1,15)
  7376. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  7377. end
  7378. for i = 0, 49 do
  7379. rsiz = math.random(1,8)
  7380. sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,MAINRUINCOLOR,2)
  7381. end
  7382. coroutine.resume(coroutine.create(function()
  7383. for i = 0, 99 do
  7384. swait()
  7385. a.Transparency = a.Transparency + 0.01
  7386. end
  7387. a:Destroy()
  7388. ba:Destroy()
  7389. end))
  7390. hb:Destroy()
  7391. attack = false
  7392. end
  7393.  
  7394. function SHDTwist()
  7395. attack = true
  7396. hum.WalkSpeed = 2
  7397. local radm = math.random(1,4)
  7398. if radm == 1 then
  7399. bosschatfunc("YOU FOOL!",MAINRUINCOLOR.Color,1)
  7400. elseif radm == 2 then
  7401. bosschatfunc("SUBMIT TO ME!",MAINRUINCOLOR.Color,1)
  7402. elseif radm == 3 then
  7403. bosschatfunc("DIE!",MAINRUINCOLOR.Color,1)
  7404. elseif radm == 4 then
  7405. bosschatfunc("YOU DARE FIGHT ME?",MAINRUINCOLOR.Color,1)
  7406. end
  7407. CFuncs["EchoSound"].Create("rbxassetid://1448033299", rarm, 1.5,1.25)
  7408. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  7409. local obj1 = script.chring2:Clone()
  7410. obj1.Parent = char
  7411. obj1.Transparency = 1
  7412. obj1.Size = vt(1,1,1)
  7413. obj1.Color = BrickColor.new("Pink").Color
  7414. local obj2 = script.spball:Clone()
  7415. obj2.Parent = char
  7416. obj2.Transparency = 1
  7417. obj2.Size = vt(1,1,1)
  7418. obj2.Color = MAINRUINCOLOR.Color
  7419. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7420. cfor.Anchored = true
  7421. cfor.CFrame = obj2.CFrame
  7422. local cef = Instance.new("ParticleEmitter",cfor)
  7423. cef.Texture = "rbxassetid://2344870656"
  7424. cef.LightEmission = 1
  7425. cef.Color = ColorSequence.new(obj2.Color)
  7426. cef.Rate = 150
  7427. cef.Lifetime = NumberRange.new(0.25)
  7428. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  7429. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7430. cef.Speed = NumberRange.new(0)
  7431. local rval = 0
  7432. local eval = 1
  7433. for i = 0,7,0.1 do
  7434. swait()
  7435. rval = rval + math.random(30,40)
  7436. eval = eval + 0.45
  7437. obj1.Transparency = obj1.Transparency - 0.005
  7438. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  7439. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  7440. obj2.Transparency = obj2.Transparency - 0.007
  7441. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  7442. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  7443. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  7444. cfor.CFrame = obj2.CFrame
  7445. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7446. sphere2(10,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.15,-0.01,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7447. 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 / 32))),.3)
  7448. 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 + 2 * math.cos(sine / 32))),.3)
  7449. 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(-50)),.3)
  7450. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2 * math.cos(sine / 37)),math.rad(10 + 1 * math.cos(sine / 58)),math.rad(50 + 2 * math.cos(sine / 53))),.3)
  7451. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(5 + 2 * math.cos(sine / 45))),.3)
  7452. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-50 - 4 * math.cos(sine / 45))),.3)
  7453. end
  7454. cef.Enabled = false
  7455. coroutine.resume(coroutine.create(function()
  7456. for i = 0,49 do
  7457. swait()
  7458. rval = rval + 100
  7459. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  7460. obj2.Transparency = obj2.Transparency + 0.02
  7461. obj2.Size = obj2.Size + vt(5,5,5)
  7462. obj1.Transparency = obj1.Transparency + 0.02
  7463. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  7464. end
  7465. obj1:Destroy()
  7466. obj2:Destroy()
  7467. cfor:Destroy()
  7468. end))
  7469. local lva = 1
  7470. local ica = 0
  7471. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7472. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  7473. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  7474. sphere2(2,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7475. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7476.  
  7477. local a = Instance.new("Part",workspace)
  7478. a.Name = "Direction"
  7479. a.Anchored = true
  7480. a.BrickColor = bc("Bright red")
  7481. a.Material = "Neon"
  7482. a.Transparency = 1
  7483. a.CanCollide = false
  7484. local ray = Ray.new(
  7485. cent.CFrame.p, -- origin
  7486. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  7487. )
  7488. local ignore = cent
  7489. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7490. a.BottomSurface = 10
  7491. a.TopSurface = 10
  7492. local distance = (cent.CFrame.p - position).magnitude
  7493. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7494. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  7495. cent.CFrame = a.CFrame
  7496. a:Destroy()
  7497. local bv = Instance.new("BodyVelocity")
  7498. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7499. bv.velocity = cent.CFrame.lookVector*0
  7500. bv.Parent = cent
  7501. game:GetService("Debris"):AddItem(cent, 20)
  7502. local hitted = false
  7503. coroutine.resume(coroutine.create(function()
  7504. while true do
  7505. swait(1)
  7506. if hitted == false and cent.Parent ~= nil then
  7507. ica = ica + 4*lva
  7508. lva = lva + 0.1
  7509. bv.velocity = cent.CFrame.lookVector*ica
  7510. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  7511. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,-5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pink"))
  7512. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pastel light blue"))
  7513. elseif hitted == true or cent.Parent == nil then
  7514. break
  7515. end
  7516. end
  7517. end))
  7518. coroutine.resume(coroutine.create(function()
  7519. cent.Touched:connect(function(hit)
  7520. if hitted == false and hit.Parent ~= char then
  7521. hitted = true
  7522. cent.Anchored = true
  7523. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  7524. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  7525. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  7526. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  7527. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  7528. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7529. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7530. for i = 0, 19 do
  7531. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.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(200,400)/250,BrickColor.new("Pink"))
  7532. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.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(150,300)/250,BrickColor.new("Pastel light blue"))
  7533. end
  7534. coroutine.resume(coroutine.create(function()
  7535. local eff = Instance.new("ParticleEmitter",cent)
  7536. eff.Texture = "rbxassetid://2344870656"
  7537. eff.LightEmission = 1
  7538. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  7539. eff.Rate = 10000000
  7540. eff.Enabled = true
  7541. --eff.EmissionDirection = "Front"
  7542. eff.Lifetime = NumberRange.new(5)
  7543. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,60,0),NumberSequenceKeypoint.new(1,80,0)})
  7544. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7545. eff.Speed = NumberRange.new(350)
  7546. eff.Drag = 5
  7547. eff.Rotation = NumberRange.new(-500,500)
  7548. eff.SpreadAngle = Vector2.new(0,900)
  7549. eff.RotSpeed = NumberRange.new(-500,500)
  7550. local eff2 = eff:Clone()
  7551. eff2.Parent = cent
  7552. eff2.Speed = NumberRange.new(250)
  7553. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  7554. wait(0.2)
  7555. eff.Enabled = false
  7556. eff2.Enabled = false
  7557. end))
  7558. end
  7559. end)
  7560. end))
  7561. attack = false
  7562. hum.WalkSpeed = storehumanoidWS
  7563. end
  7564.  
  7565. function dragin()
  7566. local targetted = nil
  7567. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7568. targetted = mouse.Target.Parent
  7569. end
  7570. if targetted ~= nil then
  7571. RootPart.CFrame = FaceMouse()[1]
  7572. attack = true
  7573. hum.WalkSpeed = 0
  7574. for x = 0, 1 do
  7575. for i = 0,1,0.5 do
  7576. swait()
  7577. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  7578. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  7579. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  7580. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7581. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7582. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  7583. end
  7584. for i = 0,1,0.5 do
  7585. swait()
  7586. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  7587. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  7588. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  7589. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7590. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7591. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  7592. end
  7593. for i = 0,1,0.5 do
  7594. swait()
  7595. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  7596. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  7597. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  7598. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7599. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7600. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  7601. end
  7602. for i = 0,1,0.5 do
  7603. swait()
  7604. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  7605. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  7606. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7607. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  7608. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  7609. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  7610. end
  7611. end
  7612. coroutine.resume(coroutine.create(function()
  7613. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  7614. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  7615. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  7616. end))
  7617. local A1 = Instance.new("Attachment",targetted.Head)
  7618. local A2 = Instance.new("Attachment",sorb)
  7619. local Beem = Instance.new("Beam",tors)
  7620. Beem.Attachment0 = A1
  7621. Beem.Attachment1 = A2
  7622. Beem.Texture = "rbxassetid://897585362"
  7623. Beem.LightEmission = 0.75
  7624. Beem.FaceCamera = true
  7625. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  7626. Beem.Width0 = 1
  7627. Beem.Width1 = 1
  7628. Beem.TextureMode = "Wrap"
  7629. Beem.TextureLength = 1
  7630. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7631. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),0.15,0.15,0.15,MAINRUINCOLOR)
  7632. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),0.2,0.2,0.2,MAINRUINCOLOR)
  7633. for x = 0, 24 do
  7634. local rsiz = math.random(5,15)
  7635. sphereMK(math.random(1,5),0.25,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  7636. end
  7637.  
  7638. CFuncs["EchoSound"].Create("rbxassetid://131228548", char, 7, 1,0,10,0.15,0.5,1)
  7639. CFuncs["EchoSound"].Create("rbxassetid://131228548", root, 60, 1,0,10,0.15,0.5,1)
  7640. local radm = math.random(1,2)
  7641. if radm == 1 then
  7642. bosschatfunc("GET OVER HERE!",MAINRUINCOLOR.Color,1)
  7643. elseif radm == 2 then
  7644. bosschatfunc("CMERE!!",MAINRUINCOLOR.Color,1)
  7645. end
  7646. for i = 0,3,0.1 do
  7647. swait()
  7648. coroutine.resume(coroutine.create(function()
  7649. local rsiz = math.random(5,15)
  7650. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  7651. sphereMK(math.random(1,5),0.01,"Add",targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  7652. end))
  7653. sphere2(8,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR)
  7654. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  7655. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  7656. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  7657. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  7658. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(50)),.6)
  7659. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.6)
  7660. end
  7661. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  7662. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  7663. local vel = Instance.new("BodyPosition", targetted.Head)
  7664. vel.P = 12500
  7665. vel.D = 1000
  7666. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7667. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  7668. for i = 0,4,0.1 do
  7669. swait()
  7670. coroutine.resume(coroutine.create(function()
  7671. local rsiz = math.random(5,15)
  7672. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  7673. sphereMK(math.random(1,5),0.01,"Add",targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  7674. end))
  7675. sphere2(8,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR)
  7676. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7677. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.2)
  7678. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  7679. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  7680. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.2)
  7681. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.2)
  7682. end
  7683. local visibility = 0
  7684. coroutine.resume(coroutine.create(function()
  7685. for i = 0, 49 do
  7686. swait()
  7687. visibility = visibility + 0.02
  7688. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  7689. end
  7690. Beem:Destroy()
  7691. A1:Destroy()
  7692. A2:Destroy()
  7693. end))
  7694. game:GetService("Debris"):AddItem(vel,0.75)
  7695. attack = false
  7696. hum.WalkSpeed = storehumanoidWS
  7697.  
  7698. end
  7699. end
  7700.  
  7701. function DualGleamingBeam()
  7702. attack = true
  7703. hum.WalkSpeed = 0
  7704. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  7705. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  7706. local radm = math.random(1,3)
  7707. if radm == 1 then
  7708. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  7709. elseif radm == 2 then
  7710. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  7711. elseif radm == 3 then
  7712. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  7713. end
  7714. local rsiz = math.random(1,15)
  7715. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7716. hb.Anchored = true
  7717. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7718. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7719. hb2.Anchored = true
  7720. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7721. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7722. CFuncs["Sound"].Create("rbxassetid://138677306", sorb, 8,0.25)
  7723. for i = 0, 14, 0.1 do
  7724. swait()
  7725. rsiz = math.random(5,15)
  7726. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7727. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  7728. sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)
  7729. sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR)
  7730. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(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("Lime green"),-15)
  7731. sphere2(5,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,BrickColor.new("Lime green"))
  7732. 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(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  7733. 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(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  7734. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7735. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  7736. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  7737. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  7738. end
  7739. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7740. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7741. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  7742. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  7743. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  7744. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  7745. sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7746. sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7747. sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7748. sphere2(3,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  7749. sphere2(6,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  7750. sphere2(9,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  7751. for i = 0, 49 do
  7752. local rsiza = math.random(1,15)
  7753. sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  7754. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  7755. end
  7756. local a = Instance.new("Part",Character)
  7757. a.Name = "Direction"
  7758. a.Anchored = true
  7759. a.BrickColor = MAINRUINCOLOR
  7760. a.Material = "Neon"
  7761. a.Transparency = 0
  7762. a.Shape = "Cylinder"
  7763. a.CanCollide = false
  7764. local a2 = Instance.new("Part",Character)
  7765. a2.Name = "Direction"
  7766. a2.Anchored = true
  7767. a2.BrickColor = MAINRUINCOLOR
  7768. a2.Material = "Neon"
  7769. a2.Transparency = 0
  7770. a2.Shape = "Cylinder"
  7771. a2.CanCollide = false
  7772. local ba = Instance.new("Part",Character)
  7773. ba.Name = "HitDirect"
  7774. ba.Anchored = true
  7775. ba.BrickColor = MAINRUINCOLOR
  7776. ba.Material = "Neon"
  7777. ba.Transparency = 1
  7778. ba.CanCollide = false
  7779. local ba2 = Instance.new("Part",Character)
  7780. ba2.Name = "HitDirect"
  7781. ba2.Anchored = true
  7782. ba2.BrickColor = MAINRUINCOLOR
  7783. ba2.Material = "Neon"
  7784. ba2.Transparency = 1
  7785. ba2.CanCollide = false
  7786. local ray = Ray.new(
  7787. hb.CFrame.p, -- origin
  7788. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7789. )
  7790. local ignore = Character
  7791. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7792. local ray2 = Ray.new(
  7793. hb2.CFrame.p, -- origin
  7794. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  7795. )
  7796. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  7797. local distance2 = (hb2.CFrame.p - position).magnitude
  7798.  
  7799. a.BottomSurface = 10
  7800. a.TopSurface = 10
  7801. local distance = (hb.CFrame.p - position).magnitude
  7802. a.Size = Vector3.new(distance, 1, 1)
  7803. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7804. a2.BottomSurface = 10
  7805. a2.TopSurface = 10
  7806. a2.Size = Vector3.new(distance2, 1, 1)
  7807. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  7808. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7809. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  7810. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7811. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7812. local msh = Instance.new("SpecialMesh",a)
  7813. msh.MeshType = "Cylinder"
  7814. msh.Scale = vt(1,4,4)
  7815. local msh2 = Instance.new("SpecialMesh",a2)
  7816. msh2.MeshType = "Cylinder"
  7817. msh2.Scale = vt(1,4,4)
  7818. game:GetService("Debris"):AddItem(a, 30)
  7819. game:GetService("Debris"):AddItem(a2, 30)
  7820. game:GetService("Debris"):AddItem(ba, 30)
  7821. game:GetService("Debris"):AddItem(ba2, 30)
  7822. for i = 0, 20, 0.1 do
  7823. swait()
  7824. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7825. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  7826. ray = Ray.new(
  7827. hb.CFrame.p, -- origin
  7828. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  7829. )
  7830. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7831. distance = (hb.CFrame.p - position).magnitude
  7832. ray2 = Ray.new(
  7833. hb2.CFrame.p, -- origin
  7834. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  7835. )
  7836. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  7837. distance2 = (hb2.CFrame.p - position).magnitude
  7838. a.Size = Vector3.new(distance, 1, 1)
  7839. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7840. a2.Size = Vector3.new(distance2, 1, 1)
  7841. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  7842. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7843. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  7844. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7845. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7846. rsiz = math.random(5,25)
  7847. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  7848. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  7849. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  7850. if v:FindFirstChild('Head') then
  7851. dmg(v)
  7852. end
  7853. end
  7854. coroutine.resume(coroutine.create(function()
  7855. local bx = Instance.new("Part",Character)
  7856. bx.Name = "Location"
  7857. bx.Anchored = true
  7858. bx.BrickColor = MAINRUINCOLOR
  7859. bx.Material = "Neon"
  7860. bx.Transparency = 1
  7861. bx.CanCollide = false
  7862. bx.Position = ba.Position
  7863. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  7864. wait(math.random(1,2))
  7865. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  7866. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  7867. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  7868. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  7869. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  7870. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  7871. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  7872. if v:FindFirstChild('Head') then
  7873. dmg(v)
  7874. end
  7875. end
  7876. wait(5)
  7877. bx:Destroy()
  7878. end))
  7879. sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
  7880. sphereMK(math.random(4,8),0.25,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
  7881. for c = 0, 2 do
  7882. sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),2)
  7883. end
  7884. sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  7885. sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR)
  7886. sphere2(5,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  7887. 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(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  7888. 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(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  7889. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.05)
  7890. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  7891. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  7892. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  7893. end
  7894. for i = 0, 1 do
  7895. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  7896. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  7897. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  7898. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  7899. end
  7900. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  7901. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  7902. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  7903. if v:FindFirstChild('Head') then
  7904. dmg(v)
  7905. end
  7906. end
  7907. sphere2(1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7908. sphere2(2,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7909. sphere2(3,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7910. sphere2(3,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7911. sphere2(6,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7912. sphere2(9,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  7913. sphere2(3,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  7914. sphere2(6,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  7915. sphere2(9,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  7916. for i = 0, 49 do
  7917. local rsiza = math.random(1,15)
  7918. sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
  7919. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
  7920. end
  7921. for i = 0, 49 do
  7922. rsiz = math.random(1,8)
  7923. sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,bc("Lime green"),2)
  7924. end
  7925. coroutine.resume(coroutine.create(function()
  7926. for i = 0, 99 do
  7927. swait()
  7928. a.Transparency = a.Transparency + 0.01
  7929. a2.Transparency = a2.Transparency + 0.01
  7930. end
  7931. a:Destroy()
  7932. ba:Destroy()
  7933. a2:Destroy()
  7934. ba2:Destroy()
  7935. end))
  7936. hum.WalkSpeed = storehumanoidWS
  7937. hb:Destroy()
  7938. hb2:Destroy()
  7939. attack = false
  7940. end
  7941.  
  7942. function Counter()
  7943. hum.WalkSpeed = 0
  7944. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  7945. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  7946. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  7947. attack = true
  7948. for i = 0,1,0.1 do
  7949. swait()
  7950. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  7951. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  7952. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  7953. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  7954. 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(10)),.3)
  7955. 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(-2.5),math.rad(0),math.rad(-10)),.3)
  7956. end
  7957. CameraEnshaking(3,4)
  7958. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  7959. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  7960. sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  7961. sphere2(20,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  7962. coroutine.resume(coroutine.create(function()
  7963. local eff = Instance.new("ParticleEmitter",root)
  7964. eff.Texture = "rbxassetid://363275192"
  7965. eff.LightEmission = 0.95
  7966. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7967. eff.Rate = 10000
  7968. eff.Lifetime = NumberRange.new(1)
  7969. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  7970. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  7971. eff.Speed = NumberRange.new(10,125)
  7972. eff.Drag = 5
  7973. eff.Rotation = NumberRange.new(-500,500)
  7974. eff.VelocitySpread = 9000
  7975. eff.RotSpeed = NumberRange.new(-50,50)
  7976. local eff2 = eff:Clone()
  7977. eff2.Parent = root
  7978. eff2.Texture = "rbxassetid://284205403"
  7979. eff2.Rate = 10000
  7980. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,30,0),NumberSequenceKeypoint.new(1,0,0)})
  7981. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  7982. eff2.Drag = 5
  7983. eff2.Speed = NumberRange.new(10,50)
  7984. eff2.Rotation = NumberRange.new(-500,500)
  7985. eff2.VelocitySpread = 9000
  7986. wait(0.25)
  7987. eff2.Enabled = false
  7988. eff.Enabled = false
  7989. wait(3)
  7990. eff2:Destroy()
  7991. eff:Destroy()
  7992. end))
  7993. for i = 0, 9 do
  7994. sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
  7995. end
  7996. for i = 0, 24 do
  7997. local rsiz = math.random(5,20)
  7998. sphereMK(math.random(2,10),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  7999. end
  8000. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8001. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8002. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8003. for i = 0,2,0.1 do
  8004. swait()
  8005. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8006. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8007. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8008. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8009. 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(-10)),.3)
  8010. 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(-2.5),math.rad(0),math.rad(10)),.3)
  8011. end
  8012. hum.WalkSpeed = storehumanoidWS
  8013. attack = false
  8014. end
  8015.  
  8016. function CyberSlash()
  8017. local posit = -2
  8018. attack = true
  8019. hum.WalkSpeed = 5
  8020. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  8021. local radm = math.random(1,3)
  8022. if radm == 1 then
  8023. bosschatfunc("Killed ez xdxd",MAINRUINCOLOR.Color,1)
  8024. elseif radm == 2 then
  8025. bosschatfunc("Don't attack the creator dude!!",MAINRUINCOLOR.Color,1)
  8026. elseif radm == 3 then
  8027. bosschatfunc("RAWR X3",MAINRUINCOLOR.Color,1)
  8028. end
  8029. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  8030. for i = 0,2,0.1 do
  8031. swait()
  8032. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  8033. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  8034. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  8035. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  8036. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  8037. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  8038. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  8039. end
  8040. for i = 0, 2 do
  8041. CameraEnshaking(1,2)
  8042. local hite = Instance.new("Part", char)
  8043. hite.Anchored = true
  8044. hite.CanCollide = false
  8045. hite.FormFactor = 3
  8046. hite.Name = "Ring"
  8047. hite.Material = "Neon"
  8048. hite.Size = Vector3.new(1, 1, 1)
  8049. hite.Transparency = 1
  8050. hite.TopSurface = 0
  8051. hite.BottomSurface = 0
  8052. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  8053. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  8054. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  8055. coroutine.resume(coroutine.create(function()
  8056. for i = 0, 1 do
  8057. swait()
  8058. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  8059. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  8060. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  8061. end
  8062. end))
  8063. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
  8064. MagniDamage(hite, 3, 30,40, 0, "Normal")
  8065. game:GetService("Debris"):AddItem(hite, 5)
  8066. posit = posit + 2
  8067. end
  8068. for i = 0,1,0.1 do
  8069. swait()
  8070. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  8071. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  8072. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  8073. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  8074. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  8075. 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(-20),math.rad(0)),.5)
  8076. 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)
  8077. end
  8078. for i = 0,1,0.1 do
  8079. swait()
  8080. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  8081. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  8082. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  8083. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  8084. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  8085. 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(-20),math.rad(30)),.5)
  8086. 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(40)),.5)
  8087. end
  8088. posit = -6
  8089. for i = 0, 6 do
  8090. CameraEnshaking(1,3)
  8091. local hite = Instance.new("Part", char)
  8092. hite.Anchored = true
  8093. hite.CanCollide = false
  8094. hite.FormFactor = 3
  8095. hite.Name = "Ring"
  8096. hite.Material = "Neon"
  8097. hite.Size = Vector3.new(1, 1, 1)
  8098. hite.Transparency = 1
  8099. hite.TopSurface = 0
  8100. hite.BottomSurface = 0
  8101. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  8102. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  8103. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  8104. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
  8105. coroutine.resume(coroutine.create(function()
  8106. for i = 0, 2 do
  8107. swait()
  8108. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  8109. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  8110. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  8111. end
  8112. end))
  8113. MagniDamage(hite, 5, 40,70, 0, "Normal")
  8114. game:GetService("Debris"):AddItem(hite, 5)
  8115. posit = posit + 2
  8116. end
  8117. for i = 0,1,0.1 do
  8118. swait()
  8119. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  8120. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  8121. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  8122. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  8123. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  8124. 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(10),math.rad(-10)),.5)
  8125. 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(60)),.5)
  8126. end
  8127. hum.WalkSpeed = storehumanoidWS
  8128. attack = false
  8129. end
  8130.  
  8131. function Beams()
  8132. attack = true
  8133. hum.WalkSpeed = 0
  8134. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  8135. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  8136. bosschatfunc("You're gone..",MAINRUINCOLOR.Color,2)
  8137. local keptcolor = MAINRUINCOLOR
  8138. coroutine.resume(coroutine.create(function()
  8139. for i = 0, 96 do
  8140. swait(5)
  8141. local orb = Instance.new("Part", char)
  8142. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  8143. orb.BrickColor = keptcolor
  8144. orb.CanCollide = false
  8145. orb.FormFactor = 3
  8146. orb.Name = "Ring"
  8147. orb.Material = "Neon"
  8148. orb.Size = Vector3.new(1, 1, 1)
  8149. orb.Transparency = 0
  8150. orb.TopSurface = 0
  8151. orb.BottomSurface = 0
  8152. orb.Anchored = true
  8153. local orbm = Instance.new("SpecialMesh", orb)
  8154. orbm.MeshType = "Sphere"
  8155. orbm.Name = "SizeMesh"
  8156. orbm.Scale = vt(1.25,1.25,1.25)
  8157. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  8158. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  8159. coroutine.resume(coroutine.create(function()
  8160. wait(0.5)
  8161. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  8162. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  8163. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  8164. orb.Transparency = 1
  8165. local a = Instance.new("Part",char)
  8166. a.Name = "Direction"
  8167. a.Anchored = true
  8168. a.BrickColor = keptcolor
  8169. a.Material = "Neon"
  8170. a.Transparency = 0.25
  8171. a.Shape = "Cylinder"
  8172. local ht = Instance.new("Part",char)
  8173. ht.Name = "DirectionHit"
  8174. ht.Anchored = true
  8175. ht.BrickColor = keptcolor
  8176. ht.CanCollide = false
  8177. ht.Transparency = 1
  8178. ht.Size = vt(0.1,0.1,0.1)
  8179. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  8180. a.CanCollide = false
  8181. local ray = Ray.new(
  8182. orb.CFrame.p, -- origin
  8183. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  8184. )
  8185. local ignore = char
  8186. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8187. a.BottomSurface = 10
  8188. a.TopSurface = 10
  8189. local distance = (orb.CFrame.p - position).magnitude
  8190. a.Size = Vector3.new(distance,1,1)
  8191. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8192. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8193. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  8194. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  8195. MagniDamage(ht, 9, 30,60, 0, "Normal")
  8196. coroutine.resume(coroutine.create(function()
  8197. local eff = Instance.new("ParticleEmitter",ht)
  8198. eff.Texture = "rbxassetid://284205403"
  8199. eff.LightEmission = 0.95
  8200. eff.Color = ColorSequence.new(keptcolor.Color)
  8201. eff.Rate = 500
  8202. eff.Lifetime = NumberRange.new(0.5)
  8203. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  8204. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8205. eff.Speed = NumberRange.new(10,50)
  8206. eff.Drag = 5
  8207. eff.Rotation = NumberRange.new(-500,500)
  8208. eff.VelocitySpread = 9000
  8209. eff.RotSpeed = NumberRange.new(-500,500)
  8210. wait(0.25)
  8211. eff.Enabled = false
  8212. end))
  8213. for i = 0, 4 do
  8214. sphere2(8,"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,1,1),-0.005,0.125,-0.005,keptcolor)
  8215. 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(2,1,2),-0.01,0.5,-0.01,keptcolor)
  8216. local rsiz = math.random(10,30)
  8217. sphereMK(math.random(2,4),0.25,"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,keptcolor,0)
  8218. end
  8219. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8220. local msh = Instance.new("SpecialMesh",a)
  8221. msh.MeshType = "Cylinder"
  8222. msh.Scale = vt(1,1,1)
  8223. for i = 0, 49 do
  8224. swait()
  8225. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  8226. a.Transparency = a.Transparency + 0.02
  8227. end
  8228. orb:Destroy()
  8229. a:Destroy()
  8230. ht:Destroy()
  8231. end))
  8232. game:GetService("Debris"):AddItem(orb, 10)
  8233. end
  8234. end))
  8235. for i = 0,6,0.1 do
  8236. swait()
  8237. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  8238. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.2 * math.cos(sine / 35))* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  8239. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  8240. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  8241. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  8242. 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 - 6 * math.cos(sine / 39))),.1)
  8243. 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 + 3 * math.cos(sine / 45))),.1)
  8244. end
  8245. hum.WalkSpeed = storehumanoidWS
  8246. attack = false
  8247. end
  8248.  
  8249. function hugg()
  8250. attack = true
  8251. hum.WalkSpeed = 5
  8252. local rsiz = math.random(5,15)
  8253. for i = 0, 2, 0.1 do
  8254. swait()
  8255. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8256. 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(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8257. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8258. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
  8259. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8260. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8261. end
  8262. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8263. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8264. hb.Anchored = true
  8265. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8266. local huggedperson = nil
  8267. local act = false
  8268. local alreadydid = false
  8269. for i = 0, 3, 0.1 do
  8270. swait()
  8271. if act == false then
  8272. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8273. if v:FindFirstChild('Head') then
  8274. if alreadydid == false then
  8275. huggedperson = v
  8276. hum.WalkSpeed = 0
  8277. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8278. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8279. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8280. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8281. local radm = math.random(1,3)
  8282. if radm == 1 then
  8283. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8284. elseif radm == 2 then
  8285. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8286. elseif radm == 3 then
  8287. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8288. end
  8289. root.Anchored = true
  8290. coroutine.resume(coroutine.create(function()
  8291. huggedperson.Humanoid.WalkSpeed = 0
  8292. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8293. end))
  8294. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8295. alreadydid = true
  8296. act = true
  8297. print(huggedperson.Name)
  8298. end
  8299. end
  8300. end
  8301. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8302. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
  8303. elseif act == true then
  8304. coroutine.resume(coroutine.create(function()
  8305. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8306. end))
  8307. rsiz = math.random(5,15)
  8308. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8309. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1)
  8310. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8311. end
  8312. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8313. 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(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8314. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8315. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8316. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8317. end
  8318. hb:Destroy()
  8319. if act == true then
  8320. for x = 0, 2 do
  8321. for i = 0, 2, 0.1 do
  8322. swait()
  8323. coroutine.resume(coroutine.create(function()
  8324. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8325. end))
  8326. rsiz = math.random(5,15)
  8327. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8328. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1)
  8329. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8330. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8331. 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(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8332. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8333. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8334. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8335. end
  8336. for i = 0, 2, 0.1 do
  8337. swait()
  8338. coroutine.resume(coroutine.create(function()
  8339. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8340. end))
  8341. rsiz = math.random(5,15)
  8342. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8343. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1)
  8344. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8345. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8346. 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(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  8347. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8348. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8349. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8350. end
  8351. end
  8352. end
  8353. hum.WalkSpeed = storehumanoidWS
  8354. root.Anchored = false
  8355. if act == true then
  8356. coroutine.resume(coroutine.create(function()
  8357. huggedperson.Humanoid.WalkSpeed = 16
  8358. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8359. end))
  8360. end
  8361. hum.WalkSpeed = storehumanoidWS
  8362. attack = false
  8363. end
  8364.  
  8365. function shytaunty()
  8366. attack = true
  8367. hum.WalkSpeed = 0
  8368. bosschatfunc("*Blushes and giggles*",MAINRUINCOLOR.Color,1)
  8369. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  8370. local blush = Instance.new("Decal",hed)
  8371. blush.Texture = "rbxassetid://898404027"
  8372. blush.Face = "Front"
  8373. for i = 0, 13, 0.1 do
  8374. swait()
  8375. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  8376. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  8377. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  8378. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  8379. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  8380. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  8381. end
  8382. coroutine.resume(coroutine.create(function()
  8383. for i = 0, 49 do
  8384. swait()
  8385. blush.Transparency = blush.Transparency + 0.02
  8386. end
  8387. blush:Destroy()
  8388. end))
  8389. hum.WalkSpeed = storehumanoidWS
  8390. attack = false
  8391. end
  8392.  
  8393. function smiter()
  8394. local targetted = nil
  8395. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8396. targetted = mouse.Target.Parent
  8397. end
  8398. if targetted ~= nil then
  8399. RootPart.CFrame = FaceMouse()[1]
  8400. attack = true
  8401. local radm = math.random(1,3)
  8402. if radm == 1 then
  8403. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  8404. elseif radm == 2 then
  8405. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  8406. elseif radm == 3 then
  8407. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  8408. end
  8409. hum.WalkSpeed = 0
  8410. coroutine.resume(coroutine.create(function()
  8411. CFuncs["Sound"].Create("rbxassetid://2556945475", char, 1.5, 1)
  8412. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  8413. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  8414. local vel = Instance.new("BodyPosition", targetted.Head)
  8415. vel.P = 12500
  8416. vel.D = 1000
  8417. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8418. vel.position = targetted.Head.CFrame.p
  8419. end))
  8420. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  8421. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  8422. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  8423. for i = 0,4,0.1 do
  8424. swait()
  8425. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
  8426. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8427. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8428. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  8429. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8430. 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 / 32))),.1)
  8431. 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 + 2 * math.cos(sine / 32))),.1)
  8432. end
  8433. coroutine.resume(coroutine.create(function()
  8434. CameraEnshaking(6,5)
  8435. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  8436. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  8437. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  8438. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  8439. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  8440. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  8441. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  8442. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  8443. coroutine.resume(coroutine.create(function()
  8444. local eff = Instance.new("ParticleEmitter",targetted.Head)
  8445. eff.Texture = "rbxassetid://2273224484"
  8446. eff.LightEmission = 1
  8447. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  8448. eff.Rate = 500000
  8449. eff.Lifetime = NumberRange.new(0.5,2)
  8450. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  8451. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8452. eff.Speed = NumberRange.new(20,250)
  8453. eff.Drag = 5
  8454. eff.Rotation = NumberRange.new(-500,500)
  8455. eff.VelocitySpread = 9000
  8456. eff.RotSpeed = NumberRange.new(-50,50)
  8457. wait(0.25)
  8458. eff.Enabled = false
  8459. local eff = Instance.new("ParticleEmitter",targetted.Head)
  8460. eff.Texture = "rbxassetid://363275192"
  8461. eff.LightEmission = 0.95
  8462. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8463. eff.Rate = 10000
  8464. eff.Lifetime = NumberRange.new(1.5)
  8465. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  8466. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8467. eff.Speed = NumberRange.new(25,150)
  8468. eff.Drag = 5
  8469. eff.Rotation = NumberRange.new(-500,500)
  8470. eff.VelocitySpread = 9000
  8471. eff.RotSpeed = NumberRange.new(-50,50)
  8472. local eff2 = eff:Clone()
  8473. eff2.Parent = targetted.Head
  8474. eff2.Texture = "rbxassetid://284205403"
  8475. eff2.Rate = 10000
  8476. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8477. eff2.Drag = 5
  8478. eff2.Rotation = NumberRange.new(-500,500)
  8479. eff2.VelocitySpread = 9000
  8480. wait(0.5)
  8481. eff2.Enabled = false
  8482. eff.Enabled = false
  8483. end))
  8484. for i = 0, 9 do
  8485. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  8486. end
  8487. for i = 0, 49 do
  8488. local rsiz = math.random(10,50)
  8489. sphereMK(math.random(1,4),1,"Add",targetted.Head.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,MAINRUINCOLOR,0)
  8490. end
  8491. game:GetService("Debris"):AddItem(vel,1)
  8492. dmg(targetted)
  8493. end))
  8494. for i = 0,1,0.1 do
  8495. swait()
  8496. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  8497. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  8498. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  8499. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8500. 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 / 32))),.1)
  8501. 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 + 2 * math.cos(sine / 32))),.1)
  8502. end
  8503. attack = false
  8504. hum.WalkSpeed = storehumanoidWS
  8505. end
  8506.  
  8507. function SpeedDrop()
  8508. attack = true
  8509. hum.WalkSpeed = 0
  8510. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  8511. local poste = 3
  8512. local rotation = 0
  8513. local rate = 0
  8514. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  8515. for i = 0, 124 do
  8516. swait()
  8517. rotation = rotation + rate
  8518. poste = poste + 0.1
  8519. rate = rate + 0.1
  8520. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  8521. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  8522. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  8523. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  8524. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  8525. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  8526. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  8527. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
  8528. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  8529. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  8530. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  8531. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  8532. end
  8533. CameraEnshaking(3,7)
  8534. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  8535. local loc = Instance.new("Part", char)
  8536. loc.BrickColor = MAINRUINCOLOR
  8537. loc.CanCollide = false
  8538. loc.FormFactor = 3
  8539. loc.Name = "Ring"
  8540. loc.Material = "Neon"
  8541. loc.Size = Vector3.new(1, 1, 1)
  8542. loc.Transparency = 1
  8543. loc.TopSurface = 0
  8544. loc.BottomSurface = 0
  8545. loc.Anchored = true
  8546. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  8547. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  8548. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  8549. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  8550. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  8551. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8552. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8553. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8554. coroutine.resume(coroutine.create(function()
  8555. local eff = Instance.new("ParticleEmitter",loc)
  8556. eff.Texture = "rbxassetid://363275192"
  8557. eff.LightEmission = 0.95
  8558. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8559. eff.Rate = 10000
  8560. eff.Lifetime = NumberRange.new(1)
  8561. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  8562. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8563. eff.Speed = NumberRange.new(100,500)
  8564. eff.Drag = 5
  8565. eff.Rotation = NumberRange.new(-500,500)
  8566. eff.VelocitySpread = 9000
  8567. eff.RotSpeed = NumberRange.new(-50,50)
  8568. wait(0.5)
  8569. eff.Enabled = false
  8570. end))
  8571. for i = 0, 49 do
  8572. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  8573. end
  8574. for i = 0, 9 do
  8575. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  8576. end
  8577. game:GetService("Debris"):AddItem(loc, 5)
  8578. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  8579. hum.WalkSpeed = storehumanoidWS
  8580. attack = false
  8581. end
  8582.  
  8583. function HolyBarrier()
  8584. attack = true
  8585. shielding = true
  8586. for i = 0, 2, 0.1 do
  8587. swait()
  8588. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  8589. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  8590. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  8591. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  8592. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  8593. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  8594. end
  8595. CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
  8596. stash = Instance.new("Model",workspace)
  8597. local barrier = Instance.new("Part",stash)
  8598. barrier.Anchored = true
  8599. barrier.CanCollide = false
  8600. barrier.Size = Vector3.new(20,20,20)
  8601. barrier.CFrame = root.CFrame
  8602. barrier.Transparency = 0.6
  8603. barrier.BrickColor = MAINRUINCOLOR
  8604. barrier.Material = Enum.Material.Neon
  8605. barrier.Shape = Enum.PartType.Ball
  8606. barrier.CFrame = root.CFrame
  8607. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  8608. Torso.Anchored = true
  8609. for i=1,50 do
  8610. local p = Instance.new("Part",stash)
  8611. p.Anchored = true
  8612. p.Transparency = 1
  8613. p.Size = Vector3.new(11,11,11)
  8614. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  8615. end
  8616. repeat
  8617. swait(5)
  8618. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("White"),0)
  8619. until shielding == false
  8620. stash:Remove()
  8621. Torso.Anchored = false
  8622. shielding = false
  8623. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  8624. attack = false
  8625. end
  8626.  
  8627. function Judgement()
  8628. attack = true
  8629. judgement = true
  8630. hum.WalkSpeed = 0
  8631. local p = Instance.new("Part",root)
  8632. p.Anchored = true
  8633. p.CanCollide = false
  8634. p.BrickColor = MAINRUINCOLOR
  8635. p.Material = Enum.Material.Neon
  8636. p.Size = Vector3.new(1,1,1)
  8637. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  8638. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  8639. local m = Instance.new("SpecialMesh",p)
  8640. m.MeshType = "Cylinder"
  8641. m.Scale = Vector3.new(2000,2,2)
  8642. local targ = Instance.new("Part",root)
  8643. targ.Anchored = true
  8644. targ.Transparency = 1
  8645. targ.CanCollide = false
  8646. targ.Size = Vector3.new(1,1,1)
  8647. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  8648. local s = Instance.new("Sound",targ)
  8649. s.SoundId = "https://roblox.com/asset/?id=115327352"
  8650. s.Looped = true
  8651. s.Pitch = 1.2
  8652. s.Volume = 3
  8653. spawn(function()
  8654. swait(15)
  8655. s:Play()
  8656. end)
  8657. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  8658. for i = 1,15 do
  8659. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  8660. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  8661. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  8662. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  8663. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  8664. 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(-0.5),math.rad(0),math.rad(-20)),.2)
  8665. 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(-2.5),math.rad(10),math.rad(20)),.2)
  8666. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  8667. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  8668. m.Scale = m.Scale+Vector3.new(0,1,1)
  8669. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  8670. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  8671. swait()
  8672. end
  8673. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  8674. repeat
  8675. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  8676. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  8677. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  8678. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  8679. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  8680. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  8681. swait()
  8682. until judgement == false
  8683. for i =1,15 do
  8684. m.Scale = m.Scale-Vector3.new(1,1,1)
  8685. p.Transparency = i / 15
  8686. s.Pitch = s.Pitch - 0.4
  8687. swait()
  8688. end
  8689. p:Destroy()
  8690. hum.WalkSpeed = storehumanoidWS
  8691. attack = false
  8692. end
  8693.  
  8694. function vistaunty()
  8695. attack = false
  8696. hum.WalkSpeed = 0
  8697. local rd = math.random(1,5)
  8698. if rd == 1 then
  8699. chatfunc("Hi mate wassup?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8700. elseif rd == 2 then
  8701. chatfunc("Please dance with me I'm not gay xd.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8702. elseif rd == 3 then
  8703. chatfunc("OW YEEEEEAAAAAAAAAAAAA",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8704. elseif rd == 4 then
  8705. chatfunc("Hey, it's me 眠いです, lol.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8706. elseif rd == 5 then
  8707. chatfunc("I'm busing making scripts!",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8708. end
  8709. for i = 0, 8, 0.1 do
  8710. swait()
  8711. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  8712. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  8713. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  8714. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  8715. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  8716. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  8717. end
  8718. hum.WalkSpeed = storehumanoidWS
  8719. attack = false
  8720. end
  8721.  
  8722. function BinaryBLINK()
  8723. for i = 0, 9 do
  8724. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  8725. end
  8726. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  8727. coroutine.resume(coroutine.create(function()
  8728. local eff = Instance.new("ParticleEmitter",root)
  8729. eff.Texture = "rbxassetid://1175838406"
  8730. eff.LightEmission = 0.95
  8731. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8732. eff.Rate = 10000
  8733. eff.Lifetime = NumberRange.new(1)
  8734. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  8735. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8736. eff.Speed = NumberRange.new(30,160)
  8737. eff.Drag = 5
  8738. eff.Rotation = NumberRange.new(-500,500)
  8739. eff.VelocitySpread = 100000
  8740. wait(0.25)
  8741. eff.Enabled = false
  8742. wait(4)
  8743. eff:Destroy()
  8744. end))
  8745. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  8746. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  8747. CameraEnshaking(2,10)
  8748. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  8749. if v:FindFirstChild('Head') then
  8750. dmg(v)
  8751. end
  8752. end
  8753. for i = 0, 9 do
  8754. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  8755. end
  8756. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  8757. end
  8758.  
  8759. function AZUREFINALE()
  8760. attack = false
  8761. duringend = true
  8762. hum.WalkSpeed = 0
  8763. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  8764. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  8765. local hite = Instance.new("Part", char)
  8766. hite.Anchored = true
  8767. hite.CanCollide = false
  8768. hite.FormFactor = 3
  8769. hite.Name = "Ring"
  8770. hite.Material = "Neon"
  8771. hite.Size = Vector3.new(1, 1, 1)
  8772. hite.Transparency = 0
  8773. hite.TopSurface = 0
  8774. hite.BottomSurface = 0
  8775. hite.BrickColor = MAINRUINCOLOR
  8776. local orbm = Instance.new("SpecialMesh", hite)
  8777. orbm.MeshType = "Sphere"
  8778. orbm.Name = "SizeMesh"
  8779. orbm.Scale = vt(0,0,0)
  8780. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  8781. for i = 0,70,0.1 do
  8782. swait()
  8783. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  8784. rsiz = math.random(10,45)
  8785. kan.Volume = kan.Volume + 0.01
  8786. kan.Pitch = kan.Pitch - 0.00135
  8787. sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,-300)
  8788. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MAINRUINCOLOR)
  8789. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8790. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8791. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  8792. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8793. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  8794. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  8795. end
  8796. kan.Pitch = 0.1
  8797. hite.Transparency = 1
  8798. for i = 0,2 do
  8799. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  8800. end
  8801. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  8802. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MAINRUINCOLOR)
  8803. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MAINRUINCOLOR)
  8804. sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MAINRUINCOLOR)
  8805. coroutine.resume(coroutine.create(function()
  8806. local eff = Instance.new("ParticleEmitter",hite)
  8807. eff.Texture = "rbxassetid://284205403"
  8808. eff.LightEmission = 0.95
  8809. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8810. eff.Rate = 10000
  8811. eff.Lifetime = NumberRange.new(5)
  8812. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  8813. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8814. eff.Speed = NumberRange.new(600,1250)
  8815. eff.Drag = 5
  8816. eff.Rotation = NumberRange.new(-500,500)
  8817. eff.VelocitySpread = 9000
  8818. eff.RotSpeed = NumberRange.new(-500,500)
  8819. wait(1)
  8820. eff.Enabled = false
  8821. end))
  8822. for i = 0,5,0.1 do
  8823. swait()
  8824. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8825. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8826. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  8827. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8828. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  8829. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  8830. end
  8831. local adsc = 0
  8832. local radiatezone = 0
  8833. for i = 0,20,0.1 do
  8834. swait()
  8835. adsc = adsc + 0.025
  8836. radiatezone = radiatezone + 1.25
  8837. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  8838. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  8839. if v:FindFirstChild('Head') then
  8840. dmg(v)
  8841. end
  8842. end
  8843. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8844. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8845. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  8846. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8847. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  8848. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  8849. end
  8850. for i = 0,2 do
  8851. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  8852. end
  8853. for i = 0,40,0.1 do
  8854. swait()
  8855. adsc = adsc + 0.05
  8856. radiatezone = radiatezone + 2.5
  8857. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  8858. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  8859. if v:FindFirstChild('Head') then
  8860. dmg(v)
  8861. end
  8862. end
  8863. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8864. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8865. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  8866. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8867. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  8868. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  8869. end
  8870. for i = 0,4 do
  8871. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  8872. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  8873. end
  8874. for i = 0,80,0.1 do
  8875. swait()
  8876. adsc = adsc + 0.075
  8877. radiatezone = radiatezone + 3.75
  8878. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  8879. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  8880. if v:FindFirstChild('Head') then
  8881. dmg(v)
  8882. end
  8883. end
  8884. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  8885. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  8886. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  8887. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  8888. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  8889. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  8890. end
  8891. hite:Destroy()
  8892. duringend = false
  8893. hum.WalkSpeed = storehumanoidWS
  8894. attack = false
  8895. end
  8896.  
  8897. function WarpedDash()
  8898. attack = true
  8899. hum.WalkSpeed = 0
  8900. hum.JumpPower = 0
  8901. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  8902. local poste = 3
  8903. local rotation = 0
  8904. local rate = 0
  8905. for i = 0, 124 do
  8906. swait()
  8907. rotation = rotation + rate
  8908. poste = poste + 0.1
  8909. rate = rate + 0.1
  8910. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  8911. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  8912. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  8913. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  8914. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  8915. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  8916. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  8917. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
  8918. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  8919. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  8920. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  8921. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  8922. end
  8923. CameraEnshaking(3,7)
  8924. local loc = Instance.new("Part", char)
  8925. loc.BrickColor = MAINRUINCOLOR
  8926. loc.CanCollide = false
  8927. loc.FormFactor = 3
  8928. loc.Name = "Ring"
  8929. loc.Material = "Neon"
  8930. loc.Size = Vector3.new(1, 1, 1)
  8931. loc.Transparency = 1
  8932. loc.TopSurface = 0
  8933. loc.BottomSurface = 0
  8934. loc.Anchored = true
  8935. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  8936. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  8937. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  8938. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  8939. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  8940. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8941. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8942. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  8943. coroutine.resume(coroutine.create(function()
  8944. local eff = Instance.new("ParticleEmitter",loc)
  8945. eff.Texture = "rbxassetid://363275192"
  8946. eff.LightEmission = 0.95
  8947. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8948. eff.Rate = 10000
  8949. eff.Lifetime = NumberRange.new(1)
  8950. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  8951. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8952. eff.Speed = NumberRange.new(100,500)
  8953. eff.Drag = 5
  8954. eff.Rotation = NumberRange.new(-500,500)
  8955. eff.VelocitySpread = 9000
  8956. eff.RotSpeed = NumberRange.new(-50,50)
  8957. wait(0.5)
  8958. eff.Enabled = false
  8959. end))
  8960. for i = 0, 49 do
  8961. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  8962. end
  8963. for i = 0, 9 do
  8964. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  8965. end
  8966. game:GetService("Debris"):AddItem(loc, 5)
  8967. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  8968. hum.WalkSpeed = storehumanoidWS
  8969. hum.JumpPower = 50
  8970. attack = false
  8971. end
  8972.  
  8973. function Kill()
  8974. hum.WalkSpeed = 0
  8975. attack = true
  8976. local keptcolor = MAINRUINCOLOR
  8977. local locat = Instance.new("Part", char)
  8978. locat.CanCollide = false
  8979. locat.FormFactor = 3
  8980. locat.Name = "Ring"
  8981. locat.Material = "Neon"
  8982. locat.Size = Vector3.new(1, 1, 1)
  8983. locat.Transparency = 1
  8984. locat.TopSurface = 0
  8985. locat.BottomSurface = 0
  8986. locat.Anchored = true
  8987. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  8988. local poste = 0
  8989. local rotation = 0
  8990. local upperpos = 0
  8991. local rate = 0
  8992. local x = locat
  8993. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  8994. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  8995. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  8996. CameraEnshaking(2,5)
  8997. for i = 0, 49 do
  8998. swait()
  8999. rotation = rotation + 5
  9000. poste = poste + 1
  9001. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  9002. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  9003. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  9004. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  9005. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  9006. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  9007. end
  9008. for i = 0, 49 do
  9009. swait()
  9010. rotation = rotation + 5
  9011. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  9012. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  9013. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  9014. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  9015. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  9016. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  9017. end
  9018. ModeOfGlitch = 432
  9019. storehumanoidWS = 300
  9020. hum.WalkSpeed = 16
  9021. rainbowmode = false
  9022. chaosmode = false
  9023. RecolorTextAndRename("???",BrickColor.new("Black").Color,BrickColor.new("Industrial white").Color,"Antique")
  9024. newThemeCust("rbxassetid://1891600872",0,0.9,1.5)
  9025. MAINRUINCOLOR = BrickColor.new("Industrial white")
  9026. keptcolor = MAINRUINCOLOR
  9027. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  9028. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  9029. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  9030. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  9031. attack = false
  9032. hum.WalkSpeed = storehumanoidWS
  9033. for i = 0, 49 do
  9034. local rsiz = math.random(150,450)
  9035. end
  9036. coroutine.resume(coroutine.create(function()
  9037. local eff = Instance.new("ParticleEmitter",x)
  9038. eff.Texture = "rbxassetid://284205403"
  9039. eff.LightEmission = 0.95
  9040. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  9041. eff.Rate = 50000
  9042. eff.Lifetime = NumberRange.new(2.5)
  9043. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  9044. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  9045. eff.Speed = NumberRange.new(250,1000)
  9046. eff.Drag = 5
  9047. eff.Rotation = NumberRange.new(-500,500)
  9048. eff.VelocitySpread = 9000
  9049. eff.RotSpeed = NumberRange.new(-500,500)
  9050. wait(0.5)
  9051. eff.Enabled = false
  9052. end))
  9053. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  9054. if v:FindFirstChild('Head') then
  9055. dmg(v)
  9056. end
  9057. end]]--
  9058. CameraEnshaking(8,10)
  9059. for i = 0, 99 do
  9060. swait()
  9061. rotation = rotation + 5
  9062. poste = poste + 1
  9063. upperpos = upperpos + rate
  9064. rate = rate + 0.1
  9065. end
  9066. x:Destroy()
  9067. end
  9068.  
  9069. function Technobeam()
  9070. attack = true
  9071. hum.WalkSpeed = 3.01
  9072. for i = 0, 4, 0.1 do
  9073. swait()
  9074. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  9075. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
  9076. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  9077. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  9078. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  9079. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  9080. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  9081. end
  9082. for i = 0, 2, 0.1 do
  9083. swait()
  9084. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  9085. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
  9086. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  9087. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
  9088. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
  9089. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  9090. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  9091. end
  9092. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, MAINRUINCOLOR, "Sphere")
  9093. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, MAINRUINCOLOR, "Sphere")
  9094. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, MAINRUINCOLOR, "Sphere")
  9095. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, MAINRUINCOLOR, "Sphere")
  9096. CameraEnshaking(4, 5)
  9097. Cso("206049428", char, 10, 1)
  9098. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  9099. if v:FindFirstChild("Head") then
  9100. Eviscerate(v)
  9101. end
  9102. end
  9103. for i = 0, 2, 0.1 do
  9104. swait()
  9105. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  9106. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
  9107. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  9108. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  9109. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  9110. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  9111. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  9112. end
  9113. hum.WalkSpeed = storehumanoidWS
  9114. attack = false
  9115. end
  9116.  
  9117. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  9118. local orb = Instance.new("Part", char)
  9119. orb.Anchored = true
  9120. orb.BrickColor = color
  9121. orb.CanCollide = false
  9122. orb.FormFactor = 3
  9123. orb.Name = "Ring"
  9124. orb.Material = "Neon"
  9125. orb.Size = Vector3.new(1, 1, 1)
  9126. orb.Transparency = 0
  9127. orb.TopSurface = 0
  9128. orb.BottomSurface = 0
  9129. local orbm = Instance.new("SpecialMesh", orb)
  9130. orbm.MeshType = "Sphere"
  9131. orb.CFrame = positted
  9132. orbm.Name = "SizeMesh"
  9133. orbm.Scale = vt(1,1,1)
  9134. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  9135. Sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  9136. --[[for i = 0, 2 do
  9137. SphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  9138. end]]--
  9139. coroutine.resume(coroutine.create(function()
  9140. wait(timer)
  9141. CameraEnshaking(3,ShakePower)
  9142. orb.Transparency = 1
  9143. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  9144. Sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  9145. --[[for i = 0, 4 do
  9146. SphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  9147. end]]--
  9148. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  9149. wait(3)
  9150. orb:Destroy()
  9151. end))
  9152. end
  9153.  
  9154. function GalacticalBeams()
  9155. attack = true
  9156. local keptcolor = MAINRUINCOLOR
  9157. coroutine.resume(coroutine.create(function()
  9158. for i = 0, 0 do
  9159. swait(10)
  9160. local orb = Instance.new("Part", char)
  9161. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  9162. orb.BrickColor = keptcolor
  9163. orb.CanCollide = false
  9164. orb.FormFactor = 3
  9165. orb.Name = "Ring"
  9166. orb.Material = "Neon"
  9167. orb.Size = Vector3.new(1, 1, 1)
  9168. orb.Transparency = 1
  9169. orb.TopSurface = 0
  9170. orb.BottomSurface = 0
  9171. orb.Anchored = true
  9172. local orbm = Instance.new("SpecialMesh", orb)
  9173. orbm.MeshType = "Sphere"
  9174. orbm.Name = "SizeMesh"
  9175. orbm.Scale = vt(1.25,1.25,1.25)
  9176. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  9177. coroutine.resume(coroutine.create(function()
  9178. orb.Transparency = 1
  9179. local a = Instance.new("Part",char)
  9180. a.Name = "Direction"
  9181. a.Anchored = true
  9182. a.BrickColor = keptcolor
  9183. a.Material = "Neon"
  9184. a.Transparency = 1
  9185. a.Shape = "Cylinder"
  9186. local x = Instance.new("Part",char)
  9187. x.Name = "Direction"
  9188. x.Anchored = true
  9189. x.BrickColor = keptcolor
  9190. x.Material = "Neon"
  9191. x.Transparency = 1
  9192. x.Shape = "Cylinder"
  9193. local ht = Instance.new("Part",char)
  9194. ht.Name = "DirectionHit"
  9195. ht.Anchored = true
  9196. ht.BrickColor = keptcolor
  9197. ht.CanCollide = false
  9198. ht.Transparency = 1
  9199. ht.Size = vt(0.1,0.1,0.1)
  9200. a.CanCollide = false
  9201. local ray = Ray.new(
  9202. orb.CFrame.p, -- origin
  9203. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  9204. )
  9205. local ignore = char
  9206. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  9207. a.BottomSurface = 10
  9208. a.TopSurface = 10
  9209. local distance = (orb.CFrame.p - position).magnitude
  9210. a.Size = Vector3.new(distance,1,1)
  9211. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  9212. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  9213. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  9214. local poste = 0
  9215. local rotation = 0
  9216. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  9217. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  9218. CameraEnshaking(2,2)
  9219. for i = 0, 49 do
  9220. swait()
  9221. rotation = rotation + 5
  9222. poste = poste + 1
  9223. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9224. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9225. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9226. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9227. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9228. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9229. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9230. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9231. end
  9232. local A1 = Instance.new("Attachment",x)
  9233. local A2 = Instance.new("Attachment",ht)
  9234. local Beem = Instance.new("Beam",ht)
  9235. Beem.Attachment0 = A1
  9236. Beem.Attachment1 = A2
  9237. Beem.LightEmission = 1
  9238. Beem.FaceCamera = true
  9239. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  9240. Beem.Width0 = 125
  9241. Beem.Width1 = 125
  9242. Beem.Texture = "rbxassetid://1134824633"
  9243. Beem.TextureMode = "Wrap"
  9244. Beem.TextureLength = 200
  9245. Beem.TextureSpeed = 1.5
  9246. Beem.Color = ColorSequence.new(keptcolor.Color)
  9247. CameraEnshaking(3,6)
  9248. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  9249. a.Transparency = 0.25
  9250. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  9251. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  9252. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  9253. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  9254. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  9255. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  9256. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  9257. local eff = Instance.new("ParticleEmitter",ht)
  9258. eff.Texture = "rbxassetid://284205403"
  9259. eff.LightEmission = 0.95
  9260. eff.Color = ColorSequence.new(keptcolor.Color)
  9261. eff.Rate = 500
  9262. eff.Lifetime = NumberRange.new(1)
  9263. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  9264. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  9265. eff.Speed = NumberRange.new(80,500)
  9266. eff.Drag = 5
  9267. eff.Rotation = NumberRange.new(-500,500)
  9268. eff.VelocitySpread = 9000
  9269. eff.RotSpeed = NumberRange.new(-500,500)
  9270. for i = 0, 24 do
  9271. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  9272. local rsiz = math.random(10,50)
  9273. sphereMK(math.random(3,6),1.25,"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,keptcolor,0)
  9274. end
  9275. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  9276. local msh = Instance.new("SpecialMesh",a)
  9277. msh.MeshType = "Cylinder"
  9278. msh.Scale = vt(1,15,15)
  9279. for i = 0, 49 do
  9280. swait()
  9281. CameraEnshaking(1,4)
  9282. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  9283. rotation = rotation + 5
  9284. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  9285. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  9286. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  9287. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9288. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9289. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9290. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9291. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9292. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9293. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9294. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  9295. for i = 0, 2 do
  9296. local rsiz = math.random(50,250)
  9297. sphereMK(math.random(3,6),math.random(2,4),"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,keptcolor,0)
  9298. end
  9299. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  9300. end
  9301. eff.Enabled = false
  9302. local visibility = 0
  9303. for i = 0, 49 do
  9304. swait()
  9305. visibility = visibility + 0.02
  9306. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  9307. rotation = rotation + 5
  9308. poste = poste - 1
  9309. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9310. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9311. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9312. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9313. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9314. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9315. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9316. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  9317. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  9318. a.Transparency = a.Transparency + 0.02
  9319. end
  9320. wait(1)
  9321. orb:Destroy()
  9322. a:Destroy()
  9323. ht:Destroy()
  9324. end))
  9325. game:GetService("Debris"):AddItem(orb, 10)
  9326. end
  9327. end))
  9328. hum.WalkSpeed = storehumanoidWS
  9329. attack = false
  9330. end
  9331. end
  9332. -------------------------------------
  9333.  
  9334. Humanoid.Animator.Parent = nil
  9335.  
  9336. -------------------------------------
  9337.  
  9338. local attacktype = 1
  9339. mouse.Button1Down:connect(function()
  9340. if attack == false and attacktype == 1 then
  9341. attacktype = 2
  9342. attackone()
  9343. elseif attack == false and attacktype == 2 then
  9344. attacktype = 3
  9345. attacktwo()
  9346. elseif attack == false and attacktype == 3 then
  9347. attacktype = 1
  9348. attackthree()
  9349. elseif attack == false and attacktype == 4 then
  9350. attacktype = 1
  9351. --attackfour()
  9352. end
  9353. end)
  9354. mouse.KeyDown:connect(function(k)
  9355. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  9356. --normalmog() ---Disabled due to crashing... only in VSB
  9357. ModeOfGlitch = 1
  9358. storehumanoidWS = 17
  9359. hum.WalkSpeed = 17
  9360. rainbowmode = false
  9361. chaosmode = false
  9362. newTheme("rbxassetid://259031423",48.6,1,1.25)
  9363. RecolorTextAndRename("眠いです",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  9364. MAINRUINCOLOR = BrickColor.new("Royal purple")
  9365. bosschatfunc("I'm dying...",MAINRUINCOLOR.Color,1)
  9366. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9367. end
  9368. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  9369. ModeOfGlitch = 2
  9370. storehumanoidWS = 25
  9371. hum.WalkSpeed = 25
  9372. rainbowmode = false
  9373. chaosmode = false
  9374. RecolorTextAndRename("CRYING STAR",Color3.new(0,1,1),Color3.new(0,1,1),"Code")
  9375. newTheme("rbxassetid://484985948",0,1,3)
  9376. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  9377. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9378. end
  9379. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  9380. ModeOfGlitch = 3
  9381. storehumanoidWS = 25
  9382. hum.WalkSpeed = 25
  9383. rainbowmode = false
  9384. chaosmode = false
  9385. RecolorTextAndRename("窒息",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  9386. newTheme("rbxassetid://277394144",58.15,0.98,1.25)
  9387. MAINRUINCOLOR = BrickColor.new("Royal purple")
  9388. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lilac"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9389. end
  9390. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  9391. ModeOfGlitch = 4
  9392. storehumanoidWS = 20
  9393. hum.WalkSpeed = 20
  9394. rainbowmode = false
  9395. chaosmode = true
  9396. RecolorTextAndRename("混沌としました",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  9397. newTheme("rbxassetid://745599876",0,1.01,1.25)
  9398. MAINRUINCOLOR = BrickColor.new("Really white")
  9399. warnedpeople("混沌としました!!!","Arcade",BrickColor.new("Really Black").Color,MAINRUINCOLOR.Color)
  9400. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9401. end
  9402. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  9403. ModeOfGlitch = 5
  9404. storehumanoidWS = 55
  9405. hum.WalkSpeed = 55
  9406. rainbowmode = false
  9407. chaosmode = false
  9408. RecolorTextAndRename("楽しんで",Color3.new(255, 255, 255),Color3.new(166, 0, 255),"Arcade")
  9409. newTheme("rbxassetid://2257648420",0,1,3)
  9410. MAINRUINCOLOR = BrickColor.new("Royal purple")
  9411. RecolorThing(MAINRUINCOLOR,BrickColor.new("Industrial white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9412. end
  9413. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  9414. ModeOfGlitch = 6
  9415. storehumanoidWS = 100
  9416. hum.WalkSpeed = 100
  9417. rainbowmode = false
  9418. chaosmode = false
  9419. RecolorTextAndRename("Lovely",Color3.new(0.75,0.9,1),BrickColor.new("Bright pink").Color,"Arcade")
  9420. newTheme("rbxassetid://2075980845",0,1,5)
  9421. MAINRUINCOLOR = BrickColor.new("Bright pink")
  9422. RecolorThing(MAINRUINCOLOR,BrickColor.new("Deep purple"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9423. end
  9424. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  9425. ModeOfGlitch = 8
  9426. storehumanoidWS = 140
  9427. hum.WalkSpeed = 140
  9428. rainbowmode = false
  9429. chaosmode = false
  9430. RecolorTextAndRename("伝説の!",Color3.new(1,1,1),BrickColor.new("Deep orange").Color,"Code")
  9431. newTheme("rbxassetid://468682776",0,1.01,1.25)
  9432. MAINRUINCOLOR = BrickColor.new("Really white")
  9433. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9434. end
  9435. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  9436. ModeOfGlitch = 9
  9437. storehumanoidWS = 150
  9438. hum.WalkSpeed = 150
  9439. rainbowmode = false
  9440. chaosmode = false
  9441. RecolorTextAndRename("明るい火",Color3.new(1,1,1),Color3.new(1,1,0.5),"Arcade")
  9442. newTheme("rbxassetid://1540053504",0,1,2)
  9443. MAINRUINCOLOR = BrickColor.new("Industrial white")
  9444. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9445. end
  9446. if k == "h" and attack == false and ModeOfGlitch ~= 10 then
  9447. ModeOfGlitch = 10
  9448. storehumanoidWS = 75
  9449. hum.WalkSpeed = 75
  9450. rainbowmode = false
  9451. chaosmode = false
  9452. RecolorTextAndRename("Monarch",Color3.new(0,0,0),BrickColor.new("Grey").Color,"Arcade")
  9453. newTheme("rbxassetid://170282324",0,1,1)
  9454. MAINRUINCOLOR = BrickColor.new("Really black")
  9455. RecolorThing(MAINRUINCOLOR,BrickColor.new("Grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9456. end
  9457. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 83 then
  9458. ModeOfGlitch = 83
  9459. storehumanoidWS = 180
  9460. hum.WalkSpeed = 180
  9461. rainbowmode = false
  9462. chaosmode = false
  9463. RecolorTextAndRename("Counsellor",BrickColor.new("Black").Color,BrickColor.new("Really black").Color,"Antique")
  9464. newTheme("rbxassetid://582476855",0,1,3)
  9465. MAINRUINCOLOR = BrickColor.new("Really black")
  9466. warnedpeople("May the fight begin!","Arcade",BrickColor.new("Dark stone gry").Color,MAINRUINCOLOR.Color)
  9467. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,BrickColor.new("Really black"),0,BrickColor.new("Really black"),true,true)
  9468. end
  9469. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 95 then
  9470. ModeOfGlitch = 95
  9471. storehumanoidWS = 180
  9472. hum.WalkSpeed = 180
  9473. rainbowmode = false
  9474. chaosmode = false
  9475. RecolorTextAndRename("Satan",BrickColor.new("Crimson").Color,BrickColor.new("Really black").Color,"Antique")
  9476. newTheme("rbxassetid://602205849",0,1,5)
  9477. warnedpeople("YOUR DEATH IS ASSURED!","Arcade",BrickColor.new("Really black").Color,BrickColor.new("Crimson").Color)
  9478. MAINRUINCOLOR = BrickColor.new("Really black")
  9479. RecolorThing(MAINRUINCOLOR,BrickColor.new("Crimson"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9480. end
  9481. if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 150 then
  9482. ModeOfGlitch = 150
  9483. storehumanoidWS = 180
  9484. hum.WalkSpeed = 180
  9485. rainbowmode = false
  9486. chaosmode = false
  9487. RecolorTextAndRename("後悔",BrickColor.new("Black").Color,BrickColor.new("Grey").Color,"Antique")
  9488. newTheme("rbxassetid://2538613741",0,1,3)
  9489. MAINRUINCOLOR = BrickColor.new("Grey")
  9490. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9491. end
  9492. if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 500 then
  9493. ModeOfGlitch = 500
  9494. storehumanoidWS = 180
  9495. hum.WalkSpeed = 180
  9496. rainbowmode = false
  9497. chaosmode = false
  9498. RecolorTextAndRename("降雪",BrickColor.new("Baby blue").Color,BrickColor.new("Navy blue").Color,"Antique")
  9499. newTheme("rbxassetid://1325974085",0,1,5)
  9500. MAINRUINCOLOR = BrickColor.new("Baby blue")
  9501. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9502. end
  9503. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 652 then
  9504. ModeOfGlitch = 652
  9505. storehumanoidWS = 180
  9506. hum.WalkSpeed = 180
  9507. rainbowmode = false
  9508. chaosmode = false
  9509. RecolorTextAndRename("忘れられた",BrickColor.new("Really black").Color,BrickColor.new("Really black").Color,"Antique")
  9510. newTheme("rbxassetid://4676941931",0,1,1)
  9511. MAINRUINCOLOR = BrickColor.new("Really black")
  9512. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9513. end
  9514. if k == "m" and attack == false and ModeOfGlitch == 150 and ModeOfGlitch ~= 999 then
  9515. ModeOfGlitch = 999
  9516. storehumanoidWS = 180
  9517. hum.WalkSpeed = 180
  9518. rainbowmode = false
  9519. chaosmode = false
  9520. newTheme("rbxassetid://830189287",0,1,3)
  9521. chatfunc("I may be an atheist...",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
  9522. wait(5)
  9523. chatfunc("But you...",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
  9524. wait(2)
  9525. chatfunc("You truly are the biggest sinner I've ever met!!",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
  9526. wait(2)
  9527. RecolorTextAndRename("GALAXY COLLAPSE",BrickColor.new("Alder").Color,BrickColor.new("Royal purple").Color,"Antique")
  9528. MAINRUINCOLOR = BrickColor.new("White")
  9529. warnedpeople("HAHAHAHA","Arcade",BrickColor.new("Royal purple").Color,BrickColor.new("Alder").Color)
  9530. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Royal purple"),0,BrickColor.new("Alder"),true,true)
  9531. end
  9532. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  9533. ModeOfGlitch = 8889
  9534. storehumanoidWS = 180
  9535. hum.WalkSpeed = 185
  9536. rainbowmode = false
  9537. chaosmode = false
  9538. RecolorTextAndRename("Asuraph クリエイター!",BrickColor.new("Deep orange").Color,BrickColor.new("Institutional white").Color,"Antique")
  9539. newTheme("rbxassetid://1898546104",0,1,4)
  9540. bosschatfunc("THE WRATH OF THE ASURA!",MAINRUINCOLOR.Color,1)
  9541. MAINRUINCOLOR = BrickColor.new("Deep orange")
  9542. warnedpeople("Literally the creator","Arcade",BrickColor.new("Institutional white").Color,BrickColor.new("Deep orange").Color)
  9543. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9544. end
  9545. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  9546. ModeOfGlitch = 55469696922
  9547. storehumanoidWS = 275
  9548. hum.WalkSpeed = 275
  9549. rainbowmode = false
  9550. chaosmode = false
  9551. RecolorTextAndRename("可愛い",Color3.new(0.25,0,0.1),BrickColor.new("Institutional white").Color,"Arcade")
  9552. newTheme("rbxassetid://2611195636",0,1,5)
  9553. bosschatfunc("*notices cursed mode*",MAINRUINCOLOR.Color,1)
  9554. MAINRUINCOLOR = BrickColor.new("Light pink")
  9555. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9556. end
  9557. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  9558. ModeOfGlitch = 4367677813
  9559. storehumanoidWS = 225
  9560. hum.WalkSpeed = 225
  9561. rainbowmode = false
  9562. chaosmode = false
  9563. RecolorTextAndRename("Hateful",Color3.new(5,0,0),BrickColor.new("Maroon").Color,"Fantasy")
  9564. newTheme("rbxassetid://968583695",0,1,3)
  9565. MAINRUINCOLOR = BrickColor.new("Institutional white")
  9566. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9567. end
  9568. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  9569. ModeOfGlitch = 9999999921111
  9570. storehumanoidWS = 300
  9571. hum.WalkSpeed = 300
  9572. rainbowmode = false
  9573. chaosmode = false
  9574. RecolorTextAndRename("脊椎ブレーカー",BrickColor.new("Black").Color,BrickColor.new("Navy blue").Color,"SciFi")
  9575. newTheme("rbxassetid://1470848774",0,1,5)
  9576. MAINRUINCOLOR = BrickColor.new("Navy blue")
  9577. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9578. end
  9579. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  9580. ModeOfGlitch = 999999999556
  9581. storehumanoidWS = 500
  9582. hum.WalkSpeed = 500
  9583. rainbowmode = false
  9584. chaosmode = false
  9585. RecolorTextAndRename("PROSELYTISM",Color3.new(0,0,0),Color3.new(0,0,7),"Code")
  9586. newTheme("rbxassetid://833792144",0,1,2)
  9587. MAINRUINCOLOR = BrickColor.new("Black")
  9588. RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9589. end
  9590. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  9591. ModeOfGlitch = 1264532489
  9592. storehumanoidWS = 250
  9593. hum.WalkSpeed = 250
  9594. rainbowmode = false
  9595. chaosmode = false
  9596. RecolorTextAndRename("大胆不敵",Color3.new(123,22,23),BrickColor.new("Really white").Color,"Arcade")
  9597. newTheme("rbxassetid://1497785701",0,1,3)
  9598. MAINRUINCOLOR = BrickColor.new("Maroon")
  9599. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9600. end
  9601. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 7536 then
  9602. ModeOfGlitch = 7536
  9603. storehumanoidWS = 250
  9604. hum.WalkSpeed = 250
  9605. rainbowmode = false
  9606. chaosmode = false
  9607. RecolorTextAndRename("A very Bizarre Mode",Color3.new(0,0,0),Color3.new(0.35,0,1),"Arcade")
  9608. newTheme("rbxassetid://569913318",0,1,1)
  9609. MAINRUINCOLOR = BrickColor.new("Royal purple")
  9610. RecolorThing(MAINRUINCOLOR,BrickColor.new("Purple"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9611. end
  9612. if k == "n" and attack == false and ModeOfGlitch == 10 and ModeOfGlitch ~= 666 then
  9613. ModeOfGlitch = 666
  9614. storehumanoidWS = 75
  9615. hum.WalkSpeed = 75
  9616. rainbowmode = false
  9617. chaosmode = false
  9618. RecolorTextAndRename("天使",Color3.new(255,255,255),BrickColor.new("Industrial white").Color,"Arcade")
  9619. newTheme("rbxassetid://1269076536",0,1,4)
  9620. MAINRUINCOLOR = BrickColor.new("Really white")
  9621. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Industrial white"),0,BrickColor.new("Industrial white"),true,true)
  9622. end
  9623. if k == "l" and mutedtog == false then
  9624. mutedtog = true
  9625. kan.Volume = 0
  9626. elseif k == "l" and mutedtog == true then
  9627. mutedtog = false
  9628. kan.Volume = 1.25
  9629. end
  9630. if k == "p" and toggleTag == false then
  9631. toggleTag = true
  9632. modet.TextTransparency = 0
  9633. modet.TextStrokeTransparency = 0
  9634. elseif k == "p" and toggleTag == true then
  9635. toggleTag = false
  9636. modet.TextTransparency = 1
  9637. modet.TextStrokeTransparency = 1
  9638. end
  9639. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9640. ExtinctiveHeartbreak()
  9641. elseif k == "c" and attack == false and ModeOfGlitch == 1 then
  9642. FallenOrbs()
  9643. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9644. HeavenlyDisk()
  9645. elseif k == "x" and attack == false and ModeOfGlitch == 2 then
  9646. PureOrb()
  9647. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9648. harmonytaunty()
  9649. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9650. CorruptionEvent()
  9651. elseif k == "x" and attack == false and ModeOfGlitch == 3 then
  9652. DivineBlast()
  9653. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9654. scattercorrupt()
  9655. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9656. CorruptBlink()
  9657. elseif k == "c" and attack == false and ModeOfGlitch == 4 then
  9658. ChaosEND()
  9659. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9660. attacktwo()
  9661. elseif k == "v" and attack == false and ModeOfGlitch == 4 then
  9662. ChaosGroundStrike()
  9663. elseif k == "m" and attack == false and ModeOfGlitch == 4 then
  9664. FallenOrbs()
  9665. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9666. RapidBurst()
  9667. elseif k == "k" and attack == false and ModeOfGlitch == 4 then
  9668. InsaneDrop()
  9669. elseif k == "j" and attack == false and ModeOfGlitch == 4 then
  9670. SpeedDrop()
  9671. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9672. DivineLights()
  9673. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9674. vistaunty()
  9675. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9676. EquinoxOrbs()
  9677. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  9678. shytaunty()
  9679. elseif k == "c" and attack == false and ModeOfGlitch == 6 then
  9680. cutesigh()
  9681. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9682. Counter()
  9683. elseif k == "b" and attack == false and ModeOfGlitch == 6 then
  9684. hugg()
  9685. elseif k == "z" and attack == false and ModeOfGlitch == 7536 then
  9686. yinyangi()
  9687. elseif k == "x" and attack == false and ModeOfGlitch == 9 then
  9688. smiter()
  9689. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9690. HolyBarrier()
  9691. elseif k == "v" and attack == false and ModeOfGlitch == 9 then
  9692. Judgement()
  9693. elseif k == "m" and attack == false and ModeOfGlitch == 9 then
  9694. Kill()
  9695. elseif k == "z" and attack == false and ModeOfGlitch == 83 then
  9696. ViolentRing()
  9697. elseif k == "x" and attack == false and ModeOfGlitch == 83 then
  9698. THE_TRUE_POWER_OF_VIOLENCE()
  9699. elseif k == "z" and attack == false and ModeOfGlitch == 999 then
  9700. ExtinctiveHeartbreak()
  9701. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9702. attackone()
  9703. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9704. UniversalCollapse()
  9705. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9706. FallenOrbs()
  9707. elseif k == "c" and attack == false and ModeOfGlitch == 8889 then
  9708. FallenOrbs()
  9709. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9710. EquinoxOrbs()
  9711. elseif k == "v" and attack == false and ModeOfGlitch == 8889 then
  9712. CyberSlash()
  9713. elseif k == "b" and attack == false and ModeOfGlitch == 8889 then
  9714. CardStorm()
  9715. elseif k == "z" and attack == false and ModeOfGlitch == 55469696922 then
  9716. BinaryBLINK()
  9717. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9718. BeamOfDeath()
  9719. elseif k == "c" and attack == false and ModeOfGlitch == 55469696922 then
  9720. GalacticalBeams()
  9721. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9722. WarpedDash()
  9723. elseif k == "x" and attack == false and ModeOfGlitch == 999999999556 then
  9724. Technobeam()
  9725. elseif k == "c" and attack == false and ModeOfGlitch == 999999999556 then
  9726. FinalCalamity()
  9727. elseif k == "z" and attack == false and ModeOfGlitch == 9999999921111 then
  9728. EndGROUND()
  9729. elseif k == "x" and attack == false and ModeOfGlitch == 9999999921111 then
  9730. StarDivision()
  9731. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9732. GleamingBeam()
  9733. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9734. DualGleamingBeam()
  9735. elseif k == "b" and attack == false and ModeOfGlitch == 9999999921111 then
  9736. dragin()
  9737. elseif k == "m" and attack == false and ModeOfGlitch == 9999999921111 then
  9738. Beams()
  9739. elseif k == "x" and attack == false and ModeOfGlitch == 1264532489 then
  9740. AZUREFINALE()
  9741. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9742. FallenOrbs()
  9743. end
  9744. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9745. FallenDEMISE()
  9746. end
  9747. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9748. EndGROUND()
  9749. end
  9750. end)
  9751.  
  9752. --[[coroutine.resume(coroutine.create(function()
  9753. while true do
  9754. swait(2)
  9755. if chaosmode == true then
  9756. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9757. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9758. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9759. RecolorTextAndRename("PURE DESTRUCTION",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  9760. for i, v in pairs(mw1:GetChildren()) do
  9761. if v:IsA("Part") then
  9762. v.Transparency = 0.75
  9763. v.BrickColor = BrickColor.random()
  9764. v.Material = "Neon"
  9765. end
  9766. end
  9767. for i, v in pairs(m2:GetChildren()) do
  9768. if v:IsA("Part") then
  9769. v.BrickColor = BrickColor.random()
  9770. v.Material = "Neon"
  9771. end
  9772. end
  9773. end
  9774. end
  9775. end))]]--
  9776. Humanoid.Name = "STARGLITCHER"
  9777. Humanoid.MaxHealth = math.huge
  9778. Humanoid.Health = math.huge
  9779. Instance.new("ForceField",char).Visible = false
  9780.  
  9781. local bguis = Instance.new("BillboardGui",tors)
  9782. bguis.Size = UDim2.new(25, 0, 25, 0)
  9783. local imgca = Instance.new("ImageLabel",bguis)
  9784. imgca.BackgroundTransparency = 1
  9785. imgca.ImageTransparency = 1
  9786. imgca.Size = UDim2.new(1,0,1,0)
  9787. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9788. imgca.ImageColor3 = Color3.new(0,0,0)
  9789.  
  9790. idleanim=.4
  9791. while true do
  9792. if mutedtog == false then
  9793. kan.Volume = currentVol
  9794. elseif mutedtog == true then
  9795. kan.Volume = 0
  9796. end
  9797. kan.PlaybackSpeed = currentPitch
  9798. kan.Pitch = currentPitch
  9799. kan.SoundId = currentThemePlaying
  9800. kan.Looped = true
  9801. kan.Parent = char
  9802. kan:Resume()
  9803. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  9804. imgca.ImageTransparency = 1
  9805. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9806. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9807. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9808. end
  9809. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9810. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9811. coroutine.resume(coroutine.create(function()
  9812. if chaosmode == true then
  9813. for i, v in pairs(mw1:GetChildren()) do
  9814. if v:IsA("Part") then
  9815. v.Transparency = 0
  9816. v.BrickColor = BrickColor.random()
  9817. v.Material = "Neon"
  9818. end
  9819. end
  9820. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9821. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9822. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9823. RecolorTextAndRename("混沌としました",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  9824. end
  9825. end))
  9826.  
  9827. if chaosmode == false then
  9828. modet.Position = UDim2.new(0,0,0,0)
  9829. modet.Rotation = -5 * math.cos(sine / 32)
  9830. techc.Rotation = techc.Rotation + 1
  9831. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  9832. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  9833. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  9834. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  9835. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9836. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9837. else
  9838. techc.Rotation = techc.Rotation + 1
  9839. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9840. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9841. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9842. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9843. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9844. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9845. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9846. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9847. end
  9848. CameraManager()
  9849. swait()
  9850. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  9851. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  9852. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  9853. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  9854. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  9855. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  9856. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  9857. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  9858. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  9859. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  9860. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  9861. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  9862. sine = sine + change
  9863. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9864. local velderp=RootPart.Velocity.y
  9865. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9866. if equipped==true or equipped==false then
  9867. if attack==false then
  9868. idle=idle+1
  9869. else
  9870. idle=0
  9871. end
  9872. if idle>=500 then
  9873. if attack==false then
  9874. --Sheath()
  9875. end
  9876. end
  9877. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9878. Anim="Jump"
  9879. if attack==false then
  9880. 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)
  9881. 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)
  9882. 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)
  9883. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9884. 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)
  9885. 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)
  9886. end
  9887. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9888. Anim="Fall"
  9889. if attack==false then
  9890. 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)
  9891. 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)
  9892. 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)
  9893. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9894. 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)
  9895. 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)
  9896. end
  9897. elseif torvel<1 and hitfloor~=nil then
  9898. Anim="Idle"
  9899. if attack==false then
  9900. if ModeOfGlitch == 1 then
  9901. local snap = math.random(1,10)
  9902. if snap == 1 then
  9903. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  9904. end
  9905. 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(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  9906. 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(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  9907. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  9908. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  9909. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  9910. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
  9911. elseif ModeOfGlitch == 2 then
  9912. 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(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9913. 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(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9914. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  9915. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  9916. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  9917. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  9918. elseif ModeOfGlitch == 3 then
  9919. local snap = math.random(1,32)
  9920. if snap == 1 then
  9921. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  9922. end
  9923. 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(0 - 1 * math.cos(sine / 34))),.1)
  9924. 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(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9925. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  9926. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  9927. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  9928. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9929. elseif ModeOfGlitch == 4 then
  9930. local snap = math.random(1,5)
  9931. if snap == 1 then
  9932. 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)
  9933. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9934. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9935. end
  9936. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.random(),BrickColor.random().Color)
  9937. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.random(),BrickColor.random().Color)
  9938. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(20)), 0.1)
  9939. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(-20)), 0.1)
  9940. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.025 * math.cos(sine / 32)) * angles(math.rad(20 - 0.5 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1)
  9941. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
  9942. 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))), 0.1)
  9943. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
  9944. elseif ModeOfGlitch == 5 then
  9945. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  9946. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Alder"),Color3.new(0,1,0))
  9947. 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(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  9948. 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(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  9949. 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(0 - 2 * math.cos(sine / 53))),.1)
  9950. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9951. 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(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1)
  9952. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  9953. elseif ModeOfGlitch == 6 then
  9954. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1)
  9955. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1)
  9956. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1)
  9957. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1)
  9958. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-6 + 5 * math.cos(sine / 26)),math.rad(-10 - 6 * math.cos(sine / 24)),math.rad(13 - 5 * math.cos(sine / 34))),.1)
  9959. LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1)
  9960. elseif ModeOfGlitch == 8 then
  9961. 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)
  9962. 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)
  9963. 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(-20)),.1)
  9964. 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(20 + 2 * math.cos(sine / 53))),.1)
  9965. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  9966. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  9967. elseif ModeOfGlitch == 9 then
  9968. local snap = math.random(1,32)
  9969. if snap == 1 then
  9970. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  9971. end
  9972. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  9973. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  9974. 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),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  9975. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  9976. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
  9977. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
  9978. elseif ModeOfGlitch == 10 then
  9979. 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(0 + 1 * math.cos(sine / 34))), 0.1)
  9980. 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(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  9981. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  9982. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
  9983. RW.C0 = clerp(RW.C0, cf(1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.1)
  9984. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  9985. elseif ModeOfGlitch == 83 then
  9986. 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(0 - 1 * math.cos(sine / 34))),.1)
  9987. 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(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9988. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  9989. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  9990. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  9991. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  9992. elseif ModeOfGlitch == 95 then
  9993. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  9994. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  9995. 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(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  9996. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9997. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
  9998. LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
  9999. elseif ModeOfGlitch == 150 then
  10000. local snap = math.random(1,5)
  10001. if snap == 1 then
  10002. 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)
  10003. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  10004. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  10005. end
  10006. 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(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  10007. 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(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  10008. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  10009. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  10010. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  10011. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  10012. elseif ModeOfGlitch == 432 then
  10013. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(95),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  10014. 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)
  10015. 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)
  10016. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  10017. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  10018. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  10019. elseif ModeOfGlitch == 500 then
  10020. 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 / 32))),.1)
  10021. 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 + 2 * math.cos(sine / 32))),.1)
  10022. 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(10)),.1)
  10023. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  10024. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
  10025. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1)
  10026. elseif ModeOfGlitch == 652 then
  10027. local snap = math.random(1,2)
  10028. if snap == 1 then
  10029. 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)
  10030. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(-15 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  10031. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(15 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  10032. end
  10033. RH.C0=clerp(RH.C0,cf(1,0.35 - 0.05 * math.cos(sine / 32),-0.7)*angles(math.rad(-20),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  10034. LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  10035. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  10036. 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)
  10037. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-15 + 3 * math.cos(sine / 45))),.1)
  10038. LW.C0=clerp(LW.C0,cf(-1.35,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(15 - 3 * math.cos(sine / 45))),.1)
  10039. elseif ModeOfGlitch == 666 then
  10040. 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),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  10041. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  10042. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  10043. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  10044. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
  10045. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  10046. elseif ModeOfGlitch == 789 then
  10047. 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)
  10048. 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)
  10049. 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)
  10050. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  10051. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  10052. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  10053. elseif ModeOfGlitch == 999 then
  10054. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  10055. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  10056. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  10057. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  10058. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  10059. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  10060. elseif ModeOfGlitch == 7536 then
  10061. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(0 - 6 * math.cos(sine / 40)),math.rad(-6 + 2 * math.cos(sine / 20) - 6 * math.cos(sine / 40))),.1)
  10062. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(10 - 6 * math.cos(sine / 40)),math.rad(3 - 2 * math.cos(sine / 20) - 3 * math.cos(sine / 40))),.1)
  10063. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.06 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(-20 + 6 * math.cos(sine / 40))),.1)
  10064. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(6),math.rad(0 - 2 * math.cos(sine / 42)),math.rad(20 - 6 * math.cos(sine / 40))),.1)
  10065. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 + 3 * math.cos(sine / 26)),math.rad(-20 - 3 * math.cos(sine / 24)),math.rad(20 - 5 * math.cos(sine / 34))),.1)
  10066. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 3 * math.cos(sine / 25)),math.rad(10 + 3 * math.cos(sine / 24)),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  10067. elseif ModeOfGlitch == 8889 then
  10068. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  10069. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Toothpaste"),Color3.new(0,1,0))
  10070. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.1)
  10071. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.1)
  10072. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  10073. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
  10074. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20 + 2.5 * math.cos(sine / 28))), 0.1)
  10075. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20 - 2.5 * math.cos(sine / 28))), 0.1)
  10076. elseif ModeOfGlitch == 1264532489 then
  10077. 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 / 32))),.1)
  10078. 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 + 2 * math.cos(sine / 32))),.1)
  10079. 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(-60)),.1)
  10080. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(20 + 1 * math.cos(sine / 58)),math.rad(60 + 2 * math.cos(sine / 53))),.1)
  10081. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
  10082. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(98 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  10083. elseif ModeOfGlitch == 9999999921111 then
  10084. local snap = math.random(1,10)
  10085. if snap == 1 then
  10086. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  10087. end
  10088. 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(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  10089. 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(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  10090. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  10091. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  10092. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  10093. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
  10094. elseif ModeOfGlitch == 4367677813 then
  10095. 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(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  10096. 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(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  10097. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  10098. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1)
  10099. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  10100. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  10101. elseif ModeOfGlitch == 55469696922 then
  10102. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  10103. 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 / 32))),.1)
  10104. 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 + 2 * math.cos(sine / 32))),.1)
  10105. 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)
  10106. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  10107. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
  10108. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  10109. elseif ModeOfGlitch == 999999999556 then
  10110. 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 - 5 * math.cos(sine / 51))),.1)
  10111. 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 + 3 * math.cos(sine / 44))),.1)
  10112. 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(-36)),.1)
  10113. 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(36 + 2 * math.cos(sine / 53))),.1)
  10114. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
  10115. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
  10116. end
  10117. end
  10118. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  10119. Anim="Walk"
  10120. if attack==false then
  10121. 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)
  10122. 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)
  10123. 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)
  10124. 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)
  10125. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-15 + 3 * math.cos(sine / 45))),.1)
  10126. LW.C0=clerp(LW.C0,cf(-1.35,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(15 - 3 * math.cos(sine / 45))),.1)
  10127. end
  10128. elseif torvel>=22 and hitfloor~=nil then
  10129. Anim="Run"
  10130. if attack==false then
  10131. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 8889 and ModeofGlitch ~= 7536 and ModeofGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 10 then
  10132. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  10133. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  10134. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
  10135. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
  10136. RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1)
  10137. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1)
  10138. if ModeOfGlitch == 9 then
  10139. --
  10140. end
  10141. elseif ModeOfGlitch == 6 or ModeOfGlitch == 10 or ModeofGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  10142. 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)
  10143. 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)
  10144. 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)
  10145. 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)
  10146. 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)
  10147. 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)
  10148. end
  10149. end
  10150. end
  10151. end
  10152. end
Add Comment
Please, Sign In to add comment