MastequinGlitcherM0d

Untitled

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