Advertisement
Hermaxs

Untitled

Nov 14th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 312.51 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7.  
  8. --TODO: add comments or something idk
  9. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  10. local Player = owner
  11. local Mouse,mouse,UserInputService,ContextActionService
  12. do
  13. script.Parent = Player.Character
  14. local CAS = {Actions={}}
  15. local Event = Instance.new("RemoteEvent")
  16. Event.Name = "UserInput_Event"
  17. Event.Parent = Player.Character
  18. local fakeEvent = function()
  19. local t = {_fakeEvent=true}
  20. t.Connect = function(self,f)self.Function=f end
  21. t.connect = t.Connect
  22. return t
  23. end
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. function CAS:BindAction(name,fun,touch,...)
  27. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  28. end
  29. function CAS:UnbindAction(name)
  30. CAS.Actions[name] = nil
  31. end
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent and t.Function then
  35. t.Function(...)
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  46. if io.UserInputState == Enum.UserInputState.Begin then
  47. m:TrigEvent("Button1Down")
  48. else
  49. m:TrigEvent("Button1Up")
  50. end
  51. else
  52. for n,t in pairs(CAS.Actions) do
  53. for _,k in pairs(t.Keys) do
  54. if k==io.KeyCode then
  55. t.Function(t.Name,io.UserInputState,io)
  56. end
  57. end
  58. end
  59. if io.UserInputState == Enum.UserInputState.Begin then
  60. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  61. UIS:TrigEvent("InputBegan",io,false)
  62. else
  63. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  64. UIS:TrigEvent("InputEnded",io,false)
  65. end
  66. end
  67. end)
  68. NLS([==[
  69. local Player = game:GetService("Players").LocalPlayer
  70.  
  71. local Char = Player.Character
  72. local Event = Char:WaitForChild("UserInput_Event")
  73.  
  74. local UIS = game:GetService("UserInputService")
  75.  
  76. local input = function(io,a)
  77. if a then return end
  78. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  79. Event:FireServer(io)
  80. end
  81. UIS.InputBegan:Connect(input)
  82. UIS.InputEnded:Connect(input)
  83. local Changed = false
  84. local Mouse = Player:GetMouse()
  85. local h,t = Mouse.Hit,Mouse.Target
  86. while wait(1/30) do
  87. if h~=Mouse.Hit or t~=Mouse.Target then
  88. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  89. h,t=Mouse.Hit,Mouse.Target
  90. end
  91. end
  92. ]==],Player.Character)
  93. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  94. end
  95.  
  96.  
  97. wait(0.5)
  98.  
  99. warn([[SG AWAKEN Loaded.
  100. The super switcher.
  101. Velnorum is one of the first wielders.
  102.  
  103. Created, Reworked by NoobyGames12 and converted by Helkern
  104. ]])
  105.  
  106.  
  107. ------------- ORIGINAL WIELDER OC: Velnorum
  108. print([[Icons:
  109. ! = New
  110. ? = Spoilers
  111. * = Exclusivity
  112. C = Changes
  113.  
  114. ]])
  115. warn([[V 4.1 Update Log:
  116. !C? - Mostly about 7-9 main modes added.
  117. ! - Non-canon [N] modes are added from few modes:
  118. > Mayhem: NANO
  119. > Purity: BRIGHTNESS
  120. > Chaos: CRAZED
  121. > Divinity: FALLEN
  122. > Destiny: OMEGA
  123. ! - Added back CALAMITY and INFESTATION.
  124. C - Two main click attacks changed.
  125. !C - Moves are added back, with severe change and difference.
  126. C - Some modes got renamed because fat filter
  127. C - Toned down the effects to be compatible with fe without strong lag.]])
  128. --- its obs smooth af do not touch
  129. ---- Sources and functions might be taken from others
  130. plr = owner
  131. char = plr.Character
  132. hum = char.Humanoid
  133. local cam = game.Workspace.CurrentCamera
  134. Camera = cam
  135. local CamInterrupt = false
  136. local TwoD = false
  137. local TargetInfo = {nil, nil}
  138. cam.CameraType = "Custom"
  139. t = char.Torso
  140. h = char.Head
  141. ra = char["Right Arm"]
  142. la = char["Left Arm"]
  143. rl = char["Right Leg"]
  144. ll = char["Left Leg"]
  145. tors = char.Torso
  146. lleg = char["Left Leg"]
  147. root = char.HumanoidRootPart
  148. hed = char.Head
  149. rleg = char["Right Leg"]
  150. rarm = char["Right Arm"]
  151. larm = char["Left Arm"]
  152. radian = math.rad
  153. random = math.random
  154. Vec3 = Vector3.new
  155. Inst = Instance.new
  156. cFrame = CFrame.new
  157. Euler = CFrame.fromEulerAnglesXYZ
  158. vt = Vector3.new
  159. bc = BrickColor.new
  160. br = BrickColor.random
  161. it = Instance.new
  162. cf = CFrame.new
  163.  
  164. local Booleans = {
  165. CamFollow = true,
  166. GyroUse = true
  167. }
  168.  
  169. function lerp(object, newCFrame, alpha)
  170. return object:lerp(newCFrame, alpha)
  171. end
  172.  
  173. local Directer = Inst("BodyGyro", root)
  174. Directer.MaxTorque = Vec3(0, 0, 0)
  175. Directer.P = 600000
  176. local CPart = Inst("Part")
  177. CPart.Anchored = true
  178. CPart.CanCollide = false
  179. CPart.Locked = true
  180. CPart.Transparency = 1
  181.  
  182. local rainbowmode = false
  183. local chaosmode = false
  184.  
  185. local kan = Instance.new("Sound",char)
  186. kan.Volume = 1.25
  187. kan.TimePosition = 0
  188. kan.PlaybackSpeed = 1
  189. kan.Pitch = 1
  190. kan.SoundId = "rbxassetid://614032233"
  191. kan.Name = "wrecked"
  192. kan.Looped = true
  193. kan:Play()
  194.  
  195. local currentThemePlaying = kan.SoundId
  196. local currentPitch = kan.Pitch
  197. local currentVol = kan.Volume
  198. function newTheme(ID,timepos,pitch,vol)
  199. local kanz = kan
  200. --kanz:Stop()
  201. kanz.Volume = vol
  202. --kanz.TimePosition = timepos
  203. kanz.PlaybackSpeed = pitch
  204. kanz.Pitch = pitch
  205. kanz.SoundId = ID
  206. kanz.Name = "wrecked"
  207. kanz.Looped = true
  208. currentThemePlaying = kanz.SoundId
  209. currentVol = kanz.Volume
  210. currentPitch = kanz.Pitch
  211. --kanz:Play()
  212. --coroutine.resume(coroutine.create(function()
  213. --wait(0.05)
  214. --end))
  215. end
  216.  
  217.  
  218. function newThemeCust(ID,timepos,pitch,vol)
  219. local kanz = kan
  220. kanz:Stop()
  221. kanz.Volume = vol
  222. kanz.TimePosition = timepos
  223. kanz.PlaybackSpeed = pitch
  224. kanz.Pitch = pitch
  225. kanz.SoundId = ID
  226. kanz.Name = "wrecked"
  227. kanz.Looped = true
  228. currentThemePlaying = kanz.SoundId
  229. currentVol = kanz.Volume
  230. currentPitch = kanz.Pitch
  231. kanz:Play()
  232. coroutine.resume(coroutine.create(function()
  233. wait(0.05)
  234. end))
  235. end
  236.  
  237. local mutedtog = false
  238.  
  239. function CameraEnshaking(Length,Intensity)
  240. coroutine.resume(coroutine.create(function()
  241. local intensity = 1*Intensity
  242. local rotM = 0.01*Intensity
  243. for i = 0, Length, 0.1 do
  244. swait()
  245. intensity = intensity - 0.05*Intensity/Length
  246. rotM = rotM - 0.0005*Intensity/Length
  247. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  248. 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)
  249. end
  250. Humanoid.CameraOffset = Vec3(0, 0, 0)
  251. end))
  252. end
  253. CamShake=function(Part,Distan,Power,Times)
  254. local de=Part.Position
  255. for i,v in pairs(workspace:children()) do
  256. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  257. for _,c in pairs(v:children()) do
  258. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  259. local Noob=v.Humanoid
  260. if Noob~=nil then
  261. coroutine.resume(coroutine.create(function()
  262. FV = Instance.new("BoolValue", Noob)
  263. FV.Name = "CameraShake"
  264. for ShakeNum=1,Times do
  265. swait()
  266. local ef=Power
  267. if ef>=1 then
  268. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  269. else
  270. ef=Power*10
  271. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  272. end
  273. end
  274. Humanoid.CameraOffset = Vector3.new(0,0,0)
  275. FV:Destroy()
  276. end))
  277. CameraShake(Times, Power, Noob)
  278. end
  279. end
  280. end
  281. end
  282. end
  283. end
  284.  
  285. local toggleTag = true
  286. local bilguit = Instance.new("BillboardGui", hed)
  287. bilguit.Adornee = nil
  288. bilguit.Name = "ModeName"
  289. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  290. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  291. local modet = Instance.new("TextLabel", bilguit)
  292. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  293. modet.FontSize = "Size8"
  294. modet.TextScaled = true
  295. modet.TextTransparency = 0
  296. modet.BackgroundTransparency = 1
  297. modet.TextTransparency = 0
  298. modet.TextStrokeTransparency = 0
  299. modet.Font = "Antique"
  300. modet.TextStrokeColor3 = Color3.new(1,0,0)
  301. modet.TextColor3 = Color3.new(0.25,0,0)
  302. modet.Text = "MAYHEM"
  303.  
  304.  
  305. function chatfunc(text,color,typet,font,timeex)
  306. local chat = coroutine.wrap(function()
  307. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  308. Character:FindFirstChild("TalkingBillBoard"):destroy()
  309. end
  310. local naeeym2 = Instance.new("BillboardGui",Character)
  311. naeeym2.Size = UDim2.new(0,100,0,40)
  312. naeeym2.StudsOffset = Vector3.new(0,3,0)
  313. naeeym2.Adornee = Character.Head
  314. naeeym2.Name = "TalkingBillBoard"
  315. local tecks2 = Instance.new("TextLabel",naeeym2)
  316. tecks2.BackgroundTransparency = 1
  317. tecks2.BorderSizePixel = 0
  318. tecks2.Text = ""
  319. tecks2.Font = font
  320. tecks2.TextSize = 30
  321. tecks2.TextStrokeTransparency = 0
  322. tecks2.TextColor3 = color
  323. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  324. tecks2.Size = UDim2.new(1,0,0.5,0)
  325. local tecks3 = Instance.new("TextLabel",naeeym2)
  326. tecks3.BackgroundTransparency = 1
  327. tecks3.BorderSizePixel = 0
  328. tecks3.Text = ""
  329. tecks3.Font = font
  330. tecks3.TextSize = 30
  331. tecks3.TextStrokeTransparency = 0
  332. if typet == "Inverted" then
  333. tecks3.TextColor3 = Color3.new(0,0,0)
  334. tecks3.TextStrokeColor3 = color
  335. elseif typet == "Normal" then
  336. tecks3.TextColor3 = color
  337. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  338. end
  339. tecks3.Size = UDim2.new(1,0,0.5,0)
  340. coroutine.resume(coroutine.create(function()
  341. while true do
  342. swait(1)
  343. if chaosmode == true then
  344. tecks2.TextColor3 = BrickColor.random().Color
  345. tecks3.TextStrokeColor3 = BrickColor.random().Color
  346. end
  347. end
  348. end))
  349. modet.TextTransparency = modet.TextTransparency + 1
  350. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  351. for i = 0, 74*timeex do
  352. swait()
  353. modet.TextTransparency = 1
  354. modet.TextStrokeTransparency = 1
  355. tecks2.Text = text
  356. tecks3.Text = text
  357. end
  358. local randomrot = math.random(1,2)
  359. if randomrot == 1 then
  360. for i = 1, 50 do
  361. swait()
  362. tecks2.Text = text
  363. tecks3.Text = text
  364. modet.TextTransparency = modet.TextTransparency - .02
  365. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  366. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  367. tecks2.TextTransparency = tecks2.TextTransparency + .04
  368. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  369. tecks3.TextTransparency = tecks2.TextTransparency + .04
  370. end
  371. elseif randomrot == 2 then
  372. for i = 1, 50 do
  373. swait()
  374. tecks2.Text = text
  375. tecks3.Text = text
  376. modet.TextTransparency = modet.TextTransparency - .02
  377. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  378. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  379. tecks2.TextTransparency = tecks2.TextTransparency + .04
  380. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  381. tecks3.TextTransparency = tecks2.TextTransparency + .04
  382. end
  383. end
  384. modet.TextTransparency = 0
  385. modet.TextStrokeTransparency = 0
  386. if toggleTag == false then
  387. modet.TextTransparency = 1
  388. modet.TextStrokeTransparency = 1
  389. end
  390. naeeym2:Destroy()
  391. end)
  392. chat()
  393. end
  394.  
  395. function bosschatfunc(text,color,watval)
  396. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  397. coroutine.resume(coroutine.create(function()
  398. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  399. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  400. end
  401. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  402. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  403. scrg.Name = "Dialog"
  404. local txtlb = Instance.new("TextLabel",scrg)
  405. txtlb.Text = ""
  406. txtlb.Font = "Bodoni"
  407. txtlb.TextColor3 = Color3.new(0,0,0)
  408. txtlb.TextStrokeTransparency = 0
  409. txtlb.BackgroundTransparency = 0.75
  410. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  411. txtlb.TextStrokeColor3 = color
  412. txtlb.TextScaled = true
  413. txtlb.Size = UDim2.new(1,0,0.25,0)
  414. txtlb.TextXAlignment = "Left"
  415. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  416. local txtlb2 = Instance.new("TextLabel",scrg)
  417. txtlb2.Text = "?:"
  418. txtlb2.Font = "Arcade"
  419. txtlb2.TextColor3 = Color3.new(0,0,0)
  420. txtlb2.TextStrokeTransparency = 0
  421. txtlb2.BackgroundTransparency = 1
  422. txtlb2.TextStrokeColor3 = color
  423. txtlb2.TextSize = 40
  424. txtlb2.Size = UDim2.new(1,0,0.25,0)
  425. txtlb2.TextXAlignment = "Left"
  426. txtlb2.Position = UDim2.new(0,0,1,0)
  427. local fvalen = 0.55
  428. local fval = -0.49
  429. coroutine.resume(coroutine.create(function()
  430. while true do
  431. swait()
  432. if chaosmode == true then
  433. txtlb.Rotation = math.random(-1,1)
  434. txtlb2.Rotation = math.random(-1,1)
  435. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  436. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  437. txtlb.TextStrokeColor3 = BrickColor.random().Color
  438. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  439. end
  440. end
  441. end))
  442. coroutine.resume(coroutine.create(function()
  443. while true do
  444. swait()
  445. if scrg.Parent ~= nil then
  446. fvalen = fvalen - 0.0001
  447. elseif scrg.Parent == nil then
  448. break
  449. end
  450. end
  451. end))
  452. local flol = 1.75
  453. local flil = 1.6
  454. coroutine.resume(coroutine.create(function()
  455. for i = 0, 9 do
  456. swait()
  457. fval = fval + 0.05
  458. flol = flol - 0.1
  459. flil = flil - 0.1
  460. txtlb.Text = ""
  461. txtlb.Position = UDim2.new(0,0,flol,0)
  462. txtlb2.Position = UDim2.new(0,0,flil,0)
  463. end
  464. txtlb.Text = text
  465. wait(watval)
  466. local valinc = 0
  467. for i = 0, 99 do
  468. swait()
  469. valinc = valinc + 0.0001
  470. flol = flol + valinc
  471. flil = flil + valinc
  472. txtlb.Rotation = txtlb.Rotation + valinc*20
  473. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  474. txtlb.Position = UDim2.new(0,0,flol,0)
  475. txtlb2.Position = UDim2.new(0,0,flil,0)
  476. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  477. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  478. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  479. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  480. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  481. end
  482. scrg:Destroy()
  483. end))
  484. end))
  485. end
  486. end
  487.  
  488.  
  489. local Create = LoadLibrary("RbxUtility").Create
  490.  
  491. CFuncs = {
  492. ["Part"] = {
  493. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  494. local Part = Create("Part"){
  495. Parent = Parent,
  496. Reflectance = Reflectance,
  497. Transparency = Transparency,
  498. CanCollide = false,
  499. Locked = true,
  500. BrickColor = BrickColor.new(tostring(BColor)),
  501. Name = Name,
  502. Size = Size,
  503. Material = Material,
  504. }
  505. RemoveOutlines(Part)
  506. return Part
  507. end;
  508. };
  509.  
  510. ["Mesh"] = {
  511. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  512. local Msh = Create(Mesh){
  513. Parent = Part,
  514. Offset = OffSet,
  515. Scale = Scale,
  516. }
  517. if Mesh == "SpecialMesh" then
  518. Msh.MeshType = MeshType
  519. Msh.MeshId = MeshId
  520. end
  521. return Msh
  522. end;
  523. };
  524.  
  525. ["Mesh"] = {
  526. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  527. local Msh = Create(Mesh){
  528. Parent = Part,
  529. Offset = OffSet,
  530. Scale = Scale,
  531. }
  532. if Mesh == "SpecialMesh" then
  533. Msh.MeshType = MeshType
  534. Msh.MeshId = MeshId
  535. end
  536. return Msh
  537. end;
  538. };
  539.  
  540. ["Weld"] = {
  541. Create = function(Parent, Part0, Part1, C0, C1)
  542. local Weld = Create("Weld"){
  543. Parent = Parent,
  544. Part0 = Part0,
  545. Part1 = Part1,
  546. C0 = C0,
  547. C1 = C1,
  548. }
  549. return Weld
  550. end;
  551. };
  552.  
  553. ["Sound"] = {
  554. Create = function(id, par, vol, pit)
  555. coroutine.resume(coroutine.create(function()
  556. local S = Create("Sound"){
  557. Volume = vol,
  558. Name = "EffectSoundo",
  559. Pitch = pit or 1,
  560. SoundId = id,
  561. Parent = par or workspace,
  562. }
  563. wait()
  564. S:play()
  565. game:GetService("Debris"):AddItem(S, 10)
  566. end))
  567. end;
  568. };
  569.  
  570. ["TimeSound"] = {
  571. Create = function(id, par, vol, pit, timepos)
  572. coroutine.resume(coroutine.create(function()
  573. local S = Create("Sound"){
  574. Volume = vol,
  575. Name = "EffectSoundo",
  576. Pitch = pit or 1,
  577. SoundId = id,
  578. TimePosition = timepos,
  579. Parent = par or workspace,
  580. }
  581. wait()
  582. S:play()
  583. game:GetService("Debris"):AddItem(S, 10)
  584. end))
  585. end;
  586. };
  587. ["EchoSound"] = {
  588. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  589. coroutine.resume(coroutine.create(function()
  590. local Sas = Create("Sound"){
  591. Volume = vol,
  592. Name = "EffectSoundo",
  593. Pitch = pit or 1,
  594. SoundId = id,
  595. TimePosition = timepos,
  596. Parent = par or workspace,
  597. }
  598. local E = Create("EchoSoundEffect"){
  599. Delay = echodelay,
  600. Name = "Echo",
  601. Feedback = fedb,
  602. DryLevel = dryl,
  603. Parent = Sas,
  604. }
  605. wait()
  606. Sas:play()
  607. game:GetService("Debris"):AddItem(Sas, delays)
  608. end))
  609. end;
  610. };
  611.  
  612. ["LongSound"] = {
  613. Create = function(id, par, vol, pit)
  614. coroutine.resume(coroutine.create(function()
  615. local S = Create("Sound"){
  616. Volume = vol,
  617. Pitch = pit or 1,
  618. SoundId = id,
  619. Parent = par or workspace,
  620. }
  621. wait()
  622. S:play()
  623. game:GetService("Debris"):AddItem(S, 60)
  624. end))
  625. end;
  626. };
  627.  
  628. ["ParticleEmitter"] = {
  629. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  630. local fp = Create("ParticleEmitter"){
  631. Parent = Parent,
  632. Color = ColorSequence.new(Color1, Color2),
  633. LightEmission = LightEmission,
  634. Size = Size,
  635. Texture = Texture,
  636. Transparency = Transparency,
  637. ZOffset = ZOffset,
  638. Acceleration = Accel,
  639. Drag = Drag,
  640. LockedToPart = LockedToPart,
  641. VelocityInheritance = VelocityInheritance,
  642. EmissionDirection = EmissionDirection,
  643. Enabled = Enabled,
  644. Lifetime = LifeTime,
  645. Rate = Rate,
  646. Rotation = Rotation,
  647. RotSpeed = RotSpeed,
  648. Speed = Speed,
  649. VelocitySpread = VelocitySpread,
  650. }
  651. return fp
  652. end;
  653. };
  654.  
  655. CreateTemplate = {
  656.  
  657. };
  658. }
  659.  
  660.  
  661.  
  662. New = function(Object, Parent, Name, Data)
  663. local Object = Instance.new(Object)
  664. for Index, Value in pairs(Data or {}) do
  665. Object[Index] = Value
  666. end
  667. Object.Parent = Parent
  668. Object.Name = Name
  669. return Object
  670. end
  671. local halocolor = BrickColor.new("Pastel light blue")
  672. local halocolor2 = BrickColor.new("Cool yellow")
  673. local starcolor = BrickColor.new("Bright yellow")
  674. local lunacolor = BrickColor.new("Navy blue")
  675. local lunacolor2 = BrickColor.new("Bright blue")
  676. local wepcolor = BrickColor.new("Really black")
  677. local maincolor = BrickColor.new("Really black")
  678. local m = Instance.new("Model",char)
  679. local m2 = Instance.new("Model",char)
  680. local m3 = Instance.new("Model",char)
  681. local mw1 = Instance.new("Model",char)
  682. local mw2 = Instance.new("Model",char)
  683.  
  684.  
  685. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  686. local gui = it(GuiType)
  687. gui.Parent = parent
  688. gui.Text = text
  689. gui.BackgroundTransparency = backtrans
  690. gui.BackgroundColor3 = backcol
  691. gui.SizeConstraint = "RelativeXY"
  692. gui.TextXAlignment = "Center"
  693. gui.TextYAlignment = "Center"
  694. gui.Position = pos
  695. gui.Size = size
  696. gui.Font = "SourceSans"
  697. gui.FontSize = "Size14"
  698. gui.TextWrapped = false
  699. gui.TextStrokeTransparency = 0
  700. gui.TextColor = BrickColor.new("White")
  701. return gui
  702. end
  703. --------------------------- GUI STUFF
  704. local basgui = it("GuiMain")
  705. basgui.Parent = plr.PlayerGui
  706. basgui.Name = "VISgui"
  707. local fullscreenz = it("Frame")
  708. fullscreenz.Parent = basgui
  709. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  710. fullscreenz.BackgroundTransparency = 1
  711. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  712. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  713. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  714. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  715. imgl2.BackgroundTransparency = 1
  716. imgl2.BorderSizePixel = 0
  717. imgl2.ImageTransparency = 0.5
  718. imgl2.ImageColor3 = Color3.new(1,0,0)
  719. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  720. imgl2.Size = UDim2.new(0,1000,0,1000)
  721. imgl2.Image = "rbxassetid://2325939897"
  722. local techc = imgl2:Clone()
  723. techc.Parent = fullscreenz
  724. techc.ImageTransparency = 0
  725. techc.Size = UDim2.new(0,900,0,900)
  726. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  727. techc.ImageColor3 = Color3.new(1,0,0)
  728. techc.Image = "rbxassetid://2273224484"
  729. local circl = imgl2:Clone()
  730. circl.Parent = fullscreenz
  731. circl.ImageTransparency = 0
  732. circl.Size = UDim2.new(0,550,0,550)
  733. circl.Position = UDim2.new(0.75,25,0.55,25)
  734. circl.ImageColor3 = Color3.new(0,0,0)
  735. circl.Image = "rbxassetid://2312119891"
  736. local circl2 = imgl2:Clone()
  737. circl2.Parent = fullscreenz
  738. circl2.ImageTransparency = 0
  739. circl2.Size = UDim2.new(0,700,0,700)
  740. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  741. circl2.ImageColor3 = Color3.new(1,0,0)
  742. circl2.Image = "rbxassetid://2312119891"
  743. local imgl2b = imgl2:Clone()
  744. imgl2b.Parent = fullscreenz
  745. imgl2b.ImageTransparency = 0
  746. imgl2b.Size = UDim2.new(0,800,0,800)
  747. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  748. imgl2b.ImageColor3 = Color3.new(0,0,0)
  749. local ned = Instance.new("TextLabel",fullscreenz)
  750. ned.ZIndex = 2
  751. ned.Font = "Arcade"
  752. ned.BackgroundTransparency = 1
  753. ned.BorderSizePixel = 0.65
  754. ned.Size = UDim2.new(0.3,0,0.2,0)
  755. ned.Position = UDim2.new(0.7,0,0.8,0)
  756. ned.TextColor3 = BrickColor.new("Really red").Color
  757. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  758. ned.TextScaled = true
  759. ned.TextStrokeTransparency = 0
  760. ned.Text = "MAYHEM"
  761. ned.TextSize = 24
  762. ned.Rotation = 1
  763. ned.TextXAlignment = "Right"
  764. ned.TextYAlignment = "Bottom"
  765.  
  766. local extrawingmod1 = Instance.new("Model",char)
  767. local extrawingmod2 = Instance.new("Model",char)
  768.  
  769. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  770. local p = Instance.new("Part")
  771. p.TopSurface = 0
  772. p.BottomSurface = 0
  773. p.Parent = parent
  774. p.Size = Vector3.new(0.1,0.1,0.1)
  775. p.Transparency = transparency
  776. p.Reflectance = reflectance
  777. p.CanCollide = false
  778. p.Locked = true
  779. p.BrickColor = brickcolor
  780. p.Material = material
  781. return p
  782. end
  783.  
  784. function CreateMesh(parent,meshtype,x1,y1,z1)
  785. local mesh = Instance.new("SpecialMesh",parent)
  786. mesh.MeshType = meshtype
  787. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  788. return mesh
  789. end
  790.  
  791. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  792. local mesh = Instance.new("SpecialMesh",parent)
  793. mesh.MeshType = "FileMesh"
  794. mesh.MeshId = meshid
  795. mesh.Scale = Vector3.new(x1,y1,z1)
  796. return mesh
  797. end
  798.  
  799.  
  800. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  801. local mesh = Instance.new("SpecialMesh",parent)
  802. mesh.MeshType = "FileMesh"
  803. mesh.MeshId = meshid
  804. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  805. mesh.Scale = Vector3.new(x1,y1,z1)
  806. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  807. return mesh
  808. end
  809.  
  810. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  811. local weld = Instance.new("Weld")
  812. weld.Parent = parent
  813. weld.Part0 = part0
  814. weld.Part1 = part1
  815. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  816. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  817. return weld
  818. end
  819.  
  820.  
  821. --------------
  822. --------------
  823. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  824. 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))
  825. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  826. 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))
  827.  
  828. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  829. CreateMesh(handle,"Brick",0,0,0)
  830. 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))
  831. local valuaring = 10
  832. for i = 0, 49 do
  833. valuaring = valuaring + 10
  834. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  835. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  836. 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))
  837. end
  838.  
  839. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  840. CreateMesh(handle,"Brick",0,0,0)
  841. 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))
  842. local valuaring = 10
  843. for i = 0, 49 do
  844. valuaring = valuaring + 10
  845. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  846. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  847. 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))
  848. end
  849.  
  850.  
  851. local handle = CreateParta(m,1,1,"Neon",maincolor)
  852. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  853. 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))
  854.  
  855. --- Left wing.
  856.  
  857. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  858. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  859. 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))
  860.  
  861. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  862. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  863. 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))
  864. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  865. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  866. 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))
  867. A0 = Instance.new('Attachment',wed)
  868. A0.Position = vt(0,0.25,0.25)
  869. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  870. CreateMesh(wed,"Wedge",0.05,0.5,3)
  871. 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))
  872. A1 = Instance.new('Attachment',wed)
  873. A1.Position = vt(0,-0.25,-2)
  874. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  875. CreateMesh(wed,"Wedge",0.05,3,0.5)
  876. 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))
  877.  
  878. tl1 = Instance.new('Trail',wed)
  879. tl1.Attachment0 = A1
  880. tl1.Attachment1 = A0
  881. tl1.Texture = "rbxassetid://2108945559"
  882. tl1.LightEmission = 1
  883. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  884. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  885. tl1.Lifetime = 0.6
  886.  
  887.  
  888. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  889. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  890. 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))
  891.  
  892. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  893. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  894. 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))
  895. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  896. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  897. 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))
  898. A0 = Instance.new('Attachment',wed)
  899. A0.Position = vt(0,0.25,0.25)
  900. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  901. CreateMesh(wed,"Wedge",0.05,0.5,3)
  902. 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))
  903. A1 = Instance.new('Attachment',wed)
  904. A1.Position = vt(0,-0.25,-2)
  905. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  906. CreateMesh(wed,"Wedge",0.05,3,0.5)
  907. 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))
  908.  
  909. tl2 = Instance.new('Trail',wed)
  910. tl2.Attachment0 = A1
  911. tl2.Attachment1 = A0
  912. tl2.Texture = "rbxassetid://2108945559"
  913. tl2.LightEmission = 1
  914. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  915. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  916. tl2.Lifetime = 0.6
  917.  
  918. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  919. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  920. 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))
  921.  
  922. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  923. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  924. 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))
  925. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  926. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  927. 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))
  928. A0 = Instance.new('Attachment',wed)
  929. A0.Position = vt(0,0.25,0.25)
  930. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  931. CreateMesh(wed,"Wedge",0.05,0.5,3)
  932. 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))
  933. A1 = Instance.new('Attachment',wed)
  934. A1.Position = vt(0,-0.25,-2)
  935. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  936. CreateMesh(wed,"Wedge",0.05,3,0.5)
  937. 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))
  938.  
  939. tl3 = Instance.new('Trail',wed)
  940. tl3.Attachment0 = A1
  941. tl3.Attachment1 = A0
  942. tl3.Texture = "rbxassetid://2108945559"
  943. tl3.LightEmission = 1
  944. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  945. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  946. tl3.Lifetime = 0.6
  947.  
  948. tl1.Enabled = false
  949. tl2.Enabled = false
  950. tl3.Enabled = false
  951. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  952. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  953. 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))
  954.  
  955. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  956. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  957. 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))
  958. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  959. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  960. 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))
  961. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,0.5,3)
  963. 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))
  964. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,3,0.5)
  966. 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))
  967.  
  968. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  969. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  970. 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))
  971.  
  972. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  974. 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))
  975. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  977. 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))
  978. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,0.5,3)
  980. 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))
  981. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,3,0.5)
  983. 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))
  984.  
  985. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  986. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  987. 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))
  988.  
  989. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  990. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  991. 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))
  992. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  993. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  994. 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))
  995. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  996. CreateMesh(wed,"Wedge",0.05,0.5,3)
  997. 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))
  998. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1000. 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))
  1001.  
  1002. -- Right wing.
  1003.  
  1004. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1005. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1006. 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))
  1007.  
  1008. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1010. 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))
  1011. A0 = Instance.new('Attachment',wed)
  1012. A0.Position = vt(0,0.25,0.25)
  1013. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1014. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1015. 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))
  1016. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1017. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1018. 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))
  1019. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1020. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1021. 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))
  1022. A1 = Instance.new('Attachment',wed)
  1023. A1.Position = vt(0,2,0.25)
  1024.  
  1025. tr1 = Instance.new('Trail',wed)
  1026. tr1.Attachment0 = A1
  1027. tr1.Attachment1 = A0
  1028. tr1.Texture = "rbxassetid://2108945559"
  1029. tr1.LightEmission = 1
  1030. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1031. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1032. tr1.Lifetime = 0.6
  1033.  
  1034. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1035. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1036. 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))
  1037.  
  1038. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1039. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1040. 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))
  1041. A0 = Instance.new('Attachment',wed)
  1042. A0.Position = vt(0,0.25,0.25)
  1043. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1044. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1045. 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))
  1046. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1048. 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))
  1049. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1050. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1051. 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))
  1052. A1 = Instance.new('Attachment',wed)
  1053. A1.Position = vt(0,2,0.25)
  1054.  
  1055. tr2 = Instance.new('Trail',wed)
  1056. tr2.Attachment0 = A1
  1057. tr2.Attachment1 = A0
  1058. tr2.Texture = "rbxassetid://2108945559"
  1059. tr2.LightEmission = 1
  1060. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1061. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1062. tr2.Lifetime = 0.6
  1063.  
  1064. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1065. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1066. 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))
  1067.  
  1068. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1069. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1070. 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))
  1071. A0 = Instance.new('Attachment',wed)
  1072. A0.Position = vt(0,0.25,0.25)
  1073. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1074. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1075. 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))
  1076. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1077. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1078. 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))
  1079. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1080. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1081. 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))
  1082. A1 = Instance.new('Attachment',wed)
  1083. A1.Position = vt(0,2,0.25)
  1084.  
  1085. tr3 = Instance.new('Trail',wed)
  1086. tr3.Attachment0 = A1
  1087. tr3.Attachment1 = A0
  1088. tr3.Texture = "rbxassetid://2108945559"
  1089. tr3.LightEmission = 1
  1090. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1091. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1092. tr3.Lifetime = 0.6
  1093.  
  1094.  
  1095. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1096. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1097. 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))
  1098.  
  1099. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1101. 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))
  1102. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1103. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1104. 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))
  1105. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1106. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1107. 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))
  1108. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1109. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1110. 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))
  1111.  
  1112. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1113. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1114. 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))
  1115.  
  1116. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1117. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1118. 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))
  1119. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1120. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1121. 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))
  1122. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1123. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1124. 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))
  1125. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1127. 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))
  1128.  
  1129. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1130. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1131. 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))
  1132.  
  1133. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1135. 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))
  1136. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1137. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1138. 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))
  1139. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1140. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1141. 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))
  1142. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1143. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1144. 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))
  1145.  
  1146. ---- HERES THE RING
  1147.  
  1148.  
  1149. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1150. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1151. 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))
  1152. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1153. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1154. 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))
  1155. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1156. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1157. 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))
  1158.  
  1159.  
  1160. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1161. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1162. 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))
  1163.  
  1164. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1165. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1166. 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))
  1167.  
  1168.  
  1169.  
  1170. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1171. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1172. 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))
  1173.  
  1174. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1175. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1176. 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))
  1177.  
  1178. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1179. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1180. 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))
  1181.  
  1182. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1183. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1184. 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))
  1185. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1186. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1187. 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))
  1188.  
  1189. --- second ring
  1190.  
  1191. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1192. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1193. 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))
  1194. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1195. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1196. 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))
  1197. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1198. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1199. 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))
  1200.  
  1201. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1202. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1203. 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))
  1204.  
  1205. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1206. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1207. 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))
  1208.  
  1209.  
  1210.  
  1211. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1212. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1213. 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))
  1214.  
  1215. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1216. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1217. 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))
  1218.  
  1219. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1220. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1221. 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))
  1222.  
  1223. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1224. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1225. 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))
  1226. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1227. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1228. 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))]]--
  1229.  
  1230.  
  1231.  
  1232. for i, v in pairs(m:GetChildren()) do
  1233. if v:IsA("Part") then
  1234. v.BrickColor = BrickColor.new("Really black")
  1235. v.Material = "Glass"
  1236. end
  1237. end
  1238. for i, v in pairs(m2:GetChildren()) do
  1239. if v:IsA("Part") then
  1240. v.BrickColor = BrickColor.new("Crimson")
  1241. v.Material = "Granite"
  1242. end
  1243. end
  1244. for i, v in pairs(m3:GetChildren()) do
  1245. if v:IsA("Part") then
  1246. v.BrickColor = BrickColor.new("Really red")
  1247. v.Material = "Neon"
  1248. end
  1249. end
  1250. for i, v in pairs(mw2:GetChildren()) do
  1251. if v:IsA("Part") then
  1252. v.BrickColor = BrickColor.new("Really red")
  1253. v.Material = "Neon"
  1254. end
  1255. end
  1256. for i, v in pairs(mw1:GetChildren()) do
  1257. if v:IsA("Part") then
  1258. v.Transparency = 1
  1259. v.BrickColor = BrickColor.new("Really red")
  1260. v.Material = "Neon"
  1261. end
  1262. end
  1263. for i, v in pairs(extrawingmod1:GetChildren()) do
  1264. if v:IsA("Part") then
  1265. v.Transparency = 1
  1266. v.BrickColor = BrickColor.new("White")
  1267. v.Material = "Neon"
  1268. end
  1269. end
  1270. for i, v in pairs(extrawingmod2:GetChildren()) do
  1271. if v:IsA("Part") then
  1272. v.Transparency = 1
  1273. v.BrickColor = BrickColor.new("White")
  1274. v.Material = "Neon"
  1275. end
  1276. end
  1277. local MAINRUINCOLOR = BrickColor.new("Really red")
  1278. ------
  1279.  
  1280.  
  1281. function RemoveOutlines(part)
  1282. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1283. end
  1284. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1285. local Part = Create("Part")({
  1286. Parent = Parent,
  1287. Reflectance = Reflectance,
  1288. Transparency = Transparency,
  1289. CanCollide = false,
  1290. Locked = true,
  1291. BrickColor = BrickColor.new(tostring(BColor)),
  1292. Name = Name,
  1293. Size = Size,
  1294. Material = Material
  1295. })
  1296. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1297. RemoveOutlines(Part)
  1298. return Part
  1299. end
  1300. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1301. local Msh = Create(Mesh)({
  1302. Parent = Part,
  1303. Offset = OffSet,
  1304. Scale = Scale
  1305. })
  1306. if Mesh == "SpecialMesh" then
  1307. Msh.MeshType = MeshType
  1308. Msh.MeshId = MeshId
  1309. end
  1310. return Msh
  1311. end
  1312. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1313. local Weld = Create("Weld")({
  1314. Parent = Parent,
  1315. Part0 = Part0,
  1316. Part1 = Part1,
  1317. C0 = C0,
  1318. C1 = C1
  1319. })
  1320. return Weld
  1321. end
  1322.  
  1323. Character=Player.Character
  1324. PlayerGui=Player.PlayerGui
  1325. Backpack=Player.Backpack
  1326. Torso=Character.Torso
  1327. Head=Character.Head
  1328. Humanoid=Character.Humanoid
  1329. m=Instance.new('Model',Character)
  1330. LeftArm=Character["Left Arm"]
  1331. LeftLeg=Character["Left Leg"]
  1332. RightArm=Character["Right Arm"]
  1333. RightLeg=Character["Right Leg"]
  1334. LS=Torso["Left Shoulder"]
  1335. LH=Torso["Left Hip"]
  1336. RS=Torso["Right Shoulder"]
  1337. RH=Torso["Right Hip"]
  1338. Face = Head.face
  1339. Neck=Torso.Neck
  1340. it=Instance.new
  1341. attacktype=1
  1342. vt=Vector3.new
  1343. cf=CFrame.new
  1344. euler=CFrame.fromEulerAnglesXYZ
  1345. angles=CFrame.Angles
  1346. cloaked=false
  1347. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1348. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1349. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1350. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1351. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1352. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1353. RootPart=Character.HumanoidRootPart
  1354. RootJoint=RootPart.RootJoint
  1355. RootCF=euler(-1.57,0,3.14)
  1356. attack = false
  1357. attackdebounce = false
  1358. deb=false
  1359. equipped=true
  1360. hand=false
  1361. combo=0
  1362. mana=0
  1363. trispeed=.2
  1364. attackmode='none'
  1365. local idle=0
  1366. local Anim="Idle"
  1367. local Effects={}
  1368. local gun=false
  1369. local shoot=false
  1370. local sine = 0
  1371. local change = 1
  1372.  
  1373. function RecolorTextAndRename(name,col1,col2,font)
  1374. modet.TextStrokeColor3 = col2
  1375. modet.TextColor3 = col1
  1376. modet.Font = font
  1377. modet.Text = name
  1378. techc.ImageColor3 = col2
  1379. circl.ImageColor3 = col2
  1380. circl2.ImageColor3 = col1
  1381. imgl2.ImageColor3 = col1
  1382. imgl2b.ImageColor3 = col2
  1383. ned.Text = name
  1384. ned.TextColor3 = col1
  1385. ned.TextStrokeColor3 = col2
  1386. end
  1387. --save shoulders
  1388. RSH, LSH=nil, nil
  1389. --welds
  1390. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1391. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1392. LH=Torso["Left Hip"]
  1393. RH=Torso["Right Hip"]
  1394. TorsoColor=Torso.BrickColor
  1395. function NoOutline(Part)
  1396. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1397. end
  1398. ch=Character
  1399. RSH=ch.Torso["Right Shoulder"]
  1400. LSH=ch.Torso["Left Shoulder"]
  1401. --
  1402. RSH.Parent=nil
  1403. LSH.Parent=nil
  1404. --
  1405. RW.Name="Right Shoulder"
  1406. RW.Part0=ch.Torso
  1407. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1408. RW.C1=cf(0, 0.5, 0)
  1409. RW.Part1=ch["Right Arm"]
  1410. RW.Parent=ch.Torso
  1411. --
  1412. LW.Name="Left Shoulder"
  1413. LW.Part0=ch.Torso
  1414. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1415. LW.C1=cf(0, 0.5, 0)
  1416. LW.Part1=ch["Left Arm"]
  1417. LW.Parent=ch.Torso
  1418.  
  1419. local Stats=Instance.new("BoolValue")
  1420. Stats.Name="Stats"
  1421. Stats.Parent=Character
  1422. local Atk=Instance.new("NumberValue")
  1423. Atk.Name="Damage"
  1424. Atk.Parent=Stats
  1425. Atk.Value=1
  1426. local Def=Instance.new("NumberValue")
  1427. Def.Name="Defense"
  1428. Def.Parent=Stats
  1429. Def.Value=1
  1430. local Speed=Instance.new("NumberValue")
  1431. Speed.Name="Speed"
  1432. Speed.Parent=Stats
  1433. Speed.Value=1
  1434. local Mvmt=Instance.new("NumberValue")
  1435. Mvmt.Name="Movement"
  1436. Mvmt.Parent=Stats
  1437. Mvmt.Value=1
  1438.  
  1439. local donum=0
  1440.  
  1441.  
  1442. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1443. local fp=it("Part")
  1444. fp.formFactor=formfactor
  1445. fp.Parent=parent
  1446. fp.Reflectance=reflectance
  1447. fp.Transparency=transparency
  1448. fp.CanCollide=false
  1449. fp.Locked=true
  1450. fp.BrickColor=brickcolor
  1451. fp.Name=name
  1452. fp.Size=size
  1453. fp.Position=Torso.Position
  1454. NoOutline(fp)
  1455. fp.Material="SmoothPlastic"
  1456. fp:BreakJoints()
  1457. return fp
  1458. end
  1459.  
  1460. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1461. local mesh=it(Mesh)
  1462. mesh.Parent=part
  1463. if Mesh=="SpecialMesh" then
  1464. mesh.MeshType=meshtype
  1465. if meshid~="nil" then
  1466. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1467. end
  1468. end
  1469. mesh.Offset=offset
  1470. mesh.Scale=scale
  1471. return mesh
  1472. end
  1473.  
  1474. function weld(parent,part0,part1,c0)
  1475. local weld=it("Weld")
  1476. weld.Parent=parent
  1477. weld.Part0=part0
  1478. weld.Part1=part1
  1479. weld.C0=c0
  1480. return weld
  1481. end
  1482.  
  1483. local Color1=Torso.BrickColor
  1484.  
  1485. local bodvel=Instance.new("BodyVelocity")
  1486. local bg=Instance.new("BodyGyro")
  1487.  
  1488. --------- SazEreno's Artificial HB --------------
  1489. ArtificialHB = Instance.new("BindableEvent", script)
  1490. ArtificialHB.Name = "ArtificialHB"
  1491.  
  1492. script:WaitForChild("ArtificialHB")
  1493. Frame_Speed = 1 / 60
  1494. frame = Frame_Speed
  1495. tf = 0
  1496. allowframeloss = false
  1497. tossremainder = false
  1498. lastframe = tick()
  1499. script.ArtificialHB:Fire()
  1500.  
  1501. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1502. tf = tf + s
  1503. if tf >= frame then
  1504. if allowframeloss then
  1505. script.ArtificialHB:Fire()
  1506. lastframe = tick()
  1507. else
  1508. for i = 1, math.floor(tf / frame) do
  1509. script.ArtificialHB:Fire()
  1510. end
  1511. lastframe = tick()
  1512. end
  1513. if tossremainder then
  1514. tf = 0
  1515. else
  1516. tf = tf - frame * math.floor(tf / frame)
  1517. end
  1518. end
  1519. end)
  1520.  
  1521. ------------------
  1522. function swait(num)
  1523. function swait(num)
  1524. if num==0 or num==nil then
  1525. game:service'RunService'.Stepped:wait(0)
  1526. else
  1527. for i=0,num do
  1528. game:service'RunService'.Stepped:wait(0)
  1529. end
  1530. end
  1531. end
  1532. end
  1533.  
  1534. -------- RAINBOW LEAVE IT TO ME
  1535. local r = 255
  1536. local g = 0
  1537. local b = 0
  1538. coroutine.resume(coroutine.create(function()
  1539. while wait() do
  1540. for i = 0, 254/5 do
  1541. swait()
  1542. g = g + 5
  1543. end
  1544. for i = 0, 254/5 do
  1545. swait()
  1546. r = r - 5
  1547. end
  1548. for i = 0, 254/5 do
  1549. swait()
  1550. b = b + 5
  1551. end
  1552. for i = 0, 254/5 do
  1553. swait()
  1554. g = g - 5
  1555. end
  1556. for i = 0, 254/5 do
  1557. swait()
  1558. r = r + 5
  1559. end
  1560. for i = 0, 254/5 do
  1561. swait()
  1562. b = b - 5
  1563. end
  1564. end
  1565. end))
  1566.  
  1567.  
  1568. so = function(id,par,vol,pit)
  1569. coroutine.resume(coroutine.create(function()
  1570. local sou = Instance.new("Sound",par or workspace)
  1571. sou.Volume=vol
  1572. sou.Pitch=pit or 1
  1573. sou.SoundId=id
  1574. swait()
  1575. sou:play()
  1576. game:GetService("Debris"):AddItem(sou,6)
  1577. end))
  1578. end
  1579.  
  1580. function clerp(a,b,t)
  1581. local qa = {QuaternionFromCFrame(a)}
  1582. local qb = {QuaternionFromCFrame(b)}
  1583. local ax, ay, az = a.x, a.y, a.z
  1584. local bx, by, bz = b.x, b.y, b.z
  1585. local _t = 1-t
  1586. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1587. end
  1588.  
  1589. function QuaternionFromCFrame(cf)
  1590. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1591. local trace = m00 + m11 + m22
  1592. if trace > 0 then
  1593. local s = math.sqrt(1 + trace)
  1594. local recip = 0.5/s
  1595. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1596. else
  1597. local i = 0
  1598. if m11 > m00 then
  1599. i = 1
  1600. end
  1601. if m22 > (i == 0 and m00 or m11) then
  1602. i = 2
  1603. end
  1604. if i == 0 then
  1605. local s = math.sqrt(m00-m11-m22+1)
  1606. local recip = 0.5/s
  1607. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1608. elseif i == 1 then
  1609. local s = math.sqrt(m11-m22-m00+1)
  1610. local recip = 0.5/s
  1611. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1612. elseif i == 2 then
  1613. local s = math.sqrt(m22-m00-m11+1)
  1614. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1615. end
  1616. end
  1617. end
  1618.  
  1619. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1620. local xs, ys, zs = x + x, y + y, z + z
  1621. local wx, wy, wz = w*xs, w*ys, w*zs
  1622. local xx = x*xs
  1623. local xy = x*ys
  1624. local xz = x*zs
  1625. local yy = y*ys
  1626. local yz = y*zs
  1627. local zz = z*zs
  1628. 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))
  1629. end
  1630.  
  1631. function QuaternionSlerp(a, b, t)
  1632. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1633. local startInterp, finishInterp;
  1634. if cosTheta >= 0.0001 then
  1635. if (1 - cosTheta) > 0.0001 then
  1636. local theta = math.acos(cosTheta)
  1637. local invSinTheta = 1/math.sin(theta)
  1638. startInterp = math.sin((1-t)*theta)*invSinTheta
  1639. finishInterp = math.sin(t*theta)*invSinTheta
  1640. else
  1641. startInterp = 1-t
  1642. finishInterp = t
  1643. end
  1644. else
  1645. if (1+cosTheta) > 0.0001 then
  1646. local theta = math.acos(-cosTheta)
  1647. local invSinTheta = 1/math.sin(theta)
  1648. startInterp = math.sin((t-1)*theta)*invSinTheta
  1649. finishInterp = math.sin(t*theta)*invSinTheta
  1650. else
  1651. startInterp = t-1
  1652. finishInterp = t
  1653. end
  1654. end
  1655. 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
  1656. end
  1657.  
  1658. local function CFrameFromTopBack(at, top, back)
  1659. local right = top:Cross(back)
  1660. return CFrame.new(at.x, at.y, at.z,
  1661. right.x, top.x, back.x,
  1662. right.y, top.y, back.y,
  1663. right.z, top.z, back.z)
  1664. end
  1665.  
  1666. function Triangle(a, b, c)
  1667. local edg1 = (c-a):Dot((b-a).unit)
  1668. local edg2 = (a-b):Dot((c-b).unit)
  1669. local edg3 = (b-c):Dot((a-c).unit)
  1670. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1671. a, b, c = a, b, c
  1672. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1673. a, b, c = b, c, a
  1674. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1675. a, b, c = c, a, b
  1676. else
  1677. assert(false, "unreachable")
  1678. end
  1679.  
  1680. local len1 = (c-a):Dot((b-a).unit)
  1681. local len2 = (b-a).magnitude - len1
  1682. local width = (a + (b-a).unit*len1 - c).magnitude
  1683.  
  1684. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1685.  
  1686. local list = {}
  1687.  
  1688. if len1 > 0.01 then
  1689. local w1 = Instance.new('WedgePart', m)
  1690. game:GetService("Debris"):AddItem(w1,5)
  1691. w1.Material = "SmoothPlastic"
  1692. w1.FormFactor = 'Custom'
  1693. w1.BrickColor = BrickColor.new("Really red")
  1694. w1.Transparency = 0
  1695. w1.Reflectance = 0
  1696. w1.Material = "SmoothPlastic"
  1697. w1.CanCollide = false
  1698. local l1 = Instance.new("PointLight",w1)
  1699. l1.Color = Color3.new(170,0,0)
  1700. NoOutline(w1)
  1701. local sz = Vector3.new(0.2, width, len1)
  1702. w1.Size = sz
  1703. local sp = Instance.new("SpecialMesh",w1)
  1704. sp.MeshType = "Wedge"
  1705. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1706. w1:BreakJoints()
  1707. w1.Anchored = true
  1708. w1.Parent = workspace
  1709. w1.Transparency = 0.7
  1710. table.insert(Effects,{w1,"Disappear",.01})
  1711. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1712. table.insert(list,w1)
  1713. end
  1714.  
  1715. if len2 > 0.01 then
  1716. local w2 = Instance.new('WedgePart', m)
  1717. game:GetService("Debris"):AddItem(w2,5)
  1718. w2.Material = "SmoothPlastic"
  1719. w2.FormFactor = 'Custom'
  1720. w2.BrickColor = BrickColor.new("Really red")
  1721. w2.Transparency = 0
  1722. w2.Reflectance = 0
  1723. w2.Material = "SmoothPlastic"
  1724. w2.CanCollide = false
  1725. local l2 = Instance.new("PointLight",w2)
  1726. l2.Color = Color3.new(170,0,0)
  1727. NoOutline(w2)
  1728. local sz = Vector3.new(0.2, width, len2)
  1729. w2.Size = sz
  1730. local sp = Instance.new("SpecialMesh",w2)
  1731. sp.MeshType = "Wedge"
  1732. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1733. w2:BreakJoints()
  1734. w2.Anchored = true
  1735. w2.Parent = workspace
  1736. w2.Transparency = 0.7
  1737. table.insert(Effects,{w2,"Disappear",.01})
  1738. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1739. table.insert(list,w2)
  1740. end
  1741. return unpack(list)
  1742. end
  1743.  
  1744.  
  1745. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1746. if hit.Parent == nil then
  1747. return
  1748. end
  1749. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1750. for _, v in pairs(hit.Parent:children()) do
  1751. if v:IsA("Humanoid") then
  1752. h = v
  1753. end
  1754. end
  1755. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1756. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1757. return
  1758. end
  1759. local c = Create("ObjectValue")({
  1760. Name = "creator",
  1761. Value = game:GetService("Players").LocalPlayer,
  1762. Parent = h
  1763. })
  1764. game:GetService("Debris"):AddItem(c, 0.5)
  1765. if HitSound ~= nil and HitPitch ~= nil then
  1766. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1767. end
  1768. local Damage = math.random(minim, maxim)
  1769. local blocked = false
  1770. local block = hit.Parent:findFirstChild("Block")
  1771. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1772. blocked = true
  1773. block.Value = block.Value - 1
  1774. print(block.Value)
  1775. end
  1776. if blocked == false then
  1777. HitHealth = h.Health
  1778. h.MaxHealth = 100
  1779. h.Health = h.Health - Damage
  1780. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1781. print("gained kill")
  1782. dmg(h.Parent)
  1783. end
  1784. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1785. else
  1786. h.Health = h.Health - Damage / 2
  1787. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1788. end
  1789. if Type == "Knockdown" then
  1790. local hum = hit.Parent.Humanoid
  1791. hum.PlatformStand = true
  1792. coroutine.resume(coroutine.create(function(HHumanoid)
  1793. swait(1)
  1794. HHumanoid.PlatformStand = false
  1795. end), hum)
  1796. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1797. local bodvol = Create("BodyVelocity")({
  1798. velocity = angle * knockback,
  1799. P = 5000,
  1800. maxForce = Vector3.new(8000, 8000, 8000),
  1801. Parent = hit
  1802. })
  1803. local rl = Create("BodyAngularVelocity")({
  1804. P = 3000,
  1805. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1806. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1807. Parent = hit
  1808. })
  1809. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1810. game:GetService("Debris"):AddItem(rl, 0.5)
  1811. elseif Type == "Normal" then
  1812. local vp = Create("BodyVelocity")({
  1813. P = 500,
  1814. maxForce = Vector3.new(math.huge, 0, math.huge),
  1815. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1816. })
  1817. if knockback > 0 then
  1818. vp.Parent = hit.Parent.Head
  1819. end
  1820. game:GetService("Debris"):AddItem(vp, 0.5)
  1821. elseif Type == "Up" then
  1822. local bodyVelocity = Create("BodyVelocity")({
  1823. velocity = Vector3.new(0, 20, 0),
  1824. P = 5000,
  1825. maxForce = Vector3.new(8000, 8000, 8000),
  1826. Parent = hit
  1827. })
  1828. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1829. local bodyVelocity = Create("BodyVelocity")({
  1830. velocity = Vector3.new(0, 20, 0),
  1831. P = 5000,
  1832. maxForce = Vector3.new(8000, 8000, 8000),
  1833. Parent = hit
  1834. })
  1835. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1836. elseif Type == "Leech" then
  1837. local hum = hit.Parent.Humanoid
  1838. if hum ~= nil then
  1839. for i = 0, 2 do
  1840. 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)
  1841. end
  1842. Humanoid.Health = Humanoid.Health + 10
  1843. end
  1844. elseif Type == "UpKnock" then
  1845. local hum = hit.Parent.Humanoid
  1846. hum.PlatformStand = true
  1847. if hum ~= nil then
  1848. hitr = true
  1849. end
  1850. coroutine.resume(coroutine.create(function(HHumanoid)
  1851. swait(5)
  1852. HHumanoid.PlatformStand = false
  1853. hitr = false
  1854. end), hum)
  1855. local bodyVelocity = Create("BodyVelocity")({
  1856. velocity = Vector3.new(0, 20, 0),
  1857. P = 5000,
  1858. maxForce = Vector3.new(8000, 8000, 8000),
  1859. Parent = hit
  1860. })
  1861. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1862. local bodyVelocity = Create("BodyVelocity")({
  1863. velocity = Vector3.new(0, 20, 0),
  1864. P = 5000,
  1865. maxForce = Vector3.new(8000, 8000, 8000),
  1866. Parent = hit
  1867. })
  1868. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1869. elseif Type == "Snare" then
  1870. local bp = Create("BodyPosition")({
  1871. P = 2000,
  1872. D = 100,
  1873. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1874. position = hit.Parent.Torso.Position,
  1875. Parent = hit.Parent.Torso
  1876. })
  1877. game:GetService("Debris"):AddItem(bp, 1)
  1878. elseif Type == "Slashnare" then
  1879. 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)
  1880. for i = 1, math.random(4, 5) do
  1881. 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)
  1882. end
  1883. local bp = Create("BodyPosition")({
  1884. P = 2000,
  1885. D = 100,
  1886. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1887. position = hit.Parent.Torso.Position,
  1888. Parent = hit.Parent.Torso
  1889. })
  1890. game:GetService("Debris"):AddItem(bp, 1)
  1891. elseif Type == "Spike" then
  1892. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1893. local bp = Create("BodyPosition")({
  1894. P = 2000,
  1895. D = 100,
  1896. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1897. position = hit.Parent.Torso.Position,
  1898. Parent = hit.Parent.Torso
  1899. })
  1900. game:GetService("Debris"):AddItem(bp, 1)
  1901. elseif Type == "Freeze" then
  1902. local BodPos = Create("BodyPosition")({
  1903. P = 50000,
  1904. D = 1000,
  1905. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1906. position = hit.Parent.Torso.Position,
  1907. Parent = hit.Parent.Torso
  1908. })
  1909. local BodGy = Create("BodyGyro")({
  1910. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1911. P = 20000,
  1912. Parent = hit.Parent.Torso,
  1913. cframe = hit.Parent.Torso.CFrame
  1914. })
  1915. hit.Parent.Torso.Anchored = true
  1916. coroutine.resume(coroutine.create(function(Part)
  1917. swait(1.5)
  1918. Part.Anchored = false
  1919. end), hit.Parent.Torso)
  1920. game:GetService("Debris"):AddItem(BodPos, 3)
  1921. game:GetService("Debris"):AddItem(BodGy, 3)
  1922. end
  1923. local debounce = Create("BoolValue")({
  1924. Name = "DebounceHit",
  1925. Parent = hit.Parent,
  1926. Value = true
  1927. })
  1928. game:GetService("Debris"):AddItem(debounce, Delay)
  1929. c = Instance.new("ObjectValue")
  1930. c.Name = "creator"
  1931. c.Value = Player
  1932. c.Parent = h
  1933. game:GetService("Debris"):AddItem(c, 0.5)
  1934. end
  1935. end
  1936. function ShowDamage(Pos, Text, Time, Color)
  1937. local Rate = 0.03333333333333333
  1938. local Pos = Pos or Vector3.new(0, 0, 0)
  1939. local Text = Text or ""
  1940. local Time = Time or 2
  1941. local Color = Color or Color3.new(1, 0, 1)
  1942. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1943. EffectPart.Anchored = true
  1944. local BillboardGui = Create("BillboardGui")({
  1945. Size = UDim2.new(3, 0, 3, 0),
  1946. Adornee = EffectPart,
  1947. Parent = EffectPart
  1948. })
  1949. local TextLabel = Create("TextLabel")({
  1950. BackgroundTransparency = 1,
  1951. Size = UDim2.new(1, 0, 1, 0),
  1952. Text = Text,
  1953. TextColor3 = Color,
  1954. TextScaled = true,
  1955. Font = Enum.Font.ArialBold,
  1956. Parent = BillboardGui
  1957. })
  1958. game.Debris:AddItem(EffectPart, Time + 0.1)
  1959. EffectPart.Parent = game:GetService("Workspace")
  1960. delay(0, function()
  1961. local Frames = Time / Rate
  1962. for Frame = 1, Frames do
  1963. wait(Rate)
  1964. local Percent = Frame / Frames
  1965. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1966. TextLabel.TextTransparency = Percent
  1967. end
  1968. if EffectPart and EffectPart.Parent then
  1969. EffectPart:Destroy()
  1970. end
  1971. end)
  1972. end
  1973. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1974. for _, c in pairs(workspace:children()) do
  1975. local hum = c:findFirstChildOfClass("Humanoid")
  1976. if hum ~= nil then
  1977. local head = c:findFirstChild("Head")
  1978. if head ~= nil then
  1979. local targ = head.Position - Part.Position
  1980. local mag = targ.magnitude
  1981. if magni >= mag and c.Name ~= Player.Name then
  1982. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1983. end
  1984. end
  1985. end
  1986. end
  1987. end
  1988.  
  1989. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1990. for _, c in pairs(workspace:children()) do
  1991. local hum = c:findFirstChild("Humanoid")
  1992. if hum ~= nil then
  1993. local head = c:findFirstChild("Torso")
  1994. if head ~= nil then
  1995. local targ = head.Position - Part.Position
  1996. local mag = targ.magnitude
  1997. if magni >= mag and c.Name ~= Player.Name then
  1998. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1999. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2000. end
  2001. end
  2002. end
  2003. end
  2004. end
  2005.  
  2006. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2007. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2008. end
  2009.  
  2010. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2011. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2012. prt.Anchored=true
  2013. prt.CFrame=cframe
  2014. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2015. --http://www.roblox.com/asset/?id=4770560
  2016. game:GetService("Debris"):AddItem(prt,2)
  2017. CF=prt.CFrame
  2018. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2019. for i=0,1,0.2 do
  2020. wait()
  2021. Part.CFrame=CF*cf(0,0,-0.4)
  2022. end
  2023. for i=0,1,delay do
  2024. wait()
  2025. --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)
  2026. Mesh.Scale=Mesh.Scale
  2027. end
  2028. for i=0,1,0.1 do
  2029. wait()
  2030. Part.Transparency=i
  2031. end
  2032. Part.Parent=nil
  2033. end),prt,msh,CF)
  2034. end
  2035.  
  2036. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2037. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2038. prt.Anchored=true
  2039. prt.Material = "Neon"
  2040. prt.CFrame=cframe
  2041. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2042. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2043. game:GetService("Debris"):AddItem(prt,5)
  2044. coroutine.resume(coroutine.create(function(Part,Mesh)
  2045. for i=0,1,delay do
  2046. swait()
  2047. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2048. Part.Transparency=i
  2049. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2050. end
  2051. Part.Parent=nil
  2052. end),prt,msh)
  2053. end
  2054.  
  2055. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2056. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2057. prt.Anchored=true
  2058. prt.Material = "Neon"
  2059. prt.CFrame=cframe
  2060. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2061. game:GetService("Debris"):AddItem(prt,5)
  2062. coroutine.resume(coroutine.create(function(Part,Mesh)
  2063. local rtype = rottype
  2064. for i=0,1,delay do
  2065. swait()
  2066. if rtype == 1 then
  2067. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2068. elseif rtype == 2 then
  2069. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2070. end
  2071. Part.Transparency=i
  2072. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2073. end
  2074. Part.Parent=nil
  2075. end),prt,msh)
  2076. end
  2077.  
  2078. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2079. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2080. prt.Anchored=true
  2081. prt.CFrame=cframe
  2082. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2083. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2084. game:GetService("Debris"):AddItem(prt,5)
  2085. coroutine.resume(coroutine.create(function(Part,Mesh)
  2086. for i=0,1,delay do
  2087. wait()
  2088. Part.Transparency=i
  2089. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2090. end
  2091. Part.Parent=nil
  2092. end),prt,msh)
  2093. end
  2094.  
  2095. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2096. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2097. prt.Anchored=true
  2098. prt.Material = "Neon"
  2099. prt.CFrame=cframe
  2100. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2101. game:GetService("Debris"):AddItem(prt,5)
  2102. coroutine.resume(coroutine.create(function(Part,Mesh)
  2103. local rtype = rottype
  2104. for i=0,1,delay do
  2105. swait()
  2106. if rtype == 1 then
  2107. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2108. elseif rtype == 2 then
  2109. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2110. end
  2111. Part.Transparency=i
  2112. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2113. end
  2114. Part.Parent=nil
  2115. end),prt,msh)
  2116. end
  2117.  
  2118. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2119. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2120. prt.Anchored=true
  2121. prt.Material = "Neon"
  2122. prt.CFrame=cframe
  2123. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2124. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2125. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2126. game:GetService("Debris"):AddItem(prt,5)
  2127. coroutine.resume(coroutine.create(function(Part,Mesh)
  2128. local rtype = rottype
  2129. for i=0,1,delay do
  2130. swait()
  2131. if rtype == 1 then
  2132. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2133. elseif rtype == 2 then
  2134. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2135. end
  2136. dec.Transparency=i
  2137. dec2.Transparency=i
  2138. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2139. end
  2140. Part.Parent=nil
  2141. end),prt,msh)
  2142. end
  2143.  
  2144. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2145. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2146. prt.Anchored=true
  2147. prt.Material = "Neon"
  2148. prt.CFrame=cframe
  2149. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2150. game:GetService("Debris"):AddItem(prt,5)
  2151. coroutine.resume(coroutine.create(function(Part,Mesh)
  2152. local rtype = rottype
  2153. for i=0,1,delay do
  2154. swait()
  2155. if rtype == 1 then
  2156. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2157. elseif rtype == 2 then
  2158. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2159. end
  2160. prt.Transparency=i
  2161. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2162. end
  2163. Part.Parent=nil
  2164. end),prt,msh)
  2165. end
  2166.  
  2167. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2168. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2169. prt.Anchored=true
  2170. prt.Material = "Neon"
  2171. prt.CFrame=cframe
  2172. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2173. game:GetService("Debris"):AddItem(prt,5)
  2174. coroutine.resume(coroutine.create(function(Part,Mesh)
  2175. local rtype = rottype
  2176. for i=0,1,delay do
  2177. swait()
  2178. if rtype == 1 then
  2179. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2180. elseif rtype == 2 then
  2181. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2182. end
  2183. prt.Transparency=i
  2184. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2185. end
  2186. Part.Parent=nil
  2187. end),prt,msh)
  2188. end
  2189.  
  2190. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2191. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2192. prt.Anchored=true
  2193. prt.Material = "Neon"
  2194. prt.CFrame=cframe
  2195. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2196. game:GetService("Debris"):AddItem(prt,5)
  2197. coroutine.resume(coroutine.create(function(Part,Mesh)
  2198. local rtype = rottype
  2199. for i=0,1,delay do
  2200. swait()
  2201. if rtype == 1 then
  2202. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2203. elseif rtype == 2 then
  2204. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2205. end
  2206. prt.Transparency=i
  2207. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2208. end
  2209. Part.Parent=nil
  2210. end),prt,msh)
  2211. end
  2212.  
  2213. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2214. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2215. prt.Anchored=true
  2216. prt.Material = "Neon"
  2217. prt.CFrame=cframe
  2218. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2219. game:GetService("Debris"):AddItem(prt,5)
  2220. coroutine.resume(coroutine.create(function(Part,Mesh)
  2221. local rtype = rottype
  2222. for i=0,1,delay do
  2223. swait()
  2224. if rtype == 1 then
  2225. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2226. elseif rtype == 2 then
  2227. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2228. end
  2229. prt.Transparency=i
  2230. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2231. end
  2232. Part.Parent=nil
  2233. end),prt,msh)
  2234. end
  2235.  
  2236. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2237. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2238. prt.Anchored=false
  2239. prt.CFrame=cframe
  2240. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2241. local wld=weld(prt,prt,Parent,cframe)
  2242. game:GetService("Debris"):AddItem(prt,5)
  2243. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2244. for i=0,1,delay do
  2245. wait()
  2246. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2247. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2248. Part.Transparency=i
  2249. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2250. end
  2251. Part.Parent=nil
  2252. end),prt,msh,wld)
  2253. end
  2254.  
  2255. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2256. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2257. prt.Anchored=false
  2258. prt.CFrame=cframe
  2259. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2260. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2261. game:GetService("Debris"):AddItem(prt,5)
  2262. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2263. for i=0,1,delay do
  2264. wait()
  2265. Weld.C0=euler(i*20,0,0)
  2266. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2267. Part.Transparency=i
  2268. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2269. end
  2270. Part.Parent=nil
  2271. end),prt,msh,wld)
  2272. end
  2273.  
  2274. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2275. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2276. prt.Anchored=true
  2277. prt.CFrame=cframe
  2278. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2279. game:GetService("Debris"):AddItem(prt,2)
  2280. coroutine.resume(coroutine.create(function(Part,Mesh)
  2281. for i=0,1,delay do
  2282. wait()
  2283. Part.CFrame=Part.CFrame
  2284. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2285. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2286. prt2.Anchored=true
  2287. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2288. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2289. game:GetService("Debris"):AddItem(prt2,2)
  2290. coroutine.resume(coroutine.create(function(Part,Mesh)
  2291. for i=0,1,0.1 do
  2292. wait()
  2293. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2294. end
  2295. Part.Parent=nil
  2296. end),prt2,msh2)
  2297. end
  2298. for i=0,1,delay*2 do
  2299. wait()
  2300. Part.CFrame=Part.CFrame
  2301. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2302. end
  2303. Part.Parent=nil
  2304. end),prt,msh)
  2305. end
  2306.  
  2307. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2308. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2309. prt.Anchored=true
  2310. prt.CFrame=cframe
  2311. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2312. game:GetService("Debris"):AddItem(prt,2)
  2313. coroutine.resume(coroutine.create(function(Part,Mesh)
  2314. for i=0,1,delay do
  2315. wait()
  2316. Part.CFrame=Part.CFrame
  2317. Part.Transparency=i
  2318. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2319. end
  2320. Part.Parent=nil
  2321. end),prt,msh)
  2322. end
  2323.  
  2324. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2325. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2326. prt.Anchored=true
  2327. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2328. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2329. game:GetService("Debris"):AddItem(prt,2)
  2330. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2331. CF=Part.CFrame
  2332. Numbb=0
  2333. randnumb=math.random()/10
  2334. rand1=math.random()/10
  2335. for i=0,1,rand1 do
  2336. wait()
  2337. CF=CF*cf(0,math.random()/2,0)
  2338. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2339. Part.CFrame=CF*euler(Numbb,0,0)
  2340. Part.Transparency=i
  2341. Numbb=Numbb+randnumb
  2342. end
  2343. Part.Parent=nil
  2344. end),prt,CF,Numbb,randnumb)
  2345. end
  2346.  
  2347. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2348. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2349. prt.Anchored=true
  2350. prt.CFrame=cframe
  2351. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2352. game:GetService("Debris"):AddItem(prt,5)
  2353. coroutine.resume(coroutine.create(function(Part,Mesh)
  2354. for i=0,1,delay do
  2355. wait()
  2356. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2357. Part.Transparency=i
  2358. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2359. end
  2360. Part.Parent=nil
  2361. end),prt,msh)
  2362. end
  2363.  
  2364. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2365. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2366. prt.Anchored=true
  2367. prt.CFrame=cframe
  2368. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2369. game:GetService("Debris"):AddItem(prt,2)
  2370. coroutine.resume(coroutine.create(function(Part,Mesh)
  2371. for i=0,1,delay do
  2372. wait()
  2373. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2374. Part.Transparency=i
  2375. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2376. end
  2377. Part.Parent=nil
  2378. end),prt,msh)
  2379. end
  2380.  
  2381. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2382. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2383. prt.Anchored=true
  2384. prt.CFrame=cframe*cf(x,y,z)
  2385. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2386. game:GetService("Debris"):AddItem(prt,5)
  2387. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2388. local num=math.random()
  2389. local num2=math.random(-3,2)+math.random()
  2390. local numm=0
  2391. for i=0,1,delay*2 do
  2392. swait()
  2393. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2394. Part.Transparency=i
  2395. numm=numm+0.01
  2396. end
  2397. Part.Parent=nil
  2398. Mesh.Parent=nil
  2399. end),prt,msh,x,y,z)
  2400. end
  2401.  
  2402. function dmgstart(dmg,what)
  2403. hitcon = what.Touched:connect(function(hit)
  2404. local hum = hit.Parent:FindFirstChild("Humanoid")
  2405. if hum and not hum:IsDescendantOf(Character) then
  2406. hum:TakeDamage(dmg)
  2407. end
  2408. end)
  2409. end
  2410.  
  2411. function dmgstop()
  2412. hitcon:disconnect()
  2413. end
  2414.  
  2415. function Cloak()
  2416. Face.Parent=nil
  2417. cloaked=true
  2418. for _,v in pairs(Torso.Parent:children()) do
  2419. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2420. coroutine.resume(coroutine.create(function()
  2421. for i=0,1,0.2 do
  2422. wait()
  2423. v.Transparency=i
  2424. end
  2425. v.Transparency=1
  2426. end))
  2427. end
  2428. if v.className=="Hat" then
  2429. hatp=v.Handle
  2430. coroutine.resume(coroutine.create(function(derp)
  2431. for i=0,1,0.2 do
  2432. wait()
  2433. derp.Transparency=i
  2434. end
  2435. derp.Transparency=1
  2436. end),hatp)
  2437. end
  2438. end
  2439. for _,v in pairs(m:children()) do
  2440. if v.className=="Part" then
  2441. coroutine.resume(coroutine.create(function()
  2442. for i=0,1,0.2 do
  2443. wait()
  2444. v.Transparency=i
  2445. end
  2446. v.Transparency=1
  2447. end))
  2448. end
  2449. end
  2450. end
  2451.  
  2452. function UnCloak()
  2453. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2454. Face.Parent=Head
  2455. cloaked=false
  2456. for _,v in pairs(Torso.Parent:children()) do
  2457. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2458. coroutine.resume(coroutine.create(function()
  2459. for i=0,1,0.1 do
  2460. wait()
  2461. v.Transparency=v.Transparency-0.1
  2462. end
  2463. v.Transparency=0
  2464. end))
  2465. end
  2466. if v.className=="Hat" then
  2467. hatp=v.Handle
  2468. coroutine.resume(coroutine.create(function(derp)
  2469. for i=0,1,0.1 do
  2470. wait()
  2471. derp.Transparency=derp.Transparency-0.1
  2472. end
  2473. derp.Transparency=0
  2474. end),hatp)
  2475. end
  2476. end
  2477. for _,v in pairs(m:children()) do
  2478. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2479. coroutine.resume(coroutine.create(function()
  2480. for i=0,1,0.1 do
  2481. wait()
  2482. v.Transparency=v.Transparency-0.1
  2483. end
  2484. v.Transparency=0
  2485. end))
  2486. v.Transparency=0
  2487. end
  2488. end
  2489. end
  2490.  
  2491. local origcolor = BrickColor.new("Pastel light blue")
  2492. ---- This section of explosions.
  2493.  
  2494. ----
  2495.  
  2496.  
  2497. function ring(type,pos,scale,value)
  2498. local type = type
  2499. local rng = Instance.new("Part", char)
  2500. rng.Anchored = true
  2501. rng.BrickColor = origcolor
  2502. rng.CanCollide = false
  2503. rng.FormFactor = 3
  2504. rng.Name = "Ring"
  2505. rng.Size = Vector3.new(1, 1, 1)
  2506. rng.Transparency = 0
  2507. rng.TopSurface = 0
  2508. rng.BottomSurface = 0
  2509. rng.CFrame = pos
  2510. local rngm = Instance.new("SpecialMesh", rng)
  2511. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2512. rngm.Scale = scale
  2513. local scaler2 = 1
  2514. if type == "Add" then
  2515. scaler2 = 1*value
  2516. elseif type == "Divide" then
  2517. scaler2 = 1/value
  2518. end
  2519. coroutine.resume(coroutine.create(function()
  2520. for i = 0,10,0.1 do
  2521. swait()
  2522. if type == "Add" then
  2523. scaler2 = scaler2 - 0.01*value
  2524. elseif type == "Divide" then
  2525. scaler2 = scaler2 - 0.01/value
  2526. end
  2527. rng.Transparency = rng.Transparency + 0.01
  2528. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2529. end
  2530. rng:Destroy()
  2531. end))
  2532. end
  2533.  
  2534.  
  2535. function wave(type,pos,scale,value)
  2536. local type = type
  2537. local rng = Instance.new("Part", char)
  2538. rng.Anchored = true
  2539. rng.BrickColor = origcolor
  2540. rng.CanCollide = false
  2541. rng.FormFactor = 3
  2542. rng.Name = "Ring"
  2543. rng.Size = Vector3.new(1, 1, 1)
  2544. rng.Transparency = 0
  2545. rng.TopSurface = 0
  2546. rng.BottomSurface = 0
  2547. rng.CFrame = pos
  2548. local rngm = Instance.new("SpecialMesh", rng)
  2549. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2550. rngm.Scale = scale
  2551. local scaler2 = 1
  2552. if type == "Add" then
  2553. scaler2 = 1*value
  2554. elseif type == "Divide" then
  2555. scaler2 = 1/value
  2556. end
  2557. coroutine.resume(coroutine.create(function()
  2558. for i = 0,10,0.1 do
  2559. swait()
  2560. if type == "Add" then
  2561. scaler2 = scaler2 - 0.01*value
  2562. elseif type == "Divide" then
  2563. scaler2 = scaler2 - 0.01/value
  2564. end
  2565. rng.Transparency = rng.Transparency + 0.01
  2566. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2567. end
  2568. rng:Destroy()
  2569. end))
  2570. end
  2571.  
  2572. function wind(type,pos,scale,value,speed)
  2573. local type = type
  2574. local rng = Instance.new("Part", char)
  2575. rng.Anchored = true
  2576. rng.BrickColor = origcolor
  2577. rng.CanCollide = false
  2578. rng.FormFactor = 3
  2579. rng.Name = "Ring"
  2580. rng.Size = Vector3.new(1, 1, 1)
  2581. rng.Transparency = 0
  2582. rng.TopSurface = 0
  2583. rng.BottomSurface = 0
  2584. rng.CFrame = pos
  2585. local rngm = Instance.new("SpecialMesh", rng)
  2586. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2587. rngm.Scale = scale
  2588. local scaler2 = 1
  2589. if type == "Add" then
  2590. scaler2 = 1*value
  2591. elseif type == "Divide" then
  2592. scaler2 = 1/value
  2593. end
  2594. coroutine.resume(coroutine.create(function()
  2595. for i = 0,10,0.1 do
  2596. swait()
  2597. if type == "Add" then
  2598. scaler2 = scaler2 - 0.01*value
  2599. elseif type == "Divide" then
  2600. scaler2 = scaler2 - 0.01/value
  2601. end
  2602. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2603. rng.Transparency = rng.Transparency + 0.01
  2604. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2605. end
  2606. rng:Destroy()
  2607. end))
  2608. end
  2609.  
  2610. function groundwind(type,pos,scale,value,speed)
  2611. local type = type
  2612. local rng = Instance.new("Part", char)
  2613. rng.Anchored = true
  2614. rng.BrickColor = origcolor
  2615. rng.CanCollide = false
  2616. rng.FormFactor = 3
  2617. rng.Name = "Ring"
  2618. rng.Size = Vector3.new(1, 1, 1)
  2619. rng.Transparency = 0
  2620. rng.TopSurface = 0
  2621. rng.BottomSurface = 0
  2622. rng.CFrame = pos
  2623. local rngm = Instance.new("SpecialMesh", rng)
  2624. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2625. rngm.Scale = scale
  2626. local scaler2 = 1
  2627. if type == "Add" then
  2628. scaler2 = 1*value
  2629. elseif type == "Divide" then
  2630. scaler2 = 1/value
  2631. end
  2632. coroutine.resume(coroutine.create(function()
  2633. for i = 0,10,0.1 do
  2634. swait()
  2635. if type == "Add" then
  2636. scaler2 = scaler2 - 0.01*value
  2637. elseif type == "Divide" then
  2638. scaler2 = scaler2 - 0.01/value
  2639. end
  2640. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2641. rng.Transparency = rng.Transparency + 0.01
  2642. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2643. end
  2644. rng:Destroy()
  2645. end))
  2646. end
  2647.  
  2648. function CameraManager()
  2649. if TwoD and not CamInterrupt then
  2650. if Humanoid.Health > 0 then
  2651. Camera.CameraSubject = Humanoid
  2652. Camera.CameraType = "Scriptable"
  2653. Humanoid.AutoRotate = false
  2654. if Booleans.GyroUse then
  2655. Directer.MaxTorque = Vec3(0, huge, 0)
  2656. else
  2657. Directer.MaxTorque = Vec3(0, 0, 0)
  2658. end
  2659. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2660. if Booleans.CamFollow then
  2661. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2662. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2663. else
  2664. CPart.Position = RootPart.Position
  2665. end
  2666. else
  2667. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2668. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2669. end
  2670. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2671. else
  2672. Camera.CameraSubject = Humanoid
  2673. Camera.CameraType = "Custom"
  2674. Controller.Disabled = false
  2675. end
  2676. end
  2677. end
  2678.  
  2679. function ring(type,pos,scale,value)
  2680. local type = type
  2681. local rng = Instance.new("Part", char)
  2682. rng.Anchored = true
  2683. rng.BrickColor = origcolor
  2684. rng.CanCollide = false
  2685. rng.FormFactor = 3
  2686. rng.Name = "Ring"
  2687. rng.Size = Vector3.new(1, 1, 1)
  2688. rng.Transparency = 0
  2689. rng.TopSurface = 0
  2690. rng.BottomSurface = 0
  2691. rng.CFrame = pos
  2692. local rngm = Instance.new("SpecialMesh", rng)
  2693. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2694. rngm.Scale = scale
  2695. local scaler2 = 1
  2696. if type == "Add" then
  2697. scaler2 = 1*value
  2698. elseif type == "Divide" then
  2699. scaler2 = 1/value
  2700. end
  2701. coroutine.resume(coroutine.create(function()
  2702. for i = 0,10,0.1 do
  2703. swait()
  2704. if type == "Add" then
  2705. scaler2 = scaler2 - 0.01*value
  2706. elseif type == "Divide" then
  2707. scaler2 = scaler2 - 0.01/value
  2708. end
  2709. rng.Transparency = rng.Transparency + 0.01
  2710. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2711. end
  2712. rng:Destroy()
  2713. end))
  2714. end
  2715.  
  2716.  
  2717. function wave(type,pos,scale,value)
  2718. local type = type
  2719. local rng = Instance.new("Part", char)
  2720. rng.Anchored = true
  2721. rng.BrickColor = origcolor
  2722. rng.CanCollide = false
  2723. rng.FormFactor = 3
  2724. rng.Name = "Ring"
  2725. rng.Size = Vector3.new(1, 1, 1)
  2726. rng.Transparency = 0
  2727. rng.TopSurface = 0
  2728. rng.BottomSurface = 0
  2729. rng.CFrame = pos
  2730. local rngm = Instance.new("SpecialMesh", rng)
  2731. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2732. rngm.Scale = scale
  2733. local scaler2 = 1
  2734. if type == "Add" then
  2735. scaler2 = 1*value
  2736. elseif type == "Divide" then
  2737. scaler2 = 1/value
  2738. end
  2739. coroutine.resume(coroutine.create(function()
  2740. for i = 0,10,0.1 do
  2741. swait()
  2742. if type == "Add" then
  2743. scaler2 = scaler2 - 0.01*value
  2744. elseif type == "Divide" then
  2745. scaler2 = scaler2 - 0.01/value
  2746. end
  2747. rng.Transparency = rng.Transparency + 0.01
  2748. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2749. end
  2750. rng:Destroy()
  2751. end))
  2752. end
  2753.  
  2754. function sphere(bonuspeed,type,pos,scale,value,color)
  2755. local type = type
  2756. local rng = Instance.new("Part", char)
  2757. rng.Anchored = true
  2758. if ModeOfGlitch ~= 9 then
  2759. rng.BrickColor = color
  2760. elseif ModeOfGlitch == 9 then
  2761. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2762. end
  2763. rng.CanCollide = false
  2764. rng.FormFactor = 3
  2765. rng.Name = "Ring"
  2766. rng.Material = "Neon"
  2767. rng.Size = Vector3.new(1, 1, 1)
  2768. rng.Transparency = 0
  2769. rng.TopSurface = 0
  2770. rng.BottomSurface = 0
  2771. rng.CFrame = pos
  2772. local rngm = Instance.new("SpecialMesh", rng)
  2773. rngm.MeshType = "Sphere"
  2774. rngm.Scale = scale
  2775. if rainbowmode == true then
  2776. rng.Color = Color3.new(r/255,g/255,b/255)
  2777. end
  2778. if ModeOfGlitch == 9 then
  2779. coroutine.resume(coroutine.create(function()
  2780. while true do
  2781. swait()
  2782. if rng.Parent ~= nil then
  2783. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2784. else
  2785. break
  2786. end
  2787. end
  2788. end))
  2789. end
  2790. local scaler2 = 1
  2791. if type == "Add" then
  2792. scaler2 = 1*value
  2793. elseif type == "Divide" then
  2794. scaler2 = 1/value
  2795. end
  2796. coroutine.resume(coroutine.create(function()
  2797. for i = 0,10/bonuspeed,0.1 do
  2798. swait()
  2799. if rainbowmode == true then
  2800. rng.Color = Color3.new(r/255,g/255,b/255)
  2801. end
  2802. if type == "Add" then
  2803. scaler2 = scaler2 - 0.01*value/bonuspeed
  2804. elseif type == "Divide" then
  2805. scaler2 = scaler2 - 0.01/value*bonuspeed
  2806. end
  2807. if chaosmode == true then
  2808. rng.BrickColor = BrickColor.random()
  2809. end
  2810. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2811. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2812. end
  2813. rng:Destroy()
  2814. end))
  2815. end
  2816.  
  2817. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2818. local type = type
  2819. local rng = Instance.new("Part", char)
  2820. rng.Anchored = true
  2821. if ModeOfGlitch ~= 9 then
  2822. rng.BrickColor = color
  2823. elseif ModeOfGlitch == 9 then
  2824. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2825. end
  2826. rng.CanCollide = false
  2827. rng.FormFactor = 3
  2828. rng.Name = "Ring"
  2829. rng.Material = "Neon"
  2830. rng.Size = Vector3.new(1, 1, 1)
  2831. rng.Transparency = 0
  2832. rng.TopSurface = 0
  2833. rng.BottomSurface = 0
  2834. rng.CFrame = pos
  2835. local rngm = Instance.new("SpecialMesh", rng)
  2836. rngm.MeshType = "Sphere"
  2837. rngm.Scale = scale
  2838. local scaler2 = 1
  2839. local scaler2b = 1
  2840. local scaler2c = 1
  2841. if type == "Add" then
  2842. scaler2 = 1*value
  2843. scaler2b = 1*value2
  2844. scaler2c = 1*value3
  2845. elseif type == "Divide" then
  2846. scaler2 = 1/value
  2847. scaler2b = 1/value2
  2848. scaler2c = 1/value3
  2849. end
  2850. if ModeOfGlitch == 9 then
  2851. coroutine.resume(coroutine.create(function()
  2852. while true do
  2853. swait()
  2854. if rng.Parent ~= nil then
  2855. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2856. else
  2857. break
  2858. end
  2859. end
  2860. end))
  2861. end
  2862. coroutine.resume(coroutine.create(function()
  2863. for i = 0,10/bonuspeed,0.1 do
  2864. swait()
  2865. if type == "Add" then
  2866. scaler2 = scaler2 - 0.01*value/bonuspeed
  2867. scaler2b = scaler2b - 0.01*value/bonuspeed
  2868. scaler2c = scaler2c - 0.01*value/bonuspeed
  2869. elseif type == "Divide" then
  2870. scaler2 = scaler2 - 0.01/value*bonuspeed
  2871. scaler2b = scaler2b - 0.01/value*bonuspeed
  2872. scaler2c = scaler2c - 0.01/value*bonuspeed
  2873. end
  2874. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2875. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2876. end
  2877. rng:Destroy()
  2878. end))
  2879. end
  2880.  
  2881. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2882. local type = type
  2883. local rotenable = rotatingop
  2884. local rng = Instance.new("Part", char)
  2885. rng.Anchored = true
  2886. rng.BrickColor = color
  2887. rng.CanCollide = false
  2888. rng.FormFactor = 3
  2889. rng.Name = "Ring"
  2890. rng.Material = "Neon"
  2891. rng.Size = Vector3.new(1, 1, 1)
  2892. rng.Transparency = 0
  2893. if typeoftrans == "In" then
  2894. rng.Transparency = 1
  2895. end
  2896. rng.TopSurface = 0
  2897. rng.BottomSurface = 0
  2898. rng.CFrame = pos
  2899. local rngm = Instance.new("SpecialMesh", rng)
  2900. rngm.MeshType = "FileMesh"
  2901. if typeofshape == "Normal" then
  2902. rngm.MeshId = "rbxassetid://662586858"
  2903. elseif typeofshape == "Round" then
  2904. rngm.MeshId = "rbxassetid://662585058"
  2905. end
  2906. rngm.Scale = scale
  2907. local scaler2 = 1/10
  2908. if type == "Add" then
  2909. scaler2 = 1*value/10
  2910. elseif type == "Divide" then
  2911. scaler2 = 1/value/10
  2912. end
  2913. local randomrot = math.random(1,2)
  2914. coroutine.resume(coroutine.create(function()
  2915. for i = 0,10/bonuspeed,0.1 do
  2916. swait()
  2917. if type == "Add" then
  2918. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2919. elseif type == "Divide" then
  2920. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2921. end
  2922. if rotenable == true then
  2923. if randomrot == 1 then
  2924. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2925. elseif randomrot == 2 then
  2926. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2927. end
  2928. end
  2929. if typeoftrans == "Out" then
  2930. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2931. elseif typeoftrans == "In" then
  2932. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2933. end
  2934. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2935. end
  2936. rng:Destroy()
  2937. end))
  2938. end
  2939.  
  2940. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2941. local type = type
  2942. local rng = Instance.new("Part", char)
  2943. rng.Anchored = true
  2944. rng.BrickColor = color
  2945. rng.CanCollide = false
  2946. rng.FormFactor = 3
  2947. rng.Name = "Ring"
  2948. rng.Material = "Neon"
  2949. rng.Size = Vector3.new(1, 1, 1)
  2950. rng.Transparency = 0
  2951. rng.TopSurface = 0
  2952. rng.BottomSurface = 0
  2953. rng.CFrame = pos
  2954. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2955. local rngm = Instance.new("SpecialMesh", rng)
  2956. rngm.MeshType = "Brick"
  2957. rngm.Scale = vt(x1,y1,z1)
  2958. if rainbowmode == true then
  2959. rng.Color = Color3.new(r/255,g/255,b/255)
  2960. end
  2961. local scaler2 = 1
  2962. local speeder = FastSpeed/10
  2963. if type == "Add" then
  2964. scaler2 = 1*value
  2965. elseif type == "Divide" then
  2966. scaler2 = 1/value
  2967. end
  2968. coroutine.resume(coroutine.create(function()
  2969. for i = 0,10/bonuspeed,0.1 do
  2970. swait()
  2971. if rainbowmode == true then
  2972. rng.Color = Color3.new(r/255,g/255,b/255)
  2973. end
  2974. if type == "Add" then
  2975. scaler2 = scaler2 - 0.01*value/bonuspeed
  2976. elseif type == "Divide" then
  2977. scaler2 = scaler2 - 0.01/value*bonuspeed
  2978. end
  2979. if chaosmode == true then
  2980. rng.BrickColor = BrickColor.random()
  2981. end
  2982. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2983. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2984. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2985. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2986. end
  2987. rng:Destroy()
  2988. end))
  2989. end
  2990.  
  2991. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2992. local type = type
  2993. local rng = Instance.new("Part", char)
  2994. rng.Anchored = true
  2995. rng.BrickColor = color
  2996. rng.CanCollide = false
  2997. rng.FormFactor = 3
  2998. rng.Name = "Ring"
  2999. rng.Material = "Neon"
  3000. rng.Size = Vector3.new(1, 1, 1)
  3001. rng.Transparency = 0
  3002. rng.TopSurface = 0
  3003. rng.BottomSurface = 0
  3004. rng.CFrame = pos
  3005. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3006. local rngm = Instance.new("SpecialMesh", rng)
  3007. rngm.MeshType = "Brick"
  3008. rngm.Scale = vt(x1,y1,z1)
  3009. if rainbowmode == true then
  3010. rng.Color = Color3.new(r/255,g/255,b/255)
  3011. end
  3012. local scaler2 = 1
  3013. local speeder = FastSpeed/10
  3014. if type == "Add" then
  3015. scaler2 = 1*value
  3016. elseif type == "Divide" then
  3017. scaler2 = 1/value
  3018. end
  3019. coroutine.resume(coroutine.create(function()
  3020. for i = 0,10/bonuspeed,0.1 do
  3021. swait()
  3022. if rainbowmode == true then
  3023. rng.Color = Color3.new(r/255,g/255,b/255)
  3024. end
  3025. if type == "Add" then
  3026. scaler2 = scaler2 - 0.01*value/bonuspeed
  3027. elseif type == "Divide" then
  3028. scaler2 = scaler2 - 0.01/value*bonuspeed
  3029. end
  3030. if chaosmode == true then
  3031. rng.BrickColor = BrickColor.random()
  3032. end
  3033. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3034. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3035. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3036. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3037. end
  3038. rng:Destroy()
  3039. end))
  3040. end
  3041.  
  3042. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3043. local type = type
  3044. local rng = Instance.new("Part", char)
  3045. rng.Anchored = true
  3046. rng.BrickColor = color
  3047. rng.CanCollide = false
  3048. rng.FormFactor = 3
  3049. rng.Name = "Ring"
  3050. rng.Material = "Neon"
  3051. rng.Size = Vector3.new(1, 1, 1)
  3052. rng.Transparency = 0
  3053. rng.TopSurface = 0
  3054. rng.BottomSurface = 0
  3055. rng.CFrame = pos
  3056. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3057. local rngm = Instance.new("SpecialMesh", rng)
  3058. rngm.MeshType = "Brick"
  3059. rngm.Scale = vt(x1,y1,z1)
  3060. if rainbowmode == true then
  3061. rng.Color = Color3.new(r/255,g/255,b/255)
  3062. end
  3063. local scaler2 = 0
  3064. local speeder = FastSpeed/10
  3065. if type == "Add" then
  3066. scaler2 = 1*value
  3067. elseif type == "Divide" then
  3068. scaler2 = 1/value
  3069. end
  3070. coroutine.resume(coroutine.create(function()
  3071. for i = 0,10/bonuspeed,0.1 do
  3072. swait()
  3073. if rainbowmode == true then
  3074. rng.Color = Color3.new(r/255,g/255,b/255)
  3075. end
  3076. if type == "Add" then
  3077. scaler2 = scaler2 - 0.01*value/bonuspeed
  3078. elseif type == "Divide" then
  3079. scaler2 = scaler2 - 0.01/value*bonuspeed
  3080. end
  3081. if chaosmode == true then
  3082. rng.BrickColor = BrickColor.random()
  3083. end
  3084. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3085. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3086. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3087. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3088. end
  3089. rng:Destroy()
  3090. end))
  3091. end
  3092.  
  3093. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3094. local type = type
  3095. local rng = Instance.new("Part", char)
  3096. rng.Anchored = true
  3097. rng.BrickColor = color
  3098. rng.Color = color3
  3099. rng.CanCollide = false
  3100. rng.FormFactor = 3
  3101. rng.Name = "Ring"
  3102. rng.Material = "Neon"
  3103. rng.Size = Vector3.new(1, 1, 1)
  3104. rng.Transparency = 0
  3105. rng.TopSurface = 0
  3106. rng.BottomSurface = 0
  3107. rng.CFrame = pos
  3108. local rngm = Instance.new("SpecialMesh", rng)
  3109. rngm.MeshType = "Brick"
  3110. rngm.Scale = scale
  3111. local scaler2 = 1
  3112. local scaler2b = 1
  3113. local scaler2c = 1
  3114. if type == "Add" then
  3115. scaler2 = 1*value
  3116. scaler2b = 1*value2
  3117. scaler2c = 1*value3
  3118. elseif type == "Divide" then
  3119. scaler2 = 1/value
  3120. scaler2b = 1/value2
  3121. scaler2c = 1/value3
  3122. end
  3123. coroutine.resume(coroutine.create(function()
  3124. for i = 0,10/bonuspeed,0.1 do
  3125. swait()
  3126. if type == "Add" then
  3127. scaler2 = scaler2 - 0.01*value/bonuspeed
  3128. scaler2b = scaler2b - 0.01*value/bonuspeed
  3129. scaler2c = scaler2c - 0.01*value/bonuspeed
  3130. elseif type == "Divide" then
  3131. scaler2 = scaler2 - 0.01/value*bonuspeed
  3132. scaler2b = scaler2b - 0.01/value*bonuspeed
  3133. scaler2c = scaler2c - 0.01/value*bonuspeed
  3134. end
  3135. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3136. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3137. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3138. end
  3139. rng:Destroy()
  3140. end))
  3141. end
  3142.  
  3143. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3144. local type = type
  3145. local rng = Instance.new("Part", char)
  3146. rng.Anchored = true
  3147. if ModeOfGlitch ~= 9 then
  3148. rng.BrickColor = color
  3149. elseif ModeOfGlitch == 9 then
  3150. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3151. end
  3152. rng.CanCollide = false
  3153. rng.FormFactor = 3
  3154. rng.Name = "Ring"
  3155. rng.Material = "Neon"
  3156. rng.Size = Vector3.new(1, 1, 1)
  3157. rng.Transparency = 0
  3158. rng.TopSurface = 0
  3159. rng.BottomSurface = 0
  3160. rng.CFrame = pos
  3161. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3162. local rngm = Instance.new("SpecialMesh", rng)
  3163. rngm.MeshType = "Sphere"
  3164. rngm.Scale = vt(x1,y1,z1)
  3165. if rainbowmode == true then
  3166. rng.Color = Color3.new(r/255,g/255,b/255)
  3167. end
  3168. if ModeOfGlitch == 9 then
  3169. coroutine.resume(coroutine.create(function()
  3170. while true do
  3171. swait()
  3172. if rng.Parent ~= nil then
  3173. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3174. else
  3175. break
  3176. end
  3177. end
  3178. end))
  3179. end
  3180. local scaler2 = 1
  3181. local speeder = FastSpeed
  3182. if type == "Add" then
  3183. scaler2 = 1*value
  3184. elseif type == "Divide" then
  3185. scaler2 = 1/value
  3186. end
  3187. coroutine.resume(coroutine.create(function()
  3188. for i = 0,10/bonuspeed,0.1 do
  3189. swait()
  3190. if rainbowmode == true then
  3191. rng.Color = Color3.new(r/255,g/255,b/255)
  3192. end
  3193. if type == "Add" then
  3194. scaler2 = scaler2 - 0.01*value/bonuspeed
  3195. elseif type == "Divide" then
  3196. scaler2 = scaler2 - 0.01/value*bonuspeed
  3197. end
  3198. if chaosmode == true then
  3199. rng.BrickColor = BrickColor.random()
  3200. end
  3201. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3202. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3203. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3204. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3205. end
  3206. rng:Destroy()
  3207. end))
  3208. end
  3209.  
  3210.  
  3211. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3212. local type = type
  3213. local rng = Instance.new("Part", char)
  3214. rng.Anchored = true
  3215. if ModeOfGlitch ~= 9 then
  3216. rng.BrickColor = color
  3217. elseif ModeOfGlitch == 9 then
  3218. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3219. end
  3220. rng.CanCollide = false
  3221. rng.FormFactor = 3
  3222. rng.Name = "Ring"
  3223. rng.Material = "Neon"
  3224. rng.Size = Vector3.new(1, 1, 1)
  3225. rng.Transparency = 1
  3226. rng.TopSurface = 0
  3227. rng.BottomSurface = 0
  3228. rng.CFrame = pos
  3229. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3230. local rngm = Instance.new("SpecialMesh", rng)
  3231. rngm.MeshType = "Sphere"
  3232. rngm.Scale = vt(x1,y1,z1)
  3233. if rainbowmode == true then
  3234. rng.Color = Color3.new(r/255,g/255,b/255)
  3235. end
  3236. if ModeOfGlitch == 9 then
  3237. coroutine.resume(coroutine.create(function()
  3238. while true do
  3239. swait()
  3240. if rng.Parent ~= nil then
  3241. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3242. else
  3243. break
  3244. end
  3245. end
  3246. end))
  3247. end
  3248. local scaler2 = 1
  3249. local speeder = FastSpeed
  3250. if type == "Add" then
  3251. scaler2 = 1*value
  3252. elseif type == "Divide" then
  3253. scaler2 = 1/value
  3254. end
  3255. coroutine.resume(coroutine.create(function()
  3256. for i = 0,10/bonuspeed,0.1 do
  3257. swait()
  3258. if rainbowmode == true then
  3259. rng.Color = Color3.new(r/255,g/255,b/255)
  3260. end
  3261. if type == "Add" then
  3262. scaler2 = scaler2 - 0.01*value/bonuspeed
  3263. elseif type == "Divide" then
  3264. scaler2 = scaler2 - 0.01/value*bonuspeed
  3265. end
  3266. if chaosmode == true then
  3267. rng.BrickColor = BrickColor.random()
  3268. end
  3269. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3270. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3271. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3272. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3273. end
  3274. rng:Destroy()
  3275. end))
  3276. end
  3277.  
  3278. function dmg(dude)
  3279. if dude.Name ~= Character then
  3280. local keptcolor = MAINRUINCOLOR
  3281. local bgf = Instance.new("BodyGyro",dude.Head)
  3282. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3283. --[[local val = Instance.new("BoolValue",dude)
  3284. val.Name = "IsHit"]]--
  3285. local ds = coroutine.wrap(function()
  3286. dude:WaitForChild("Head"):BreakJoints()
  3287. for i, v in pairs(dude:GetChildren()) do
  3288. if v:IsA("Part") or v:IsA("MeshPart") then
  3289. v.Name = "DEMINISHED"
  3290. end
  3291. end
  3292. wait(0.5)
  3293. targetted = nil
  3294. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3295. coroutine.resume(coroutine.create(function()
  3296. for i, v in pairs(dude:GetChildren()) do
  3297. if v:IsA("Accessory") then
  3298. v:Destroy()
  3299. end
  3300. if v:IsA("Humanoid") then
  3301. v:Destroy()
  3302. end
  3303. if v:IsA("CharacterMesh") then
  3304. v:Destroy()
  3305. end
  3306. if v:IsA("Model") then
  3307. v:Destroy()
  3308. end
  3309. if v:IsA("Part") or v:IsA("MeshPart") then
  3310. for x, o in pairs(v:GetChildren()) do
  3311. if o:IsA("Decal") then
  3312. o:Destroy()
  3313. end
  3314. end
  3315. coroutine.resume(coroutine.create(function()
  3316. v.Material = "Neon"
  3317. v.CanCollide = false
  3318. v.Anchored = false
  3319. local bld = Instance.new("ParticleEmitter",v)
  3320. bld.LightEmission = 0.75
  3321. bld.Texture = "rbxassetid://363275192" ---284205403
  3322. bld.Color = ColorSequence.new(keptcolor.Color)
  3323. bld.Rate = 500
  3324. bld.Lifetime = NumberRange.new(1)
  3325. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3326. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3327. bld.Speed = NumberRange.new(2,5)
  3328. bld.VelocitySpread = 50000
  3329. bld.Rotation = NumberRange.new(-500,500)
  3330. bld.RotSpeed = NumberRange.new(-500,500)
  3331. local sbs = Instance.new("BodyPosition", v)
  3332. sbs.P = 3000
  3333. sbs.D = 1000
  3334. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3335. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3336. v.Color = keptcolor.Color
  3337. coroutine.resume(coroutine.create(function()
  3338. for i = 0, 49 do
  3339. swait(1)
  3340. v:BreakJoints()
  3341. v.Transparency = v.Transparency + 0.02
  3342. end
  3343. v:BreakJoints()
  3344. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3345. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3346. bld.Speed = NumberRange.new(10,25)
  3347. bld.Drag = 5
  3348. bld.Acceleration = vt(0,2,0)
  3349. wait(0.5)
  3350. bld.Enabled = false
  3351. wait(8)
  3352. v:Destroy()
  3353. dude:Destroy()
  3354. end))
  3355. end))
  3356. end
  3357. end
  3358. end))
  3359. end)
  3360. ds()
  3361. end
  3362. end
  3363.  
  3364.  
  3365. function FindNearestHead(Position, Distance, SinglePlayer)
  3366. if SinglePlayer then
  3367. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3368. end
  3369. local List = {}
  3370. for i, v in pairs(workspace:GetChildren()) do
  3371. if v:IsA("Model") then
  3372. if v:findFirstChild("Head") then
  3373. if v ~= Character then
  3374. if (v.Head.Position - Position).magnitude <= Distance then
  3375. table.insert(List, v)
  3376. end
  3377. end
  3378. end
  3379. end
  3380. end
  3381. return List
  3382. end
  3383.  
  3384. function FaceMouse()
  3385. Cam = workspace.CurrentCamera
  3386. return {
  3387. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3388. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3389. }
  3390. end
  3391.  
  3392. function FaceMouse2()
  3393. Cam = workspace.CurrentCamera
  3394. return {
  3395. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3396. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3397. }
  3398. end
  3399.  
  3400. local ModeOfGlitch = 1
  3401. -- Functions are ready.
  3402. local storehumanoidWS = 16
  3403.  
  3404. function CorruptBlink()
  3405. for i = 0, 14 do
  3406. 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)
  3407. end
  3408. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3409. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3410. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3411. CameraEnshaking(2,10)
  3412. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3413. if v:FindFirstChild('Head') then
  3414. dmg(v)
  3415. end
  3416. end
  3417. for i = 0, 14 do
  3418. 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)
  3419. end
  3420. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3421. end
  3422. function PureBomb()
  3423. attack = true
  3424. hum.WalkSpeed = 0
  3425. local orb = Instance.new("Part", char)
  3426. orb.Anchored = true
  3427. orb.BrickColor = BrickColor.new("Toothpaste")
  3428. orb.CanCollide = false
  3429. orb.FormFactor = 3
  3430. orb.Name = "Ring"
  3431. orb.Material = "Neon"
  3432. orb.Size = Vector3.new(1, 1, 1)
  3433. orb.Transparency = 0
  3434. orb.TopSurface = 0
  3435. orb.BottomSurface = 0
  3436. local orbm = Instance.new("SpecialMesh", orb)
  3437. orbm.MeshType = "Sphere"
  3438. orbm.Name = "SizeMesh"
  3439. orbm.Scale = vt(0,0,0)
  3440. local scaled = 0.1
  3441. local posid = 0
  3442. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3443. for i = 0, 5, 0.1 do
  3444. swait()
  3445. scaled = scaled - 0.001
  3446. posid = posid - scaled
  3447. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3448. local scaled = 0.1
  3449. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3450. 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)
  3451. 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)
  3452. 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)
  3453. 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)
  3454. 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)
  3455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3456. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3457. 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)
  3458. end
  3459. for i = 0, 2, 0.1 do
  3460. swait()
  3461. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3462. 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)
  3463. 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)
  3464. 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)
  3465. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3466. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3467. 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)
  3468. end
  3469. coroutine.resume(coroutine.create(function()
  3470. orb.Anchored = false
  3471. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3472. local a = Instance.new("Part",workspace)
  3473. a.Name = "Direction"
  3474. a.Anchored = true
  3475. a.BrickColor = bc("Bright red")
  3476. a.Material = "Neon"
  3477. a.Transparency = 1
  3478. a.CanCollide = false
  3479. local ray = Ray.new(
  3480. orb.CFrame.p, -- origin
  3481. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3482. )
  3483. local ignore = orb
  3484. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3485. a.BottomSurface = 10
  3486. a.TopSurface = 10
  3487. local distance = (orb.CFrame.p - position).magnitude
  3488. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3489. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3490. orb.CFrame = a.CFrame
  3491. a:Destroy()
  3492. local bv = Instance.new("BodyVelocity")
  3493. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3494. bv.velocity = orb.CFrame.lookVector*125
  3495. bv.Parent = orb
  3496. local hitted = false
  3497. game:GetService("Debris"):AddItem(orb, 15)
  3498. wait()
  3499. local hit =orb.Touched:connect(function(hit)
  3500. if hitted == false then
  3501. hitted = true
  3502. CameraEnshaking(10,2.5)
  3503. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3504. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3505. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3506. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3507. for i = 0, 49 do
  3508. 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)
  3509. end
  3510. for i = 0, 9 do
  3511. 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)
  3512. 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)
  3513. end
  3514. orb.Anchored = true
  3515. orb.Transparency = 1
  3516. wait(8)
  3517. orb:Destroy()
  3518. end
  3519. end)
  3520. end))
  3521. for i = 0, 1, 0.1 do
  3522. swait()
  3523. 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)
  3524. 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)
  3525. 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)
  3526. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3527. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3528. 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)
  3529. end
  3530. hum.WalkSpeed = storehumanoidWS
  3531. attack = false
  3532. end
  3533.  
  3534. function BanishingOrb()
  3535. attack = true
  3536. hum.WalkSpeed = 0
  3537. local orb = Instance.new("Part", char)
  3538. orb.Anchored = true
  3539. orb.BrickColor = BrickColor.new("Black")
  3540. orb.CanCollide = false
  3541. orb.FormFactor = 3
  3542. orb.Name = "Ring"
  3543. orb.Material = "Neon"
  3544. orb.Size = Vector3.new(1, 1, 1)
  3545. orb.Transparency = 0
  3546. orb.TopSurface = 0
  3547. orb.BottomSurface = 0
  3548. local orbm = Instance.new("SpecialMesh", orb)
  3549. orbm.MeshType = "Sphere"
  3550. orbm.Name = "SizeMesh"
  3551. orbm.Scale = vt(0,0,0)
  3552. local scaled = 0.1
  3553. local posid = 0
  3554. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3555. for i = 0, 5, 0.1 do
  3556. swait()
  3557. scaled = scaled - 0.001
  3558. posid = posid - scaled
  3559. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3560. local scaled = 0.1
  3561. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3562. 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("Black"),10)
  3563. 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)
  3564. 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)
  3565. 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)
  3566. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3567. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3568. 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)
  3569. end
  3570. for i = 0, 2, 0.1 do
  3571. swait()
  3572. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3573. 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)
  3574. 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)
  3575. 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)
  3576. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3577. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3578. 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)
  3579. end
  3580. coroutine.resume(coroutine.create(function()
  3581. orb.Anchored = false
  3582. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3583. local a = Instance.new("Part",workspace)
  3584. a.Name = "Direction"
  3585. a.Anchored = true
  3586. a.BrickColor = bc("Bright red")
  3587. a.Material = "Neon"
  3588. a.Transparency = 1
  3589. a.CanCollide = false
  3590. local ray = Ray.new(
  3591. orb.CFrame.p, -- origin
  3592. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3593. )
  3594. local ignore = orb
  3595. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3596. a.BottomSurface = 10
  3597. a.TopSurface = 10
  3598. local distance = (orb.CFrame.p - position).magnitude
  3599. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3600. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3601. orb.CFrame = a.CFrame
  3602. a:Destroy()
  3603. local bv = Instance.new("BodyVelocity")
  3604. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3605. bv.velocity = orb.CFrame.lookVector*0
  3606. bv.Parent = orb
  3607. local hitted = false
  3608. local rate = 0
  3609. coroutine.resume(coroutine.create(function()
  3610. for i = 0, 24 do
  3611. wait(0.1)
  3612. rate = rate + 0.25
  3613. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3614. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3615. if v:FindFirstChild('Head') then
  3616. dmg(v)
  3617. end
  3618. end
  3619. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3620. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3621. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3622. end
  3623. orb.Anchored = true
  3624. orb.Transparency = 1
  3625. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3626. if v:FindFirstChild('Head') then
  3627. dmg(v)
  3628. end
  3629. end
  3630. local eff = Instance.new("ParticleEmitter",orb)
  3631. eff.Texture = "rbxassetid://296874871"
  3632. eff.LightEmission = 0.95
  3633. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3634. eff.Rate = 1000000000
  3635. eff.Lifetime = NumberRange.new(3)
  3636. 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)})
  3637. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3638. eff.Speed = NumberRange.new(30)
  3639. eff.Acceleration = vt(0,-15,0)
  3640. eff.Rotation = NumberRange.new(-500,500)
  3641. eff.VelocitySpread = 100000
  3642. eff.RotSpeed = NumberRange.new(-500,500)
  3643. coroutine.resume(coroutine.create(function()
  3644. wait(0.6)
  3645. eff.Enabled = false
  3646. end))
  3647. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3648. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3649. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3650. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3651. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3652. game:GetService("Debris"):AddItem(orb, 15)
  3653. end))
  3654. end))
  3655. for i = 0, 1, 0.1 do
  3656. swait()
  3657. 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)
  3658. 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)
  3659. 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)
  3660. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3661. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3662. 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)
  3663. end
  3664. hum.WalkSpeed = storehumanoidWS
  3665. attack = false
  3666. end
  3667.  
  3668.  
  3669. function ChaosGroundStrike()
  3670. attack = true
  3671. for i = 0, 2, 0.1 do
  3672. swait()
  3673. 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)
  3674. 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)
  3675. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3676. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3677. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3678. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3679. end
  3680. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3681. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3682. CameraEnshaking(4,12)
  3683. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3684. if v:FindFirstChild('Head') then
  3685. dmg(v)
  3686. end
  3687. end
  3688. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3689. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3690. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3691. for i = 0, 2, 0.1 do
  3692. swait()
  3693. 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)
  3694. 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)
  3695. 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)
  3696. 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)
  3697. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3698. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3699. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3700. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3701. end
  3702. attack = false
  3703. end
  3704.  
  3705.  
  3706.  
  3707. function Starfall()
  3708. attack = true
  3709. hum.WalkSpeed = 0
  3710. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3711. for i = 0, 5, 0.1 do
  3712. swait()
  3713. 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)
  3714. 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)
  3715. 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)
  3716. 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)
  3717. 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)
  3718. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3719. 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)
  3720. 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)
  3721. end
  3722. local Overed = false
  3723. CameraEnshaking(2,20)
  3724. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3725. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3726. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3727. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3728. local orb = Instance.new("Part", char)
  3729. orb.Anchored = true
  3730. orb.BrickColor = BrickColor.new("Toothpaste")
  3731. orb.CanCollide = false
  3732. orb.FormFactor = 3
  3733. orb.Name = "Remenant"
  3734. orb.Material = "Neon"
  3735. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3736. orb.Size = Vector3.new(1, 1, 1)
  3737. orb.Transparency = 1
  3738. orb.TopSurface = 0
  3739. orb.BottomSurface = 0
  3740. hum.WalkSpeed = storehumanoidWS
  3741. coroutine.resume(coroutine.create(function()
  3742. for i = 0, 9 do
  3743. swait(10)
  3744. local lb = Instance.new("Part")
  3745. lb.Color = MAINRUINCOLOR.Color
  3746. lb.CanCollide = false
  3747. lb.Material = "Neon"
  3748. lb.Anchored = true
  3749. lb.TopSurface = 0
  3750. lb.BottomSurface = 0
  3751. lb.Transparency = 0
  3752. lb.Size = vt(1,1,1)
  3753. 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)))
  3754. lb.Anchored = false
  3755. lb.Parent = char
  3756. local thingery = Instance.new("SpecialMesh",lb)
  3757. thingery.MeshType = "Sphere"
  3758. thingery.Scale = vt(20,20,20)
  3759. game:GetService("Debris"):AddItem(lb, 10)
  3760. local bv = Instance.new("BodyVelocity")
  3761. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3762. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3763. bv.Parent = lb
  3764. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3765. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3766. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3767. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3768. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3769. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3770. local hitted = false
  3771. coroutine.resume(coroutine.create(function()
  3772. while true do
  3773. swait(1)
  3774. if lb.Parent ~= nil and hitted == false then
  3775. 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)
  3776. elseif lb.Parent == nil then
  3777. break
  3778. end
  3779. end
  3780. end))
  3781.  
  3782. game:GetService("Debris"):AddItem(a, 0.1)
  3783.  
  3784. coroutine.resume(coroutine.create(function()
  3785. swait(1)
  3786. lb.Touched:connect(function(hit)
  3787. if hitted == false then
  3788. hitted = true
  3789. lb.Transparency = 1
  3790. lb.Anchored = true
  3791. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3792. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3793. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3794. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3795. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3796. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3797. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3798. CameraEnshaking(1,5)
  3799. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3800. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3801. for i = 0, 9 do
  3802. 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)
  3803. end
  3804. for i = 0, 49 do
  3805. swait()
  3806. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3807. 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)
  3808. end
  3809. end
  3810. end)
  3811. end))
  3812. end
  3813. Overed = true
  3814. orb:Destroy()
  3815. end))
  3816.  
  3817. attack = false
  3818. end
  3819.  
  3820. function StarfallEX()
  3821. attack = true
  3822. hum.WalkSpeed = 0
  3823. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3824. for i = 0, 10, 0.1 do
  3825. swait()
  3826. 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)
  3827. 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)
  3828. 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)
  3829. 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)
  3830. 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)
  3831. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3832. 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)
  3833. 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)
  3834. end
  3835. local Overed = false
  3836. CameraEnshaking(2,20)
  3837. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3838. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3839. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3840. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3841. local orb = Instance.new("Part", char)
  3842. orb.Anchored = true
  3843. orb.BrickColor = BrickColor.new("Toothpaste")
  3844. orb.CanCollide = false
  3845. orb.FormFactor = 3
  3846. orb.Name = "Remenant"
  3847. orb.Material = "Neon"
  3848. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3849. orb.Size = Vector3.new(1, 1, 1)
  3850. orb.Transparency = 1
  3851. orb.TopSurface = 0
  3852. orb.BottomSurface = 0
  3853. hum.WalkSpeed = storehumanoidWS
  3854. coroutine.resume(coroutine.create(function()
  3855. for i = 0, 4 do
  3856. swait(15)
  3857. local lb = Instance.new("Part")
  3858. lb.Color = MAINRUINCOLOR.Color
  3859. lb.CanCollide = false
  3860. lb.Material = "Neon"
  3861. lb.Anchored = true
  3862. lb.TopSurface = 0
  3863. lb.BottomSurface = 0
  3864. lb.Transparency = 0
  3865. lb.Size = vt(1,1,1)
  3866. 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)))
  3867. lb.Anchored = false
  3868. lb.Parent = char
  3869. local thingery = Instance.new("SpecialMesh",lb)
  3870. thingery.MeshType = "Sphere"
  3871. thingery.Scale = vt(50,50,50)
  3872. game:GetService("Debris"):AddItem(lb, 10)
  3873. local bv = Instance.new("BodyVelocity")
  3874. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3875. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3876. bv.Parent = lb
  3877. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3878. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3879. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3880. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3881. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3882. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3883. local hitted = false
  3884. coroutine.resume(coroutine.create(function()
  3885. while true do
  3886. swait(1)
  3887. if lb.Parent ~= nil and hitted == false then
  3888. 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)
  3889. elseif lb.Parent == nil then
  3890. break
  3891. end
  3892. end
  3893. end))
  3894.  
  3895. game:GetService("Debris"):AddItem(a, 0.1)
  3896.  
  3897. coroutine.resume(coroutine.create(function()
  3898. swait(1)
  3899. lb.Touched:connect(function(hit)
  3900. if hitted == false then
  3901. hitted = true
  3902. lb.Transparency = 1
  3903. lb.Anchored = true
  3904. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3905. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3906. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3907. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3908. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3909. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3910. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3911. CameraEnshaking(1,5)
  3912. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3913. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3914. for i = 0, 9 do
  3915. 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)
  3916. end
  3917. for i = 0, 99 do
  3918. swait()
  3919. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3920. 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)
  3921. end
  3922. end
  3923. end)
  3924. end))
  3925. end
  3926. Overed = true
  3927. orb:Destroy()
  3928. end))
  3929.  
  3930. attack = false
  3931. end
  3932.  
  3933. function DivineBlast()
  3934. attack = true
  3935. hum.WalkSpeed = 0
  3936. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3937. elocacenter.Anchored = true
  3938. elocacenter.CFrame = sorb.CFrame
  3939. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3940. eloca1.Anchored = true
  3941. eloca1.CFrame = elocacenter.CFrame
  3942. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3943. eloca2.Anchored = true
  3944. eloca2.CFrame = elocacenter.CFrame
  3945. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3946. eloca3.Anchored = true
  3947. eloca3.CFrame = elocacenter.CFrame
  3948. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3949. eloca4.Anchored = true
  3950. eloca4.CFrame = elocacenter.CFrame
  3951. local lookavec = 0
  3952. local speeds = 0
  3953. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  3954. for i = 0, 3, 0.1 do
  3955. swait()
  3956. ---
  3957. lookavec = lookavec + 0.1
  3958. speeds = speeds + 10
  3959. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3960. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3961. 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)
  3962.  
  3963. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3964. 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)
  3965.  
  3966. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3967. 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)
  3968.  
  3969. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3970. 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)
  3971. ---
  3972. root.CFrame = FaceMouse()[1]
  3973. 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)
  3974. 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)
  3975. 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)
  3976. 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)
  3977. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  3978. 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)
  3979. end
  3980. for i = 0, 3, 0.1 do
  3981. swait()
  3982. ---
  3983. speeds = speeds + 10
  3984. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3985. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3986. 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)
  3987.  
  3988. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3989. 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)
  3990.  
  3991. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3992. 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)
  3993.  
  3994. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3995. 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)
  3996. ---
  3997. root.CFrame = FaceMouse()[1]
  3998. 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)
  3999. 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)
  4000. 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)
  4001. 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)
  4002. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4003. 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)
  4004. end
  4005. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4006. for i = 0, 3, 0.1 do
  4007. swait()
  4008. ---
  4009. speeds = speeds + 10
  4010. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4011. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4012. 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)
  4013.  
  4014. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4015. 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)
  4016.  
  4017. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4018. 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)
  4019.  
  4020. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4021. 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)
  4022. ---
  4023. root.CFrame = FaceMouse()[1]
  4024. 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)
  4025. 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)
  4026. 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(40)),.1)
  4027. 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)
  4028. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4029. 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)
  4030. end
  4031. coroutine.resume(coroutine.create(function()
  4032. local a = Instance.new("Part",Character)
  4033. a.Name = "Direction"
  4034. a.Anchored = true
  4035. a.BrickColor = bc("White")
  4036. a.Material = "Neon"
  4037. a.Transparency = 0
  4038. a.Shape = "Cylinder"
  4039. a.CanCollide = false
  4040. local a2 = Instance.new("Part",Character)
  4041. a2.Name = "Direction"
  4042. a2.Anchored = true
  4043. a2.BrickColor = bc("Bright yellow")
  4044. a2.Material = "Neon"
  4045. a2.Transparency = 0
  4046. a2.Shape = "Cylinder"
  4047. a2.CanCollide = false
  4048. local b = Instance.new("Part",Character)
  4049. b.Name = "HitDirect"
  4050. b.Anchored = true
  4051. b.BrickColor = bc("Cool yellow")
  4052. b.Material = "Neon"
  4053. b.Transparency = 1
  4054. b.CanCollide = false
  4055. local ray = Ray.new(
  4056. elocacenter.CFrame.p, -- origin
  4057. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4058. )
  4059. local ignore = Character
  4060. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4061. a.BottomSurface = 10
  4062. a.TopSurface = 10
  4063. a2.BottomSurface = 10
  4064. a2.TopSurface = 10
  4065. local distance = (elocacenter.CFrame.p - position).magnitude
  4066. a.Size = Vector3.new(distance, 1, 1)
  4067. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4068. a2.Size = Vector3.new(distance, 1, 1)
  4069. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4070. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4071. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4072. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4073. game:GetService("Debris"):AddItem(a, 10)
  4074. game:GetService("Debris"):AddItem(a2, 10)
  4075. game:GetService("Debris"):AddItem(b, 10)
  4076. local msh = Instance.new("SpecialMesh",a)
  4077. msh.MeshType = "Cylinder"
  4078. msh.Scale = vt(1,2,2)
  4079. local msh2 = Instance.new("SpecialMesh",a2)
  4080. msh2.MeshType = "Cylinder"
  4081. msh2.Scale = vt(1,2.5,2.5)
  4082. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4083. coroutine.resume(coroutine.create(function()
  4084. for i = 0,10,0.1 do
  4085. swait()
  4086. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4087. a.Transparency = a.Transparency + 0.025
  4088. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4089. a2.Transparency = a2.Transparency + 0.05
  4090. end
  4091. a:Destroy()
  4092. a2:Destroy()
  4093. end))
  4094. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4095. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4096. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4097. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4098. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4099. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4100. MagniDamage(b, 25, 40,65, 0, "Normal")
  4101. for i = 0, 49 do
  4102. 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)
  4103. 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)
  4104. end
  4105. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4106. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4107. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4108. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4109. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4110. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4111. end))
  4112. game:GetService("Debris"):AddItem(elocacenter, 5)
  4113. hum.WalkSpeed = storehumanoidWS
  4114. attack = false
  4115. end
  4116.  
  4117. function StarDivision()
  4118. attack = true
  4119. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4120. for i = 0, 2, 0.1 do
  4121. swait()
  4122. 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)
  4123. 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)
  4124. 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)
  4125. 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)
  4126. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4127. 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)
  4128. end
  4129. local orb = Instance.new("Part", char)
  4130. orb.BrickColor = MAINRUINCOLOR
  4131. orb.CanCollide = false
  4132. orb.FormFactor = 3
  4133. orb.Name = "Ring"
  4134. orb.Material = "Neon"
  4135. orb.Size = Vector3.new(1, 1, 1)
  4136. orb.Transparency = 0
  4137. orb.TopSurface = 0
  4138. orb.BottomSurface = 0
  4139. local orbm = Instance.new("SpecialMesh", orb)
  4140. orbm.MeshType = "Sphere"
  4141. orbm.Name = "SizeMesh"
  4142. orbm.Scale = vt(2,2,2)
  4143. local a = Instance.new("Part",workspace)
  4144. a.Name = "Direction"
  4145. a.Anchored = true
  4146. a.BrickColor = bc("Bright red")
  4147. a.Material = "Neon"
  4148. a.Transparency = 1
  4149. a.CanCollide = false
  4150. local ray = Ray.new(
  4151. sorb.CFrame.p, -- origin
  4152. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4153. )
  4154. local ignore = sorb
  4155. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4156. a.BottomSurface = 10
  4157. a.TopSurface = 10
  4158. local distance = (sorb.CFrame.p - position).magnitude
  4159. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4160. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4161. orb.CFrame = a.CFrame
  4162. a:Destroy()
  4163. local bv = Instance.new("BodyVelocity")
  4164. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4165. bv.velocity = orb.CFrame.lookVector*100
  4166. bv.Parent = orb
  4167. local hitted = false
  4168. game:GetService("Debris"):AddItem(orb, 10)
  4169. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4170. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4171. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4172. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4173. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4174. coroutine.resume(coroutine.create(function()
  4175. while true do
  4176. swait(1)
  4177. if orb.Parent ~= nil and hitted == false then
  4178. 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)
  4179. elseif orb.Parent == nil then
  4180. break
  4181. end
  4182. end
  4183. end))
  4184. coroutine.resume(coroutine.create(function()
  4185. swait(1)
  4186. orb.Touched:connect(function(hit)
  4187. if hitted == false then
  4188. hitted = true
  4189. game:GetService("Debris"):AddItem(orb, 5)
  4190. orb.Transparency = 1
  4191. orb.Anchored = true
  4192. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4193. elocacenter.Anchored = true
  4194. elocacenter.CFrame = orb.CFrame
  4195. elocacenter.Orientation = vt(0,0,0)
  4196. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4197. eloca1.Anchored = true
  4198. eloca1.CFrame = elocacenter.CFrame
  4199. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4200. eloca2.Anchored = true
  4201. eloca2.CFrame = elocacenter.CFrame
  4202. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4203. eloca3.Anchored = true
  4204. eloca3.CFrame = elocacenter.CFrame
  4205. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4206. eloca4.Anchored = true
  4207. eloca4.CFrame = elocacenter.CFrame
  4208. local lookavec = 0
  4209. local speeds = 0
  4210. CameraEnshaking(1,1)
  4211. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4212. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4213. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4214. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4215. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4216. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4217. for i = 0, 99 do
  4218. swait()
  4219. lookavec = lookavec + 1
  4220. speeds = speeds + 0.1
  4221. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4222. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4223. 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)
  4224.  
  4225. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4226. 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)
  4227.  
  4228. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4229. 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)
  4230.  
  4231. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4232. 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)
  4233. end
  4234.  
  4235. for i = 0, 149 do
  4236. swait()
  4237. speeds = speeds + 0.1
  4238. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4239. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4240. 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)
  4241.  
  4242. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4243. 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)
  4244.  
  4245. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4246. 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)
  4247.  
  4248. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4249. 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)
  4250. end
  4251. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4252. if v:FindFirstChild('Head') then
  4253. dmg(v)
  4254. end
  4255. end
  4256. CameraEnshaking(7,30)
  4257. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4258. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4259. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4260. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4261. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4262. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4263. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4264. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4265. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4266. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4267. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4268. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4269. for i = 0, 24 do
  4270. 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)
  4271. 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)
  4272. 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)
  4273. 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)
  4274. end
  4275. coroutine.resume(coroutine.create(function()
  4276. for i = 0, 499 do
  4277. swait(1)
  4278. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4279. 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)
  4280. end
  4281. elocacenter:Destroy()
  4282. eloca1:Destroy()
  4283. eloca2:Destroy()
  4284. eloca3:Destroy()
  4285. eloca4:Destroy()
  4286. end))
  4287. end
  4288. end)
  4289. end))
  4290. attack = false
  4291. end
  4292.  
  4293.  
  4294. function THE_TRUE_POWER_OF_VIOLENCE()
  4295. attack = true
  4296. hum.WalkSpeed = 0
  4297. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  4298. for i = 0, 10, 0.1 do
  4299. swait()
  4300. 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)
  4301. 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)
  4302. 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)),.4)
  4303. 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(40)),.4)
  4304. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4305. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4306. 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)
  4307. end
  4308. local orb = Instance.new("Part", char)
  4309. orb.BrickColor = MAINRUINCOLOR
  4310. orb.CanCollide = false
  4311. orb.FormFactor = 3
  4312. orb.Name = "Ring"
  4313. orb.Material = "Neon"
  4314. orb.Size = Vector3.new(1, 1, 1)
  4315. orb.Transparency = 0
  4316. orb.TopSurface = 0
  4317. orb.BottomSurface = 0
  4318. orb.CFrame = sorb.CFrame
  4319. local orbm = Instance.new("SpecialMesh", orb)
  4320. orbm.MeshType = "Sphere"
  4321. orbm.Name = "SizeMesh"
  4322. orbm.Scale = vt(0,0,0)
  4323. local sbs = Instance.new("BodyPosition", orb)
  4324. sbs.P = 3000
  4325. sbs.D = 1000
  4326. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4327. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4328. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4329. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4330. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4331. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4332. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4333. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4334. for i = 0, 10, 0.1 do
  4335. swait()
  4336. 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)
  4337. 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)
  4338. 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)
  4339. 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(60)),.6)
  4340. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4341. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4342. 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)
  4343. end
  4344. orb.Anchored = true
  4345. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4346. elocacenter.Anchored = true
  4347. elocacenter.CFrame = orb.CFrame
  4348. elocacenter.Orientation = vt(0,0,0)
  4349. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4350. eloca1.Anchored = true
  4351. eloca1.CFrame = elocacenter.CFrame
  4352. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4353. eloca2.Anchored = true
  4354. eloca2.CFrame = elocacenter.CFrame
  4355. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4356. eloca3.Anchored = true
  4357. eloca3.CFrame = elocacenter.CFrame
  4358. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4359. eloca4.Anchored = true
  4360. eloca4.CFrame = elocacenter.CFrame
  4361. local lookavec = 0
  4362. local speeds = 0
  4363. CameraEnshaking(1,1)
  4364. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4365. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4366. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4367. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4368. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4369. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4370. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4371. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4372. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4373. for i = 0, 99 do
  4374. swait()
  4375. lookavec = lookavec + 2.5
  4376. speeds = speeds + 0.25
  4377. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4378. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4379. 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)
  4380.  
  4381. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4382. 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)
  4383.  
  4384. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4385. 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)
  4386.  
  4387. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4388. 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)
  4389. end
  4390.  
  4391. for i = 0, 149 do
  4392. swait()
  4393. speeds = speeds + 0.25
  4394. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4395. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4396. 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)
  4397.  
  4398. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4399. 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)
  4400.  
  4401. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4402. 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)
  4403.  
  4404. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4405. 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)
  4406. end
  4407. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4408. for i = 0, 99 do
  4409. swait()
  4410. lookavec = lookavec - 2.5
  4411. speeds = speeds + 0.25
  4412. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4413. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4414. 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)
  4415.  
  4416. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4417. 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)
  4418.  
  4419. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4420. 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)
  4421.  
  4422. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4423. 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)
  4424. end
  4425. local scaled = 0.1*75
  4426. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4427. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4428. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4429. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4430. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4431. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4432. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4433. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4434. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4435. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4436. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4437. for i = 0, 10, 0.1 do
  4438. swait()
  4439. scaled = scaled - 0.001*75
  4440. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4441. 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)
  4442. 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)
  4443. 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)
  4444. 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(60)),.6)
  4445. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4446. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4447. 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)
  4448. end
  4449. for x = 0, 4 do
  4450. for i = 0, 9 do
  4451. 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)
  4452. end
  4453. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4454. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4455. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4456. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4457. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4458. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4459. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4460. for i = 0, 5, 0.1 do
  4461. swait()
  4462. 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)
  4463. 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)
  4464. 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)
  4465. 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)),.1)
  4466. 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)
  4467. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4468. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4469. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4470. end
  4471. end
  4472. local speedearn = 0
  4473. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4474. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4475. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4476. for i = 0, 30, 0.1 do
  4477. swait()
  4478. scaled = scaled - 0.001*75/10
  4479. speedearn = speedearn + 0.5
  4480. for i = 0, 4 do
  4481. 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)
  4482. end
  4483. 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)
  4484. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4485. 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)
  4486. 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)
  4487. 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)
  4488. 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)
  4489. 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)),.6)
  4490. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4491. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4492. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4493. end
  4494. orb.Transparency = 1
  4495. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4496. if v:FindFirstChild('Head') then
  4497. dmg(v)
  4498. end
  4499. end
  4500. CameraEnshaking(7,30)
  4501. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4502. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4503. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4504. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4505. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4506. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4507. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4508. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4509. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4510. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4511. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4512. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4513. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4514. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4515. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4516. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4517. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4518. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4519. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4520. for i = 0, 99 do
  4521. 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)
  4522. 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)
  4523. end
  4524. for i = 0, 24 do
  4525. 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)
  4526. 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)
  4527. 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)
  4528. 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)
  4529. 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)
  4530. end
  4531. game:GetService("Debris"):AddItem(orb, 10)
  4532. hum.WalkSpeed = storehumanoidWS
  4533. attack = false
  4534. end
  4535.  
  4536.  
  4537. function ViolentRing()
  4538. attack = true
  4539. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4540. for i = 0, 2, 0.1 do
  4541. swait()
  4542. local snap = math.random(1,10)
  4543. if snap == 1 then
  4544. 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)
  4545. end
  4546. 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)
  4547. 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)
  4548. 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)
  4549. 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)
  4550. 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)
  4551. 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)
  4552. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4553. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4554. 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)
  4555. RootPart.CFrame = FaceMouse()[1]
  4556. end
  4557. local orb = Instance.new("Part", char)
  4558. orb.BrickColor = MAINRUINCOLOR
  4559. orb.CanCollide = false
  4560. orb.FormFactor = 3
  4561. orb.Name = "Ring"
  4562. orb.Material = "Neon"
  4563. orb.Size = Vector3.new(1, 1, 1)
  4564. orb.Transparency = 0
  4565. orb.TopSurface = 0
  4566. orb.BottomSurface = 0
  4567. local orbm = Instance.new("SpecialMesh", orb)
  4568. orbm.MeshType = "Sphere"
  4569. orbm.Name = "SizeMesh"
  4570. orbm.Scale = vt(2,2,2)
  4571. orb.CFrame = mouse.Hit
  4572. local bv = Instance.new("BodyVelocity")
  4573. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4574. bv.velocity = orb.CFrame.lookVector*100
  4575. bv.Parent = orb
  4576. local hitted = false
  4577. coroutine.resume(coroutine.create(function()
  4578. game:GetService("Debris"):AddItem(orb, 5)
  4579. orb.Transparency = 1
  4580. orb.Anchored = true
  4581. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4582. elocacenter.Anchored = true
  4583. elocacenter.CFrame = orb.CFrame
  4584. elocacenter.Orientation = vt(0,0,0)
  4585. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4586. eloca1.Anchored = true
  4587. eloca1.CFrame = elocacenter.CFrame
  4588. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4589. eloca2.Anchored = true
  4590. eloca2.CFrame = elocacenter.CFrame
  4591. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4592. eloca3.Anchored = true
  4593. eloca3.CFrame = elocacenter.CFrame
  4594. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4595. eloca4.Anchored = true
  4596. eloca4.CFrame = elocacenter.CFrame
  4597. local lookavec = 0
  4598. local speeds = 0
  4599. CameraEnshaking(1,1)
  4600. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4601. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4602. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4603. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4604. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4605. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4606. for i = 0, 24 do
  4607. swait()
  4608. lookavec = lookavec + 3.5
  4609. speeds = speeds + 1
  4610. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4611. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4612. 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)
  4613.  
  4614. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4615. 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)
  4616.  
  4617. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4618. 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)
  4619.  
  4620. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4621. 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)
  4622. end
  4623.  
  4624. local risen = 0
  4625. for i = 0, 49 do
  4626. swait()
  4627. risen = risen + 0.05
  4628. speeds = speeds + 0.1
  4629. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4630. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4631. 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)
  4632.  
  4633. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4634. 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)
  4635.  
  4636. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4637. 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)
  4638.  
  4639. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4640. 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)
  4641. end
  4642. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4643. if v:FindFirstChild('Head') then
  4644. dmg(v)
  4645. end
  4646. end
  4647. CameraEnshaking(4,10)
  4648. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4649. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4650. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4651. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4652. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4653. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4654. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4655. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4656. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4657. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4658. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4659. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4660. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4661. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4662. for i = 0, 24 do
  4663. 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)
  4664. 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)
  4665. 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)
  4666. 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)
  4667. end
  4668. coroutine.resume(coroutine.create(function()
  4669. wait(10)
  4670. elocacenter:Destroy()
  4671. eloca1:Destroy()
  4672. eloca2:Destroy()
  4673. eloca3:Destroy()
  4674. eloca4:Destroy()
  4675. end))
  4676. end))
  4677. attack = false
  4678. end
  4679.  
  4680. function UniversalCollapse()
  4681. attack = true
  4682. local speedearn = 0
  4683. hum.WalkSpeed = 0
  4684. local sbs = Instance.new("BodyPosition", root)
  4685. sbs.P = 3000
  4686. sbs.D = 1000
  4687. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4688. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4689. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  4690. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4691. for i = 0, 110, 0.1 do
  4692. swait()
  4693. speedearn = speedearn + 0.1
  4694. 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)
  4695. 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)
  4696. 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)
  4697. 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)
  4698. 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)
  4699. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4700. 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)
  4701. 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)
  4702. 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)
  4703. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4704. 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)
  4705. 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)
  4706. end
  4707. CameraEnshaking(5,50)
  4708. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4709. for i = 0, 2 do
  4710. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4711. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4712. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4713. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4714. end
  4715. for i = 0, 49 do
  4716. 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)
  4717. 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)
  4718. 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)
  4719. 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)
  4720. end
  4721. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4722. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4723. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4724. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4725. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4726. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4727. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4728. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4729. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4730. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4731. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4732. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4733. for i = 0, 99 do
  4734. 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)
  4735. 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)
  4736. end
  4737. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4738. if v:FindFirstChild('Head') then
  4739. dmg(v)
  4740. end
  4741. end
  4742. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4743. sbs:Destroy()
  4744. hum.WalkSpeed = storehumanoidWS
  4745. attack = false
  4746. end
  4747.  
  4748.  
  4749. function ChaosEND()
  4750. attack = true
  4751. local speedearn = 0
  4752. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  4753. for i = 0, 15, 0.1 do
  4754. swait()
  4755. speedearn = speedearn + 0.25
  4756. 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)
  4757. 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)
  4758. 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)
  4759. 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)
  4760. 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)
  4761. 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)
  4762. 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)
  4763. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4764. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4765. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4766. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4767. end
  4768. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4769. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4770. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  4771. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  4772. CameraEnshaking(5,25)
  4773. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4774. if v:FindFirstChild('Head') then
  4775. dmg(v)
  4776. end
  4777. end
  4778. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4779. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4780. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4781. for i = 0, 3, 0.1 do
  4782. swait()
  4783. 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)
  4784. 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)
  4785. 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)
  4786. 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)
  4787. 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)
  4788. 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)
  4789. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4790. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4791. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4792. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4793. end
  4794. attack = false
  4795. end
  4796.  
  4797. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4798. local orb = Instance.new("Part", char)
  4799. orb.Anchored = true
  4800. orb.BrickColor = color
  4801. orb.CanCollide = false
  4802. orb.FormFactor = 3
  4803. orb.Name = "Ring"
  4804. orb.Material = "Neon"
  4805. orb.Size = Vector3.new(1, 1, 1)
  4806. orb.Transparency = 0
  4807. orb.TopSurface = 0
  4808. orb.BottomSurface = 0
  4809. local orbm = Instance.new("SpecialMesh", orb)
  4810. orbm.MeshType = "Sphere"
  4811. orb.CFrame = positted
  4812. orbm.Name = "SizeMesh"
  4813. orbm.Scale = vt(1,1,1)
  4814. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4815. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4816. --[[for i = 0, 2 do
  4817. 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)
  4818. end]]--
  4819. coroutine.resume(coroutine.create(function()
  4820. wait(timer)
  4821. CameraEnshaking(3,ShakePower)
  4822. orb.Transparency = 1
  4823. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4824. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4825. --[[for i = 0, 4 do
  4826. 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)
  4827. end]]--
  4828. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4829. wait(3)
  4830. orb:Destroy()
  4831. end))
  4832. end
  4833.  
  4834. function orb_spawn(positted,timer)
  4835. local randomcol = math.random(1,2)
  4836. local orb = Instance.new("Part", char)
  4837. orb.Anchored = true
  4838. if randomcol == 1 then
  4839. orb.BrickColor = BrickColor.new("White")
  4840. elseif randomcol == 2 then
  4841. orb.BrickColor = BrickColor.new("Really black")
  4842. end
  4843. orb.CanCollide = false
  4844. orb.FormFactor = 3
  4845. orb.Name = "Ring"
  4846. orb.Material = "Neon"
  4847. orb.Size = Vector3.new(1, 1, 1)
  4848. orb.Transparency = 0
  4849. orb.TopSurface = 0
  4850. orb.BottomSurface = 0
  4851. local orbm = Instance.new("SpecialMesh", orb)
  4852. orbm.MeshType = "Sphere"
  4853. orb.CFrame = positted
  4854. orbm.Name = "SizeMesh"
  4855. orbm.Scale = vt(1,1,1)
  4856. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4857. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4858. for i = 0, 2 do
  4859. 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)
  4860. end
  4861. coroutine.resume(coroutine.create(function()
  4862. wait(timer)
  4863. CameraEnshaking(3,2)
  4864. orb.Transparency = 1
  4865. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4866. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4867. for i = 0, 4 do
  4868. 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)
  4869. end
  4870. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4871. wait(3)
  4872. orb:Destroy()
  4873. end))
  4874. end
  4875.  
  4876. function scattercorrupt()
  4877. attack = true
  4878. local rot = 0
  4879. local randomrotations = math.random(1,2)
  4880. local lookv = 2.5
  4881. local power = 5
  4882. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4883. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4884. for i = 0, 9 do
  4885. 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)
  4886. end
  4887. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4888. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4889. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4890. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4891. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4892. local hite = Instance.new("Part", char)
  4893. hite.Anchored = true
  4894. hite.CanCollide = false
  4895. hite.FormFactor = 3
  4896. hite.Name = "Ring"
  4897. hite.Material = "Neon"
  4898. hite.Size = Vector3.new(1, 1, 1)
  4899. hite.Transparency = 1
  4900. hite.TopSurface = 0
  4901. hite.BottomSurface = 0
  4902. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4903. local rem = Instance.new("Part", char)
  4904. rem.Anchored = true
  4905. rem.CanCollide = false
  4906. rem.FormFactor = 3
  4907. rem.Name = "Ring"
  4908. rem.Material = "Neon"
  4909. rem.Size = Vector3.new(1, 1, 1)
  4910. rem.Transparency = 1
  4911. rem.TopSurface = 0
  4912. rem.BottomSurface = 0
  4913. rem.CFrame = hite.CFrame
  4914. local rem2 = rem:Clone()
  4915. rem2.Parent = char
  4916. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4917. local rem3 = rem:Clone()
  4918. rem3.Parent = char
  4919. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4920. local rem4 = rem:Clone()
  4921. rem4.Parent = char
  4922. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4923. hite:Destroy()
  4924. coroutine.resume(coroutine.create(function()
  4925. for i = 0, 24 do
  4926. swait(1)
  4927. if randomrotations == 1 then
  4928. rot = rot + 1
  4929. elseif randomrotations == 2 then
  4930. rot = rot - 1
  4931. end
  4932. power = power + 0.5
  4933. lookv = lookv + 7.5
  4934. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4935. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4936. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4937. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4938. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4939. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4940. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4941. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4942. end
  4943. end))
  4944. attack = false
  4945. end
  4946. function yinyangi()
  4947. attack = true
  4948. for i = 0, 2, 0.1 do
  4949. swait()
  4950. 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)
  4951. 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)
  4952. 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)
  4953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4954. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4955. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4956. end
  4957. local bv = Instance.new("BodyVelocity")
  4958. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4959. bv.velocity = root.CFrame.lookVector*175
  4960. bv.Parent = root
  4961. for Rotations = 0, 9 do
  4962. for i = 0, 1, 0.5 do
  4963. swait()
  4964. bv.velocity = root.CFrame.lookVector*175
  4965. 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)
  4966. 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)
  4967. 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)
  4968. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4969. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4970. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4971. end
  4972. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4973. for i = 0, 1, 0.5 do
  4974. swait()
  4975. bv.velocity = root.CFrame.lookVector*175
  4976. 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)
  4977. 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)
  4978. 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)
  4979. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4980. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4981. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4982. end
  4983. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4984. for i = 0, 1, 0.5 do
  4985. swait()
  4986. bv.velocity = root.CFrame.lookVector*175
  4987. 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)
  4988. 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)
  4989. 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)
  4990. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4991. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4992. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4993. end
  4994. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4995. for i = 0, 1, 0.5 do
  4996. swait()
  4997. bv.velocity = root.CFrame.lookVector*175
  4998. 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)
  4999. 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)
  5000. 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)
  5001. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5002. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5003. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5004. end
  5005. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5006. end
  5007. bv:Destroy()
  5008. attack = false
  5009. end
  5010.  
  5011. function createBGCircle(size,parent,color)
  5012. local bgui = Instance.new("BillboardGui",parent)
  5013. bgui.Size = UDim2.new(size, 0, size, 0)
  5014. local imgc = Instance.new("ImageLabel",bgui)
  5015. imgc.BackgroundTransparency = 1
  5016. imgc.ImageTransparency = 0
  5017. imgc.Size = UDim2.new(1,0,1,0)
  5018. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5019. imgc.ImageColor3 = color
  5020. return bgui,imgc
  5021. end
  5022.  
  5023. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5024. local bgui,imgc = createBGCircle(size,guipar,color)
  5025. bgui.AlwaysOnTop = true
  5026. imgc.Image = "rbxassetid://" ..img
  5027. local rrot = math.random(1,2)
  5028. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5029. coroutine.resume(coroutine.create(function()
  5030. for i = 0, 24*delay do
  5031. swait()
  5032. if rotationenabled == true then
  5033. if rrot == 1 then
  5034. imgc.Rotation = imgc.Rotation + rotsp
  5035. elseif rrot == 2 then
  5036. imgc.Rotation = imgc.Rotation - rotsp
  5037. end
  5038. end
  5039. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5040. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5041. end
  5042. bgui:Destroy()
  5043. end))
  5044. end
  5045. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5046. for i, v in pairs(mw2:GetChildren()) do
  5047. if v:IsA("Part") then
  5048. v.BrickColor = one
  5049. v.Material = "Neon"
  5050. end
  5051. end
  5052. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5053. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5054. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5055. tr1.Color = ColorSequence.new(one.Color)
  5056. tr2.Color = ColorSequence.new(one.Color)
  5057. tr3.Color = ColorSequence.new(one.Color)
  5058. for i, v in pairs(mw1:GetChildren()) do
  5059. if v:IsA("Part") then
  5060. if secondaryenabled == false then
  5061. v.Transparency = 1
  5062. elseif secondaryenabled == true then
  5063. v.Transparency = 0
  5064. end
  5065. v.BrickColor = two
  5066. v.Material = "Neon"
  5067. end
  5068. end
  5069. if secondaryenabled == false then
  5070. tl1.Enabled = false
  5071. tl2.Enabled = false
  5072. tl3.Enabled = false
  5073. elseif secondaryenabled == true then
  5074. tl1.Enabled = true
  5075. tl2.Enabled = true
  5076. tl3.Enabled = true
  5077. end
  5078. tl1.Color = ColorSequence.new(two.Color)
  5079. tl2.Color = ColorSequence.new(two.Color)
  5080. tl3.Color = ColorSequence.new(two.Color)
  5081. for i, v in pairs(m:GetChildren()) do
  5082. if v:IsA("Part") then
  5083. v.BrickColor = three
  5084. v.Material = "Ice"
  5085. end
  5086. end
  5087. for i, v in pairs(m2:GetChildren()) do
  5088. if v:IsA("Part") then
  5089. v.BrickColor = four
  5090. v.Material = "Ice"
  5091. end
  5092. end
  5093. for i, v in pairs(m3:GetChildren()) do
  5094. if v:IsA("Part") then
  5095. v.BrickColor = five
  5096. v.Material = "Neon"
  5097. end
  5098. end
  5099. for i, v in pairs(extrawingmod1:GetChildren()) do
  5100. if v:IsA("Part") then
  5101. v.Transparency = exonetran
  5102. v.BrickColor = exone
  5103. v.Material = "Neon"
  5104. end
  5105. end
  5106. for i, v in pairs(extrawingmod2:GetChildren()) do
  5107. if v:IsA("Part") then
  5108. v.Transparency = extwotran
  5109. v.BrickColor = extwo
  5110. v.Material = "Neon"
  5111. end
  5112. end
  5113. end
  5114.  
  5115.  
  5116. function normalmog()
  5117. attack = true
  5118. hum.WalkSpeed = 0
  5119. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5120. for i = 0,6,0.1 do
  5121. swait()
  5122. 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)
  5123. 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)
  5124. 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)
  5125. 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)
  5126. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5127. 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)
  5128. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5129. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5130. end
  5131. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5132. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5133. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5134. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5135. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5136. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5137. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5138. rainbowmode = false
  5139. chaosmode = false
  5140. ModeOfGlitch = 1
  5141. storehumanoidWS = 16
  5142. newTheme("rbxassetid://614032233",48.6,1,1.25)
  5143. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5144. CameraEnshaking(5,2.5)
  5145. MAINRUINCOLOR = BrickColor.new("Really red")
  5146. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5147. for i = 0, 49 do
  5148. 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)
  5149. end
  5150. for i = 0, 24 do
  5151. 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)
  5152. 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"))
  5153. end
  5154. for i = 0,3,0.1 do
  5155. 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)
  5156. end
  5157. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5158. for i = 0,2,0.1 do
  5159. swait()
  5160. 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)
  5161. 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)
  5162. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5163. 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)
  5164. 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)
  5165. 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)
  5166. end
  5167. hum.WalkSpeed = storehumanoidWS
  5168. attack = false
  5169. end
  5170.  
  5171. function attackone()
  5172. attack = true
  5173. local keptcolor = MAINRUINCOLOR
  5174. for i = 0,1,0.1 do
  5175. swait()
  5176. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5177. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5178. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5179. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5180. 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(-15),math.rad(0),math.rad(0)),.3)
  5181. 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)),.3)
  5182. end
  5183. local distlook = 5
  5184. coroutine.resume(coroutine.create(function()
  5185. for i = 0, 4 do
  5186. swait(2)
  5187. CameraEnshaking(2,3)
  5188. local hite = Instance.new("Part", char)
  5189. hite.Anchored = true
  5190. hite.CanCollide = false
  5191. hite.FormFactor = 3
  5192. hite.Name = "Ring"
  5193. hite.Material = "Neon"
  5194. hite.Size = Vector3.new(1, 1, 1)
  5195. hite.Transparency = 1
  5196. hite.TopSurface = 0
  5197. hite.BottomSurface = 0
  5198. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5199. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  5200. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  5201. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  5202. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  5203. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5204. for i = 0, 14 do
  5205. local rsiz = math.random(5,20)
  5206. sphereMK(math.random(1,3),0.25,"Add",hite.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)
  5207. end
  5208. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5209. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5210. game:GetService("Debris"):AddItem(hite, 5)
  5211. distlook = distlook + 10
  5212. end
  5213. end))
  5214. for i = 0,1,0.1 do
  5215. swait()
  5216. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5217. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5218. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5219. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5220. 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(-10)),.5)
  5221. 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)),.5)
  5222. end
  5223. attack = false
  5224. end
  5225.  
  5226. function attacktwo()
  5227. attack = true
  5228. hum.WalkSpeed = 2
  5229. local keptcolor = MAINRUINCOLOR
  5230. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5231. sphere2(5,"Add",rarm.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)
  5232. sphere2(5,"Add",rarm.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)
  5233. for i = 0, 14 do
  5234. end
  5235. for i = 0,1,0.1 do
  5236. swait()
  5237. 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)
  5238. 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)
  5239. 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)
  5240. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5241. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5242. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5243. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5244. end
  5245. for i = 0, 1 do
  5246. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5247. for i = 0,1,0.6 do
  5248. swait()
  5249. sphere2(8,"Add",rarm.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)
  5250. 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)
  5251. 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)
  5252. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5253. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5254. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5255. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5256. end
  5257. for i = 0,1,0.6 do
  5258. swait()
  5259. sphere2(8,"Add",rarm.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)
  5260. 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)
  5261. 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)
  5262. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5263. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5264. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5265. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5266. end
  5267. for i = 0,1,0.6 do
  5268. swait()
  5269. sphere2(8,"Add",rarm.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)
  5270. 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)
  5271. 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)
  5272. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5273. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5274. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5275. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5276. end
  5277. for i = 0,1,0.6 do
  5278. swait()
  5279. sphere2(8,"Add",rarm.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)
  5280. 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)
  5281. 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)
  5282. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5283. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5284. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5285. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5286. end
  5287. local rot = 0
  5288. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5289. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5290. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5291. CreateMesh(dis,"Sphere",10,1,10)
  5292. local at1 = Instance.new("Attachment",dis)
  5293. at1.Position = vt(-5,0,0)
  5294. local at2 = Instance.new("Attachment",dis)
  5295. at2.Position = vt(5,0,0)
  5296. local trl = Instance.new('Trail',wed)
  5297. trl.Attachment0 = at1
  5298. trl.Attachment1 = at2
  5299. trl.Texture = "rbxassetid://1049219073"
  5300. trl.LightEmission = 1
  5301. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5302. trl.Color = ColorSequence.new(dis.Color)
  5303. trl.Lifetime = 0.6
  5304. local a = Instance.new("Part",workspace)
  5305. a.Name = "Direction"
  5306. a.Anchored = true
  5307. a.BrickColor = bc("Bright red")
  5308. a.Material = "Neon"
  5309. a.Transparency = 1
  5310. a.CanCollide = false
  5311. local ray = Ray.new(
  5312. dis.CFrame.p, -- origin
  5313. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5314. )
  5315. local ignore = dis
  5316. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5317. a.BottomSurface = 10
  5318. a.TopSurface = 10
  5319. local distance = (dis.CFrame.p - position).magnitude
  5320. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5321. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5322. dis.CFrame = a.CFrame
  5323. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5324. a:Destroy()
  5325. local bv = Instance.new("BodyVelocity")
  5326. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5327. bv.velocity = dis.CFrame.lookVector*250
  5328. bv.Parent = dis
  5329. game:GetService("Debris"):AddItem(dis, 5)
  5330. local hitted = false
  5331. coroutine.resume(coroutine.create(function()
  5332. dis.Touched:connect(function(hit)
  5333. if hitted == false and hit.Parent ~= char then
  5334. hitted = true
  5335. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5336. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5337. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5338. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5339. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5340. coroutine.resume(coroutine.create(function()
  5341. for i = 0, 9 do
  5342. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5343. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5344. local at1 = Instance.new("Attachment",disr)
  5345. at1.Position = vt(-5,0,0)
  5346. local at2 = Instance.new("Attachment",disr)
  5347. at2.Position = vt(5,0,0)
  5348. local trl = Instance.new('Trail',disr)
  5349. trl.Attachment0 = at1
  5350. trl.FaceCamera = true
  5351. trl.Attachment1 = at2
  5352. trl.Texture = "rbxassetid://2342682798"
  5353. trl.LightEmission = 1
  5354. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5355. trl.Color = ColorSequence.new(keptcolor.Color)
  5356. trl.Lifetime = 0.5
  5357. local bv = Instance.new("BodyVelocity")
  5358. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5359. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5360. bv.Parent = disr
  5361. local val = 0
  5362. coroutine.resume(coroutine.create(function()
  5363. swait(30)
  5364. for i = 0, 9 do
  5365. swait()
  5366. val = val + 0.1
  5367. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5368. end
  5369. game:GetService("Debris"):AddItem(disr, 3)
  5370. end))
  5371. end
  5372. local eff = Instance.new("ParticleEmitter",dis)
  5373. eff.Texture = "rbxassetid://2273224484"
  5374. eff.LightEmission = 1
  5375. eff.Color = ColorSequence.new(keptcolor.Color)
  5376. eff.Rate = 50
  5377. eff.Lifetime = NumberRange.new(0.5,2)
  5378. 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)})
  5379. 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)})
  5380. eff.Speed = NumberRange.new(20,250)
  5381. eff.Drag = 5
  5382. eff.Rotation = NumberRange.new(-500,500)
  5383. eff.VelocitySpread = 9000
  5384. eff.RotSpeed = NumberRange.new(-50,50)
  5385. wait(0.25)
  5386. eff.Enabled = false
  5387. end))
  5388. for i = 0, 9 do
  5389. end
  5390. for i = 0, 19 do
  5391. end
  5392. coroutine.resume(coroutine.create(function()
  5393. for i = 0, 19 do
  5394. swait()
  5395. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5396. end
  5397. hum.CameraOffset = vt(0,0,0)
  5398. end))
  5399. dis.Anchored = true
  5400. dis.Transparency = 1
  5401. wait(8)
  5402. dis:Destroy()
  5403. end
  5404. end)
  5405. end))
  5406. rot = rot - 15
  5407. end
  5408. for i = 0,2,0.1 do
  5409. swait()
  5410. 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)
  5411. 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)
  5412. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5413. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5414. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5415. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5416. end
  5417. attack = false
  5418. hum.WalkSpeed = storehumanoidWS
  5419. end
  5420.  
  5421. function attackthree()
  5422. attack = true
  5423. local keptcolor = MAINRUINCOLOR
  5424. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5425. for i = 0,2,0.1 do
  5426. swait()
  5427. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5428. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5429. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5430. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5431. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5432. 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(-50),math.rad(-10)),.3)
  5433. 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(40)),.3)
  5434. end
  5435. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5436. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5437. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5438. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5439. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5440. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5441. for i = 0, 24 do
  5442. end
  5443. for i = 0,4,0.1 do
  5444. swait()
  5445. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5446. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5447. CreateMesh(dis,"Sphere",1,1,1)
  5448. dis.Anchored = true
  5449. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5450. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5451. coroutine.resume(coroutine.create(function()
  5452. swait(30)
  5453. dis.Transparency = 1
  5454. coroutine.resume(coroutine.create(function()
  5455. for i = 0, 19 do
  5456. swait()
  5457. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5458. end
  5459. hum.CameraOffset = vt(0,0,0)
  5460. end))
  5461. coroutine.resume(coroutine.create(function()
  5462. local eff = Instance.new("ParticleEmitter",dis)
  5463. eff.Texture = "rbxassetid://2273224484"
  5464. eff.LightEmission = 1
  5465. eff.Color = ColorSequence.new(dis.Color)
  5466. eff.Rate = 500000
  5467. eff.Lifetime = NumberRange.new(0.5,2)
  5468. 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)})
  5469. 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)})
  5470. eff.Speed = NumberRange.new(50,450)
  5471. eff.Drag = 5
  5472. eff.Rotation = NumberRange.new(-500,500)
  5473. eff.VelocitySpread = 9000
  5474. eff.RotSpeed = NumberRange.new(-50,50)
  5475. wait(0.125)
  5476. eff.Enabled = false
  5477. end))
  5478. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5479. for i = 0, 2 do
  5480. --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(50,150)/250,dis.BrickColor)
  5481. end
  5482. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5483. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5484. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5485. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5486. end))
  5487. game:GetService("Debris"):AddItem(dis, 5)
  5488. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5489. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5490. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5491. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5492. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5)
  5493. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5)
  5494. end
  5495. attack = false
  5496. end
  5497. ----------------------------------- Abilities
  5498.  
  5499. function ExtinctiveHeartbreak()
  5500. local targetted = nil
  5501. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5502. targetted = mouse.Target.Parent
  5503. end
  5504. if targetted ~= nil then
  5505. attack = true
  5506. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5507. for i = 0, 9 do
  5508. --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("Really red"),0)
  5509. end
  5510. for i = 0, 24 do
  5511. --
  5512. end
  5513. --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5514. local originalpos = root.CFrame
  5515. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5516. for i = 0, 9 do
  5517. --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("Really red"),0)
  5518. end
  5519. for i = 0, 24 do
  5520. end
  5521. hum.WalkSpeed = 0
  5522. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5523. local radm = math.random(1,3)
  5524. if radm == 1 then
  5525. --bosschatfunc("YOU WON'T BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5526. elseif radm == 2 then
  5527. --bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5528. elseif radm == 3 then
  5529. --bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5530. end
  5531. for i = 0,2,0.1 do
  5532. swait()
  5533. 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)
  5534. 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)
  5535. 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)
  5536. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5537. 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)
  5538. 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)
  5539. end
  5540. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  5541. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  5542. for i = 0,2,0.1 do
  5543. swait()
  5544. coroutine.resume(coroutine.create(function()
  5545. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5546. for i,v in pairs(targetted:GetChildren()) do
  5547. if v:IsA("Part") or v:IsA("MeshPart") then
  5548. v.Velocity = vt(0,0,0)
  5549. end
  5550. end
  5551. end))
  5552. 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)
  5553. 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)
  5554. 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)
  5555. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5556. 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)
  5557. 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)
  5558. end
  5559. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  5560. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  5561. for i = 0, 1 do
  5562. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  5563. end
  5564. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  5565. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5566. for i = 0,4,0.1 do
  5567. swait()
  5568. coroutine.resume(coroutine.create(function()
  5569. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5570. 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)))
  5571. local at1 = Instance.new("Attachment",dis)
  5572. at1.Position = vt(-25000,0,0)
  5573. local at2 = Instance.new("Attachment",dis)
  5574. at2.Position = vt(25000,0,0)
  5575. local trl = Instance.new('Trail',dis)
  5576. trl.Attachment0 = at1
  5577. trl.FaceCamera = true
  5578. trl.Attachment1 = at2
  5579. trl.Texture = "rbxassetid://1049219073"
  5580. trl.LightEmission = 1
  5581. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5582. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5583. trl.Lifetime = 5
  5584. local bv = Instance.new("BodyVelocity")
  5585. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5586. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5587. bv.Parent = dis
  5588. game:GetService("Debris"):AddItem(dis, 5)
  5589. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5590. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5591. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5592. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5593. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5594. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5595. 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)
  5596. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5597. for i = 0, 2 do
  5598. --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"))
  5599. end
  5600. 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)
  5601. for i,v in pairs(targetted:GetChildren()) do
  5602. if v:IsA("Part") or v:IsA("MeshPart") then
  5603. v.Velocity = vt(0,0,0)
  5604. end
  5605. end
  5606. end))
  5607. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5608. 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)
  5609. 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)
  5610. 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)
  5611. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5612. 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)
  5613. 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)
  5614. end
  5615. hum.CameraOffset = vt(0,0,0)
  5616. for i = 0, 49 do
  5617. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5618. 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)))
  5619. local at1 = Instance.new("Attachment",dis)
  5620. at1.Position = vt(-50000,0,0)
  5621. local at2 = Instance.new("Attachment",dis)
  5622. at2.Position = vt(50000,0,0)
  5623. local trl = Instance.new('Trail',dis)
  5624. trl.Attachment0 = at1
  5625. trl.FaceCamera = true
  5626. trl.Attachment1 = at2
  5627. trl.Texture = "rbxassetid://1049219073"
  5628. trl.LightEmission = 1
  5629. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5630. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5631. trl.Lifetime = 5
  5632. local bv = Instance.new("BodyVelocity")
  5633. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5634. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5635. bv.Parent = dis
  5636. game:GetService("Debris"):AddItem(dis, 5)
  5637. end
  5638. for i = 0, 49 do
  5639. 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)
  5640. --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("Really red"))
  5641. end
  5642. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5643. for i = 0, 1 do
  5644. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5645. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5646. end
  5647. for i = 0, 4 do
  5648. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5649. end
  5650. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5651. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5652. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5653. dmg(targetted)
  5654. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5655. for i = 0, 9 do
  5656. --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("Really red"),0)
  5657. end
  5658. for i = 0, 24 do
  5659. end
  5660. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5661. root.CFrame = originalpos
  5662. for i = 0, 9 do
  5663. --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("Really red"),0)
  5664. end
  5665. for i = 0, 24 do
  5666. end
  5667. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5668. attack = false
  5669. hum.WalkSpeed = storehumanoidWS
  5670. end
  5671. end
  5672.  
  5673. function CorruptionEvent()
  5674. attack = true
  5675. hum.WalkSpeed = 0
  5676. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5677. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5678. local keptcolor = MAINRUINCOLOR
  5679. for i = 0,4,0.1 do
  5680. swait()
  5681. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5682. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5683. 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)
  5684. 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)
  5685. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5686. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5687. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5688. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5689. end
  5690. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5691. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5692. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5693. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5694. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5695. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5696. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5697. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5698. hum.CameraOffset = vt(0,0,0)
  5699. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5700. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5701. for i = 0, 24 do
  5702. --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"))
  5703. end
  5704. local rrot = 0
  5705. coroutine.resume(coroutine.create(function()
  5706. for i = 0, 4 do
  5707. rrot = rrot + 45
  5708. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5709. xa.Anchored = true
  5710. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5711. xb.Anchored = true
  5712. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5713. xc.Anchored = true
  5714. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5715. xd.Anchored = true
  5716. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5717. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5718. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5719. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5720. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5721. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5722. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5723. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5724. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5725. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5726. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5727. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5728. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5729. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5730. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5731. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5732. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5733. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5734. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5735. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5736. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5737. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5738. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5739. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5740. 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)
  5741. 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)
  5742. 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)
  5743. 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)
  5744. 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))
  5745. 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))
  5746. 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))
  5747. 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))
  5748. game:GetService("Debris"):AddItem(xa, 5)
  5749. game:GetService("Debris"):AddItem(xb, 5)
  5750. game:GetService("Debris"):AddItem(xc, 5)
  5751. game:GetService("Debris"):AddItem(xd, 5)
  5752. coroutine.resume(coroutine.create(function()
  5753. for i = 0, 19 do
  5754. swait()
  5755. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5756. end
  5757. hum.CameraOffset = vt(0,0,0)
  5758. end))
  5759. swait(9)
  5760. end
  5761. end))
  5762. for i = 0,2,0.1 do
  5763. swait()
  5764. 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)
  5765. 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)
  5766. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5767. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5768. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5769. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5770. end
  5771. attack = false
  5772. hum.WalkSpeed = storehumanoidWS
  5773. end
  5774.  
  5775. function EndGROUND()
  5776. attack = true
  5777. hum.WalkSpeed = 0
  5778. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5779. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5780. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5781. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5782. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5783. local keptcolor = MAINRUINCOLOR
  5784. for i = 0,4,0.1 do
  5785. swait()
  5786. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5787. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5788. --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"))
  5789. 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)
  5790. 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)
  5791. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5792. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5793. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5794. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5795. end
  5796. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5797. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5798. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5799. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5800. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5801. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5802. coroutine.resume(coroutine.create(function()
  5803. local shval = 10
  5804. for i = 0, 99 do
  5805. swait()
  5806. shval = shval - 0.1
  5807. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5808. end
  5809. hum.CameraOffset = vt(0,0,0)
  5810. end))
  5811. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5812. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5813. for i = 0, 24 do
  5814. --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"))
  5815. end
  5816. local rrot = 0
  5817. local xam = 1
  5818. coroutine.resume(coroutine.create(function()
  5819. for i = 0, 14 do
  5820. --swait()
  5821. rrot = rrot + 40*xam
  5822. xam = xam + 0.25
  5823. local bonus = xam
  5824. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5825. xa.Anchored = true
  5826. xa.Color = Color3.new(0,0,0)
  5827. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5828. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5829. local xc = 0
  5830. coroutine.resume(coroutine.create(function()
  5831. for i = 0, 99 do
  5832. swait()
  5833. xc = xc + 0.01
  5834. xa.Color = Color3.new(xc,0,0)
  5835. end
  5836. xa.Transparency = 1
  5837. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5838. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5839. for i = 0, 9 do
  5840. --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"))
  5841. end
  5842. 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)
  5843. 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)
  5844. 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))
  5845. game:GetService("Debris"):AddItem(xa, 5)
  5846. coroutine.resume(coroutine.create(function()
  5847. for i = 0, 19 do
  5848. swait()
  5849. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5850. end
  5851. hum.CameraOffset = vt(0,0,0)
  5852. end))
  5853. end))
  5854. end
  5855. end))
  5856. for i = 0,2,0.1 do
  5857. swait()
  5858. 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)
  5859. 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)
  5860. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5861. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5862. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5863. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5864. end
  5865. attack = false
  5866. hum.WalkSpeed = storehumanoidWS
  5867. end
  5868.  
  5869. function HeavenlyDisk()
  5870. attack = true
  5871. hum.WalkSpeed = 2
  5872. local keptcolor = MAINRUINCOLOR
  5873. local radm = math.random(1,3)
  5874. if radm == 1 then
  5875. --bosschatfunc("Don't make this too easy for you.",MAINRUINCOLOR.Color,1)
  5876. elseif radm == 2 then
  5877. --bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  5878. elseif radm == 3 then
  5879. --bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5880. end
  5881. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5882. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  5883. for i = 0, 14 do
  5884. --
  5885. end
  5886. for i = 0,2,0.1 do
  5887. swait()
  5888. 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)
  5889. 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)
  5890. 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)
  5891. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5892. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5893. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5894. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5895. end
  5896. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  5897. for i = 0,1,0.6 do
  5898. swait()
  5899. 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)
  5900. --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"))
  5901. 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)
  5902. 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)
  5903. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5904. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5905. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5906. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5907. end
  5908. for i = 0,1,0.6 do
  5909. swait()
  5910. 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)
  5911. --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"))
  5912. 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)
  5913. 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)
  5914. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  5915. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5916. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5917. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5918. end
  5919. for i = 0,1,0.6 do
  5920. swait()
  5921. 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)
  5922. --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"))
  5923. 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)
  5924. 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)
  5925. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  5926. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5927. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5928. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5929. end
  5930. for i = 0,1,0.6 do
  5931. swait()
  5932. 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)
  5933. --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"))
  5934. 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)
  5935. 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)
  5936. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  5937. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5938. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5939. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5940. end
  5941. local rot = 15
  5942. for i = 0, 2 do
  5943. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  5944. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5945. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5946. CreateMesh(dis,"Sphere",10,1,10)
  5947. local at1 = Instance.new("Attachment",dis)
  5948. at1.Position = vt(-5,0,0)
  5949. local at2 = Instance.new("Attachment",dis)
  5950. at2.Position = vt(5,0,0)
  5951. local trl = Instance.new('Trail',wed)
  5952. trl.Attachment0 = at1
  5953. trl.Attachment1 = at2
  5954. trl.Texture = "rbxassetid://1049219073"
  5955. trl.LightEmission = 1
  5956. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5957. trl.Color = ColorSequence.new(dis.Color)
  5958. trl.Lifetime = 0.6
  5959. local a = Instance.new("Part",workspace)
  5960. a.Name = "Direction"
  5961. a.Anchored = true
  5962. a.BrickColor = bc("Bright red")
  5963. a.Material = "Neon"
  5964. a.Transparency = 1
  5965. a.CanCollide = false
  5966. local ray = Ray.new(
  5967. dis.CFrame.p, -- origin
  5968. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5969. )
  5970. local ignore = dis
  5971. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5972. a.BottomSurface = 10
  5973. a.TopSurface = 10
  5974. local distance = (dis.CFrame.p - position).magnitude
  5975. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5976. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5977. dis.CFrame = a.CFrame
  5978. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5979. a:Destroy()
  5980. local bv = Instance.new("BodyVelocity")
  5981. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5982. bv.velocity = dis.CFrame.lookVector*250
  5983. bv.Parent = dis
  5984. game:GetService("Debris"):AddItem(dis, 5)
  5985. local hitted = false
  5986. coroutine.resume(coroutine.create(function()
  5987. dis.Touched:connect(function(hit)
  5988. if hitted == false and hit.Parent ~= char then
  5989. hitted = true
  5990. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5991. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  5992. --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5993. --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5994. --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  5995. coroutine.resume(coroutine.create(function()
  5996. for i = 0, 9 do
  5997. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5998. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5999. local at1 = Instance.new("Attachment",disr)
  6000. at1.Position = vt(-2,0,0)
  6001. local at2 = Instance.new("Attachment",disr)
  6002. at2.Position = vt(2,0,0)
  6003. local trl = Instance.new('Trail',disr)
  6004. trl.Attachment0 = at1
  6005. trl.FaceCamera = true
  6006. trl.Attachment1 = at2
  6007. trl.Texture = "rbxassetid://2342682798"
  6008. trl.LightEmission = 1
  6009. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6010. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6011. trl.Lifetime = 0.5
  6012. local bv = Instance.new("BodyVelocity")
  6013. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6014. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6015. bv.Parent = disr
  6016. local val = 0
  6017. coroutine.resume(coroutine.create(function()
  6018. swait(30)
  6019. for i = 0, 9 do
  6020. swait()
  6021. val = val + 0.1
  6022. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6023. end
  6024. game:GetService("Debris"):AddItem(disr, 3)
  6025. end))
  6026. end
  6027. local eff = Instance.new("ParticleEmitter",dis)
  6028. eff.Texture = "rbxassetid://2273224484"
  6029. eff.LightEmission = 1
  6030. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6031. eff.Rate = 500000
  6032. eff.Lifetime = NumberRange.new(0.5,2)
  6033. 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)})
  6034. 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)})
  6035. eff.Speed = NumberRange.new(20,250)
  6036. eff.Drag = 5
  6037. eff.Rotation = NumberRange.new(-500,500)
  6038. eff.VelocitySpread = 9000
  6039. eff.RotSpeed = NumberRange.new(-50,50)
  6040. wait(0.25)
  6041. eff.Enabled = false
  6042. end))
  6043. for i = 0, 9 do
  6044. --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"))
  6045. end
  6046. for i = 0, 19 do
  6047. --
  6048. end
  6049. coroutine.resume(coroutine.create(function()
  6050. for i = 0, 19 do
  6051. swait()
  6052. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6053. end
  6054. hum.CameraOffset = vt(0,0,0)
  6055. end))
  6056. dis.Anchored = true
  6057. dis.Transparency = 1
  6058. wait(8)
  6059. dis:Destroy()
  6060. end
  6061. end)
  6062. end))
  6063. rot = rot - 15
  6064. end
  6065. for i = 0,2,0.1 do
  6066. swait()
  6067. 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)
  6068. 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)
  6069. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6070. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6071. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6072. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6073. end
  6074. attack = false
  6075. hum.WalkSpeed = storehumanoidWS
  6076. end
  6077.  
  6078. function RapidBurst()
  6079. attack = true
  6080. hum.WalkSpeed = 0
  6081. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6082. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6083. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6084. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  6085. local keptcolor = MAINRUINCOLOR
  6086. for i = 0,8,0.1 do
  6087. swait()
  6088. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6089. --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())
  6090. 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)
  6091. 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)
  6092. 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)
  6093. 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)
  6094. 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)
  6095. 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)
  6096. 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)
  6097. end
  6098. for i = 0, 99 do
  6099. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6100. 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)))
  6101. local at1 = Instance.new("Attachment",dis)
  6102. at1.Position = vt(-25000,0,0)
  6103. local at2 = Instance.new("Attachment",dis)
  6104. at2.Position = vt(25000,0,0)
  6105. local trl = Instance.new('Trail',dis)
  6106. trl.Attachment0 = at1
  6107. trl.FaceCamera = true
  6108. trl.Attachment1 = at2
  6109. trl.Texture = "rbxassetid://1049219073"
  6110. trl.LightEmission = 1
  6111. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6112. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6113. trl.Lifetime = 5
  6114. local bv = Instance.new("BodyVelocity")
  6115. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6116. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6117. bv.Parent = dis
  6118. game:GetService("Debris"):AddItem(dis, 5)
  6119. end
  6120. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6121. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6122. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6123. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6124. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6125. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6126. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6127. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6128. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6129. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6130. hum.CameraOffset = vt(0,0,0)
  6131. for i = 0, 24 do
  6132. --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())
  6133. end
  6134. local distam = 0
  6135. coroutine.resume(coroutine.create(function()
  6136. for i = 0, 99 do
  6137. wait()
  6138. distam = distam + 1
  6139. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6140. xa.Anchored = true
  6141. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6142. game:GetService("Debris"):AddItem(xa, 5)
  6143. for i = 0, 4 do
  6144. --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())
  6145. end
  6146. coroutine.resume(coroutine.create(function()
  6147. local eff = Instance.new("ParticleEmitter",xa)
  6148. eff.Texture = "rbxassetid://2273224484"
  6149. eff.LightEmission = 1
  6150. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6151. eff.Rate = 500000
  6152. eff.Lifetime = NumberRange.new(1,3)
  6153. 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)})
  6154. 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)})
  6155. eff.Speed = NumberRange.new(50,500)
  6156. eff.Drag = 5
  6157. eff.Rotation = NumberRange.new(-500,500)
  6158. eff.VelocitySpread = 9000
  6159. eff.RotSpeed = NumberRange.new(-50,50)
  6160. wait(0.25)
  6161. eff.Enabled = false
  6162. end))
  6163. coroutine.resume(coroutine.create(function()
  6164. for i = 0, 19 do
  6165. swait()
  6166. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6167. end
  6168. hum.CameraOffset = vt(0,0,0)
  6169. end))
  6170. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6171. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6172. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6173. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6174. end
  6175. end))
  6176. attack = false
  6177. hum.WalkSpeed = storehumanoidWS
  6178. end
  6179.  
  6180.  
  6181. function FallenOrbs()
  6182. attack = true
  6183. hum.WalkSpeed = 2
  6184. local keptcolor = MAINRUINCOLOR
  6185. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  6186. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  6187. local radm = math.random(1,3)
  6188. if radm == 1 then
  6189. bosschatfunc("This won't be easy for you.",MAINRUINCOLOR.Color,1)
  6190. elseif radm == 2 then
  6191. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6192. elseif radm == 3 then
  6193. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6194. end
  6195. coroutine.resume(coroutine.create(function()
  6196. for i = 0, 29 do
  6197. swait(2)
  6198. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6199. dis.Anchored = true
  6200. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6201. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6202. CreateMesh(dis,"Sphere",2,2,2)
  6203. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6204. --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"))
  6205. coroutine.resume(coroutine.create(function()
  6206. wait(0.5)
  6207. dis.Anchored = false
  6208. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  6209. local at1 = Instance.new("Attachment",dis)
  6210. at1.Position = vt(-1,0,0)
  6211. local at2 = Instance.new("Attachment",dis)
  6212. at2.Position = vt(1,0,0)
  6213. local trl = Instance.new('Trail',dis)
  6214. trl.Attachment0 = at1
  6215. trl.FaceCamera = true
  6216. trl.Attachment1 = at2
  6217. trl.Texture = "rbxassetid://1049219073"
  6218. trl.LightEmission = 1
  6219. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6220. trl.Color = ColorSequence.new(dis.Color)
  6221. trl.Lifetime = 0.6
  6222. local a = Instance.new("Part",workspace)
  6223. a.Name = "Direction"
  6224. a.Anchored = true
  6225. a.BrickColor = bc("Bright red")
  6226. a.Material = "Neon"
  6227. a.Transparency = 1
  6228. a.CanCollide = false
  6229. local ray = Ray.new(
  6230. dis.CFrame.p, -- origin
  6231. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6232. )
  6233. local ignore = dis
  6234. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6235. a.BottomSurface = 10
  6236. a.TopSurface = 10
  6237. local distance = (dis.CFrame.p - position).magnitude
  6238. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6239. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6240. dis.CFrame = a.CFrame
  6241. a:Destroy()
  6242. local bv = Instance.new("BodyVelocity")
  6243. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6244. bv.velocity = dis.CFrame.lookVector*500
  6245. bv.Parent = dis
  6246. game:GetService("Debris"):AddItem(dis, 5)
  6247. local hitted = false
  6248. coroutine.resume(coroutine.create(function()
  6249. dis.Touched:connect(function(hit)
  6250. if hitted == false and hit.Parent ~= char then
  6251. hitted = true
  6252. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  6253. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6254. --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6255. --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6256. coroutine.resume(coroutine.create(function()
  6257. for i = 0, 4 do
  6258. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6259. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6260. local at1 = Instance.new("Attachment",disr)
  6261. at1.Position = vt(-10,0,0)
  6262. local at2 = Instance.new("Attachment",disr)
  6263. at2.Position = vt(10,0,0)
  6264. local trl = Instance.new('Trail',disr)
  6265. trl.Attachment0 = at1
  6266. trl.FaceCamera = true
  6267. trl.Attachment1 = at2
  6268. trl.Texture = "rbxassetid://2342682798"
  6269. trl.LightEmission = 1
  6270. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6271. trl.Color = ColorSequence.new(disr.Color)
  6272. trl.Lifetime = 0.5
  6273. local bv = Instance.new("BodyVelocity")
  6274. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6275. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6276. bv.Parent = disr
  6277. local val = 0
  6278. coroutine.resume(coroutine.create(function()
  6279. swait(30)
  6280. for i = 0, 9 do
  6281. swait()
  6282. val = val + 0.1
  6283. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6284. end
  6285. game:GetService("Debris"):AddItem(disr, 3)
  6286. end))
  6287. end
  6288. local eff = Instance.new("ParticleEmitter",dis)
  6289. eff.Texture = "rbxassetid://2273224484"
  6290. eff.LightEmission = 1
  6291. eff.Color = ColorSequence.new(dis.Color)
  6292. eff.Rate = 500000
  6293. eff.Lifetime = NumberRange.new(0.5,2)
  6294. 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)})
  6295. 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)})
  6296. eff.Speed = NumberRange.new(20,250)
  6297. eff.Drag = 5
  6298. eff.Rotation = NumberRange.new(-500,500)
  6299. eff.VelocitySpread = 9000
  6300. eff.RotSpeed = NumberRange.new(-50,50)
  6301. wait(0.5)
  6302. eff.Enabled = false
  6303. end))
  6304. for i = 0, 4 do
  6305. --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"))
  6306. end
  6307. coroutine.resume(coroutine.create(function()
  6308. for i = 0, 19 do
  6309. swait()
  6310. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6311. end
  6312. hum.CameraOffset = vt(0,0,0)
  6313. end))
  6314. dis.Anchored = true
  6315. dis.Transparency = 1
  6316. wait(8)
  6317. dis:Destroy()
  6318. end
  6319. end)
  6320. end))
  6321. end))
  6322. end
  6323. end))
  6324. for i = 0,9,0.1 do
  6325. swait()
  6326. 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)
  6327. 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)
  6328. 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)
  6329. 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)
  6330. 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)
  6331. 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)
  6332. 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)
  6333. end
  6334. attack = false
  6335. hum.WalkSpeed = storehumanoidWS
  6336. end
  6337.  
  6338. function EquinoxOrbs()
  6339. hum.WalkSpeed = 0
  6340. attack = true
  6341. for i = 0,1,0.1 do
  6342. swait()
  6343. 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)
  6344. 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)
  6345. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6346. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6347. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6348. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6349. end
  6350. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6351. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6352. for i = 0, 24 do
  6353. --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"))
  6354. end
  6355. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6356. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6357. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6358. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6359. for i = 0,4,0.1 do
  6360. swait()
  6361. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6362. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6363. CreateMesh(dis,"Sphere",1,1,1)
  6364. dis.Anchored = true
  6365. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6366. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6367. CreateMesh(dis2,"Sphere",1,1,1)
  6368. dis2.Anchored = true
  6369. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6370. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6371. --sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6372. coroutine.resume(coroutine.create(function()
  6373. swait(60)
  6374. dis.Transparency = 1
  6375. dis2.Transparency = 1
  6376. coroutine.resume(coroutine.create(function()
  6377. for i = 0, 19 do
  6378. swait()
  6379. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6380. end
  6381. hum.CameraOffset = vt(0,0,0)
  6382. end))
  6383. coroutine.resume(coroutine.create(function()
  6384. local eff = Instance.new("ParticleEmitter",dis)
  6385. eff.Texture = "rbxassetid://2273224484"
  6386. eff.LightEmission = 1
  6387. eff.Color = ColorSequence.new(dis.Color)
  6388. eff.Rate = 500000
  6389. eff.Lifetime = NumberRange.new(0.5,2)
  6390. 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)})
  6391. 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)})
  6392. eff.Speed = NumberRange.new(50,450)
  6393. eff.Drag = 5
  6394. eff.Rotation = NumberRange.new(-500,500)
  6395. eff.VelocitySpread = 9000
  6396. eff.RotSpeed = NumberRange.new(-50,50)
  6397. local eff2 = eff:Clone()
  6398. eff2.Parent = dis2
  6399. eff2.LightEmission = 0
  6400. eff2.Color = ColorSequence.new(dis2.Color)
  6401. wait(0.25)
  6402. eff.Enabled = false
  6403. eff2.Enabled = false
  6404. end))
  6405. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6406. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6407. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6408. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6409. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6410. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6411. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6412. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6413. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6414. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6415. end))
  6416. game:GetService("Debris"):AddItem(dis, 5)
  6417. game:GetService("Debris"):AddItem(dis2, 5)
  6418. 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)
  6419. 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)
  6420. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6421. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6422. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6423. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6424. end
  6425. attack = false
  6426. hum.WalkSpeed = storehumanoidWS
  6427. end
  6428. function FallenDEMISE()
  6429. attack = true
  6430. hum.WalkSpeed = 0
  6431. local keptcolor = MAINRUINCOLOR
  6432. --bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6433. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6434. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6435. for i = 0, 15, 0.1 do
  6436. swait()
  6437. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6438. 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)))
  6439. local at1 = Instance.new("Attachment",dis)
  6440. at1.Position = vt(-25000,0,0)
  6441. local at2 = Instance.new("Attachment",dis)
  6442. at2.Position = vt(25000,0,0)
  6443. local trl = Instance.new('Trail',dis)
  6444. trl.Attachment0 = at1
  6445. trl.FaceCamera = true
  6446. trl.Attachment1 = at2
  6447. trl.Texture = "rbxassetid://1049219073"
  6448. trl.LightEmission = 1
  6449. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6450. trl.Color = ColorSequence.new(dis.Color)
  6451. trl.Lifetime = 5
  6452. local bv = Instance.new("BodyVelocity")
  6453. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6454. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6455. bv.Parent = dis
  6456. game:GetService("Debris"):AddItem(dis, 1)
  6457. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6458. --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"))
  6459. --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"))
  6460. 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)
  6461. 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)
  6462. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6463. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6464. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6465. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6466. end
  6467. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6468. for i = 0, 30, 0.1 do
  6469. swait()
  6470. coroutine.resume(coroutine.create(function()
  6471. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6472. if v:FindFirstChild('Head') then
  6473. dmg(v)
  6474. end
  6475. end
  6476. end))
  6477. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6478. 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)))
  6479. local at1 = Instance.new("Attachment",dis)
  6480. at1.Position = vt(-50000,0,0)
  6481. local at2 = Instance.new("Attachment",dis)
  6482. at2.Position = vt(50000,0,0)
  6483. local trl = Instance.new('Trail',dis)
  6484. trl.Attachment0 = at1
  6485. trl.FaceCamera = true
  6486. trl.Attachment1 = at2
  6487. trl.Texture = "rbxassetid://1049219073"
  6488. trl.LightEmission = 1
  6489. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6490. trl.Color = ColorSequence.new(dis.Color)
  6491. trl.Lifetime = 10
  6492. local bv = Instance.new("BodyVelocity")
  6493. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6494. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6495. bv.Parent = dis
  6496. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6497. --sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6498. --sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6499. --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"))
  6500. --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"))
  6501. --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"))
  6502. --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"))
  6503. for i = 0, 2 do
  6504. --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)
  6505. end
  6506. 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)
  6507. 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)
  6508. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6509. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6510. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6511. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6512. end
  6513. attack = false
  6514. hum.WalkSpeed = storehumanoidWS
  6515. end
  6516. -------------------------------------
  6517.  
  6518. Humanoid.Animator.Parent = nil
  6519.  
  6520. -------------------------------------
  6521.  
  6522. local attacktype = 1
  6523. mouse.Button1Down:connect(function()
  6524. if attack == false and attacktype == 1 then
  6525. attacktype = 2
  6526. attackone()
  6527. elseif attack == false and attacktype == 2 then
  6528. attacktype = 3
  6529. attacktwo()
  6530. elseif attack == false and attacktype == 3 then
  6531. attacktype = 1
  6532. attackthree()
  6533. elseif attack == false and attacktype == 4 then
  6534. attacktype = 1
  6535. --attackfour()
  6536. end
  6537. end)
  6538. mouse.KeyDown:connect(function(k)
  6539. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  6540. --normalmog() ---Disabled due to crashing... only in VSB
  6541. ModeOfGlitch = 1
  6542. storehumanoidWS = 16
  6543. hum.WalkSpeed = 16
  6544. rainbowmode = false
  6545. chaosmode = false
  6546. newTheme("rbxassetid://614032233",48.6,1,1.25)
  6547. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  6548. MAINRUINCOLOR = BrickColor.new("Really red")
  6549. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  6550. end
  6551. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  6552. ModeOfGlitch = 2
  6553. storehumanoidWS = 16
  6554. hum.WalkSpeed = 16
  6555. rainbowmode = false
  6556. chaosmode = false
  6557. RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  6558. newTheme("rbxassetid://1539245059",0,1,1.25)
  6559. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  6560. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6561. end
  6562. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  6563. ModeOfGlitch = 3
  6564. storehumanoidWS = 16
  6565. hum.WalkSpeed = 16
  6566. rainbowmode = false
  6567. chaosmode = false
  6568. RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  6569. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  6570. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6571. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6572. end
  6573. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  6574. ModeOfGlitch = 4
  6575. storehumanoidWS = 16
  6576. hum.WalkSpeed = 16
  6577. rainbowmode = false
  6578. chaosmode = true
  6579. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  6580. newTheme("rbxassetid://1369263130",0,1.01,1.25)
  6581. MAINRUINCOLOR = BrickColor.new("Black")
  6582. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6583. end
  6584. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  6585. ModeOfGlitch = 5
  6586. storehumanoidWS = 16
  6587. hum.WalkSpeed = 16
  6588. rainbowmode = false
  6589. chaosmode = false
  6590. RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  6591. newTheme("rbxassetid://661079869",0,1.02,1.25)
  6592. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  6593. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6594. end
  6595. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  6596. ModeOfGlitch = 6
  6597. storehumanoidWS = 100
  6598. hum.WalkSpeed = 100
  6599. rainbowmode = false
  6600. chaosmode = false
  6601. RecolorTextAndRename("EQUINOX",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  6602. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  6603. MAINRUINCOLOR = BrickColor.new("White")
  6604. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6605. end
  6606. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  6607. ModeOfGlitch = 8
  6608. storehumanoidWS = 140
  6609. hum.WalkSpeed = 140
  6610. rainbowmode = false
  6611. chaosmode = false
  6612. RecolorTextAndRename("DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  6613. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  6614. MAINRUINCOLOR = BrickColor.new("Alder")
  6615. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6616. end
  6617. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  6618. ModeOfGlitch = 9
  6619. storehumanoidWS = 150
  6620. hum.WalkSpeed = 150
  6621. rainbowmode = false
  6622. chaosmode = false
  6623. RecolorTextAndRename("INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  6624. newTheme("rbxassetid://708334127",0,1.01,1.25)
  6625. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  6626. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6627. end
  6628. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  6629. ModeOfGlitch = 8889
  6630. storehumanoidWS = 180
  6631. hum.WalkSpeed = 180
  6632. rainbowmode = false
  6633. chaosmode = false
  6634. RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  6635. newTheme("rbxassetid://1359036559",0,1.01,1.25)
  6636. MAINRUINCOLOR = BrickColor.new("Lilac")
  6637. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6638. end
  6639. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  6640. ModeOfGlitch = 55469696922
  6641. storehumanoidWS = 275
  6642. hum.WalkSpeed = 275
  6643. rainbowmode = false
  6644. chaosmode = false
  6645. RecolorTextAndRename("NANO",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  6646. newTheme("rbxassetid://582020393",0,1.005,1.25)
  6647. MAINRUINCOLOR = BrickColor.new("Hot pink")
  6648. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6649. end
  6650. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  6651. ModeOfGlitch = 4367677813
  6652. storehumanoidWS = 225
  6653. hum.WalkSpeed = 225
  6654. rainbowmode = false
  6655. chaosmode = false
  6656. RecolorTextAndRename("BRIGHTNESS",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  6657. newTheme("rbxassetid://363284685",0,1.01,1.25)
  6658. MAINRUINCOLOR = BrickColor.new("Baby blue")
  6659. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6660. end
  6661. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  6662. ModeOfGlitch = 9999999921111
  6663. storehumanoidWS = 300
  6664. hum.WalkSpeed = 300
  6665. rainbowmode = false
  6666. chaosmode = false
  6667. RecolorTextAndRename("OMEGA",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  6668. newTheme("rbxassetid://643309199",0,1.01,1.25)
  6669. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  6670. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6671. end
  6672. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  6673. ModeOfGlitch = 999999999556
  6674. storehumanoidWS = 500
  6675. hum.WalkSpeed = 500
  6676. rainbowmode = false
  6677. chaosmode = false
  6678. RecolorTextAndRename("CRAZED",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  6679. newTheme("rbxassetid://719008519",0,1.02,1.25)
  6680. MAINRUINCOLOR = BrickColor.new("Navy blue")
  6681. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6682. end
  6683. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  6684. ModeOfGlitch = 1264532489
  6685. storehumanoidWS = 250
  6686. hum.WalkSpeed = 250
  6687. rainbowmode = false
  6688. chaosmode = false
  6689. RecolorTextAndRename("FALLEN",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  6690. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  6691. MAINRUINCOLOR = BrickColor.new("Pastel green")
  6692. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6693. end
  6694. if k == "l" and mutedtog == false then
  6695. mutedtog = true
  6696. kan.Volume = 0
  6697. elseif k == "l" and mutedtog == true then
  6698. mutedtog = false
  6699. kan.Volume = 1.25
  6700. end
  6701. if k == "p" and toggleTag == false then
  6702. toggleTag = true
  6703. modet.TextTransparency = 0
  6704. modet.TextStrokeTransparency = 0
  6705. elseif k == "p" and toggleTag == true then
  6706. toggleTag = false
  6707. modet.TextTransparency = 1
  6708. modet.TextStrokeTransparency = 1
  6709. end
  6710. if k == "z" and attack == false and ModeOfGlitch == 1 then
  6711. ExtinctiveHeartbreak()
  6712. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6713. HeavenlyDisk()
  6714. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6715. CorruptionEvent()
  6716. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6717. RapidBurst()
  6718. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6719. --DivineLights()
  6720. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6721. EquinoxOrbs()
  6722. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  6723. FallenOrbs()
  6724. end
  6725. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  6726. FallenDEMISE()
  6727. end
  6728. if k == "x" and attack == false and ModeOfGlitch == 1 then
  6729. EndGROUND()
  6730. end
  6731. end)
  6732.  
  6733. --[[coroutine.resume(coroutine.create(function()
  6734. while true do
  6735. swait(2)
  6736. if chaosmode == true then
  6737. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6738. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6739. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6740. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  6741. for i, v in pairs(mw1:GetChildren()) do
  6742. if v:IsA("Part") then
  6743. v.Transparency = 0.75
  6744. v.BrickColor = BrickColor.random()
  6745. v.Material = "Neon"
  6746. end
  6747. end
  6748. for i, v in pairs(m2:GetChildren()) do
  6749. if v:IsA("Part") then
  6750. v.BrickColor = BrickColor.random()
  6751. v.Material = "Neon"
  6752. end
  6753. end
  6754. end
  6755. end
  6756. end))]]--
  6757. Humanoid.Name = "STARGLITCHER"
  6758. Humanoid.MaxHealth = math.huge
  6759. Humanoid.Health = math.huge
  6760. Instance.new("ForceField",char).Visible = false
  6761.  
  6762. local bguis = Instance.new("BillboardGui",tors)
  6763. bguis.Size = UDim2.new(25, 0, 25, 0)
  6764. local imgca = Instance.new("ImageLabel",bguis)
  6765. imgca.BackgroundTransparency = 1
  6766. imgca.ImageTransparency = 1
  6767. imgca.Size = UDim2.new(1,0,1,0)
  6768. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  6769. imgca.ImageColor3 = Color3.new(0,0,0)
  6770.  
  6771. idleanim=.4
  6772. while true do
  6773. if mutedtog == false then
  6774. kan.Volume = currentVol
  6775. elseif mutedtog == true then
  6776. kan.Volume = 0
  6777. end
  6778. kan.PlaybackSpeed = currentPitch
  6779. kan.Pitch = currentPitch
  6780. kan.SoundId = currentThemePlaying
  6781. kan.Looped = true
  6782. kan.Parent = char
  6783. kan:Resume()
  6784. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  6785. imgca.ImageTransparency = 1
  6786. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  6787. imgca.ImageColor3 = MAINRUINCOLOR.Color
  6788. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  6789. end
  6790. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  6791. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  6792. coroutine.resume(coroutine.create(function()
  6793. if chaosmode == true then
  6794. for i, v in pairs(mw1:GetChildren()) do
  6795. if v:IsA("Part") then
  6796. v.Transparency = 0
  6797. v.BrickColor = BrickColor.random()
  6798. v.Material = "Neon"
  6799. end
  6800. end
  6801. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6802. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6803. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6804. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  6805. end
  6806. end))
  6807. if chaosmode == false then
  6808. modet.Position = UDim2.new(0,0,0,0)
  6809. modet.Rotation = -5 * math.cos(sine / 32)
  6810. techc.Rotation = techc.Rotation + 1
  6811. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  6812. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  6813. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  6814. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  6815. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  6816. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  6817. else
  6818. techc.Rotation = techc.Rotation + 1
  6819. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  6820. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  6821. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  6822. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  6823. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  6824. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  6825. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  6826. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  6827. end
  6828. CameraManager()
  6829. swait()
  6830. 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)
  6831. 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)
  6832. 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)
  6833. 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)
  6834. 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)
  6835. 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)
  6836. 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)
  6837. 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)
  6838. 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)
  6839. 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)
  6840. 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)
  6841. 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)
  6842. sine = sine + change
  6843. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6844. local velderp=RootPart.Velocity.y
  6845. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6846. if equipped==true or equipped==false then
  6847. if attack==false then
  6848. idle=idle+1
  6849. else
  6850. idle=0
  6851. end
  6852. if idle>=500 then
  6853. if attack==false then
  6854. --Sheath()
  6855. end
  6856. end
  6857. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6858. Anim="Jump"
  6859. if attack==false then
  6860. 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)
  6861. 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)
  6862. 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)
  6863. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6864. 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)
  6865. 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)
  6866. end
  6867. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6868. Anim="Fall"
  6869. if attack==false then
  6870. 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)
  6871. 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)
  6872. 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)
  6873. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  6874. 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)
  6875. 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)
  6876. end
  6877. elseif torvel<1 and hitfloor~=nil then
  6878. Anim="Idle"
  6879. if attack==false then
  6880. if ModeOfGlitch == 1 then
  6881. local snap = math.random(1,10)
  6882. if snap == 1 then
  6883. 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)
  6884. end
  6885. 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)
  6886. 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)
  6887. 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)
  6888. 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)
  6889. 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)
  6890. 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)
  6891. elseif ModeOfGlitch == 2 then
  6892. 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)
  6893. 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)
  6894. 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)
  6895. 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)
  6896. 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)
  6897. 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)
  6898. elseif ModeOfGlitch == 3 then
  6899. local snap = math.random(1,32)
  6900. if snap == 1 then
  6901. 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)
  6902. end
  6903. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  6904. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  6905. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  6906. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6907. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  6908. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  6909. elseif ModeOfGlitch == 4 then
  6910. local snap = math.random(1,5)
  6911. if snap == 1 then
  6912. 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)
  6913. 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)
  6914. 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)
  6915. end
  6916. 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(25 - 2 * math.cos(sine / 32))),.1)
  6917. 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(-25 + 2 * math.cos(sine / 32))),.1)
  6918. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6919. 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)
  6920. 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.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
  6921. 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.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
  6922. elseif ModeOfGlitch == 5 then
  6923. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  6924. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  6925. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  6926. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  6927. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  6928. 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(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  6929. elseif ModeOfGlitch == 6 then
  6930. 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 - 7 * math.cos(sine / 56))),.1)
  6931. 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 / 52))),.1)
  6932. 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)
  6933. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6934. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1)
  6935. 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(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1)
  6936. elseif ModeOfGlitch == 8 then
  6937. 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)
  6938. 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)
  6939. 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)
  6940. 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)
  6941. 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)
  6942. 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)
  6943. elseif ModeOfGlitch == 9 then
  6944. 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)
  6945. 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)
  6946. 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)
  6947. 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)
  6948. 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)
  6949. 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)
  6950. elseif ModeOfGlitch == 8889 then
  6951. 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)
  6952. 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)
  6953. 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)
  6954. 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)
  6955. 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)
  6956. 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)
  6957. elseif ModeOfGlitch == 1264532489 then
  6958. 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(-14 - 5 * math.cos(sine / 48))),.1)
  6959. 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(15 + 7 * math.cos(sine / 51))),.1)
  6960. 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)
  6961. 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)
  6962. 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)
  6963. 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)
  6964. elseif ModeOfGlitch == 9999999921111 then
  6965. 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)
  6966. 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)
  6967. 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)
  6968. 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)
  6969. 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)
  6970. 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)
  6971. elseif ModeOfGlitch == 4367677813 then
  6972. 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)
  6973. 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)
  6974. 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)
  6975. 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)
  6976. 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)
  6977. 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)
  6978. elseif ModeOfGlitch == 55469696922 then
  6979. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  6980. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  6981. 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(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  6982. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  6983. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
  6984. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  6985. elseif ModeOfGlitch == 999999999556 then
  6986. 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)
  6987. 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)
  6988. 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(17)),.1)
  6989. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1)
  6990. 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)
  6991. 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)
  6992. end
  6993. end
  6994. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6995. Anim="Walk"
  6996. if attack==false then
  6997. 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)
  6998. 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)
  6999. 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)
  7000. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  7001. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  7002. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  7003. end
  7004. elseif torvel>=22 and hitfloor~=nil then
  7005. Anim="Run"
  7006. if attack==false then
  7007. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 then
  7008. 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)
  7009. 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)
  7010. 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)
  7011. 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)
  7012. 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)
  7013. 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)
  7014. if ModeOfGlitch == 9 then
  7015. --
  7016. end
  7017. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  7018. 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)
  7019. 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)
  7020. 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)
  7021. 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)
  7022. 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)
  7023. 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)
  7024. end
  7025. end
  7026. end
  7027. end
  7028. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement