Advertisement
scriptingboi1

ayayayaayayay

Feb 20th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 355.36 KB | None | 0 0
  1. local Player = game:GetService("Players").slowxxlittleplayerxx
  2.  
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do
  5. script.Parent = Player.Character
  6. local CAS = {Actions={}}
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9. Event.Parent = Player.Character
  10. local fakeEvent = function()
  11. local t = {_fakeEvent=true}
  12. t.Connect = function(self,f)self.Function=f end
  13. t.connect = t.Connect
  14. return t
  15. end
  16. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  17. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  18. function CAS:BindAction(name,fun,touch,...)
  19. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  20. end
  21. function CAS:UnbindAction(name)
  22. CAS.Actions[name] = nil
  23. end
  24. local function te(self,ev,...)
  25. local t = m[ev]
  26. if t and t._fakeEvent and t.Function then
  27. t.Function(...)
  28. end
  29. end
  30. m.TrigEvent = te
  31. UIS.TrigEvent = te
  32. Event.OnServerEvent:Connect(function(plr,io)
  33. if plr~=Player then return end
  34. if io.isMouse then
  35. m.Target = io.Target
  36. m.Hit = io.Hit
  37. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  38. if io.UserInputState == Enum.UserInputState.Begin then
  39. m:TrigEvent("Button1Down")
  40. else
  41. m:TrigEvent("Button1Up")
  42. end
  43. else
  44. for n,t in pairs(CAS.Actions) do
  45. for _,k in pairs(t.Keys) do
  46. if k==io.KeyCode then
  47. t.Function(t.Name,io.UserInputState,io)
  48. end
  49. end
  50. end
  51. if io.UserInputState == Enum.UserInputState.Begin then
  52. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  53. UIS:TrigEvent("InputBegan",io,false)
  54. else
  55. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent("InputEnded",io,false)
  57. end
  58. end
  59. end)
  60. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  61. end
  62.  
  63. --Paste the script below this text.
  64.  
  65. warn'Nebby\'s Star Glitcher Loaded.'
  66. warn'All purpose switcher...'
  67. warn'Created by Noobygames12'
  68. warn'Edited by Nebula_Zorua'
  69. warn([[Icons:
  70. ! = New
  71. ? = Spoilers
  72. * = Exclusivity]])
  73. print([[V 3.21 (ON PROGRESS) Update Log:
  74. ! - Changed Judgement back to Justice
  75. ! - Gave Divinity an attack named Judgement. Credit to XXUNORIB
  76. ! - Replaced Corruption with Glitchy
  77. ! - Fixed some bugs, too
  78. ! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas)
  79. ]])
  80.  
  81. warn([[
  82. This ISN'T NebulaGlitcher. That is a seperate script, not an edit.
  83. ]])
  84.  
  85. warn([[
  86. CONTROLS -
  87. SOLITUDE GUEST (MAYHEM) - Z (Like mayhem), M
  88. BIG BLACK (VIOLENCE) - Z (Like mayhem)
  89. PURITY - Z
  90. GLITCHY (CORRUPTION) - Z
  91. CHAOS - Z, M
  92. INSANITY - Z
  93. DIVINITY - Z
  94. JUSTICE - Z, X
  95. RAINBOW - Z, U
  96. VAPORWAVE - Z, U (no difference except song)
  97. CALAMITY - Z (I borked it lol), X, M
  98. CATASTROPHE - Z, M
  99. LUST - Z, M
  100.  
  101. TO UNLOCK LUST'S M: Do the keystroke wwssadad
  102. TO UNLOCK CALAMITY'S M: Do the keystroke wwaassdd
  103. TO DO CHAOS'S KILL ALL: Do the keystroke DDAWAS
  104. ]])
  105.  
  106.  
  107. --- its obs smooth af do not touch
  108. ---- Sources and functions might be taken from others
  109. plr = game:GetService("Players").slowxxlittleplayerxx
  110. char = plr.Character
  111. hum = char:FindFirstChildOfClass'Humanoid'
  112. local cam = game.Workspace.CurrentCamera
  113. Camera = cam
  114. local CamInterrupt = false
  115. local TwoD = false
  116. local TargetInfo = {nil, nil}
  117. cam.CameraType = "Custom"
  118. t = char.Torso
  119. h = char.Head
  120. ra = char["Right Arm"]
  121. la = char["Left Arm"]
  122. rl = char["Right Leg"]
  123. ll = char["Left Leg"]
  124. tors = char.Torso
  125. lleg = char["Left Leg"]
  126. root = char.HumanoidRootPart
  127. hed = char.Head
  128. rleg = char["Right Leg"]
  129. rarm = char["Right Arm"]
  130. larm = char["Left Arm"]
  131. radian = math.rad
  132. random = math.random
  133. Vec3 = Vector3.new
  134. Inst = Instance.new
  135. cFrame = CFrame.new
  136. Euler = CFrame.fromEulerAnglesXYZ
  137. vt = Vector3.new
  138. bc = BrickColor.new
  139. br = BrickColor.random
  140. it = Instance.new
  141. cf = CFrame.new
  142.  
  143. local ODers = {}
  144.  
  145. local AllowRape = true;
  146. local AllowCata = true;
  147.  
  148. local Booleans = {
  149. CamFollow = true,
  150. GyroUse = true
  151. }
  152.  
  153. function lerp(object, newCFrame, alpha)
  154. return object:lerp(newCFrame, alpha)
  155. end
  156.  
  157. local Directer = Inst("BodyGyro", root)
  158. Directer.MaxTorque = Vec3(0, 0, 0)
  159. Directer.P = 600000
  160. local CPart = Inst("Part")
  161. CPart.Anchored = true
  162. CPart.CanCollide = false
  163. CPart.Locked = true
  164. CPart.Transparency = 1
  165.  
  166. local rainbowmode = false
  167. local chaosmode = false
  168. local glitchymode = false
  169. kan = Instance.new("Sound",char)
  170. kan.Volume = 1.25
  171. kan.TimePosition = 0
  172. kan.PlaybackSpeed = 1
  173. kan.Pitch = 1
  174. kan.SoundId = "rbxassetid://1564523997"
  175. kan.Name = "wrecked"
  176. kan.Looped = true
  177. kan:Play()
  178.  
  179. local MID = "rbxassetid://1564523997";
  180. local Pitch = 1;
  181.  
  182. function newTheme(ID,timepos,pitch,vol)
  183. local kanz = kan
  184. --kanz:Stop()
  185. --kanz.Volume = vol
  186. --kanz.TimePosition = timepos
  187. kanz.PlaybackSpeed = pitch
  188. kanz.Pitch = pitch
  189. kanz.SoundId = ID
  190. kanz.Name = "wrecked"
  191. kanz.Looped = true
  192. Pitch = pitch
  193. MID = ID
  194. --kanz:Play()
  195. --coroutine.resume(coroutine.create(function()
  196. --wait(0.05)
  197. --end))
  198. end
  199.  
  200. function newThemeCust(ID,timepos,pitch,vol)
  201. local kanz = kan
  202. kanz:Stop()
  203. kanz.Volume = vol
  204. kanz.TimePosition = timepos
  205. kanz.PlaybackSpeed = pitch
  206. kanz.Pitch = pitch
  207. MID = ID
  208. kanz.SoundId = ID
  209. kanz.Name = "wrecked"
  210. kanz.Looped = true
  211. kanz:Play()
  212. coroutine.resume(coroutine.create(function()
  213. wait(0.05)
  214. end))
  215. end
  216.  
  217.  
  218.  
  219. function CameraShake(Times, Power, PlayerTarget)
  220. coroutine.resume(coroutine.create(function()
  221. FV = Instance.new("BoolValue", PlayerTarget)
  222. FV.Name = "CameraShake"
  223. for ShakeNum=1,Times do
  224. swait()
  225. local ef=Power
  226. if ef>=1 then
  227. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  228. else
  229. ef=Power*10
  230. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  231. end
  232. end
  233. Humanoid.CameraOffset = Vector3.new(0,0,0)
  234. FV:Destroy()
  235. end))
  236. end
  237.  
  238. function CameraEnshaking(Length,Intensity)
  239. coroutine.resume(coroutine.create(function()
  240. local intensity = 1*Intensity
  241. local rotM = 0.01*Intensity
  242. for i = 0, Length, 0.1 do
  243. swait()
  244. intensity = intensity - 0.05*Intensity/Length
  245. rotM = rotM - 0.0005*Intensity/Length
  246. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  247. 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)
  248. end
  249. Humanoid.CameraOffset = Vec3(0, 0, 0)
  250. end))
  251. end
  252. CamShake=function(Part,Distan,Power,Times)
  253. local de=Part.Position
  254. for i,v in pairs(workspace:children()) do
  255. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  256. for _,c in pairs(v:children()) do
  257. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  258. local Noob=vFindFirstChildOfClass'Humanoid'
  259. if Noob~=nil then
  260. coroutine.resume(coroutine.create(function()
  261. FV = Instance.new("BoolValue", Noob)
  262. FV.Name = "CameraShake"
  263. for ShakeNum=1,Times do
  264. swait()
  265. local ef=Power
  266. if ef>=1 then
  267. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  268. else
  269. ef=Power*10
  270. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  271. end
  272. end
  273. Humanoid.CameraOffset = Vector3.new(0,0,0)
  274. FV:Destroy()
  275. end))
  276. CameraShake(Times, Power, Noob)
  277. end
  278. end
  279. end
  280. end
  281. end
  282. end
  283.  
  284. function chatfunc(text,color)
  285. local chat = coroutine.wrap(function()
  286. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  287. Character:FindFirstChild("TalkingBillBoard"):destroy()
  288. end
  289. local naeeym2 = Instance.new("BillboardGui",Character)
  290. naeeym2.Size = UDim2.new(0,100,0,40)
  291. naeeym2.StudsOffset = Vector3.new(0,3,0)
  292. naeeym2.Adornee = Character.Head
  293. naeeym2.Name = "TalkingBillBoard"
  294. local tecks2 = Instance.new("TextLabel",naeeym2)
  295. tecks2.BackgroundTransparency = 1
  296. tecks2.BorderSizePixel = 0
  297. tecks2.Text = ""
  298. tecks2.Font = "SciFi"
  299. tecks2.TextSize = 30
  300. tecks2.TextStrokeTransparency = 0
  301. tecks2.TextColor3 = color
  302. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  303. tecks2.Size = UDim2.new(1,0,0.5,0)
  304. local tecks3 = Instance.new("TextLabel",naeeym2)
  305. tecks3.BackgroundTransparency = 1
  306. tecks3.BorderSizePixel = 0
  307. tecks3.Text = ""
  308. tecks3.Font = "SciFi"
  309. tecks3.TextSize = 30
  310. tecks3.TextStrokeTransparency = 0
  311. tecks3.TextColor3 = Color3.new(0,0,0)
  312. tecks3.TextStrokeColor3 = color
  313. tecks3.Size = UDim2.new(1,0,0.5,0)
  314. coroutine.resume(coroutine.create(function()
  315. while true do
  316. swait(1)
  317. if chaosmode == true then
  318. tecks2.TextColor3 = BrickColor.random().Color
  319. tecks3.TextStrokeColor3 = BrickColor.random().Color
  320. end
  321. if(glitchymode)then
  322. local val = math.random(1,255)
  323. local color = Color3.fromRGB(val,val,val)
  324. tecks2.TextColor3 = color
  325. tecks3.TextStrokeColor3 = color
  326. end
  327. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  328. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  329. tecks2.Rotation = math.random(-5,5)
  330. tecks3.Rotation = math.random(-5,5)
  331. end
  332. end))
  333. for i = 1,string.len(text),1 do
  334. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  335. tecks2.Text = string.sub(text,1,i)
  336. tecks3.Text = string.sub(text,1,i)
  337. swait(1)
  338. end
  339. wait(1)
  340. local randomrot = math.random(1,2)
  341. if randomrot == 1 then
  342. for i = 1, 50 do
  343. swait()
  344. tecks2.Rotation = tecks2.Rotation - .75
  345. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  346. tecks2.TextTransparency = tecks2.TextTransparency + .04
  347. tecks3.Rotation = tecks2.Rotation + .75
  348. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  349. tecks3.TextTransparency = tecks2.TextTransparency + .04
  350. end
  351. elseif randomrot == 2 then
  352. for i = 1, 50 do
  353. swait()
  354. tecks2.Rotation = tecks2.Rotation + .75
  355. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  356. tecks2.TextTransparency = tecks2.TextTransparency + .04
  357. tecks3.Rotation = tecks2.Rotation - .75
  358. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  359. tecks3.TextTransparency = tecks2.TextTransparency + .04
  360. end
  361. end
  362. naeeym2:Destroy()
  363. end)
  364. chat()
  365. end
  366.  
  367.  
  368. local Create = LoadLibrary("RbxUtility").Create
  369.  
  370. CFuncs = {
  371. ["Part"] = {
  372. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  373. local Part = Create("Part"){
  374. Parent = Parent,
  375. Reflectance = Reflectance,
  376. Transparency = Transparency,
  377. CanCollide = false,
  378. Locked = true,
  379. BrickColor = BrickColor.new(tostring(BColor)),
  380. Name = Name,
  381. Size = Size,
  382. Material = Material,
  383. }
  384. RemoveOutlines(Part)
  385. return Part
  386. end;
  387. };
  388.  
  389. ["Mesh"] = {
  390. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  391. local Msh = Create(Mesh){
  392. Parent = Part,
  393. Offset = OffSet,
  394. Scale = Scale,
  395. }
  396. if Mesh == "SpecialMesh" then
  397. Msh.MeshType = MeshType
  398. Msh.MeshId = MeshId
  399. end
  400. return Msh
  401. end;
  402. };
  403.  
  404. ["Mesh"] = {
  405. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  406. local Msh = Create(Mesh){
  407. Parent = Part,
  408. Offset = OffSet,
  409. Scale = Scale,
  410. }
  411. if Mesh == "SpecialMesh" then
  412. Msh.MeshType = MeshType
  413. Msh.MeshId = MeshId
  414. end
  415. return Msh
  416. end;
  417. };
  418.  
  419. ["Weld"] = {
  420. Create = function(Parent, Part0, Part1, C0, C1)
  421. local Weld = Create("Weld"){
  422. Parent = Parent,
  423. Part0 = Part0,
  424. Part1 = Part1,
  425. C0 = C0,
  426. C1 = C1,
  427. }
  428. return Weld
  429. end;
  430. };
  431.  
  432. ["Sound"] = {
  433. Create = function(id, par, vol, pit)
  434. return coroutine.wrap(function()
  435. local S = Create("Sound"){
  436. Volume = vol,
  437. Name = "EffectSoundo",
  438. Pitch = pit or 1,
  439. SoundId = id,
  440. Parent = par or workspace,
  441. }
  442. S:Play()
  443. S.Ended:connect(function()
  444. S:Destroy()
  445. end)
  446. return S;
  447. end)()
  448. end;
  449. };
  450.  
  451. ["LongSound"] = {
  452. Create = function(id, par, vol, pit)
  453. coroutine.resume(coroutine.create(function()
  454. local S = Create("Sound"){
  455. Volume = vol,
  456. Pitch = pit or 1,
  457. SoundId = id,
  458. Parent = par or workspace,
  459. }
  460. wait()
  461. S:play()
  462. game:GetService("Debris"):AddItem(S, 30)
  463. end))
  464. end;
  465. };
  466.  
  467. ["ParticleEmitter"] = {
  468. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  469. local fp = Create("ParticleEmitter"){
  470. Parent = Parent,
  471. Color = ColorSequence.new(Color1, Color2),
  472. LightEmission = LightEmission,
  473. Size = Size,
  474. Texture = Texture,
  475. Transparency = Transparency,
  476. ZOffset = ZOffset,
  477. Acceleration = Accel,
  478. Drag = Drag,
  479. LockedToPart = LockedToPart,
  480. VelocityInheritance = VelocityInheritance,
  481. EmissionDirection = EmissionDirection,
  482. Enabled = Enabled,
  483. Lifetime = LifeTime,
  484. Rate = Rate,
  485. Rotation = Rotation,
  486. RotSpeed = RotSpeed,
  487. Speed = Speed,
  488. VelocitySpread = VelocitySpread,
  489. }
  490. return fp
  491. end;
  492. };
  493.  
  494. CreateTemplate = {
  495.  
  496. };
  497. }
  498.  
  499.  
  500.  
  501. New = function(Object, Parent, Name, Data)
  502. local Object = Instance.new(Object)
  503. for Index, Value in pairs(Data or {}) do
  504. Object[Index] = Value
  505. end
  506. Object.Parent = Parent
  507. Object.Name = Name
  508. return Object
  509. end
  510. local halocolor = BrickColor.new("Pastel light blue")
  511. local halocolor2 = BrickColor.new("Cool yellow")
  512. local starcolor = BrickColor.new("Bright yellow")
  513. local lunacolor = BrickColor.new("Navy blue")
  514. local lunacolor2 = BrickColor.new("Bright blue")
  515. local wepcolor = BrickColor.new("Really black")
  516. local maincolor = BrickColor.new("Really black")
  517. local m = Instance.new("Model",char)
  518. local m2 = Instance.new("Model",char)
  519. local m3 = Instance.new("Model",char)
  520. local mw1 = Instance.new("Model",char)
  521. local mw2 = Instance.new("Model",char)
  522.  
  523. local extrawingmod1 = Instance.new("Model",char)
  524. local extrawingmod2 = Instance.new("Model",char)
  525.  
  526. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  527. local p = Instance.new("Part")
  528. p.TopSurface = 0
  529. p.BottomSurface = 0
  530. p.Parent = parent
  531. p.Size = Vector3.new(0.1,0.1,0.1)
  532. p.Transparency = transparency
  533. p.Reflectance = reflectance
  534. p.CanCollide = false
  535. p.Locked = true
  536. p.BrickColor = brickcolor
  537. p.Material = material
  538. return p
  539. end
  540.  
  541. function CreateMesh(parent,meshtype,x1,y1,z1)
  542. local mesh = Instance.new("SpecialMesh",parent)
  543. mesh.MeshType = meshtype
  544. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  545. return mesh
  546. end
  547.  
  548. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  549. local mesh = Instance.new("SpecialMesh",parent)
  550. mesh.MeshType = "FileMesh"
  551. mesh.MeshId = meshid
  552. mesh.Scale = Vector3.new(x1,y1,z1)
  553. return mesh
  554. end
  555.  
  556.  
  557. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  558. local mesh = Instance.new("SpecialMesh",parent)
  559. mesh.MeshType = "FileMesh"
  560. mesh.MeshId = meshid
  561. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  562. mesh.Scale = Vector3.new(x1,y1,z1)
  563. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  564. return mesh
  565. end
  566.  
  567. --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))
  568.  
  569.  
  570. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  571. local weld = Instance.new("Weld")
  572. weld.Parent = parent
  573. weld.Part0 = part0
  574. weld.Part1 = part1
  575. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  576. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  577. return weld
  578. end
  579.  
  580. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  581. 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))
  582. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  583. 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))
  584.  
  585. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  586. CreateMesh(handle,"Brick",0,0,0)
  587. 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))
  588. local valuaring = 10
  589. for i = 0, 49 do
  590. valuaring = valuaring + 10
  591. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  592. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  593. 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))
  594. end
  595.  
  596. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  597. CreateMesh(handle,"Brick",0,0,0)
  598. 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))
  599. local valuaring = 10
  600. for i = 0, 49 do
  601. valuaring = valuaring + 10
  602. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  603. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  604. 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))
  605. end
  606.  
  607.  
  608. local handle = CreateParta(m,1,1,"Neon",maincolor)
  609. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  610. 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))
  611.  
  612. --- Left wing.
  613.  
  614. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  615. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  616. 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))
  617.  
  618. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  619. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  620. 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))
  621. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  622. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  623. 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))
  624. A0 = Instance.new('Attachment',wed)
  625. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  626. CreateMesh(wed,"Wedge",0.05,0.5,3)
  627. 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))
  628. A1 = Instance.new('Attachment',wed)
  629. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  630. CreateMesh(wed,"Wedge",0.05,3,0.5)
  631. 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))
  632.  
  633. tl1 = Instance.new('Trail',wed)
  634. tl1.Attachment0 = A0
  635. tl1.Attachment1 = A1
  636. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  637. tl1.LightEmission = 1
  638. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  639. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  640. tl1.Lifetime = 0.6
  641.  
  642.  
  643. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  644. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  645. 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))
  646.  
  647. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  648. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  649. 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))
  650. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  651. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  652. 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))
  653. A0 = Instance.new('Attachment',wed)
  654. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  655. CreateMesh(wed,"Wedge",0.05,0.5,3)
  656. 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))
  657. A1 = Instance.new('Attachment',wed)
  658. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  659. CreateMesh(wed,"Wedge",0.05,3,0.5)
  660. 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))
  661.  
  662. tl2 = Instance.new('Trail',wed)
  663. tl2.Attachment0 = A0
  664. tl2.Attachment1 = A1
  665. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  666. tl2.LightEmission = 1
  667. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  668. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  669. tl2.Lifetime = 0.6
  670.  
  671. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  672. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  673. 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))
  674.  
  675. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  676. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  677. 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))
  678. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  679. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  680. 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))
  681. A0 = Instance.new('Attachment',wed)
  682. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  683. CreateMesh(wed,"Wedge",0.05,0.5,3)
  684. 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))
  685. A1 = Instance.new('Attachment',wed)
  686. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  687. CreateMesh(wed,"Wedge",0.05,3,0.5)
  688. 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))
  689.  
  690. tl3 = Instance.new('Trail',wed)
  691. tl3.Attachment0 = A0
  692. tl3.Attachment1 = A1
  693. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  694. tl3.LightEmission = 1
  695. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  696. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  697. tl3.Lifetime = 0.6
  698.  
  699. tl1.Enabled = false
  700. tl2.Enabled = false
  701. tl3.Enabled = false
  702. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  703. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  704. 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))
  705.  
  706. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  707. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  708. 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))
  709. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  710. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  711. 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))
  712. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  713. CreateMesh(wed,"Wedge",0.05,0.5,3)
  714. 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))
  715. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  716. CreateMesh(wed,"Wedge",0.05,3,0.5)
  717. 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))
  718.  
  719. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  720. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  721. 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))
  722.  
  723. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  724. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  725. 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))
  726. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  727. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  728. 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))
  729. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  730. CreateMesh(wed,"Wedge",0.05,0.5,3)
  731. 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))
  732. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  733. CreateMesh(wed,"Wedge",0.05,3,0.5)
  734. 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))
  735.  
  736. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  737. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  738. 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))
  739.  
  740. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  741. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  742. 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))
  743. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  744. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  745. 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))
  746. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  747. CreateMesh(wed,"Wedge",0.05,0.5,3)
  748. 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))
  749. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  750. CreateMesh(wed,"Wedge",0.05,3,0.5)
  751. 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))
  752.  
  753. -- Right wing.
  754.  
  755. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  756. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  757. 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))
  758.  
  759. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  760. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  761. 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))
  762. A0 = Instance.new('Attachment',wed)
  763. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  764. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  765. 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))
  766. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  767. CreateMesh(wed,"Wedge",0.05,0.5,3)
  768. 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))
  769. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  770. CreateMesh(wed,"Wedge",0.05,3,0.5)
  771. 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))
  772. A1 = Instance.new('Attachment',wed)
  773.  
  774. tr1 = Instance.new('Trail',wed)
  775. tr1.Attachment0 = A0
  776. tr1.Attachment1 = A1
  777. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  778. tr1.LightEmission = 1
  779. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  780. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  781. tr1.Lifetime = 0.6
  782.  
  783. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  784. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  785. 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))
  786.  
  787. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  788. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  789. 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))
  790. A0 = Instance.new('Attachment',wed)
  791. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  792. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  793. 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))
  794. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  795. CreateMesh(wed,"Wedge",0.05,0.5,3)
  796. 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))
  797. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  798. CreateMesh(wed,"Wedge",0.05,3,0.5)
  799. 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))
  800. A1 = Instance.new('Attachment',wed)
  801.  
  802. tr2 = Instance.new('Trail',wed)
  803. tr2.Attachment0 = A0
  804. tr2.Attachment1 = A1
  805. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  806. tr2.LightEmission = 1
  807. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  808. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  809. tr2.Lifetime = 0.6
  810.  
  811. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  812. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  813. 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))
  814.  
  815. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  816. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  817. 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))
  818. A0 = Instance.new('Attachment',wed)
  819. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  820. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  821. 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))
  822. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  823. CreateMesh(wed,"Wedge",0.05,0.5,3)
  824. 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))
  825. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  826. CreateMesh(wed,"Wedge",0.05,3,0.5)
  827. 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))
  828. A1 = Instance.new('Attachment',wed)
  829.  
  830. tr3 = Instance.new('Trail',wed)
  831. tr3.Attachment0 = A0
  832. tr3.Attachment1 = A1
  833. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  834. tr3.LightEmission = 1
  835. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  836. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  837. tr3.Lifetime = 0.6
  838.  
  839.  
  840. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  841. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  842. 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))
  843.  
  844. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  845. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  846. 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))
  847. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  848. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  849. 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))
  850. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  851. CreateMesh(wed,"Wedge",0.05,0.5,3)
  852. 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))
  853. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  854. CreateMesh(wed,"Wedge",0.05,3,0.5)
  855. 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))
  856.  
  857. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  858. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  859. 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))
  860.  
  861. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  862. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  863. 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))
  864. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  865. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  866. 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))
  867. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  868. CreateMesh(wed,"Wedge",0.05,0.5,3)
  869. 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))
  870. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  871. CreateMesh(wed,"Wedge",0.05,3,0.5)
  872. 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))
  873.  
  874. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  875. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  876. 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))
  877.  
  878. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  879. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  880. 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))
  881. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  882. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  883. 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))
  884. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  885. CreateMesh(wed,"Wedge",0.05,0.5,3)
  886. 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))
  887. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  888. CreateMesh(wed,"Wedge",0.05,3,0.5)
  889. 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))
  890.  
  891. ---- HERES THE RING
  892.  
  893.  
  894. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  895. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  896. 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))
  897. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  898. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  899. 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))
  900. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  901. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  902. 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))
  903.  
  904.  
  905. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  906. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  907. 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))
  908.  
  909. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  910. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  911. 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))
  912.  
  913.  
  914.  
  915. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  916. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  917. 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))
  918.  
  919. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  920. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  921. 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))
  922.  
  923. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  924. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  925. 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))
  926.  
  927. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  928. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  929. 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))
  930. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  931. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  932. 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))
  933.  
  934. -- S section A
  935.  
  936. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  937. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  938. CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  939. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  940. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  941. CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  942. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  943. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  944. CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  945.  
  946. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  947. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  948. CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  949. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  950. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  951. CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  952. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  953. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  954. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  955.  
  956. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  957. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  958. CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  959. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  960. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  961. CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  962. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  963. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  964. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  965.  
  966. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  967. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  968. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  969. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  970. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  971. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  972. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  973. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  974. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  975.  
  976. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  977. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  978. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  979. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  980. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  981. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  982. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  983. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  984. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  985.  
  986. -- S section B
  987.  
  988. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  989. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  990. CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  991. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  992. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  993. CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  994. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  995. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  996. CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  997.  
  998. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  999. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1000. CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1001. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1002. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1003. CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1004. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1005. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1006. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1007.  
  1008. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1009. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1010. CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1011. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1012. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1013. CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1014. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1015. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1016. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1017.  
  1018. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1019. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1020. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1021. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1022. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1023. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1024. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1025. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1026. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1027.  
  1028. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1029. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1030. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1031. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1032. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1033. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1034. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1035. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1036. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1037.  
  1038. --- second ring
  1039.  
  1040. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1041. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1042. 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))
  1043. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1044. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1045. 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))
  1046. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1047. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1048. 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))
  1049.  
  1050. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1051. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1052. 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))
  1053.  
  1054. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1055. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1056. 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))
  1057.  
  1058.  
  1059.  
  1060. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1061. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1062. 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))
  1063.  
  1064. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1065. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1066. 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))
  1067.  
  1068. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1069. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1070. 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))
  1071.  
  1072. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1073. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1074. 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))
  1075. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1076. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1077. 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))
  1078.  
  1079. -- S section A
  1080.  
  1081. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1082. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1083. CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1084. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1085. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1086. CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1087. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1088. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1089. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1090.  
  1091. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1092. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1093. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1094. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1095. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1096. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1097. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1098. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1099. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1100.  
  1101. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1102. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1103. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1104. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1105. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1106. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1107. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1108. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1109. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1110.  
  1111. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1112. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1113. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1114. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1115. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1116. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1117. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1118. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1119. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1120.  
  1121. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1122. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1123. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1124. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1125. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1126. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1127. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1128. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1129. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1130.  
  1131. -- S section B
  1132.  
  1133. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1134. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1135. CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1136. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1137. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1138. CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1139. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1140. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1141. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1142.  
  1143. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1144. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1145. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1146. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1147. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1148. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1149. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1150. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1151. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1152.  
  1153. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1154. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1155. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1156. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1157. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1158. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1159. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1160. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1161. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1162.  
  1163. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1164. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1165. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1166. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1167. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1168. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1169. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1170. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1171. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1172.  
  1173. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1174. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1175. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1176. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1177. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1178. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1179. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1180. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1181. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1182.  
  1183.  
  1184. for i, v in pairs(m:GetChildren()) do
  1185. if v:IsA("Part") then
  1186. v.BrickColor = BrickColor.new("Really black")
  1187. v.Material = "Glass"
  1188. end
  1189. end
  1190. for i, v in pairs(m2:GetChildren()) do
  1191. if v:IsA("Part") then
  1192. v.BrickColor = BrickColor.new("Dark stone grey")
  1193. v.Material = "Granite"
  1194. end
  1195. end
  1196. for i, v in pairs(m3:GetChildren()) do
  1197. if v:IsA("Part") then
  1198. v.BrickColor = BrickColor.new("Really black")
  1199. v.Material = "Neon"
  1200. end
  1201. end
  1202. for i, v in pairs(mw2:GetChildren()) do
  1203. if v:IsA("Part") then
  1204. v.BrickColor = BrickColor.new("Really black")
  1205. v.Material = "Neon"
  1206. end
  1207. end
  1208. for i, v in pairs(mw1:GetChildren()) do
  1209. if v:IsA("Part") then
  1210. v.Transparency = 1
  1211. v.BrickColor = BrickColor.new("Really black")
  1212. v.Material = "Neon"
  1213. end
  1214. end
  1215. for i, v in pairs(extrawingmod1:GetChildren()) do
  1216. if v:IsA("Part") then
  1217. v.Transparency = 1
  1218. v.BrickColor = BrickColor.new("White")
  1219. v.Material = "Neon"
  1220. end
  1221. end
  1222. for i, v in pairs(extrawingmod2:GetChildren()) do
  1223. if v:IsA("Part") then
  1224. v.Transparency = 1
  1225. v.BrickColor = BrickColor.new("White")
  1226. v.Material = "Neon"
  1227. end
  1228. end
  1229. local MAINRUINCOLOR = BrickColor.new("Really black")
  1230. ------
  1231.  
  1232.  
  1233. function RemoveOutlines(part)
  1234. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1235. end
  1236. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1237. local Part = Create("Part")({
  1238. Parent = Parent,
  1239. Reflectance = Reflectance,
  1240. Transparency = Transparency,
  1241. CanCollide = false,
  1242. Locked = true,
  1243. BrickColor = BrickColor.new(tostring(BColor)),
  1244. Name = Name,
  1245. Size = Size,
  1246. Material = Material
  1247. })
  1248. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1249. RemoveOutlines(Part)
  1250. return Part
  1251. end
  1252. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1253. local Msh = Create(Mesh)({
  1254. Parent = Part,
  1255. Offset = OffSet,
  1256. Scale = Scale
  1257. })
  1258. if Mesh == "SpecialMesh" then
  1259. Msh.MeshType = MeshType
  1260. Msh.MeshId = MeshId
  1261. end
  1262. return Msh
  1263. end
  1264. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1265. local Weld = Create("Weld")({
  1266. Parent = Parent,
  1267. Part0 = Part0,
  1268. Part1 = Part1,
  1269. C0 = C0,
  1270. C1 = C1
  1271. })
  1272. return Weld
  1273. end
  1274.  
  1275. Player=game:GetService("Players").slowxxlittleplayerxx
  1276. Character=Player.Character
  1277. PlayerGui=Player.PlayerGui
  1278. Backpack=Player.Backpack
  1279. Torso=Character.Torso
  1280. Head=Character.Head
  1281. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1282. m=Instance.new('Model',Character)
  1283. LeftArm=Character["Left Arm"]
  1284. LeftLeg=Character["Left Leg"]
  1285. RightArm=Character["Right Arm"]
  1286. RightLeg=Character["Right Leg"]
  1287. LS=Torso["Left Shoulder"]
  1288. LH=Torso["Left Hip"]
  1289. RS=Torso["Right Shoulder"]
  1290. RH=Torso["Right Hip"]
  1291. Face = Head.face
  1292. Neck=Torso.Neck
  1293. it=Instance.new
  1294. attacktype=1
  1295. vt=Vector3.new
  1296. cf=CFrame.new
  1297. euler=CFrame.fromEulerAnglesXYZ
  1298. angles=CFrame.Angles
  1299. cloaked=false
  1300. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1301. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1302. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1303. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1304. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1305. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1306. RootPart=Character.HumanoidRootPart
  1307. RootJoint=RootPart.RootJoint
  1308. RootCF=euler(-1.57,0,3.14)
  1309. attack = false
  1310. attackdebounce = false
  1311. deb=false
  1312. equipped=true
  1313. hand=false
  1314. MMouse=nil
  1315. combo=0
  1316. mana=0
  1317. trispeed=.2
  1318. attackmode='none'
  1319. local idle=0
  1320. local Anim="Idle"
  1321. local Effects={}
  1322. local gun=false
  1323. local shoot=false
  1324. local sine = 0
  1325. local change = 1
  1326. player=nil
  1327. pcall(function()char.LeftWing:destroy()end)
  1328. pcall(function()char.Halo:destroy()end)
  1329. local toggleTag = true
  1330. local txt = Instance.new("BillboardGui", Head)
  1331. txt.Adornee = nil
  1332. txt.Name = "NameDetect"
  1333. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1334. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1335. local text = Instance.new("TextLabel", txt)
  1336. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1337. text.FontSize = "Size8"
  1338. text.TextScaled = true
  1339. text.TextTransparency = 0
  1340. text.BackgroundTransparency = 1
  1341. text.TextTransparency = 0
  1342. text.TextStrokeTransparency = 0
  1343. text.Font = "Fantasy"
  1344. text.TextStrokeColor3 = Color3.new(1,1,1)
  1345. text.TextColor3 = Color3.new(0,0,0)
  1346. text.Text = "solitude GUEST"
  1347.  
  1348. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1349. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1350.  
  1351. function RecolorTextAndRename(name,col1,col2)
  1352. text.TextStrokeColor3 = col2
  1353. text.TextColor3 = col1
  1354. text.Text = name
  1355. end
  1356. --save shoulders
  1357. RSH, LSH=nil, nil
  1358. --welds
  1359. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1360. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1361. LH=Torso["Left Hip"]
  1362. RH=Torso["Right Hip"]
  1363. TorsoColor=Torso.BrickColor
  1364. function NoOutline(Part)
  1365. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1366. end
  1367. player=Player
  1368. ch=Character
  1369. RSH=ch.Torso["Right Shoulder"]
  1370. LSH=ch.Torso["Left Shoulder"]
  1371. --
  1372. RSH.Parent=nil
  1373. LSH.Parent=nil
  1374. --
  1375. RW.Name="Right Shoulder"
  1376. RW.Part0=ch.Torso
  1377. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1378. RW.C1=cf(0, 0.5, 0)
  1379. RW.Part1=ch["Right Arm"]
  1380. RW.Parent=ch.Torso
  1381. --
  1382. LW.Name="Left Shoulder"
  1383. LW.Part0=ch.Torso
  1384. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1385. LW.C1=cf(0, 0.5, 0)
  1386. LW.Part1=ch["Left Arm"]
  1387. LW.Parent=ch.Torso
  1388.  
  1389. local Stats=Instance.new("BoolValue")
  1390. Stats.Name="Stats"
  1391. Stats.Parent=Character
  1392. local Atk=Instance.new("NumberValue")
  1393. Atk.Name="Damage"
  1394. Atk.Parent=Stats
  1395. Atk.Value=1
  1396. local Def=Instance.new("NumberValue")
  1397. Def.Name="Defense"
  1398. Def.Parent=Stats
  1399. Def.Value=1
  1400. local Speed=Instance.new("NumberValue")
  1401. Speed.Name="Speed"
  1402. Speed.Parent=Stats
  1403. Speed.Value=1
  1404. local Mvmt=Instance.new("NumberValue")
  1405. Mvmt.Name="Movement"
  1406. Mvmt.Parent=Stats
  1407. Mvmt.Value=1
  1408.  
  1409. local donum=0
  1410.  
  1411.  
  1412. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1413. local fp=it("Part")
  1414. fp.formFactor=formfactor
  1415. fp.Parent=parent
  1416. fp.Reflectance=reflectance
  1417. fp.Transparency=transparency
  1418. fp.CanCollide=false
  1419. fp.Locked=true
  1420. fp.BrickColor=brickcolor
  1421. fp.Name=name
  1422. fp.Size=size
  1423. fp.Position=Torso.Position
  1424. NoOutline(fp)
  1425. fp.Material="SmoothPlastic"
  1426. fp:BreakJoints()
  1427. return fp
  1428. end
  1429.  
  1430. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1431. local mesh=it(Mesh)
  1432. mesh.Parent=part
  1433. if Mesh=="SpecialMesh" then
  1434. mesh.MeshType=meshtype
  1435. if meshid~="nil" then
  1436. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1437. end
  1438. end
  1439. mesh.Offset=offset
  1440. mesh.Scale=scale
  1441. return mesh
  1442. end
  1443.  
  1444. function weld(parent,part0,part1,c0)
  1445. local weld=it("Weld")
  1446. weld.Parent=parent
  1447. weld.Part0=part0
  1448. weld.Part1=part1
  1449. weld.C0=c0
  1450. return weld
  1451. end
  1452.  
  1453. local Color1=Torso.BrickColor
  1454.  
  1455. local bodvel=Instance.new("BodyVelocity")
  1456. local bg=Instance.new("BodyGyro")
  1457.  
  1458. --// Artificial HB \\--
  1459.  
  1460. local ArtificialHB = Instance.new("BindableEvent", script)
  1461. ArtificialHB.Name = "Heartbeat"
  1462.  
  1463. script:WaitForChild("Heartbeat")
  1464.  
  1465. local tf = 0
  1466. local allowframeloss = false
  1467. local tossremainder = false
  1468. local lastframe = tick()
  1469. local frame = 1/60
  1470. ArtificialHB:Fire()
  1471.  
  1472. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1473. tf = tf + s
  1474. if tf >= frame then
  1475. if allowframeloss then
  1476. script.Heartbeat:Fire()
  1477. lastframe = tick()
  1478. else
  1479. for i = 1, math.floor(tf / frame) do
  1480. ArtificialHB:Fire()
  1481. end
  1482. lastframe = tick()
  1483. end
  1484. if tossremainder then
  1485. tf = 0
  1486. else
  1487. tf = tf - frame * math.floor(tf / frame)
  1488. end
  1489. end
  1490. end)
  1491.  
  1492. function swait(num)
  1493. if num == 0 or num == nil then
  1494. ArtificialHB.Event:wait()
  1495. else
  1496. for i = 0, num do
  1497. ArtificialHB.Event:wait()
  1498. end
  1499. end
  1500. end
  1501.  
  1502. -------- RAINBOW LEAVE IT TO ME
  1503. local r = 255
  1504. local g = 0
  1505. local b = 0
  1506. coroutine.resume(coroutine.create(function()
  1507. while wait() do
  1508. for i = 0, 254/5 do
  1509. swait()
  1510. g = g + 5
  1511. end
  1512. for i = 0, 254/5 do
  1513. swait()
  1514. r = r - 5
  1515. end
  1516. for i = 0, 254/5 do
  1517. swait()
  1518. b = b + 5
  1519. end
  1520. for i = 0, 254/5 do
  1521. swait()
  1522. g = g - 5
  1523. end
  1524. for i = 0, 254/5 do
  1525. swait()
  1526. r = r + 5
  1527. end
  1528. for i = 0, 254/5 do
  1529. swait()
  1530. b = b - 5
  1531. end
  1532. end
  1533. end))
  1534.  
  1535.  
  1536. so = function(id,par,vol,pit)
  1537. coroutine.resume(coroutine.create(function()
  1538. local sou = Instance.new("Sound",par or workspace)
  1539. sou.Volume=vol
  1540. sou.Pitch=pit or 1
  1541. sou.SoundId=id
  1542. swait()
  1543. sou:play()
  1544. game:GetService("Debris"):AddItem(sou,6)
  1545. end))
  1546. end
  1547.  
  1548. function clerp(a,b,t)
  1549. return a:lerp(b,t)
  1550. end
  1551.  
  1552. local function CFrameFromTopBack(at, top, back)
  1553. local right = top:Cross(back)
  1554. return CFrame.new(at.x, at.y, at.z,
  1555. right.x, top.x, back.x,
  1556. right.y, top.y, back.y,
  1557. right.z, top.z, back.z)
  1558. end
  1559.  
  1560. function Triangle(a, b, c)
  1561. local edg1 = (c-a):Dot((b-a).unit)
  1562. local edg2 = (a-b):Dot((c-b).unit)
  1563. local edg3 = (b-c):Dot((a-c).unit)
  1564. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1565. a, b, c = a, b, c
  1566. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1567. a, b, c = b, c, a
  1568. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1569. a, b, c = c, a, b
  1570. else
  1571. assert(false, "unreachable")
  1572. end
  1573.  
  1574. local len1 = (c-a):Dot((b-a).unit)
  1575. local len2 = (b-a).magnitude - len1
  1576. local width = (a + (b-a).unit*len1 - c).magnitude
  1577.  
  1578. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1579.  
  1580. local list = {}
  1581.  
  1582. if len1 > 0.01 then
  1583. local w1 = Instance.new('WedgePart', m)
  1584. game:GetService("Debris"):AddItem(w1,5)
  1585. w1.Material = "SmoothPlastic"
  1586. w1.FormFactor = 'Custom'
  1587. w1.BrickColor = BrickColor.new("Really black")
  1588. w1.Transparency = 0
  1589. w1.Reflectance = 0
  1590. w1.Material = "SmoothPlastic"
  1591. w1.CanCollide = false
  1592. local l1 = Instance.new("PointLight",w1)
  1593. l1.Color = Color3.new(170,0,0)
  1594. NoOutline(w1)
  1595. local sz = Vector3.new(0.2, width, len1)
  1596. w1.Size = sz
  1597. local sp = Instance.new("SpecialMesh",w1)
  1598. sp.MeshType = "Wedge"
  1599. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1600. w1:BreakJoints()
  1601. w1.Anchored = true
  1602. w1.Parent = workspace
  1603. w1.Transparency = 0.7
  1604. table.insert(Effects,{w1,"Disappear",.01})
  1605. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1606. table.insert(list,w1)
  1607. end
  1608.  
  1609. if len2 > 0.01 then
  1610. local w2 = Instance.new('WedgePart', m)
  1611. game:GetService("Debris"):AddItem(w2,5)
  1612. w2.Material = "SmoothPlastic"
  1613. w2.FormFactor = 'Custom'
  1614. w2.BrickColor = BrickColor.new("Really black")
  1615. w2.Transparency = 0
  1616. w2.Reflectance = 0
  1617. w2.Material = "SmoothPlastic"
  1618. w2.CanCollide = false
  1619. local l2 = Instance.new("PointLight",w2)
  1620. l2.Color = Color3.new(170,0,0)
  1621. NoOutline(w2)
  1622. local sz = Vector3.new(0.2, width, len2)
  1623. w2.Size = sz
  1624. local sp = Instance.new("SpecialMesh",w2)
  1625. sp.MeshType = "Wedge"
  1626. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1627. w2:BreakJoints()
  1628. w2.Anchored = true
  1629. w2.Parent = workspace
  1630. w2.Transparency = 0.7
  1631. table.insert(Effects,{w2,"Disappear",.01})
  1632. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1633. table.insert(list,w2)
  1634. end
  1635. return unpack(list)
  1636. end
  1637.  
  1638.  
  1639. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1640. if hit.Parent == nil then
  1641. return
  1642. end
  1643. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1644. for _, v in pairs(hit.Parent:children()) do
  1645. if v:IsA("Humanoid") then
  1646. h = v
  1647. end
  1648. end
  1649. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1650. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1651. return
  1652. end
  1653. local c = Create("ObjectValue")({
  1654. Name = "creator",
  1655. Value = game:GetService("Players").inessaG,
  1656. Parent = h
  1657. })
  1658. game:GetService("Debris"):AddItem(c, 0.5)
  1659. if HitSound ~= nil and HitPitch ~= nil then
  1660. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1661. end
  1662. local Damage = math.random(minim, maxim)
  1663. local blocked = false
  1664. local block = hit.Parent:findFirstChild("Block")
  1665. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1666. blocked = true
  1667. block.Value = block.Value - 1
  1668. print(block.Value)
  1669. end
  1670. if blocked == false then
  1671. HitHealth = h.Health
  1672. h.Health = h.Health - Damage
  1673. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1674. print("gained kill")
  1675. end
  1676. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1677. else
  1678. h.Health = h.Health - Damage / 2
  1679. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1680. end
  1681. if Type == "Knockdown" then
  1682. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1683. hum.PlatformStand = true
  1684. coroutine.resume(coroutine.create(function(HHumanoid)
  1685. swait(1)
  1686. HHumanoid.PlatformStand = false
  1687. end), hum)
  1688. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1689. local bodvol = Create("BodyVelocity")({
  1690. velocity = angle * knockback,
  1691. P = 5000,
  1692. maxForce = Vector3.new(8000, 8000, 8000),
  1693. Parent = hit
  1694. })
  1695. local rl = Create("BodyAngularVelocity")({
  1696. P = 3000,
  1697. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1698. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1699. Parent = hit
  1700. })
  1701. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1702. game:GetService("Debris"):AddItem(rl, 0.5)
  1703. elseif Type == "Normal" then
  1704. local vp = Create("BodyVelocity")({
  1705. P = 500,
  1706. maxForce = Vector3.new(math.huge, 0, math.huge),
  1707. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1708. })
  1709. if knockback > 0 then
  1710. vp.Parent = hit.Parent.Head
  1711. end
  1712. game:GetService("Debris"):AddItem(vp, 0.5)
  1713. elseif Type == "Up" then
  1714. local bodyVelocity = Create("BodyVelocity")({
  1715. velocity = Vector3.new(0, 20, 0),
  1716. P = 5000,
  1717. maxForce = Vector3.new(8000, 8000, 8000),
  1718. Parent = hit
  1719. })
  1720. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1721. local bodyVelocity = Create("BodyVelocity")({
  1722. velocity = Vector3.new(0, 20, 0),
  1723. P = 5000,
  1724. maxForce = Vector3.new(8000, 8000, 8000),
  1725. Parent = hit
  1726. })
  1727. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1728. elseif Type == "Leech" then
  1729. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1730. if hum ~= nil then
  1731. for i = 0, 2 do
  1732. 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)
  1733. end
  1734. Humanoid.Health = Humanoid.Health + 10
  1735. end
  1736. elseif Type == "UpKnock" then
  1737. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1738. hum.PlatformStand = true
  1739. if hum ~= nil then
  1740. hitr = true
  1741. end
  1742. coroutine.resume(coroutine.create(function(HHumanoid)
  1743. swait(5)
  1744. HHumanoid.PlatformStand = false
  1745. hitr = false
  1746. end), hum)
  1747. local bodyVelocity = Create("BodyVelocity")({
  1748. velocity = Vector3.new(0, 20, 0),
  1749. P = 5000,
  1750. maxForce = Vector3.new(8000, 8000, 8000),
  1751. Parent = hit
  1752. })
  1753. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1754. local bodyVelocity = Create("BodyVelocity")({
  1755. velocity = Vector3.new(0, 20, 0),
  1756. P = 5000,
  1757. maxForce = Vector3.new(8000, 8000, 8000),
  1758. Parent = hit
  1759. })
  1760. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1761. elseif Type == "Snare" then
  1762. local bp = Create("BodyPosition")({
  1763. P = 2000,
  1764. D = 100,
  1765. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1766. position = hit.Parent.Torso.Position,
  1767. Parent = hit.Parent.Torso
  1768. })
  1769. game:GetService("Debris"):AddItem(bp, 1)
  1770. elseif Type == "Slashnare" then
  1771. 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)
  1772. for i = 1, math.random(4, 5) do
  1773. 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)
  1774. end
  1775. local bp = Create("BodyPosition")({
  1776. P = 2000,
  1777. D = 100,
  1778. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1779. position = hit.Parent.Torso.Position,
  1780. Parent = hit.Parent.Torso
  1781. })
  1782. game:GetService("Debris"):AddItem(bp, 1)
  1783. elseif Type == "Spike" then
  1784. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1785. local bp = Create("BodyPosition")({
  1786. P = 2000,
  1787. D = 100,
  1788. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1789. position = hit.Parent.Torso.Position,
  1790. Parent = hit.Parent.Torso
  1791. })
  1792. game:GetService("Debris"):AddItem(bp, 1)
  1793. elseif Type == "Freeze" then
  1794. local BodPos = Create("BodyPosition")({
  1795. P = 50000,
  1796. D = 1000,
  1797. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1798. position = hit.Parent.Torso.Position,
  1799. Parent = hit.Parent.Torso
  1800. })
  1801. local BodGy = Create("BodyGyro")({
  1802. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1803. P = 20000,
  1804. Parent = hit.Parent.Torso,
  1805. cframe = hit.Parent.Torso.CFrame
  1806. })
  1807. hit.Parent.Torso.Anchored = true
  1808. coroutine.resume(coroutine.create(function(Part)
  1809. swait(1.5)
  1810. Part.Anchored = false
  1811. end), hit.Parent.Torso)
  1812. game:GetService("Debris"):AddItem(BodPos, 3)
  1813. game:GetService("Debris"):AddItem(BodGy, 3)
  1814. end
  1815. local debounce = Create("BoolValue")({
  1816. Name = "DebounceHit",
  1817. Parent = hit.Parent,
  1818. Value = true
  1819. })
  1820. game:GetService("Debris"):AddItem(debounce, Delay)
  1821. c = Instance.new("ObjectValue")
  1822. c.Name = "creator"
  1823. c.Value = Player
  1824. c.Parent = h
  1825. game:GetService("Debris"):AddItem(c, 0.5)
  1826. end
  1827. end
  1828. function ShowDamage(Pos, Text, Time, Color)
  1829. local Rate = 0.03333333333333333
  1830. local Pos = Pos or Vector3.new(0, 0, 0)
  1831. local Text = Text or ""
  1832. local Time = Time or 2
  1833. local Color = Color or Color3.new(1, 0, 1)
  1834. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1835. EffectPart.Anchored = true
  1836. local BillboardGui = Create("BillboardGui")({
  1837. Size = UDim2.new(3, 0, 3, 0),
  1838. Adornee = EffectPart,
  1839. Parent = EffectPart
  1840. })
  1841. local TextLabel = Create("TextLabel")({
  1842. BackgroundTransparency = 1,
  1843. Size = UDim2.new(1, 0, 1, 0),
  1844. Text = Text,
  1845. TextColor3 = Color,
  1846. TextScaled = true,
  1847. Font = Enum.Font.ArialBold,
  1848. Parent = BillboardGui
  1849. })
  1850. game.Debris:AddItem(EffectPart, Time + 0.1)
  1851. EffectPart.Parent = game:GetService("Workspace")
  1852. delay(0, function()
  1853. local Frames = Time / Rate
  1854. for Frame = 1, Frames do
  1855. wait(Rate)
  1856. local Percent = Frame / Frames
  1857. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1858. TextLabel.TextTransparency = Percent
  1859. end
  1860. if EffectPart and EffectPart.Parent then
  1861. EffectPart:Destroy()
  1862. end
  1863. end)
  1864. end
  1865. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1866. for _, c in pairs(workspace:children()) do
  1867. local hum = c:findFirstChildOfClass("Humanoid")
  1868. if hum ~= nil then
  1869. local head = c:findFirstChild("Head")
  1870. if head ~= nil then
  1871. local targ = head.Position - Part.Position
  1872. local mag = targ.magnitude
  1873. if magni >= mag and c.Name ~= Player.Name then
  1874. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1875. end
  1876. end
  1877. end
  1878. end
  1879. end
  1880.  
  1881. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1882. for _, c in pairs(workspace:children()) do
  1883. local hum = c:findFirstChild("Humanoid")
  1884. if hum ~= nil then
  1885. local head = c:findFirstChild("Torso")
  1886. if head ~= nil then
  1887. local targ = head.Position - Part.Position
  1888. local mag = targ.magnitude
  1889. if magni >= mag and c.Name ~= Player.Name then
  1890. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1891. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1892. end
  1893. end
  1894. end
  1895. end
  1896. end
  1897.  
  1898. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1899. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1900. end
  1901.  
  1902. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1903. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1904. prt.Anchored=true
  1905. prt.CFrame=cframe
  1906. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1907. --http://www.roblox.com/asset/?id=4770560
  1908. game:GetService("Debris"):AddItem(prt,2)
  1909. CF=prt.CFrame
  1910. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1911. for i=0,1,0.2 do
  1912. wait()
  1913. Part.CFrame=CF*cf(0,0,-0.4)
  1914. end
  1915. for i=0,1,delay do
  1916. wait()
  1917. --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)
  1918. Mesh.Scale=Mesh.Scale
  1919. end
  1920. for i=0,1,0.1 do
  1921. wait()
  1922. Part.Transparency=i
  1923. end
  1924. Part.Parent=nil
  1925. end),prt,msh,CF)
  1926. end
  1927.  
  1928. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1929. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1930. prt.Anchored=true
  1931. prt.Material = "Neon"
  1932. prt.CFrame=cframe
  1933. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1934. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1935. game:GetService("Debris"):AddItem(prt,5)
  1936. coroutine.resume(coroutine.create(function(Part,Mesh)
  1937. for i=0,1,delay do
  1938. swait()
  1939. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1940. Part.Transparency=i
  1941. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1942. end
  1943. Part.Parent=nil
  1944. end),prt,msh)
  1945. end
  1946.  
  1947. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1948. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1949. prt.Anchored=true
  1950. prt.Material = "Neon"
  1951. prt.CFrame=cframe
  1952. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1953. game:GetService("Debris"):AddItem(prt,5)
  1954. coroutine.resume(coroutine.create(function(Part,Mesh)
  1955. local rtype = rottype
  1956. for i=0,1,delay do
  1957. swait()
  1958. if rtype == 1 then
  1959. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1960. elseif rtype == 2 then
  1961. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1962. end
  1963. Part.Transparency=i
  1964. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1965. end
  1966. Part.Parent=nil
  1967. end),prt,msh)
  1968. end
  1969.  
  1970. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1971. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1972. prt.Anchored=true
  1973. prt.CFrame=cframe
  1974. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1975. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1976. game:GetService("Debris"):AddItem(prt,5)
  1977. coroutine.resume(coroutine.create(function(Part,Mesh)
  1978. for i=0,1,delay do
  1979. wait()
  1980. Part.Transparency=i
  1981. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1982. end
  1983. Part.Parent=nil
  1984. end),prt,msh)
  1985. end
  1986.  
  1987. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1988. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1989. prt.Anchored=true
  1990. prt.Material = "Neon"
  1991. prt.CFrame=cframe
  1992. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1993. game:GetService("Debris"):AddItem(prt,5)
  1994. coroutine.resume(coroutine.create(function(Part,Mesh)
  1995. local rtype = rottype
  1996. for i=0,1,delay do
  1997. swait()
  1998. if rtype == 1 then
  1999. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2000. elseif rtype == 2 then
  2001. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2002. end
  2003. Part.Transparency=i
  2004. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2005. end
  2006. Part.Parent=nil
  2007. end),prt,msh)
  2008. end
  2009.  
  2010. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2011. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2012. prt.Anchored=true
  2013. prt.Material = "Neon"
  2014. prt.CFrame=cframe
  2015. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2016. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2017. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2018. game:GetService("Debris"):AddItem(prt,5)
  2019. coroutine.resume(coroutine.create(function(Part,Mesh)
  2020. local rtype = rottype
  2021. for i=0,1,delay do
  2022. swait()
  2023. if rtype == 1 then
  2024. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2025. elseif rtype == 2 then
  2026. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2027. end
  2028. dec.Transparency=i
  2029. dec2.Transparency=i
  2030. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2031. end
  2032. Part.Parent=nil
  2033. end),prt,msh)
  2034. end
  2035.  
  2036. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2037. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2038. prt.Anchored=true
  2039. prt.Material = "Neon"
  2040. prt.CFrame=cframe
  2041. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2042. game:GetService("Debris"):AddItem(prt,5)
  2043. coroutine.resume(coroutine.create(function(Part,Mesh)
  2044. local rtype = rottype
  2045. for i=0,1,delay do
  2046. swait()
  2047. if rtype == 1 then
  2048. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2049. elseif rtype == 2 then
  2050. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2051. end
  2052. prt.Transparency=i
  2053. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2054. end
  2055. Part.Parent=nil
  2056. end),prt,msh)
  2057. end
  2058.  
  2059. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2060. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2061. prt.Anchored=true
  2062. prt.Material = "Neon"
  2063. prt.CFrame=cframe
  2064. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2065. game:GetService("Debris"):AddItem(prt,5)
  2066. coroutine.resume(coroutine.create(function(Part,Mesh)
  2067. local rtype = rottype
  2068. for i=0,1,delay do
  2069. swait()
  2070. if rtype == 1 then
  2071. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2072. elseif rtype == 2 then
  2073. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2074. end
  2075. prt.Transparency=i
  2076. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2077. end
  2078. Part.Parent=nil
  2079. end),prt,msh)
  2080. end
  2081.  
  2082. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2083. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2084. prt.Anchored=true
  2085. prt.Material = "Neon"
  2086. prt.CFrame=cframe
  2087. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2088. game:GetService("Debris"):AddItem(prt,5)
  2089. coroutine.resume(coroutine.create(function(Part,Mesh)
  2090. local rtype = rottype
  2091. for i=0,1,delay do
  2092. swait()
  2093. if rtype == 1 then
  2094. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2095. elseif rtype == 2 then
  2096. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2097. end
  2098. prt.Transparency=i
  2099. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2100. end
  2101. Part.Parent=nil
  2102. end),prt,msh)
  2103. end
  2104.  
  2105. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2106. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2107. prt.Anchored=true
  2108. prt.Material = "Neon"
  2109. prt.CFrame=cframe
  2110. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2111. game:GetService("Debris"):AddItem(prt,5)
  2112. coroutine.resume(coroutine.create(function(Part,Mesh)
  2113. local rtype = rottype
  2114. for i=0,1,delay do
  2115. swait()
  2116. if rtype == 1 then
  2117. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2118. elseif rtype == 2 then
  2119. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2120. end
  2121. prt.Transparency=i
  2122. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2123. end
  2124. Part.Parent=nil
  2125. end),prt,msh)
  2126. end
  2127.  
  2128. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2129. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2130. prt.Anchored=false
  2131. prt.CFrame=cframe
  2132. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2133. local wld=weld(prt,prt,Parent,cframe)
  2134. game:GetService("Debris"):AddItem(prt,5)
  2135. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2136. for i=0,1,delay do
  2137. wait()
  2138. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2139. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2140. Part.Transparency=i
  2141. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2142. end
  2143. Part.Parent=nil
  2144. end),prt,msh,wld)
  2145. end
  2146.  
  2147. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2148. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2149. prt.Anchored=false
  2150. prt.CFrame=cframe
  2151. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2152. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2153. game:GetService("Debris"):AddItem(prt,5)
  2154. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2155. for i=0,1,delay do
  2156. wait()
  2157. Weld.C0=euler(i*20,0,0)
  2158. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2159. Part.Transparency=i
  2160. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2161. end
  2162. Part.Parent=nil
  2163. end),prt,msh,wld)
  2164. end
  2165.  
  2166. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2167. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2168. prt.Anchored=true
  2169. prt.CFrame=cframe
  2170. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2171. game:GetService("Debris"):AddItem(prt,2)
  2172. coroutine.resume(coroutine.create(function(Part,Mesh)
  2173. for i=0,1,delay do
  2174. wait()
  2175. Part.CFrame=Part.CFrame
  2176. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2177. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2178. prt2.Anchored=true
  2179. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2180. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2181. game:GetService("Debris"):AddItem(prt2,2)
  2182. coroutine.resume(coroutine.create(function(Part,Mesh)
  2183. for i=0,1,0.1 do
  2184. wait()
  2185. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2186. end
  2187. Part.Parent=nil
  2188. end),prt2,msh2)
  2189. end
  2190. for i=0,1,delay*2 do
  2191. wait()
  2192. Part.CFrame=Part.CFrame
  2193. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2194. end
  2195. Part.Parent=nil
  2196. end),prt,msh)
  2197. end
  2198.  
  2199. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2200. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2201. prt.Anchored=true
  2202. prt.CFrame=cframe
  2203. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2204. game:GetService("Debris"):AddItem(prt,2)
  2205. coroutine.resume(coroutine.create(function(Part,Mesh)
  2206. for i=0,1,delay do
  2207. wait()
  2208. Part.CFrame=Part.CFrame
  2209. Part.Transparency=i
  2210. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2211. end
  2212. Part.Parent=nil
  2213. end),prt,msh)
  2214. end
  2215.  
  2216. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2217. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2218. prt.Anchored=true
  2219. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2220. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2221. game:GetService("Debris"):AddItem(prt,2)
  2222. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2223. CF=Part.CFrame
  2224. Numbb=0
  2225. randnumb=math.random()/10
  2226. rand1=math.random()/10
  2227. for i=0,1,rand1 do
  2228. wait()
  2229. CF=CF*cf(0,math.random()/2,0)
  2230. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2231. Part.CFrame=CF*euler(Numbb,0,0)
  2232. Part.Transparency=i
  2233. Numbb=Numbb+randnumb
  2234. end
  2235. Part.Parent=nil
  2236. end),prt,CF,Numbb,randnumb)
  2237. end
  2238.  
  2239. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2240. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2241. prt.Anchored=true
  2242. prt.CFrame=cframe
  2243. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2244. game:GetService("Debris"):AddItem(prt,5)
  2245. coroutine.resume(coroutine.create(function(Part,Mesh)
  2246. for i=0,1,delay do
  2247. wait()
  2248. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2249. Part.Transparency=i
  2250. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2251. end
  2252. Part.Parent=nil
  2253. end),prt,msh)
  2254. end
  2255.  
  2256. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2257. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2258. prt.Anchored=true
  2259. prt.CFrame=cframe
  2260. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2261. game:GetService("Debris"):AddItem(prt,2)
  2262. coroutine.resume(coroutine.create(function(Part,Mesh)
  2263. for i=0,1,delay do
  2264. wait()
  2265. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2266. Part.Transparency=i
  2267. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2268. end
  2269. Part.Parent=nil
  2270. end),prt,msh)
  2271. end
  2272.  
  2273. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2274. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2275. prt.Anchored=true
  2276. prt.CFrame=cframe*cf(x,y,z)
  2277. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2278. game:GetService("Debris"):AddItem(prt,5)
  2279. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2280. local num=math.random()
  2281. local num2=math.random(-3,2)+math.random()
  2282. local numm=0
  2283. for i=0,1,delay*2 do
  2284. swait()
  2285. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2286. Part.Transparency=i
  2287. numm=numm+0.01
  2288. end
  2289. Part.Parent=nil
  2290. Mesh.Parent=nil
  2291. end),prt,msh,x,y,z)
  2292. end
  2293.  
  2294. function dmgstart(dmg,what)
  2295. hitcon = what.Touched:connect(function(hit)
  2296. local hum = hit.Parent:FindFirstChild("Humanoid")
  2297. if hum and not hum:IsDescendantOf(Character) then
  2298. hum:TakeDamage(dmg)
  2299. end
  2300. end)
  2301. end
  2302.  
  2303. function dmgstop()
  2304. hitcon:disconnect()
  2305. end
  2306.  
  2307. function Cloak()
  2308. Face.Parent=nil
  2309. cloaked=true
  2310. for _,v in pairs(Torso.Parent:children()) do
  2311. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2312. coroutine.resume(coroutine.create(function()
  2313. for i=0,1,0.2 do
  2314. wait()
  2315. v.Transparency=i
  2316. end
  2317. v.Transparency=1
  2318. end))
  2319. end
  2320. if v.className=="Hat" then
  2321. hatp=v.Handle
  2322. coroutine.resume(coroutine.create(function(derp)
  2323. for i=0,1,0.2 do
  2324. wait()
  2325. derp.Transparency=i
  2326. end
  2327. derp.Transparency=1
  2328. end),hatp)
  2329. end
  2330. end
  2331. for _,v in pairs(m:children()) do
  2332. if v.className=="Part" then
  2333. coroutine.resume(coroutine.create(function()
  2334. for i=0,1,0.2 do
  2335. wait()
  2336. v.Transparency=i
  2337. end
  2338. v.Transparency=1
  2339. end))
  2340. end
  2341. end
  2342. end
  2343.  
  2344. function UnCloak()
  2345. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2346. Face.Parent=Head
  2347. cloaked=false
  2348. for _,v in pairs(Torso.Parent:children()) do
  2349. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2350. coroutine.resume(coroutine.create(function()
  2351. for i=0,1,0.1 do
  2352. wait()
  2353. v.Transparency=v.Transparency-0.1
  2354. end
  2355. v.Transparency=0
  2356. end))
  2357. end
  2358. if v.className=="Hat" then
  2359. hatp=v.Handle
  2360. coroutine.resume(coroutine.create(function(derp)
  2361. for i=0,1,0.1 do
  2362. wait()
  2363. derp.Transparency=derp.Transparency-0.1
  2364. end
  2365. derp.Transparency=0
  2366. end),hatp)
  2367. end
  2368. end
  2369. for _,v in pairs(m:children()) do
  2370. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2371. coroutine.resume(coroutine.create(function()
  2372. for i=0,1,0.1 do
  2373. wait()
  2374. v.Transparency=v.Transparency-0.1
  2375. end
  2376. v.Transparency=0
  2377. end))
  2378. v.Transparency=0
  2379. end
  2380. end
  2381. end
  2382.  
  2383. local origcolor = BrickColor.new("Pastel light blue")
  2384. ---- This section of explosions.
  2385. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2386. local expart = Instance.new("Part",char)
  2387. local expart2 = Instance.new("Part",char)
  2388. local rin = Instance.new("Part",char)
  2389. local rin2 = Instance.new("Part",char)
  2390. local partMesh = Instance.new("SpecialMesh",expart)
  2391. partMesh.MeshType = "Sphere"
  2392. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2393. partMesh2.MeshType = "Sphere"
  2394. local partMesh3 = Instance.new("SpecialMesh",rin)
  2395. partMesh3.MeshType = "Brick"
  2396. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2397. partMesh4.MeshType = "Brick"
  2398. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2399. partMesh.Scale = vt(rad,rad,rad)
  2400. expart.Size = vt(1,1,1)
  2401. expart.Transparency = 0
  2402. expart.Anchored = true
  2403. expart.Material = "Neon"
  2404. expart.BrickColor = bc("White")
  2405. expart.CFrame = par.CFrame
  2406. partMesh2.Scale = vt(rad,rad,rad)
  2407. expart2.Size = vt(1.15,1.15,1.15)
  2408. expart2.Transparency = 0.5
  2409. expart2.Anchored = true
  2410. expart2.Material = "Neon"
  2411. expart2.BrickColor = par.BrickColor
  2412. expart2.CFrame = par.CFrame
  2413. rin.Size = vt(1.15,1.15,1.15)
  2414. rin.Transparency = 1
  2415. rin.Anchored = true
  2416. rin.Material = "Neon"
  2417. rin.BrickColor = par.BrickColor
  2418. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2419. rin2.Size = vt(1.15,1.15,1.15)
  2420. rin2.Transparency = 1
  2421. rin2.Anchored = true
  2422. rin2.Material = "Neon"
  2423. rin2.BrickColor = par.BrickColor
  2424. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2425. partMesh3.Scale = vt(0,1,0)
  2426. partMesh4.Scale = vt(0,1,0)
  2427. local dec2 = Instance.new("Decal", rin)
  2428. dec2.Face = "Top"
  2429. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2430. dec2.Parent = rin
  2431. local dec2b = dec2:Clone()
  2432. dec2b.Face = "Bottom"
  2433. dec2b.Parent = rin
  2434.  
  2435. local dec2a = Instance.new("Decal", rin2)
  2436. dec2a.Face = "Top"
  2437. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2438. dec2a.Parent = rin2
  2439. local dec2ab = dec2a:Clone()
  2440. dec2ab.Face = "Bottom"
  2441. dec2ab.Parent = rin2
  2442. expart.CanCollide = false
  2443. expart2.CanCollide = false
  2444. rin.CanCollide = false
  2445. rin2.CanCollide = false
  2446. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2447. local value = 1*rad/6.5
  2448. for i = 0, 199 do
  2449. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2450. expart.CFrame = expart.CFrame
  2451. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2452. expart2.CFrame = expart.CFrame
  2453. value = value - 0.035*rad/30
  2454. if value < 7.5 then
  2455. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2456. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2457. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2458. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2459. end
  2460. if value < 0 then
  2461. dec2.Transparency = dec2.Transparency + 0.025
  2462. dec2a.Transparency = dec2a.Transparency + 0.025
  2463. dec2b.Transparency = dec2b.Transparency + 0.025
  2464. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2465. expart.Transparency = expart.Transparency + 0.025
  2466. expart2.Transparency = expart2.Transparency + 0.025
  2467. rin.Transparency = rin.Transparency + 0.025
  2468. rin2.Transparency = rin2.Transparency + 0.025
  2469. end
  2470. swait()
  2471. end
  2472. game:GetService("Debris"):AddItem(expart, 1)
  2473. game:GetService("Debris"):AddItem(expart2, 1)
  2474. game:GetService("Debris"):AddItem(rin, 1)
  2475. game:GetService("Debris"):AddItem(rin2, 1)
  2476. end
  2477.  
  2478. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2479. local expart = Instance.new("Part",char)
  2480. local expart2 = Instance.new("Part",char)
  2481. local partMesh = Instance.new("SpecialMesh",expart)
  2482. partMesh.MeshType = "Sphere"
  2483. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2484. partMesh2.MeshType = "Sphere"
  2485. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2486. partMesh.Scale = vt(rad,rad,rad)
  2487. expart.Size = vt(1,1,1)
  2488. expart.Transparency = 0
  2489. expart.Anchored = true
  2490. expart.Material = "Neon"
  2491. expart.BrickColor = bc("White")
  2492. expart.CFrame = par.CFrame
  2493. partMesh2.Scale = vt(rad,rad,rad)
  2494. expart2.Size = vt(1.15,1.15,1.15)
  2495. expart2.Transparency = 0.5
  2496. expart2.Anchored = true
  2497. expart2.Material = "Neon"
  2498. expart2.BrickColor = par.BrickColor
  2499. expart2.CFrame = par.CFrame
  2500. expart.CanCollide = false
  2501. expart2.CanCollide = false
  2502. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2503. local value = 1*rad/6.5
  2504. for i = 0, 75 do
  2505. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2506. expart.CFrame = expart.CFrame
  2507. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2508. expart2.CFrame = expart.CFrame
  2509. value = value - 0.035*rad/5
  2510. if value < 0 then
  2511. value = 0
  2512. expart.Transparency = expart.Transparency + 0.05
  2513. expart2.Transparency = expart2.Transparency + 0.05
  2514. end
  2515. swait()
  2516. end
  2517. game:GetService("Debris"):AddItem(expart, 1)
  2518. game:GetService("Debris"):AddItem(expart2, 1)
  2519. end
  2520.  
  2521. function AreaDanger(rad,par,mindam,maxdam)
  2522. local expart = Instance.new("Part",char)
  2523. local partMesh = Instance.new("SpecialMesh",expart)
  2524. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2525. partMesh.MeshType = "Sphere"
  2526. partMesh.Scale = vt(rad,rad,rad)
  2527. expart.Size = vt(1,1,1)
  2528. expart.Transparency = 0.5
  2529. expart.Anchored = true
  2530. expart.Material = "Neon"
  2531. expart.CanCollide = false
  2532. expart.BrickColor = par.BrickColor
  2533. expart.CFrame = par.CFrame
  2534. local value = 1*rad/5
  2535. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2536. for i = 0, 14 do
  2537. wait()
  2538. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2539. expart.CFrame = expart.CFrame
  2540. value = value - 0.035*rad
  2541. if value < 0 then
  2542. value = 0
  2543. end
  2544. end
  2545. wait(0.25)
  2546. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2547. wait(0.5)
  2548. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2549. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2550. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2551. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2552. for i = 0, 14 do
  2553. wait()
  2554. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2555. expart.CFrame = expart.CFrame
  2556. value = value - 0.035*rad/2
  2557. end
  2558. expart.Transparency = 1
  2559. game:GetService("Debris"):AddItem(expart, 5)
  2560. end
  2561.  
  2562. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2563. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2564. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2565. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2566. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2567. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2568. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2569. for i = 0, 24 do
  2570. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2571. end
  2572. for i = 0, 24 do
  2573. local expart = Instance.new("Part",char)
  2574. expart.Transparency = 1
  2575. expart.Anchored = true
  2576. expart.CanCollide = false
  2577. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2578. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2579. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2580. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2581. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2582. for i = 0, 9 do
  2583. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2584. end
  2585. game:GetService("Debris"):AddItem(expart, 2)
  2586. wait(0.1)
  2587. end
  2588. end
  2589.  
  2590. function EXterPlosion(par)
  2591. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2592. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2593. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2594. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2595. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2596. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2597. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2598. for i = 0, 24 do
  2599. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2600. end
  2601. for i = 0, 24 do
  2602. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2603. end
  2604. end
  2605. ----
  2606.  
  2607.  
  2608. function ring(type,pos,scale,value)
  2609. local type = type
  2610. local rng = Instance.new("Part", char)
  2611. rng.Anchored = true
  2612. rng.BrickColor = origcolor
  2613. rng.CanCollide = false
  2614. rng.FormFactor = 3
  2615. rng.Name = "Ring"
  2616. rng.Size = Vector3.new(1, 1, 1)
  2617. rng.Transparency = 0
  2618. rng.TopSurface = 0
  2619. rng.BottomSurface = 0
  2620. rng.CFrame = pos
  2621. local rngm = Instance.new("SpecialMesh", rng)
  2622. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2623. rngm.Scale = scale
  2624. local scaler2 = 1
  2625. if type == "Add" then
  2626. scaler2 = 1*value
  2627. elseif type == "Divide" then
  2628. scaler2 = 1/value
  2629. end
  2630. coroutine.resume(coroutine.create(function()
  2631. for i = 0,10,0.1 do
  2632. swait()
  2633. if type == "Add" then
  2634. scaler2 = scaler2 - 0.01*value
  2635. elseif type == "Divide" then
  2636. scaler2 = scaler2 - 0.01/value
  2637. end
  2638. rng.Transparency = rng.Transparency + 0.01
  2639. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2640. end
  2641. rng:Destroy()
  2642. end))
  2643. end
  2644.  
  2645.  
  2646. function wave(type,pos,scale,value)
  2647. local type = type
  2648. local rng = Instance.new("Part", char)
  2649. rng.Anchored = true
  2650. rng.BrickColor = origcolor
  2651. rng.CanCollide = false
  2652. rng.FormFactor = 3
  2653. rng.Name = "Ring"
  2654. rng.Size = Vector3.new(1, 1, 1)
  2655. rng.Transparency = 0
  2656. rng.TopSurface = 0
  2657. rng.BottomSurface = 0
  2658. rng.CFrame = pos
  2659. local rngm = Instance.new("SpecialMesh", rng)
  2660. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2661. rngm.Scale = scale
  2662. local scaler2 = 1
  2663. if type == "Add" then
  2664. scaler2 = 1*value
  2665. elseif type == "Divide" then
  2666. scaler2 = 1/value
  2667. end
  2668. coroutine.resume(coroutine.create(function()
  2669. for i = 0,10,0.1 do
  2670. swait()
  2671. if type == "Add" then
  2672. scaler2 = scaler2 - 0.01*value
  2673. elseif type == "Divide" then
  2674. scaler2 = scaler2 - 0.01/value
  2675. end
  2676. rng.Transparency = rng.Transparency + 0.01
  2677. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2678. end
  2679. rng:Destroy()
  2680. end))
  2681. end
  2682.  
  2683. function wind(type,pos,scale,value,speed)
  2684. local type = type
  2685. local rng = Instance.new("Part", char)
  2686. rng.Anchored = true
  2687. rng.BrickColor = origcolor
  2688. rng.CanCollide = false
  2689. rng.FormFactor = 3
  2690. rng.Name = "Ring"
  2691. rng.Size = Vector3.new(1, 1, 1)
  2692. rng.Transparency = 0
  2693. rng.TopSurface = 0
  2694. rng.BottomSurface = 0
  2695. rng.CFrame = pos
  2696. local rngm = Instance.new("SpecialMesh", rng)
  2697. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2698. rngm.Scale = scale
  2699. local scaler2 = 1
  2700. if type == "Add" then
  2701. scaler2 = 1*value
  2702. elseif type == "Divide" then
  2703. scaler2 = 1/value
  2704. end
  2705. coroutine.resume(coroutine.create(function()
  2706. for i = 0,10,0.1 do
  2707. swait()
  2708. if type == "Add" then
  2709. scaler2 = scaler2 - 0.01*value
  2710. elseif type == "Divide" then
  2711. scaler2 = scaler2 - 0.01/value
  2712. end
  2713. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2714. rng.Transparency = rng.Transparency + 0.01
  2715. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2716. end
  2717. rng:Destroy()
  2718. end))
  2719. end
  2720.  
  2721. function groundwind(type,pos,scale,value,speed)
  2722. local type = type
  2723. local rng = Instance.new("Part", char)
  2724. rng.Anchored = true
  2725. rng.BrickColor = origcolor
  2726. rng.CanCollide = false
  2727. rng.FormFactor = 3
  2728. rng.Name = "Ring"
  2729. rng.Size = Vector3.new(1, 1, 1)
  2730. rng.Transparency = 0
  2731. rng.TopSurface = 0
  2732. rng.BottomSurface = 0
  2733. rng.CFrame = pos
  2734. local rngm = Instance.new("SpecialMesh", rng)
  2735. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2736. rngm.Scale = scale
  2737. local scaler2 = 1
  2738. if type == "Add" then
  2739. scaler2 = 1*value
  2740. elseif type == "Divide" then
  2741. scaler2 = 1/value
  2742. end
  2743. coroutine.resume(coroutine.create(function()
  2744. for i = 0,10,0.1 do
  2745. swait()
  2746. if type == "Add" then
  2747. scaler2 = scaler2 - 0.01*value
  2748. elseif type == "Divide" then
  2749. scaler2 = scaler2 - 0.01/value
  2750. end
  2751. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2752. rng.Transparency = rng.Transparency + 0.01
  2753. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2754. end
  2755. rng:Destroy()
  2756. end))
  2757. end
  2758.  
  2759. function CameraManager()
  2760. if TwoD and not CamInterrupt then
  2761. if Humanoid.Health > 0 then
  2762. Camera.CameraSubject = Humanoid
  2763. Camera.CameraType = "Scriptable"
  2764. Humanoid.AutoRotate = false
  2765. if Booleans.GyroUse then
  2766. Directer.MaxTorque = Vec3(0, huge, 0)
  2767. else
  2768. Directer.MaxTorque = Vec3(0, 0, 0)
  2769. end
  2770. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2771. if Booleans.CamFollow then
  2772. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2773. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2774. else
  2775. CPart.Position = RootPart.Position
  2776. end
  2777. else
  2778. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2779. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2780. end
  2781. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2782. else
  2783. Camera.CameraSubject = Humanoid
  2784. Camera.CameraType = "Custom"
  2785. Controller.Disabled = false
  2786. end
  2787. end
  2788. end
  2789.  
  2790. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2791. local type = type
  2792. local rng = Instance.new("Part", char)
  2793. rng.Anchored = true
  2794. rng.BrickColor = color
  2795. rng.CanCollide = false
  2796. rng.FormFactor = 3
  2797. rng.Name = "Ring"
  2798. rng.Material = "Neon"
  2799. rng.Size = Vector3.new(1, 1, 1)
  2800. rng.Transparency = 0
  2801. rng.TopSurface = 0
  2802. rng.BottomSurface = 0
  2803. rng.CFrame = pos
  2804. local rngm = Instance.new("SpecialMesh", rng)
  2805. rngm.MeshType = "Sphere"
  2806.  
  2807.  
  2808. if(heart)then
  2809. rngm.MeshType = Enum.MeshType.FileMesh
  2810. rngm.MeshId = "rbxassetid://105992239"
  2811. rngm.Offset = Vector3.new(0,0,-.25)
  2812. end
  2813. rngm.Scale = scale
  2814. if rainbowmode == true and not notaffectbychaosrainbow then
  2815. rng.Color = Color3.new(r/255,g/255,b/255)
  2816. end
  2817. local scaler2 = 1
  2818. if type == "Add" then
  2819. scaler2 = 1*value
  2820. elseif type == "Divide" then
  2821. scaler2 = 1/value
  2822. end
  2823. coroutine.resume(coroutine.create(function()
  2824. for i = 0,10/bonuspeed,0.1 do
  2825. swait()
  2826. if rainbowmode == true and not notaffectbychaosrainbow then
  2827. rng.Color = Color3.new(r/255,g/255,b/255)
  2828. end
  2829. if type == "Add" then
  2830. scaler2 = scaler2 - 0.01*value/bonuspeed
  2831. elseif type == "Divide" then
  2832. scaler2 = scaler2 - 0.01/value*bonuspeed
  2833. end
  2834. if chaosmode == true and not notaffectbychaosrainbow then
  2835. rng.BrickColor = BrickColor.random()
  2836. end
  2837. if glitchymode then
  2838. local val = math.random(1,255)
  2839. local color = Color3.fromRGB(val,val,val)
  2840. rng.Color = color
  2841. end
  2842. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2843. if(invert)then
  2844. if(heart)then
  2845. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2846. else
  2847. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2848. end
  2849. else
  2850. if(heart)then
  2851. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2852. else
  2853. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2854. end
  2855. end
  2856. rng.CFrame = pos
  2857. end
  2858. rng:Destroy()
  2859. end))
  2860. end
  2861.  
  2862. function newBezier(startpos, pos2, pos3, endpos, t)
  2863. local A = clerp(startpos, pos2, t)
  2864. local B = clerp(pos2, pos3, t)
  2865. local C = clerp(pos3, endpos, t)
  2866. local lerp1 = clerp(A, B, t)
  2867. local lerp2 = clerp(B, C, t)
  2868. local cubic = clerp(lerp1, lerp2, t)
  2869. return cubic
  2870. end
  2871.  
  2872.  
  2873. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2874. local type = type
  2875. local rng = Instance.new("Part", char)
  2876. rng.Anchored = true
  2877. rng.BrickColor = color
  2878. rng.CanCollide = false
  2879. rng.FormFactor = 3
  2880. rng.Name = "Ring"
  2881. rng.Material = "Neon"
  2882. rng.Size = Vector3.new(1, 1, 1)
  2883. rng.Transparency = 0
  2884. rng.TopSurface = 0
  2885. rng.BottomSurface = 0
  2886. rng.CFrame = pos
  2887. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2888. local rngm = Instance.new("SpecialMesh", rng)
  2889. rngm.MeshType = "Brick"
  2890. if(heart)then
  2891. rngm.MeshType = Enum.MeshType.FileMesh
  2892. rngm.MeshId = "rbxassetid://105992239"
  2893. rngm.Offset = Vector3.new(0,0,-.25)
  2894. end
  2895. rngm.Scale = vt(x1,y1,z1)
  2896. if rainbowmode == true then
  2897. rng.Color = Color3.new(r/255,g/255,b/255)
  2898. end
  2899. local scaler2 = 1
  2900. local speeder = FastSpeed/10
  2901. if type == "Add" then
  2902. scaler2 = 1*value
  2903. elseif type == "Divide" then
  2904. scaler2 = 1/value
  2905. end
  2906. coroutine.resume(coroutine.create(function()
  2907. for i = 0,10/bonuspeed,0.1 do
  2908. swait()
  2909. if rainbowmode == true then
  2910. rng.Color = Color3.new(r/255,g/255,b/255)
  2911. end
  2912. if type == "Add" then
  2913. scaler2 = scaler2 - 0.01*value/bonuspeed
  2914. elseif type == "Divide" then
  2915. scaler2 = scaler2 - 0.01/value*bonuspeed
  2916. end
  2917. if chaosmode == true then
  2918. rng.BrickColor = BrickColor.random()
  2919. end
  2920. if glitchymode then
  2921. local val = math.random(1,255)
  2922. local color = Color3.fromRGB(val,val,val)
  2923. rng.Color = color
  2924. end
  2925. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2926. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2927. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2928. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2929. end
  2930. rng:Destroy()
  2931. end))
  2932. end
  2933.  
  2934.  
  2935. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2936. local type = type
  2937. local rng = Instance.new("Part", char)
  2938. rng.Anchored = true
  2939. rng.BrickColor = color
  2940. rng.CanCollide = false
  2941. rng.FormFactor = 3
  2942. rng.Name = "Ring"
  2943. rng.Material = "Neon"
  2944. rng.Size = Vector3.new(1, 1, 1)
  2945. rng.Transparency = 0
  2946. rng.TopSurface = 0
  2947. rng.BottomSurface = 0
  2948. rng.CFrame = pos
  2949. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2950. local rngm = Instance.new("SpecialMesh", rng)
  2951. rngm.MeshType = "Brick"
  2952. if(heart)then
  2953. rngm.MeshType = Enum.MeshType.FileMesh
  2954. rngm.MeshId = "rbxassetid://105992239"
  2955. rngm.Offset = Vector3.new(0,0,-.25)
  2956. end
  2957. rngm.Scale = vt(x1,y1,z1)
  2958. if rainbowmode == true then
  2959. rng.Color = Color3.new(r/255,g/255,b/255)
  2960. end
  2961. local scaler2 = 0
  2962. local speeder = FastSpeed/10
  2963. if type == "Add" then
  2964. scaler2 = 1*value
  2965. elseif type == "Divide" then
  2966. scaler2 = 1/value
  2967. end
  2968. coroutine.resume(coroutine.create(function()
  2969. for i = 0,10/bonuspeed,0.1 do
  2970. swait()
  2971. if rainbowmode == true then
  2972. rng.Color = Color3.new(r/255,g/255,b/255)
  2973. end
  2974. if type == "Add" then
  2975. scaler2 = scaler2 - 0.01*value/bonuspeed
  2976. elseif type == "Divide" then
  2977. scaler2 = scaler2 - 0.01/value*bonuspeed
  2978. end
  2979. if chaosmode == true then
  2980. rng.BrickColor = BrickColor.random()
  2981. end
  2982. if glitchymode then
  2983. local val = math.random(1,255)
  2984. local color = Color3.fromRGB(val,val,val)
  2985. rng.Color = color
  2986. end
  2987. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2988. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2989. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2990. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2991. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2992. end
  2993. rng:Destroy()
  2994. end))
  2995. end
  2996.  
  2997. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2998. local type = type
  2999. local rng = Instance.new("Part", char)
  3000. rng.Anchored = true
  3001. rng.BrickColor = color
  3002. rng.CanCollide = false
  3003. rng.FormFactor = 3
  3004. rng.Name = "Ring"
  3005. rng.Material = "Neon"
  3006. rng.Size = Vector3.new(1, 1, 1)
  3007. rng.Transparency = 0
  3008. rng.TopSurface = 0
  3009. rng.BottomSurface = 0
  3010. rng.CFrame = pos
  3011. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3012. local rngm = Instance.new("SpecialMesh", rng)
  3013. rngm.MeshType = "Sphere"
  3014. rngm.Scale = vt(x1,y1,z1)
  3015. if rainbowmode == true then
  3016. rng.Color = Color3.new(r/255,g/255,b/255)
  3017. end
  3018. local scaler2 = 1
  3019. local speeder = FastSpeed
  3020. if type == "Add" then
  3021. scaler2 = 1*value
  3022. elseif type == "Divide" then
  3023. scaler2 = 1/value
  3024. end
  3025. coroutine.resume(coroutine.create(function()
  3026. for i = 0,10/bonuspeed,0.1 do
  3027. swait()
  3028. if rainbowmode == true then
  3029. rng.Color = Color3.new(r/255,g/255,b/255)
  3030. end
  3031. if type == "Add" then
  3032. scaler2 = scaler2 - 0.01*value/bonuspeed
  3033. elseif type == "Divide" then
  3034. scaler2 = scaler2 - 0.01/value*bonuspeed
  3035. end
  3036. if chaosmode == true then
  3037. rng.BrickColor = BrickColor.random()
  3038. end
  3039. if glitchymode then
  3040. local val = math.random(1,255)
  3041. local color = Color3.fromRGB(val,val,val)
  3042. rng.Color = color
  3043. end
  3044. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3045. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3046. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3047. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3048. end
  3049. rng:Destroy()
  3050. end))
  3051. end
  3052.  
  3053.  
  3054. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3055. local type = type
  3056. local rng = Instance.new("Part", char)
  3057. rng.Anchored = true
  3058. rng.BrickColor = color
  3059. rng.CanCollide = false
  3060. rng.FormFactor = 3
  3061. rng.Name = "Ring"
  3062. rng.Material = "Neon"
  3063. rng.Size = Vector3.new(1, 1, 1)
  3064. rng.Transparency = 1
  3065. rng.TopSurface = 0
  3066. rng.BottomSurface = 0
  3067. rng.CFrame = pos
  3068. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3069. local rngm = Instance.new("SpecialMesh", rng)
  3070. rngm.MeshType = "Sphere"
  3071. rngm.Scale = vt(x1,y1,z1)
  3072. if rainbowmode == true then
  3073. rng.Color = Color3.new(r/255,g/255,b/255)
  3074. end
  3075. local scaler2 = 1
  3076. local speeder = FastSpeed
  3077. if type == "Add" then
  3078. scaler2 = 1*value
  3079. elseif type == "Divide" then
  3080. scaler2 = 1/value
  3081. end
  3082. coroutine.resume(coroutine.create(function()
  3083. for i = 0,10/bonuspeed,0.1 do
  3084. swait()
  3085. if rainbowmode == true then
  3086. rng.Color = Color3.new(r/255,g/255,b/255)
  3087. end
  3088. if type == "Add" then
  3089. scaler2 = scaler2 - 0.01*value/bonuspeed
  3090. elseif type == "Divide" then
  3091. scaler2 = scaler2 - 0.01/value*bonuspeed
  3092. end
  3093. if chaosmode == true then
  3094. rng.BrickColor = BrickColor.random()
  3095. end
  3096. if glitchymode then
  3097. local val = math.random(1,255)
  3098. local color = Color3.fromRGB(val,val,val)
  3099. rng.Color = color
  3100. end
  3101. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3102. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3103. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3104. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3105. end
  3106. rng:Destroy()
  3107. end))
  3108. end
  3109.  
  3110. function dmg(dude)
  3111. if dude.Name ~= Character then
  3112. local bgf = Instance.new("BodyGyro",dude.Head)
  3113. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3114. local val = Instance.new("BoolValue",dude)
  3115. val.Name = "IsHit"
  3116. local ds = coroutine.wrap(function()
  3117. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3118. for i = 1, 10 do
  3119. sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
  3120. end
  3121. dude:WaitForChild("Head"):BreakJoints()
  3122. wait(0.5)
  3123. targetted = nil
  3124. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3125.  
  3126. coroutine.resume(coroutine.create(function()
  3127. for i, v in pairs(dude:GetChildren()) do
  3128. if v:IsA("Accessory") then
  3129. v:Destroy()
  3130. end
  3131. if v:IsA("Humanoid") then
  3132. v:Destroy()
  3133. end
  3134. if v:IsA("CharacterMesh") then
  3135. v:Destroy()
  3136. end
  3137. if v:IsA("Model") then
  3138. v:Destroy()
  3139. end
  3140. if v:IsA("Part") or v:IsA("MeshPart") then
  3141. for x, o in pairs(v:GetChildren()) do
  3142. if o:IsA("Decal") then
  3143. o:Destroy()
  3144. end
  3145. end
  3146. coroutine.resume(coroutine.create(function()
  3147. v.Material = "Neon"
  3148. v.CanCollide = false
  3149. local bld = Instance.new("ParticleEmitter",v)
  3150. bld.LightEmission = 1
  3151. bld.Texture = "rbxassetid://284205403"
  3152. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3153. bld.Rate = 50
  3154. bld.Lifetime = NumberRange.new(1)
  3155. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3156. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3157. bld.Speed = NumberRange.new(0,0)
  3158. bld.VelocitySpread = 50000
  3159. bld.Rotation = NumberRange.new(-500,500)
  3160. bld.RotSpeed = NumberRange.new(-500,500)
  3161. local sbs = Instance.new("BodyPosition", v)
  3162. sbs.P = 3000
  3163. sbs.D = 1000
  3164. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3165. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3166. v.Color = Color3.new(1,1,1)
  3167. coroutine.resume(coroutine.create(function()
  3168. for i = 0, 49 do
  3169. swait(1)
  3170. v.Transparency = v.Transparency + 0.02
  3171. end
  3172. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3173. bld.Speed = NumberRange.new(1,5)
  3174. bld.Acceleration = vt(0,10,0)
  3175. wait(0.5)
  3176. bld.Enabled = false
  3177. wait(3)
  3178. v:Destroy()
  3179. dude:Destroy()
  3180. end))
  3181. end))
  3182. end
  3183. end
  3184. end))
  3185. end)
  3186. ds()
  3187. end
  3188. end
  3189.  
  3190.  
  3191. function FindNearestHead(Position, Distance, SinglePlayer)
  3192. if SinglePlayer then
  3193. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3194. end
  3195. local List = {}
  3196. for i, v in pairs(workspace:GetChildren()) do
  3197. if v:IsA("Model") then
  3198. if v:findFirstChild("Head") then
  3199. if v ~= Character then
  3200. if (v.Head.Position - Position).magnitude <= Distance then
  3201. table.insert(List, v)
  3202. end
  3203. end
  3204. end
  3205. end
  3206. end
  3207. return List
  3208. end
  3209.  
  3210. function FaceMouse()
  3211. Cam = workspace.CurrentCamera
  3212. return {
  3213. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3214. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3215. }
  3216. end
  3217.  
  3218. function FaceMouse2()
  3219. Cam = workspace.CurrentCamera
  3220. return {
  3221. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3222. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3223. }
  3224. end
  3225.  
  3226. local ModeOfGlitch = 1
  3227. -- Functions are ready.
  3228. local storehumanoidWS = 16
  3229.  
  3230. function CorruptBlink()
  3231. for i = 0, 14 do
  3232. 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)
  3233. end
  3234. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3235. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3236. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3237. CameraEnshaking(2,10)
  3238. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3239. if v:FindFirstChild('Head') then
  3240. dmg(v)
  3241. end
  3242. end end
  3243. for i = 0, 14 do
  3244. 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)
  3245. end
  3246. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3247. end
  3248.  
  3249. function ExtinctiveHeartbreak()
  3250. local targetted = nil
  3251. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3252. targetted = mouse.Target.Parent
  3253. end
  3254. if targetted ~= nil then
  3255. attack = true
  3256. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3257. for i = 0, 9 do
  3258. 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 black"),0)
  3259. end
  3260. for i = 0, 24 do
  3261. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3262. end
  3263. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3264. local originalpos = root.CFrame
  3265. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3266. for i = 0, 9 do
  3267. 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 black"),0)
  3268. end
  3269. for i = 0, 24 do
  3270. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3271. end
  3272. hum.WalkSpeed = 90
  3273. targetted.Head.Anchored = true
  3274. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3275. for i = 0,2,0.1 do
  3276. swait()
  3277. 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)),.4)
  3278. 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)
  3279. 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)
  3280. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3281. 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)
  3282. 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)
  3283. end
  3284. coroutine.resume(coroutine.create(function()
  3285. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3286. bld.LightEmission = 0.1
  3287. bld.Texture = "rbxassetid://284205403"
  3288. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3289. bld.Rate = 500
  3290. bld.Lifetime = NumberRange.new(1)
  3291. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3292. bld.Acceleration = vt(0,-25,0)
  3293. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3294. bld.Speed = NumberRange.new(10,50)
  3295. bld.EmissionDirection = "Front"
  3296. bld.VelocitySpread = 25
  3297. bld.Rotation = NumberRange.new(-500,500)
  3298. bld.RotSpeed = NumberRange.new(-500,500)
  3299. end))
  3300. coroutine.resume(coroutine.create(function()
  3301. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3302. bld.LightEmission = 0.1
  3303. bld.Texture = "rbxassetid://284205403"
  3304. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3305. bld.Rate = 500
  3306. bld.Lifetime = NumberRange.new(1)
  3307. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3308. bld.Acceleration = vt(0,-25,0)
  3309. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3310. bld.Speed = NumberRange.new(10,50)
  3311. bld.EmissionDirection = "Front"
  3312. bld.VelocitySpread = 25
  3313. bld.Rotation = NumberRange.new(-500,500)
  3314. bld.RotSpeed = NumberRange.new(-500,500)
  3315. end))
  3316. CameraEnshaking(5,5)
  3317. game:GetService("Debris"):AddItem(bld,3)
  3318. dmg(targetted)
  3319. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3320. for i = 0,1,0.1 do
  3321. swait()
  3322. 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)
  3323. 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)),.8)
  3324. 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)
  3325. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3326. 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)
  3327. 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)
  3328. end
  3329. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3330. for i = 0, 9 do
  3331. 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 black"),0)
  3332. end
  3333. for i = 0, 24 do
  3334. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3335. end
  3336. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3337. root.CFrame = originalpos
  3338. for i = 0, 9 do
  3339. 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 black"),0)
  3340. end
  3341. for i = 0, 24 do
  3342. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3343. end
  3344. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3345. bld.Enabled = false
  3346. attack = false
  3347. hum.WalkSpeed = storehumanoidWS
  3348. end
  3349. end
  3350. function PureBomb()
  3351. attack = true
  3352.  
  3353. local orb = Instance.new("Part", char)
  3354. orb.Anchored = true
  3355. orb.BrickColor = BrickColor.new("Toothpaste")
  3356. orb.CanCollide = false
  3357. orb.FormFactor = 3
  3358. orb.Name = "Ring"
  3359. orb.Material = "Neon"
  3360. orb.Size = Vector3.new(1, 1, 1)
  3361. orb.Transparency = 0
  3362. orb.TopSurface = 0
  3363. orb.BottomSurface = 0
  3364. local orbm = Instance.new("SpecialMesh", orb)
  3365. orbm.MeshType = "Sphere"
  3366. orbm.Name = "SizeMesh"
  3367. orbm.Scale = vt(0,0,0)
  3368. local scaled = 0.1
  3369. local posid = 0
  3370. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3371. for i = 0, 5, 0.1 do
  3372. swait()
  3373. scaled = scaled - 0.001
  3374. posid = posid - scaled
  3375. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3376. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3377. 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)
  3378. 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)
  3379. 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)
  3380. 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)
  3381. 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)
  3382. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3383. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3384. 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)
  3385. end
  3386. for i = 0, 2, 0.1 do
  3387. swait()
  3388. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3389. 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)
  3390. 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)
  3391. 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)
  3392. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3393. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3394. 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)
  3395. end
  3396. coroutine.resume(coroutine.create(function()
  3397. orb.Anchored = false
  3398. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3399. local a = Instance.new("Part",workspace)
  3400. a.Name = "Direction"
  3401. a.Anchored = true
  3402. a.BrickColor = bc("Bright red")
  3403. a.Material = "Neon"
  3404. a.Transparency = 1
  3405. a.CanCollide = false
  3406. local ray = Ray.new(
  3407. orb.CFrame.p, -- origin
  3408. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3409. )
  3410. local ignore = orb
  3411. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3412. a.BottomSurface = 10
  3413. a.TopSurface = 10
  3414. local distance = (orb.CFrame.p - position).magnitude
  3415. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3416. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3417. orb.CFrame = a.CFrame
  3418. a:Destroy()
  3419. local bv = Instance.new("BodyVelocity")
  3420. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3421. bv.velocity = orb.CFrame.lookVector*125
  3422. bv.Parent = orb
  3423. local hitted = false
  3424. game:GetService("Debris"):AddItem(orb, 15)
  3425. wait()
  3426. local hit =orb.Touched:connect(function(hit)
  3427. if hitted == false then
  3428. hitted = true
  3429. CameraEnshaking(10,2.5)
  3430. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3431. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3432. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3433. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3434. for i = 0, 49 do
  3435. 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)
  3436. end
  3437. for i = 0, 9 do
  3438. 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)
  3439. 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)
  3440. end
  3441. orb.Anchored = true
  3442. orb.Transparency = 1
  3443. wait(8)
  3444. orb:Destroy()
  3445. end
  3446. end)
  3447. end))
  3448. for i = 0, 1, 0.1 do
  3449. swait()
  3450. 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)
  3451. 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)
  3452. 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)
  3453. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3454. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3455. 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)
  3456. end
  3457. attack = false
  3458. end
  3459.  
  3460. function ClarityBomb()
  3461. attack = true
  3462.  
  3463. local orb = Instance.new("Part", char)
  3464. orb.Anchored = true
  3465. orb.BrickColor = BrickColor.new("Toothpaste")
  3466. orb.CanCollide = false
  3467. orb.FormFactor = 3
  3468. orb.Name = "Ring"
  3469. orb.Material = "Neon"
  3470. orb.Size = Vector3.new(1, 1, 1)
  3471. orb.Transparency = 0
  3472. orb.TopSurface = 0
  3473. orb.BottomSurface = 0
  3474. local orbm = Instance.new("SpecialMesh", orb)
  3475. orbm.MeshType = "Sphere"
  3476. orbm.Name = "SizeMesh"
  3477. orbm.Scale = vt(0,0,0)
  3478. local scaled = 0.1
  3479. local posid = 0
  3480. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3481. for i = 0, 5, 0.1 do
  3482. swait()
  3483. scaled = scaled - 0.001
  3484. posid = posid - scaled
  3485. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3486. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3487. 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)
  3488. 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)
  3489. 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)
  3490. 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)
  3491. 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)
  3492. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3493. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3494. 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)
  3495. end
  3496. for i = 0, 2, 0.1 do
  3497. swait()
  3498. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3499. 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)
  3500. 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)
  3501. 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)
  3502. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3503. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3504. 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)
  3505. end
  3506. coroutine.resume(coroutine.create(function()
  3507. orb.Anchored = false
  3508. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3509. local a = Instance.new("Part",workspace)
  3510. a.Name = "Direction"
  3511. a.Anchored = true
  3512. a.BrickColor = bc("Bright red")
  3513. a.Material = "Neon"
  3514. a.Transparency = 1
  3515. a.CanCollide = false
  3516. local ray = Ray.new(
  3517. orb.CFrame.p, -- origin
  3518. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3519. )
  3520. local ignore = orb
  3521. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3522. a.BottomSurface = 10
  3523. a.TopSurface = 10
  3524. local distance = (orb.CFrame.p - position).magnitude
  3525. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3526. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3527. orb.CFrame = a.CFrame
  3528. a:Destroy()
  3529. local bv = Instance.new("BodyVelocity")
  3530. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3531. bv.velocity = orb.CFrame.lookVector*125
  3532. bv.Parent = orb
  3533. local hitted = false
  3534. game:GetService("Debris"):AddItem(orb, 15)
  3535. wait()
  3536. local hit =orb.Touched:connect(function(hit)
  3537. if hitted == false then
  3538. hitted = true
  3539. CameraEnshaking(10,2.5)
  3540. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3541. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3542. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3543. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3544. for i = 0, 49 do
  3545. 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)
  3546. end
  3547. for i = 0, 9 do
  3548. 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)
  3549. 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)
  3550. end
  3551. orb.Anchored = true
  3552. orb.Transparency = 1
  3553. wait(8)
  3554. orb:Destroy()
  3555. end
  3556. end)
  3557. end))
  3558. for i = 0, 1, 0.1 do
  3559. swait()
  3560. 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)
  3561. 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)
  3562. 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)
  3563. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3564. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3565. 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)
  3566. end
  3567. attack = false
  3568. end
  3569.  
  3570. function ChaosGroundStrike()
  3571. attack = true
  3572. for i = 0, 2, 0.1 do
  3573. swait()
  3574. 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)
  3575. 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)
  3576. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3577. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3578. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3579. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3580. end
  3581. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3582. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3583. CameraEnshaking(4,12)
  3584. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3585. if v:FindFirstChild('Head') then
  3586. dmg(v)
  3587. end
  3588. end
  3589. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3590. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3591. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3592. for i = 0, 2, 0.1 do
  3593. swait()
  3594. 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)
  3595. 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)
  3596. 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)
  3597. 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)
  3598. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3599. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3600. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3601. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3602. end
  3603. attack = false
  3604. end
  3605.  
  3606. function InsaneGroundStrike()
  3607. attack = true
  3608. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3609. for i = 0, 8, 0.1 do
  3610. swait()
  3611. PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*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)
  3612.  
  3613. 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)
  3614. 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)
  3615. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3616. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3617. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3618. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3619. end
  3620. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3621. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3622. CameraEnshaking(8,24)
  3623. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3624. if v:FindFirstChild('Head') then
  3625. dmg(v)
  3626. end
  3627. end
  3628. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3629. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3630. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3631. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3632. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3633. for i = 0, 2, 0.1 do
  3634. swait()
  3635. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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)
  3636. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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)
  3637. 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)
  3638. 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)
  3639. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3641. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3642. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3643. end
  3644. attack = false
  3645. end
  3646.  
  3647. function DesGroundStrike()
  3648. attack = true
  3649. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3650. for i = 0, 8, 0.1 do
  3651. swait()
  3652. PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*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)
  3653.  
  3654. 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)
  3655. 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)
  3656. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3657. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3658. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3659. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3660. end
  3661. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3662. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3663. CameraEnshaking(8,24)
  3664. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3665. if v:FindFirstChild('Head') then
  3666. dmg(v)
  3667. end
  3668. end
  3669. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3670. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3671. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3672. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3673. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3674. for i = 0, 2, 0.1 do
  3675. swait()
  3676. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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)
  3677. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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)
  3678. 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)
  3679. 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)
  3680. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3681. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3682. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3683. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3684. end
  3685. attack = false
  3686. end
  3687.  
  3688. function Starfall()
  3689. attack = true
  3690. hum.WalkSpeed = 90
  3691. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3692. for i = 0, 5, 0.1 do
  3693. swait()
  3694. 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)
  3695. 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)
  3696. 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)
  3697. 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)
  3698. 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)
  3699. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3700. 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)
  3701. 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)
  3702. end
  3703. local Overed = false
  3704. CameraEnshaking(2,20)
  3705. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3706. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3707. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3708. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3709. local orb = Instance.new("Part", char)
  3710. orb.Anchored = true
  3711. orb.BrickColor = BrickColor.new("Toothpaste")
  3712. orb.CanCollide = false
  3713. orb.FormFactor = 3
  3714. orb.Name = "Remenant"
  3715. orb.Material = "Neon"
  3716. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3717. orb.Size = Vector3.new(1, 1, 1)
  3718. orb.Transparency = 1
  3719. orb.TopSurface = 0
  3720. orb.BottomSurface = 0
  3721. hum.WalkSpeed = storehumanoidWS
  3722. coroutine.resume(coroutine.create(function()
  3723. for i = 0, 9 do
  3724. swait(10)
  3725. local lb = Instance.new("Part")
  3726. lb.Color = MAINRUINCOLOR.Color
  3727. lb.CanCollide = false
  3728. lb.Material = "Neon"
  3729. lb.Anchored = true
  3730. lb.TopSurface = 0
  3731. lb.BottomSurface = 0
  3732. lb.Transparency = 0
  3733. lb.Size = vt(1,1,1)
  3734. 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)))
  3735. lb.Anchored = false
  3736. lb.Parent = char
  3737. local thingery = Instance.new("SpecialMesh",lb)
  3738. thingery.MeshType = "Sphere"
  3739. thingery.Scale = vt(20,20,20)
  3740. game:GetService("Debris"):AddItem(lb, 10)
  3741. local bv = Instance.new("BodyVelocity")
  3742. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3743. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3744. bv.Parent = lb
  3745. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3746. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3747. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3748. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3749. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3750. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3751. local hitted = false
  3752. coroutine.resume(coroutine.create(function()
  3753. while true do
  3754. swait(1)
  3755. if lb.Parent ~= nil and hitted == false then
  3756. 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)
  3757. elseif lb.Parent == nil then
  3758. break
  3759. end
  3760. end
  3761. end))
  3762.  
  3763. game:GetService("Debris"):AddItem(a, 0.1)
  3764.  
  3765. coroutine.resume(coroutine.create(function()
  3766. swait(1)
  3767. lb.Touched:connect(function(hit)
  3768. if hitted == false then
  3769. hitted = true
  3770. lb.Transparency = 1
  3771. lb.Anchored = true
  3772. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3773. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3774. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3775. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3776. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3777. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3778. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3779. CameraEnshaking(1,5)
  3780. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3781. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3782. for i = 0, 9 do
  3783. 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)
  3784. end
  3785. for i = 0, 49 do
  3786. swait()
  3787. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3788. 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)
  3789. end
  3790. end
  3791. end)
  3792. end))
  3793. end
  3794. Overed = true
  3795. orb:Destroy()
  3796. end))
  3797.  
  3798. attack = false
  3799. end
  3800.  
  3801. function Desfall()
  3802. attack = true
  3803. hum.WalkSpeed = 90
  3804. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3805. for i = 0, 5, 0.1 do
  3806. swait()
  3807. 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)
  3808. 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)
  3809. 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)
  3810. 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)
  3811. 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)
  3812. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3813. 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)
  3814. 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)
  3815. end
  3816. local Overed = false
  3817. CameraEnshaking(2,20)
  3818. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3819. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3820. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3821. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3822. local orb = Instance.new("Part", char)
  3823. orb.Anchored = true
  3824. orb.BrickColor = BrickColor.new("Toothpaste")
  3825. orb.CanCollide = false
  3826. orb.FormFactor = 3
  3827. orb.Name = "Remenant"
  3828. orb.Material = "Neon"
  3829. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3830. orb.Size = Vector3.new(1, 1, 1)
  3831. orb.Transparency = 1
  3832. orb.TopSurface = 0
  3833. orb.BottomSurface = 0
  3834. hum.WalkSpeed = storehumanoidWS
  3835. coroutine.resume(coroutine.create(function()
  3836. for i = 0, 9 do
  3837. swait(10)
  3838. local lb = Instance.new("Part")
  3839. lb.Color = MAINRUINCOLOR.Color
  3840. lb.CanCollide = false
  3841. lb.Material = "Neon"
  3842. lb.Anchored = true
  3843. lb.TopSurface = 0
  3844. lb.BottomSurface = 0
  3845. lb.Transparency = 0
  3846. lb.Size = vt(1,1,1)
  3847. 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)))
  3848. lb.Anchored = false
  3849. lb.Parent = char
  3850. local thingery = Instance.new("SpecialMesh",lb)
  3851. thingery.MeshType = "Sphere"
  3852. thingery.Scale = vt(20,20,20)
  3853. game:GetService("Debris"):AddItem(lb, 10)
  3854. local bv = Instance.new("BodyVelocity")
  3855. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3856. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3857. bv.Parent = lb
  3858. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3859. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3860. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3861. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3862. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3863. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3864. local hitted = false
  3865. coroutine.resume(coroutine.create(function()
  3866. while true do
  3867. swait(1)
  3868. if lb.Parent ~= nil and hitted == false then
  3869. 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)
  3870. elseif lb.Parent == nil then
  3871. break
  3872. end
  3873. end
  3874. end))
  3875.  
  3876. game:GetService("Debris"):AddItem(a, 0.1)
  3877.  
  3878. coroutine.resume(coroutine.create(function()
  3879. swait(1)
  3880. lb.Touched:connect(function(hit)
  3881. if hitted == false then
  3882. hitted = true
  3883. lb.Transparency = 1
  3884. lb.Anchored = true
  3885. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3886. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3887. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3888. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3889. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3890. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3891. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3892. CameraEnshaking(1,5)
  3893. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3894. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3895. for i = 0, 9 do
  3896. 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)
  3897. end
  3898. for i = 0, 49 do
  3899. swait()
  3900. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3901. 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)
  3902. end
  3903. end
  3904. end)
  3905. end))
  3906. end
  3907. Overed = true
  3908. orb:Destroy()
  3909. end))
  3910.  
  3911. attack = false
  3912. end
  3913.  
  3914. function StarfallEX()
  3915. attack = true
  3916. hum.WalkSpeed = 90
  3917. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3918. for i = 0, 5, 0.1 do
  3919. swait()
  3920. 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)
  3921. 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)
  3922. 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)
  3923. 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)
  3924. 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)
  3925. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3926. 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)
  3927. 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)
  3928. end
  3929. local Overed = false
  3930. CameraEnshaking(2,20)
  3931. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3932. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3933. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3934. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3935. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3936. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3937. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3938. local orb = Instance.new("Part", char)
  3939. orb.Anchored = true
  3940. orb.BrickColor = BrickColor.new("Toothpaste")
  3941. orb.CanCollide = false
  3942. orb.FormFactor = 3
  3943. orb.Name = "Remenant"
  3944. orb.Material = "Neon"
  3945. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3946. orb.Size = Vector3.new(1, 1, 1)
  3947. orb.Transparency = 1
  3948. orb.TopSurface = 0
  3949. orb.BottomSurface = 0
  3950. hum.WalkSpeed = storehumanoidWS
  3951. coroutine.resume(coroutine.create(function()
  3952. for i = 0, 9 do
  3953. swait(10)
  3954. local lb = Instance.new("Part")
  3955. lb.Color = MAINRUINCOLOR.Color
  3956. lb.CanCollide = false
  3957. lb.Material = "Neon"
  3958. lb.Anchored = true
  3959. lb.TopSurface = 0
  3960. lb.BottomSurface = 0
  3961. lb.Transparency = 0
  3962. lb.Size = vt(1,1,1)
  3963. 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)))
  3964. lb.Anchored = false
  3965. lb.Parent = char
  3966. local thingery = Instance.new("SpecialMesh",lb)
  3967. thingery.MeshType = "Sphere"
  3968. thingery.Scale = vt(20,20,20)
  3969. game:GetService("Debris"):AddItem(lb, 10)
  3970. local bv = Instance.new("BodyVelocity")
  3971. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3972. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3973. bv.Parent = lb
  3974. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3975. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3976. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3977. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3978. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3979. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3980. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3981. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3982. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3983. local hitted = false
  3984. coroutine.resume(coroutine.create(function()
  3985. while true do
  3986. swait(1)
  3987. if lb.Parent ~= nil and hitted == false then
  3988. 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)
  3989. 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)
  3990. elseif lb.Parent == nil then
  3991. break
  3992. end
  3993. end
  3994. end))
  3995.  
  3996. game:GetService("Debris"):AddItem(a, 0.1)
  3997.  
  3998. coroutine.resume(coroutine.create(function()
  3999. swait(1)
  4000. lb.Touched:connect(function(hit)
  4001. if hitted == false then
  4002. hitted = true
  4003. lb.Transparency = 1
  4004. lb.Anchored = true
  4005. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  4006. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  4007. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  4008. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  4009. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  4010. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  4011. MagniDamage(lb, 45, 45,85, 0, "Normal")
  4012. CameraEnshaking(10,5)
  4013. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4014. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4015. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4016. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4017. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4018. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4019. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4020. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4021. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4022. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4023. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4024. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4025. for i = 0, 9 do
  4026. 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)
  4027. 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)
  4028. 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)
  4029. 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)
  4030. 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)
  4031. 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)
  4032. end
  4033. for i = 0, 49 do
  4034. swait()
  4035. MagniDamage(lb, 30, 30, 60, 0, "Normal")
  4036. 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)
  4037. 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)
  4038. 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)
  4039. end
  4040. end
  4041. end)
  4042. end))
  4043. end
  4044. Overed = true
  4045. orb:Destroy()
  4046. end))
  4047.  
  4048. attack = false
  4049. end
  4050.  
  4051. function StarDivision()
  4052. attack = true
  4053. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4054. for i = 0, 2, 0.1 do
  4055. swait()
  4056. 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)
  4057. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  4058. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
  4059. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  4060. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  4061. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4062. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  4063. end
  4064. local orb = Instance.new("Part", char)
  4065. orb.BrickColor = MAINRUINCOLOR
  4066. orb.CanCollide = false
  4067. orb.FormFactor = 3
  4068. orb.Name = "Ring"
  4069. orb.Material = "Neon"
  4070. orb.Size = Vector3.new(1, 1, 1)
  4071. orb.Transparency = 0
  4072. orb.TopSurface = 0
  4073. orb.BottomSurface = 0
  4074. local orbm = Instance.new("SpecialMesh", orb)
  4075. orbm.MeshType = "Sphere"
  4076. orbm.Name = "SizeMesh"
  4077. orbm.Scale = vt(2,2,2)
  4078. local a = Instance.new("Part",workspace)
  4079. a.Name = "Direction"
  4080. a.Anchored = true
  4081. a.BrickColor = bc("Bright red")
  4082. a.Material = "Neon"
  4083. a.Transparency = 1
  4084. a.CanCollide = false
  4085. local ray = Ray.new(
  4086. sorb.CFrame.p, -- origin
  4087. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4088. )
  4089. local ignore = sorb
  4090. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4091. a.BottomSurface = 10
  4092. a.TopSurface = 10
  4093. local distance = (sorb.CFrame.p - position).magnitude
  4094. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4095. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4096. orb.CFrame = a.CFrame
  4097. a:Destroy()
  4098. local bv = Instance.new("BodyVelocity")
  4099. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4100. bv.velocity = orb.CFrame.lookVector*100
  4101. bv.Parent = orb
  4102. local hitted = false
  4103. game:GetService("Debris"):AddItem(orb, 10)
  4104. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4105. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4106. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4107. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4108. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4109. coroutine.resume(coroutine.create(function()
  4110. while true do
  4111. swait(1)
  4112. if orb.Parent ~= nil and hitted == false then
  4113. 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)
  4114. elseif orb.Parent == nil then
  4115. break
  4116. end
  4117. end
  4118. end))
  4119. coroutine.resume(coroutine.create(function()
  4120. swait(1)
  4121. orb.Touched:connect(function(hit)
  4122. if hitted == false then
  4123. hitted = true
  4124. game:GetService("Debris"):AddItem(orb, 5)
  4125. orb.Transparency = 1
  4126. orb.Anchored = true
  4127. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4128. elocacenter.Anchored = true
  4129. elocacenter.CFrame = orb.CFrame
  4130. elocacenter.Orientation = vt(0,0,0)
  4131. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4132. eloca1.Anchored = true
  4133. eloca1.CFrame = elocacenter.CFrame
  4134. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4135. eloca2.Anchored = true
  4136. eloca2.CFrame = elocacenter.CFrame
  4137. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4138. eloca3.Anchored = true
  4139. eloca3.CFrame = elocacenter.CFrame
  4140. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4141. eloca4.Anchored = true
  4142. eloca4.CFrame = elocacenter.CFrame
  4143. local lookavec = 0
  4144. local speeds = 0
  4145. CameraEnshaking(1,1)
  4146. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4147. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4148. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4149. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4150. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4151. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4152. for i = 0, 99 do
  4153. swait()
  4154. lookavec = lookavec + 1
  4155. speeds = speeds + 0.1
  4156. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4157. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4158. 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)
  4159.  
  4160. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4161. 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)
  4162.  
  4163. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4164. 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)
  4165.  
  4166. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4167. 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)
  4168. end
  4169.  
  4170. for i = 0, 149 do
  4171. swait()
  4172. speeds = speeds + 0.1
  4173. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4174. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4175. 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)
  4176.  
  4177. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4178. 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)
  4179.  
  4180. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4181. 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)
  4182.  
  4183. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4184. 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)
  4185. end
  4186. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4187. if v:FindFirstChild('Head') then
  4188. dmg(v)
  4189. end
  4190. end
  4191. CameraEnshaking(7,30)
  4192. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4193. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4194. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4195. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4196. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4197. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4198. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4199. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4200. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4201. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4202. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4203. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4204. for i = 0, 24 do
  4205. 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)
  4206. 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)
  4207. 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)
  4208. 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)
  4209. end
  4210. coroutine.resume(coroutine.create(function()
  4211. for i = 0, 499 do
  4212. swait(1)
  4213. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4214. 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)
  4215. end
  4216. elocacenter:Destroy()
  4217. eloca1:Destroy()
  4218. eloca2:Destroy()
  4219. eloca3:Destroy()
  4220. eloca4:Destroy()
  4221. end))
  4222. end
  4223. end)
  4224. end))
  4225. attack = false
  4226. end
  4227.  
  4228.  
  4229. function GalacticalBeams()
  4230. attack = true
  4231. local keptcolor = MAINRUINCOLOR
  4232. coroutine.resume(coroutine.create(function()
  4233. for i = 0, 0 do
  4234. swait(10)
  4235. local orb = Instance.new("Part", char)
  4236. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  4237. orb.BrickColor = keptcolor
  4238. orb.CanCollide = false
  4239. orb.FormFactor = 3
  4240. orb.Name = "Ring"
  4241. orb.Material = "Neon"
  4242. orb.Size = Vector3.new(1, 1, 1)
  4243. orb.Transparency = 1
  4244. orb.TopSurface = 0
  4245. orb.BottomSurface = 0
  4246. orb.Anchored = true
  4247. local orbm = Instance.new("SpecialMesh", orb)
  4248. orbm.MeshType = "Sphere"
  4249. orbm.Name = "SizeMesh"
  4250. orbm.Scale = vt(1.25,1.25,1.25)
  4251. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  4252. coroutine.resume(coroutine.create(function()
  4253. orb.Transparency = 1
  4254. local a = Instance.new("Part",char)
  4255. a.Name = "Direction"
  4256. a.Anchored = true
  4257. a.BrickColor = keptcolor
  4258. a.Material = "Neon"
  4259. a.Transparency = 1
  4260. a.Shape = "Cylinder"
  4261. local x = Instance.new("Part",char)
  4262. x.Name = "Direction"
  4263. x.Anchored = true
  4264. x.BrickColor = keptcolor
  4265. x.Material = "Neon"
  4266. x.Transparency = 1
  4267. x.Shape = "Cylinder"
  4268. local ht = Instance.new("Part",char)
  4269. ht.Name = "DirectionHit"
  4270. ht.Anchored = true
  4271. ht.BrickColor = keptcolor
  4272. ht.CanCollide = false
  4273. ht.Transparency = 1
  4274. ht.Size = vt(0.1,0.1,0.1)
  4275. a.CanCollide = false
  4276. local ray = Ray.new(
  4277. orb.CFrame.p, -- origin
  4278. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4279. )
  4280. local ignore = char
  4281. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4282. a.BottomSurface = 10
  4283. a.TopSurface = 10
  4284. local distance = (orb.CFrame.p - position).magnitude
  4285. a.Size = Vector3.new(distance,1,1)
  4286. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4287. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4288. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4289. local poste = 0
  4290. local rotation = 0
  4291. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  4292. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  4293. CameraEnshaking(2,2)
  4294. for i = 0, 49 do
  4295. swait()
  4296. rotation = rotation + 5
  4297. poste = poste + 1
  4298. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4299. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4300. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4301. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4302. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4303. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4304. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4305. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4306. end
  4307. local A1 = Instance.new("Attachment",x)
  4308. local A2 = Instance.new("Attachment",ht)
  4309. local Beem = Instance.new("Beam",ht)
  4310. Beem.Attachment0 = A1
  4311. Beem.Attachment1 = A2
  4312. Beem.LightEmission = 1
  4313. Beem.FaceCamera = true
  4314. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  4315. Beem.Width0 = 125
  4316. Beem.Width1 = 125
  4317. Beem.Texture = "rbxassetid://1134824633"
  4318. Beem.TextureMode = "Wrap"
  4319. Beem.TextureLength = 200
  4320. Beem.TextureSpeed = 1.5
  4321. Beem.Color = ColorSequence.new(keptcolor.Color)
  4322. CameraEnshaking(3,6)
  4323. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  4324. a.Transparency = 0.25
  4325. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  4326. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  4327. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4328. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4329. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  4330. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  4331. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  4332. local eff = Instance.new("ParticleEmitter",ht)
  4333. eff.Texture = "rbxassetid://284205403"
  4334. eff.LightEmission = 0.95
  4335. eff.Color = ColorSequence.new(keptcolor.Color)
  4336. eff.Rate = 500
  4337. eff.Lifetime = NumberRange.new(1)
  4338. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4339. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4340. eff.Speed = NumberRange.new(80,500)
  4341. eff.Drag = 5
  4342. eff.Rotation = NumberRange.new(-500,500)
  4343. eff.VelocitySpread = 9000
  4344. eff.RotSpeed = NumberRange.new(-500,500)
  4345. for i = 0, 24 do
  4346. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  4347. local rsiz = math.random(10,50)
  4348. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4349. end
  4350. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4351. local msh = Instance.new("SpecialMesh",a)
  4352. msh.MeshType = "Cylinder"
  4353. msh.Scale = vt(1,15,15)
  4354. for i = 0, 49 do
  4355. swait()
  4356. CameraEnshaking(1,4)
  4357. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  4358. rotation = rotation + 5
  4359. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4360. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  4361. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  4362. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4363. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4364. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4365. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4366. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4367. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4368. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4369. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4370. for i = 0, 2 do
  4371. local rsiz = math.random(50,250)
  4372. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4373. end
  4374. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  4375. end
  4376. eff.Enabled = false
  4377. local visibility = 0
  4378. for i = 0, 49 do
  4379. swait()
  4380. visibility = visibility + 0.02
  4381. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  4382. rotation = rotation + 5
  4383. poste = poste - 1
  4384. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4385. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4386. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4387. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4388. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4389. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4390. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4391. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4392. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  4393. a.Transparency = a.Transparency + 0.02
  4394. end
  4395. wait(1)
  4396. orb:Destroy()
  4397. a:Destroy()
  4398. ht:Destroy()
  4399. end))
  4400. game:GetService("Debris"):AddItem(orb, 10)
  4401. end
  4402. end))
  4403. hum.WalkSpeed = storehumanoidWS
  4404. attack = false
  4405. end
  4406.  
  4407. function UniversalCollapse()
  4408. attack = true
  4409. local speedearn = 0
  4410. hum.WalkSpeed = 90
  4411. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4412. for i = 0, 10, 0.1 do
  4413. swait()
  4414. speedearn = speedearn + 0.1
  4415. 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)
  4416. 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)
  4417. 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)
  4418. 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)
  4419. 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)
  4420. 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)
  4421. 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)
  4422. 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)
  4423. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4424. 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)
  4425. 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)
  4426. end
  4427. CameraEnshaking(5,45)
  4428. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4429. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4430. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4431. if v:FindFirstChild('Head') then
  4432. dmg(v)
  4433. end
  4434. end
  4435. hum.WalkSpeed = storehumanoidWS
  4436. attack = false
  4437. end
  4438.  
  4439. function PurityCollapse()
  4440. attack = true
  4441. local speedearn = 0
  4442. hum.WalkSpeed = 90
  4443. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4444. for i = 0, 10, 0.1 do
  4445. swait()
  4446. speedearn = speedearn + 0.1
  4447. 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)
  4448. 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)
  4449. 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)
  4450. 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)
  4451. 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)
  4452. 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)
  4453. 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)
  4454. 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)
  4455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4456. 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)
  4457. 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)
  4458. end
  4459. CameraEnshaking(5,45)
  4460. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4461. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4462. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4463. if v:FindFirstChild('Head') then
  4464. dmg(v)
  4465. end
  4466. end
  4467. hum.WalkSpeed = storehumanoidWS
  4468. attack = false
  4469. end
  4470.  
  4471. function ChaosBegone()
  4472. attack = true
  4473. local speedearn = 0
  4474. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  4475. for i = 0, 10, 0.1 do
  4476. swait()
  4477. speedearn = speedearn + 0.1
  4478. 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)
  4479. 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)
  4480. 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)
  4481. 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)
  4482. 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)
  4483. 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)
  4484. 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)
  4485. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4486. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4487. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4488. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4489. end
  4490. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4491. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  4492. CameraEnshaking(5,25)
  4493. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4494. if v:FindFirstChild('Head') then
  4495. dmg(v)
  4496. end
  4497. end
  4498. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4499. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4500. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4501. for i = 0, 3, 0.1 do
  4502. swait()
  4503. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4504. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4505. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4506. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4507. 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)
  4508. 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)
  4509. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4510. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4511. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4512. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4513. end
  4514. attack = false
  4515. end
  4516.  
  4517. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4518. local orb = Instance.new("Part", char)
  4519. orb.Anchored = true
  4520. orb.BrickColor = color
  4521. orb.CanCollide = false
  4522. orb.FormFactor = 3
  4523. orb.Name = "Ring"
  4524. orb.Material = "Neon"
  4525. orb.Size = Vector3.new(1, 1, 1)
  4526. orb.Transparency = 0
  4527. orb.TopSurface = 0
  4528. orb.BottomSurface = 0
  4529. local orbm = Instance.new("SpecialMesh", orb)
  4530. orbm.MeshType = "Sphere"
  4531. orb.CFrame = positted
  4532. orbm.Name = "SizeMesh"
  4533. orbm.Scale = vt(1,1,1)
  4534. coroutine.wrap(function()
  4535. while orb and orb.Parent do
  4536. if glitchymode then
  4537. local val = math.random(1,255)
  4538. local color = Color3.fromRGB(val,val,val)
  4539. orb.Color = color
  4540. end
  4541. swait()
  4542. end
  4543. end)()
  4544. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4545. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4546. --[[for i = 0, 2 do
  4547. 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)
  4548. end]]--
  4549. coroutine.resume(coroutine.create(function()
  4550. wait(timer)
  4551. CameraEnshaking(3,ShakePower)
  4552. orb.Transparency = 1
  4553. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4554. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4555. --[[for i = 0, 4 do
  4556. 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)
  4557. end]]--
  4558. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4559. wait(3)
  4560. orb:Destroy()
  4561. end))
  4562. end
  4563.  
  4564. function orb_spawn(positted,timer)
  4565. local orb = Instance.new("Part", char)
  4566. orb.Anchored = true
  4567. orb.BrickColor = BrickColor.new("White")
  4568.  
  4569. orb.CanCollide = false
  4570. orb.FormFactor = 3
  4571. orb.Name = "Ring"
  4572. orb.Material = "Neon"
  4573. orb.Size = Vector3.new(1, 1, 1)
  4574. orb.Transparency = 0
  4575. orb.TopSurface = 0
  4576. orb.BottomSurface = 0
  4577. local orbm = Instance.new("SpecialMesh", orb)
  4578. orbm.MeshType = "Sphere"
  4579. orb.CFrame = positted
  4580. orbm.Name = "SizeMesh"
  4581. orbm.Scale = vt(1,1,1)
  4582. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4583. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4584. coroutine.wrap(function()
  4585. while orb and orb.Parent do
  4586. if glitchymode then
  4587. local val = math.random(1,255)
  4588. local color = Color3.fromRGB(val,val,val)
  4589. orb.Color = color
  4590. end
  4591. swait()
  4592. end
  4593. end)()
  4594. for i = 0, 2 do
  4595. 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)
  4596. end
  4597.  
  4598. coroutine.resume(coroutine.create(function()
  4599. wait(timer)
  4600. CameraEnshaking(3,2)
  4601. orb.Transparency = 1
  4602. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4603. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4604. for i = 0, 4 do
  4605. 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)
  4606. end
  4607. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4608. wait(3)
  4609. orb:Destroy()
  4610. end))
  4611. end
  4612.  
  4613. function BeamOfDeath()
  4614. attack = true
  4615. hum.WalkSpeed = 90
  4616. local keptcolor = MAINRUINCOLOR
  4617. local orb = Instance.new("Part", char)
  4618. orb.BrickColor = keptcolor
  4619. orb.CanCollide = false
  4620. orb.FormFactor = 3
  4621. orb.Name = "Ring"
  4622. orb.Material = "Neon"
  4623. orb.Size = Vector3.new(1, 1, 1)
  4624. orb.Transparency = 1
  4625. orb.TopSurface = 0
  4626. orb.BottomSurface = 0
  4627. local orbm = Instance.new("SpecialMesh", orb)
  4628. orbm.MeshType = "Sphere"
  4629. orbm.Name = "SizeMesh"
  4630. orbm.Scale = vt(22.5,10000,22.5)
  4631. orb.CFrame = mouse.Hit
  4632. orb.Anchored = true
  4633. orb.Orientation = vt(0,0,0)
  4634. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  4635. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  4636. coroutine.resume(coroutine.create(function()
  4637. coroutine.resume(coroutine.create(function()
  4638. for i = 0, 399 do
  4639. swait()
  4640. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  4641. orb.Transparency = orb.Transparency - 0.0025
  4642. end
  4643. end))
  4644. wait(9)
  4645. coroutine.resume(coroutine.create(function()
  4646. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  4647. if hfr ~= nil then
  4648. for i = 0, 49 do
  4649. local deb = Instance.new("Part", char)
  4650. deb.Anchored = true
  4651. deb.CanCollide = false
  4652. deb.FormFactor = 3
  4653. deb.Name = "Ring"
  4654. deb.Material = hitfloor.Material
  4655. deb.Color = hitfloor.Color
  4656. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  4657. deb.Transparency = 0
  4658. deb.TopSurface = 0
  4659. deb.BottomSurface = 0
  4660. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4661. local deb2 = Instance.new("Part", char)
  4662. deb2.CanCollide = false
  4663. deb2.FormFactor = 3
  4664. deb2.Name = "Ring"
  4665. deb2.Material = hitfloor.Material
  4666. deb2.Color = hitfloor.Color
  4667. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  4668. deb2.Transparency = 0
  4669. deb2.TopSurface = 0
  4670. deb2.BottomSurface = 0
  4671. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  4672. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4673. local eff = Instance.new("ParticleEmitter",deb)
  4674. eff.Texture = "rbxassetid://363275192"
  4675. eff.LightEmission = 0.95
  4676. eff.Color = ColorSequence.new(keptcolor.Color)
  4677. eff.Rate = 100
  4678. eff.Lifetime = NumberRange.new(1)
  4679. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  4680. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4681. eff.Speed = NumberRange.new(0,5)
  4682. eff.Rotation = NumberRange.new(-500,500)
  4683. eff.VelocitySpread = 9000
  4684. eff.RotSpeed = NumberRange.new(-10,10)
  4685. local at1 = Instance.new('Attachment',deb2)
  4686. at1.Position = vt(0,15,0)
  4687. local at2 = Instance.new('Attachment',deb2)
  4688. at2.Position = vt(0,-15,0)
  4689. local tl = Instance.new('Trail',deb2)
  4690. tl.Attachment0 = at1
  4691. tl.Attachment1 = at2
  4692. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4693. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  4694. tl.Lifetime = 1
  4695. game:GetService("Debris"):AddItem(deb,30)
  4696. game:GetService("Debris"):AddItem(deb2,30)
  4697. coroutine.resume(coroutine.create(function()
  4698. wait(15)
  4699. eff.Enabled = false
  4700. for i = 0, 49 do
  4701. swait()
  4702. deb.Transparency = deb.Transparency + 0.02
  4703. end
  4704. wait(1)
  4705. deb:Destroy()
  4706. end))
  4707. end
  4708. end
  4709. end))
  4710. for i = 0, 199 do
  4711. swait(1.5)
  4712. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  4713. if v:FindFirstChild('Head') then
  4714. dmg(v)
  4715. end
  4716. end
  4717. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  4718. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  4719. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  4720. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  4721. end
  4722. orb:Destroy()
  4723. end))
  4724. hum.WalkSpeed = storehumanoidWS
  4725. attack = false
  4726. end
  4727.  
  4728. function Beams()
  4729. attack = true
  4730. hum.WalkSpeed = 90
  4731. local keptcolor = MAINRUINCOLOR
  4732. coroutine.resume(coroutine.create(function()
  4733. for i = 0, 24 do
  4734. swait(5)
  4735. local orb = Instance.new("Part", char)
  4736. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  4737. orb.BrickColor = keptcolor
  4738. orb.CanCollide = false
  4739. orb.FormFactor = 3
  4740. orb.Name = "Ring"
  4741. orb.Material = "Neon"
  4742. orb.Size = Vector3.new(1, 1, 1)
  4743. orb.Transparency = 0
  4744. orb.TopSurface = 0
  4745. orb.BottomSurface = 0
  4746. orb.Anchored = true
  4747. local orbm = Instance.new("SpecialMesh", orb)
  4748. orbm.MeshType = "Sphere"
  4749. orbm.Name = "SizeMesh"
  4750. orbm.Scale = vt(1.25,1.25,1.25)
  4751. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  4752. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  4753. coroutine.resume(coroutine.create(function()
  4754. wait(0.5)
  4755. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  4756. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  4757. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  4758. orb.Transparency = 1
  4759. local a = Instance.new("Part",char)
  4760. a.Name = "Direction"
  4761. a.Anchored = true
  4762. a.BrickColor = keptcolor
  4763. a.Material = "Neon"
  4764. a.Transparency = 0.25
  4765. a.Shape = "Cylinder"
  4766. local ht = Instance.new("Part",char)
  4767. ht.Name = "DirectionHit"
  4768. ht.Anchored = true
  4769. ht.BrickColor = keptcolor
  4770. ht.CanCollide = false
  4771. ht.Transparency = 1
  4772. ht.Size = vt(0.1,0.1,0.1)
  4773. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  4774. a.CanCollide = false
  4775. local ray = Ray.new(
  4776. orb.CFrame.p, -- origin
  4777. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  4778. )
  4779. local ignore = char
  4780. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4781. a.BottomSurface = 10
  4782. a.TopSurface = 10
  4783. local distance = (orb.CFrame.p - position).magnitude
  4784. a.Size = Vector3.new(distance,1,1)
  4785. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4786. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4787. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  4788. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  4789. MagniDamage(ht, 9, 10,15, 0, "Normal")
  4790. coroutine.resume(coroutine.create(function()
  4791. local eff = Instance.new("ParticleEmitter",ht)
  4792. eff.Texture = "rbxassetid://284205403"
  4793. eff.LightEmission = 0.95
  4794. eff.Color = ColorSequence.new(keptcolor.Color)
  4795. eff.Rate = 500
  4796. eff.Lifetime = NumberRange.new(0.5)
  4797. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4798. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4799. eff.Speed = NumberRange.new(10,50)
  4800. eff.Drag = 5
  4801. eff.Rotation = NumberRange.new(-500,500)
  4802. eff.VelocitySpread = 9000
  4803. eff.RotSpeed = NumberRange.new(-500,500)
  4804. wait(0.25)
  4805. eff.Enabled = false
  4806. end))
  4807. for i = 0, 4 do
  4808. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  4809. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  4810. local rsiz = math.random(10,30)
  4811. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4812. end
  4813. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4814. local msh = Instance.new("SpecialMesh",a)
  4815. msh.MeshType = "Cylinder"
  4816. msh.Scale = vt(1,1,1)
  4817. for i = 0, 49 do
  4818. swait()
  4819. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  4820. a.Transparency = a.Transparency + 0.02
  4821. end
  4822. orb:Destroy()
  4823. a:Destroy()
  4824. ht:Destroy()
  4825. end))
  4826. game:GetService("Debris"):AddItem(orb, 10)
  4827. end
  4828. end))
  4829. for i = 0,12,0.1 do
  4830. swait()
  4831. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  4832. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  4833. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  4834. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  4835. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  4836. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
  4837. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  4838. end
  4839. hum.WalkSpeed = storehumanoidWS
  4840. attack = false
  4841. end
  4842.  
  4843. function scattercorrupt()
  4844. attack = true
  4845. local rot = 0
  4846. local randomrotations = math.random(1,2)
  4847. local lookv = 2.5
  4848. local power = 5
  4849. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4850. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4851. for i = 0, 9 do
  4852. 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)
  4853. end
  4854. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4855. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4856. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4857. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4858. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4859. local hite = Instance.new("Part", char)
  4860. hite.Anchored = true
  4861. hite.CanCollide = false
  4862. hite.FormFactor = 3
  4863. hite.Name = "Ring"
  4864. hite.Material = "Neon"
  4865. hite.Size = Vector3.new(1, 1, 1)
  4866. hite.Transparency = 1
  4867. hite.TopSurface = 0
  4868. hite.BottomSurface = 0
  4869. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4870. local rem = Instance.new("Part", char)
  4871. rem.Anchored = true
  4872. rem.CanCollide = false
  4873. rem.FormFactor = 3
  4874. rem.Name = "Ring"
  4875. rem.Material = "Neon"
  4876. rem.Size = Vector3.new(1, 1, 1)
  4877. rem.Transparency = 1
  4878. rem.TopSurface = 0
  4879. rem.BottomSurface = 0
  4880. rem.CFrame = hite.CFrame
  4881. local rem2 = rem:Clone()
  4882. rem2.Parent = char
  4883. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4884. local rem3 = rem:Clone()
  4885. rem3.Parent = char
  4886. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4887. local rem4 = rem:Clone()
  4888. rem4.Parent = char
  4889. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4890. hite:Destroy()
  4891. coroutine.resume(coroutine.create(function()
  4892. for i = 0, 24 do
  4893. swait(1)
  4894. if randomrotations == 1 then
  4895. rot = rot + 1
  4896. elseif randomrotations == 2 then
  4897. rot = rot - 1
  4898. end
  4899. power = power + 0.5
  4900. lookv = lookv + 7.5
  4901. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4902. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4903. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4904. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4905. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4906. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4907. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4908. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4909. end
  4910. end))
  4911. attack = false
  4912. end
  4913. function yinyangi()
  4914. attack = true
  4915. for i = 0, 2, 0.1 do
  4916. swait()
  4917. 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)
  4918. 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)
  4919. 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)
  4920. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4921. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4922. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4923. end
  4924. local bv = Instance.new("BodyVelocity")
  4925. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4926. bv.velocity = root.CFrame.lookVector*175
  4927. bv.Parent = root
  4928. for Rotations = 0, 9 do
  4929.  
  4930. for i = 0, 1, 0.5 do
  4931. swait()
  4932. bv.velocity = root.CFrame.lookVector*175
  4933. 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)
  4934. 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)
  4935. 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)
  4936. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4937. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4938. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4939. end
  4940.  
  4941. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4942. for i = 0, 1, 0.5 do
  4943. swait()
  4944. bv.velocity = root.CFrame.lookVector*175
  4945. 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)
  4946. 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)
  4947. 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)
  4948. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4949. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4950. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4951. end
  4952.  
  4953. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4954. for i = 0, 1, 0.5 do
  4955. swait()
  4956. bv.velocity = root.CFrame.lookVector*175
  4957. 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)
  4958. 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)
  4959. 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)
  4960. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4961. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4962. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4963. end
  4964.  
  4965. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4966. for i = 0, 1, 0.5 do
  4967. swait()
  4968. bv.velocity = root.CFrame.lookVector*175
  4969. 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)
  4970. 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)
  4971. 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)
  4972. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4973. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4974. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4975. end
  4976.  
  4977. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4978. end
  4979. bv:Destroy()
  4980. attack = false
  4981. end
  4982.  
  4983. function JusticeBeam()
  4984. attack = true
  4985.  
  4986. local rngb = Instance.new("Part", char)
  4987. rngb.Anchored = true
  4988. rngb.BrickColor = origcolor
  4989. rngb.CanCollide = false
  4990. rngb.FormFactor = 3
  4991. rngb.Name = "Ring"
  4992. rngb.Material = "Neon"
  4993. rngb.Size = Vector3.new(1, 0.05, 1)
  4994. rngb.Transparency = 1
  4995. rngb.TopSurface = 0
  4996. rngb.BottomSurface = 0
  4997. local rngmb = Instance.new("SpecialMesh", rngb)
  4998. rngmb.MeshType = "Brick"
  4999. rngmb.Name = "SizeMesh"
  5000. rngmb.Scale = vt(0,1,0)
  5001.  
  5002. local orb = rngb:Clone()
  5003. orb.Parent = char
  5004. orb.Transparency = 0
  5005. orb.BrickColor = BrickColor.new("White")
  5006. orb.Size = vt(1,1,1)
  5007. local orbmish = orb.SizeMesh
  5008. orbmish.Scale = vt(0,0,0)
  5009. orbmish.MeshType = "Sphere"
  5010.  
  5011. local orbe = rngb:Clone()
  5012. orbe.Parent = char
  5013. orbe.Transparency = 0.5
  5014. orbe.BrickColor = BrickColor.new("New Yeller")
  5015. orbe.Size = vt(1,1,1)
  5016. local orbmish2 = orbe.SizeMesh
  5017. orbmish2.Scale = vt(0,0,0)
  5018. orbmish2.MeshType = "Sphere"
  5019. orbe.Color = Color3.new(1,1,1)
  5020.  
  5021. rngb:Destroy()
  5022. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  5023. local scaled = 1
  5024. for i = 0,5,0.1 do
  5025. swait()
  5026. scaled = scaled - 0.02
  5027. if rainbowmode == true then
  5028. orbe.Color = Color3.new(r/255,g/255,b/255)
  5029. end
  5030. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  5031. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  5032. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5033. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5034. sphereMKCharge(2.5,-0.5,"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,MAINRUINCOLOR,25)
  5035. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5036. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5037. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5038. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5039. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5040. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5041. RootPart.CFrame = FaceMouse()[1]
  5042. end]]--
  5043. for i = 0,5,0.1 do
  5044. swait()
  5045. if rainbowmode == true then
  5046. orbe.Color = Color3.new(r/255,g/255,b/255)
  5047. end
  5048. if glitchymode then
  5049. local val = math.random(1,255)
  5050. local color = Color3.fromRGB(val,val,val)
  5051. orbe.Color = color
  5052. end
  5053. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5054. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5055. 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)
  5056. 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)
  5057. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5058. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  5059. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  5060. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  5061. end
  5062. orbe.Transparency = 1
  5063. orb.Transparency = 1
  5064. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  5065. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  5066. local a2 = Instance.new("Part",Character)
  5067. a2.Name = "Direction"
  5068. a2.Anchored = true
  5069. a2.BrickColor = bc("New Yeller")
  5070. a2.Color = Color3.new(1,1,1)
  5071. a2.Material = "Neon"
  5072. a2.Transparency = 0.5
  5073. a2.Shape = "Cylinder"
  5074. a2.CanCollide = false
  5075. local ba = Instance.new("Part",Character)
  5076. ba.Name = "HitDirect"
  5077. ba.Anchored = true
  5078. ba.BrickColor = bc("Cool yellow")
  5079. ba.Material = "Neon"
  5080. ba.Transparency = 1
  5081. ba.CanCollide = false
  5082. local ray = Ray.new(
  5083. orb.CFrame.p, -- origin
  5084. root.CFrame.lookVector.unit * 1000 -- direction
  5085. )
  5086. local ignore = Character
  5087. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5088. a2.Transparency = .75
  5089. a2.BottomSurface = 10
  5090. a2.TopSurface = 10
  5091. local distance = (orb.CFrame.p - position).magnitude
  5092. a2.Size = Vector3.new(distance, 1, 1)
  5093. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5094. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5095. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5096. game:GetService("Debris"):AddItem(a2, 20)
  5097. game:GetService("Debris"):AddItem(ba, 20)
  5098. local msh2 = Instance.new("SpecialMesh",a2)
  5099. msh2.MeshType = "Cylinder"
  5100. msh2.Scale = vt(1,6*5,6*5)
  5101.  
  5102. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  5103. for i = 1, 80*2 do
  5104. 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)
  5105. 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)
  5106. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5107. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  5108. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  5109. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  5110. swait()
  5111. CameraEnshaking(1,5)
  5112. a2.Color = Color3.new(1,1,1)
  5113. a2.Transparency = .25
  5114. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5115. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5116. ray = Ray.new(
  5117. orb.CFrame.p, -- origin
  5118. root.CFrame.lookVector.unit * 1000 -- direction
  5119. )
  5120. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5121. distance = (orb.CFrame.p - position).magnitude
  5122. if typrot == 1 then
  5123. rotation = rotation + 2.5
  5124. elseif typrot == 2 then
  5125. rotation = rotation - 2.5
  5126. end
  5127. a2.Size = Vector3.new(distance, 1, 1)
  5128. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5129. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5130. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5131. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  5132. 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)
  5133. 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)
  5134. MagniDamage(ba, 30, 5,25, 0, "Normal")
  5135. end
  5136. a2:Destroy()
  5137. ba:Destroy()
  5138. orb:Destroy()
  5139. orbe:Destroy()
  5140. attack = false
  5141. end
  5142.  
  5143. function Wip()
  5144. attack = true
  5145.  
  5146. local rngb = Instance.new("Part", char)
  5147. rngb.Anchored = true
  5148. rngb.BrickColor = origcolor
  5149. rngb.CanCollide = false
  5150. rngb.FormFactor = 3
  5151. rngb.Name = "Ring"
  5152. rngb.Material = "Neon"
  5153. rngb.Size = Vector3.new(1, 0.05, 1)
  5154. rngb.Transparency = 1
  5155. rngb.TopSurface = 0
  5156. rngb.BottomSurface = 0
  5157. local rngmb = Instance.new("SpecialMesh", rngb)
  5158. rngmb.MeshType = "Brick"
  5159. rngmb.Name = "SizeMesh"
  5160. rngmb.Scale = vt(0,1,0)
  5161.  
  5162. local orb = rngb:Clone()
  5163. orb.Parent = char
  5164. orb.Transparency = 0
  5165. orb.BrickColor = BrickColor.new("White")
  5166. orb.Size = vt(1,1,1)
  5167. local orbmish = orb.SizeMesh
  5168. orbmish.Scale = vt(0,0,0)
  5169. orbmish.MeshType = "Sphere"
  5170.  
  5171. local orbe = rngb:Clone()
  5172. orbe.Parent = char
  5173. orbe.Transparency = 0.5
  5174. orbe.BrickColor = BrickColor.new("New Yeller")
  5175. orbe.Size = vt(1,1,1)
  5176. local orbmish2 = orbe.SizeMesh
  5177. orbmish2.Scale = vt(0,0,0)
  5178. orbmish2.MeshType = "Sphere"
  5179. orbe.Color = Color3.new(r/255,g/255,b/255)
  5180.  
  5181. hum.AutoRotate = false
  5182. rngb:Destroy()
  5183. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  5184. local scaled = 1
  5185. for i = 0,5,0.1 do
  5186. swait()
  5187. scaled = scaled - 0.02
  5188. if rainbowmode == true then
  5189. orbe.Color = Color3.new(r/255,g/255,b/255)
  5190. end
  5191. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  5192. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  5193. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5194. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5195. sphereMKCharge(2.5,-0.5,"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,MAINRUINCOLOR,25)
  5196. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5197. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5198. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5199. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5200. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5201. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5202. RootPart.CFrame = FaceMouse()[1]
  5203. end]]--
  5204. for i = 0,5,0.1 do
  5205. swait()
  5206. if rainbowmode == true then
  5207. orbe.Color = Color3.new(r/255,g/255,b/255)
  5208. end
  5209. if glitchymode then
  5210. local val = math.random(1,255)
  5211. local color = Color3.fromRGB(val,val,val)
  5212. orbe.Color = color
  5213. end
  5214. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5215. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5216. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5217. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5218. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5219. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5220. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5221. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5222. RootPart.CFrame = FaceMouse()[1]
  5223. end
  5224. orbe.Transparency = 1
  5225. orb.Transparency = 1
  5226. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  5227. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  5228. local a = Instance.new("Part",Character)
  5229. a.Name = "Direction"
  5230. a.Anchored = true
  5231. a.BrickColor = bc("White")
  5232. a.Material = "Neon"
  5233. a.Transparency = 0
  5234. a.Shape = "Cylinder"
  5235. a.CanCollide = false
  5236. local a2 = Instance.new("Part",Character)
  5237. a2.Name = "Direction"
  5238. a2.Anchored = true
  5239. a2.BrickColor = bc("New Yeller")
  5240. a2.Color = Color3.new(r/255,g/255,b/255)
  5241. a2.Material = "Neon"
  5242. a2.Transparency = 0.5
  5243. a2.Shape = "Cylinder"
  5244. a2.CanCollide = false
  5245. local ba = Instance.new("Part",Character)
  5246. ba.Name = "HitDirect"
  5247. ba.Anchored = true
  5248. ba.BrickColor = bc("Cool yellow")
  5249. ba.Material = "Neon"
  5250. ba.Transparency = 1
  5251. ba.CanCollide = false
  5252. local ray = Ray.new(
  5253. orb.CFrame.p, -- origin
  5254. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5255. )
  5256. local ignore = Character
  5257. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5258. a.BottomSurface = 10
  5259. a.TopSurface = 10
  5260. a2.BottomSurface = 10
  5261. a2.TopSurface = 10
  5262. local distance = (orb.CFrame.p - position).magnitude
  5263. a.Size = Vector3.new(distance, 1, 1)
  5264. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5265. a2.Size = Vector3.new(distance, 1, 1)
  5266. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5267. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5268. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5269. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5270. game:GetService("Debris"):AddItem(a, 20)
  5271. game:GetService("Debris"):AddItem(a2, 20)
  5272. game:GetService("Debris"):AddItem(ba, 20)
  5273. local msh = Instance.new("SpecialMesh",a)
  5274. msh.MeshType = "Cylinder"
  5275. msh.Scale = vt(1,5*5,5*5)
  5276. local msh2 = Instance.new("SpecialMesh",a2)
  5277. msh2.MeshType = "Cylinder"
  5278. msh2.Scale = vt(1,6*5,6*5)
  5279.  
  5280. for i = 0,10,0.1 do
  5281. swait()
  5282. CameraEnshaking(1,5)
  5283. a2.Color = Color3.new(r/255,g/255,b/255)
  5284. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5285. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5286. ray = Ray.new(
  5287. orb.CFrame.p, -- origin
  5288. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5289. )
  5290. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5291. distance = (orb.CFrame.p - position).magnitude
  5292. if typrot == 1 then
  5293. rotation = rotation + 2.5
  5294. elseif typrot == 2 then
  5295. rotation = rotation - 2.5
  5296. end
  5297. RootPart.CFrame = FaceMouse()[1]
  5298. a.Size = Vector3.new(distance, 1, 1)
  5299. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5300. a2.Size = Vector3.new(distance, 1, 1)
  5301. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5302. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5303. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5304. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5305. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  5306. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  5307. 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)
  5308. 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)
  5309. MagniDamage(ba, 30, 5,25, 0, "Normal")
  5310. end
  5311. a:Destroy()
  5312. a2:Destroy()
  5313. ba:Destroy()
  5314. orb:Destroy()
  5315. orbe:Destroy()
  5316. hum.AutoRotate = true
  5317. attack = false
  5318. end
  5319.  
  5320.  
  5321. function UniversalSpark()
  5322. attack = true
  5323.  
  5324. local rngb = Instance.new("Part", char)
  5325. rngb.Anchored = true
  5326. rngb.BrickColor = origcolor
  5327. rngb.CanCollide = false
  5328. rngb.FormFactor = 3
  5329. rngb.Name = "Ring"
  5330. rngb.Material = "Neon"
  5331. rngb.Size = Vector3.new(1, 0.05, 1)
  5332. rngb.Transparency = 1
  5333. rngb.TopSurface = 0
  5334. rngb.BottomSurface = 0
  5335. local rngmb = Instance.new("SpecialMesh", rngb)
  5336. rngmb.MeshType = "Brick"
  5337. rngmb.Name = "SizeMesh"
  5338. rngmb.Scale = vt(0,1,0)
  5339.  
  5340. local orb = rngb:Clone()
  5341. orb.Parent = char
  5342. orb.Transparency = 0
  5343. orb.BrickColor = BrickColor.new("White")
  5344. orb.Size = vt(1,1,1)
  5345. local orbmish = orb.SizeMesh
  5346. orbmish.Scale = vt(0,0,0)
  5347. orbmish.MeshType = "Sphere"
  5348.  
  5349. local orbe = rngb:Clone()
  5350. orbe.Parent = char
  5351. orbe.Transparency = 0.5
  5352. orbe.BrickColor = BrickColor.new("New Yeller")
  5353. orbe.Size = vt(1,1,1)
  5354. local orbmish2 = orbe.SizeMesh
  5355. orbmish2.Scale = vt(0,0,0)
  5356. orbmish2.MeshType = "Sphere"
  5357. orbe.Color = Color3.new(r/255,g/255,b/255)
  5358.  
  5359. rngb:Destroy()
  5360. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  5361. local scaled = 1
  5362. for i = 0,5,0.1 do
  5363. swait()
  5364. scaled = scaled - 0.02
  5365. if rainbowmode == true then
  5366. orbe.Color = Color3.new(r/255,g/255,b/255)
  5367. end
  5368. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  5369. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  5370. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5371. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5372. sphereMKCharge(2.5,-0.5,"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,MAINRUINCOLOR,25)
  5373. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5374. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5375. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5376. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5377. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5378. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5379. RootPart.CFrame = FaceMouse()[1]
  5380. end]]--
  5381. for i = 0,5,0.1 do
  5382. swait()
  5383. if rainbowmode == true then
  5384. orbe.Color = Color3.new(r/255,g/255,b/255)
  5385. end
  5386. if glitchymode then
  5387. local val = math.random(1,255)
  5388. local color = Color3.fromRGB(val,val,val)
  5389. orbe.Color = color
  5390. end
  5391. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5392. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5393. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5394. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5395. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5396. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5397. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5398. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5399. RootPart.CFrame = FaceMouse()[1]
  5400. end
  5401. orbe.Transparency = 1
  5402. orb.Transparency = 1
  5403. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  5404. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  5405. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  5406. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5407.  
  5408. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  5409. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  5410. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5411. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  5412. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  5413. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  5414. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  5415. local xd= Instance.new("Sound",char)
  5416. xd.SoundId = "rbxassetid://445796828"
  5417. xd.Pitch = 0.75
  5418. xd.Looped = true
  5419. xd.Volume = 1.25
  5420. xd:Play()
  5421. local a = Instance.new("Part",Character)
  5422. a.Name = "Direction"
  5423. a.Anchored = true
  5424. a.BrickColor = bc("Alder")
  5425. a.Color = MAINRUINCOLOR.Color
  5426. a.Material = "Neon"
  5427. a.Transparency = 0.5
  5428. a.Shape = "Cylinder"
  5429. a.CanCollide = false
  5430. local a2 = Instance.new("Part",Character)
  5431. a2.Name = "Direction"
  5432. a2.Anchored = true
  5433. a2.BrickColor = bc("New Yeller")
  5434. a2.Color = MAINRUINCOLOR.Color
  5435. a2.Material = "Neon"
  5436. a2.Transparency = 0.5
  5437. a2.Shape = "Cylinder"
  5438. a2.CanCollide = false
  5439. local ba = Instance.new("Part",Character)
  5440. ba.Name = "HitDirect"
  5441. ba.Anchored = true
  5442. ba.BrickColor = bc("Cool yellow")
  5443. ba.Material = "Neon"
  5444. ba.Transparency = 1
  5445. ba.CanCollide = false
  5446. local ray = Ray.new(
  5447. orb.CFrame.p, -- origin
  5448. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5449. )
  5450. local ignore = Character
  5451. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5452. a.BottomSurface = 10
  5453. a.TopSurface = 10
  5454. a2.BottomSurface = 10
  5455. a2.TopSurface = 10
  5456. local distance = (orb.CFrame.p - position).magnitude
  5457. a.Size = Vector3.new(distance, 1, 1)
  5458. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5459. a2.Size = Vector3.new(distance, 1, 1)
  5460. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5461. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5462. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5463. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5464. game:GetService("Debris"):AddItem(a, 60)
  5465. game:GetService("Debris"):AddItem(a2, 60)
  5466. game:GetService("Debris"):AddItem(ba, 60)
  5467. local outerscale = 0
  5468. local msh = Instance.new("SpecialMesh",a)
  5469. msh.MeshType = "Cylinder"
  5470. msh.Scale = vt(1,0,0)
  5471. local msh2 = Instance.new("SpecialMesh",a2)
  5472. msh2.MeshType = "Cylinder"
  5473. msh2.Scale = vt(1,0,0)
  5474. for i = 0,2,0.1 do
  5475. swait()
  5476. CameraEnshaking(1,1)
  5477. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  5478. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  5479. outerscale = outerscale - 0.015
  5480. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5481. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5482. ray = Ray.new(
  5483. orb.CFrame.p, -- origin
  5484. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5485. )
  5486. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5487. distance = (orb.CFrame.p - position).magnitude
  5488. if typrot == 1 then
  5489. rotation = rotation + 2.5
  5490. elseif typrot == 2 then
  5491. rotation = rotation - 2.5
  5492. end
  5493. RootPart.CFrame = FaceMouse()[1]
  5494. a.Size = Vector3.new(distance, 1, 1)
  5495. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5496. a2.Size = Vector3.new(distance, 1, 1)
  5497. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5498. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5499. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5500. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5501. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5502. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5503. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5504. end
  5505. for z = 0, 2 do
  5506. for i = 0,4,0.1 do
  5507. swait()
  5508. CameraEnshaking(1,1)
  5509. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5510. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5511. outerscale = outerscale + 0.015
  5512. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5513. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5514. ray = Ray.new(
  5515. orb.CFrame.p, -- origin
  5516. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5517. )
  5518. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5519. distance = (orb.CFrame.p - position).magnitude
  5520. if typrot == 1 then
  5521. rotation = rotation + 2.5
  5522. elseif typrot == 2 then
  5523. rotation = rotation - 2.5
  5524. end
  5525. RootPart.CFrame = FaceMouse()[1]
  5526. a.Size = Vector3.new(distance, 1, 1)
  5527. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5528. a2.Size = Vector3.new(distance, 1, 1)
  5529. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5530. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5531. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5532. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5533. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5534. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5535. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5536. end
  5537. for i = 0,4,0.1 do
  5538. swait()
  5539. CameraEnshaking(1,1)
  5540. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5541. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5542. outerscale = outerscale - 0.015
  5543. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5544. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5545. ray = Ray.new(
  5546. orb.CFrame.p, -- origin
  5547. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5548. )
  5549. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5550. distance = (orb.CFrame.p - position).magnitude
  5551. if typrot == 1 then
  5552. rotation = rotation + 2.5
  5553. elseif typrot == 2 then
  5554. rotation = rotation - 2.5
  5555. end
  5556. RootPart.CFrame = FaceMouse()[1]
  5557. a.Size = Vector3.new(distance, 1, 1)
  5558. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5559. a2.Size = Vector3.new(distance, 1, 1)
  5560. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5561. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5562. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5563. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5564. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5565. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5566. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5567. end
  5568. end
  5569. for i = 0,4,0.1 do
  5570. swait()
  5571. CameraEnshaking(1,1)
  5572. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5573. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5574. xd.Volume = xd.Volume - 0.025
  5575. a.Transparency = a.Transparency + 0.025
  5576. a2.Transparency = a2.Transparency + 0.025
  5577. outerscale = outerscale - 0.015
  5578. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5579. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5580. ray = Ray.new(
  5581. orb.CFrame.p, -- origin
  5582. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5583. )
  5584. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5585. distance = (orb.CFrame.p - position).magnitude
  5586. if typrot == 1 then
  5587. rotation = rotation + 2.5
  5588. elseif typrot == 2 then
  5589. rotation = rotation - 2.5
  5590. end
  5591. RootPart.CFrame = FaceMouse()[1]
  5592. a.Size = Vector3.new(distance, 1, 1)
  5593. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5594. a2.Size = Vector3.new(distance, 1, 1)
  5595. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5596. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5597. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5598. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5599. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5600. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5601. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5602. end
  5603. xd:Destroy()
  5604. a:Destroy()
  5605. a2:Destroy()
  5606. ba:Destroy()
  5607. orb:Destroy()
  5608. orbe:Destroy()
  5609. attack = false
  5610. end
  5611.  
  5612.  
  5613.  
  5614. function attackone()
  5615. attack = true
  5616. for i = 0,1,0.1 do
  5617. swait()
  5618. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  5619. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  5620. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5621. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5622. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  5623. 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(10)),.2)
  5624. end
  5625. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  5626.  
  5627. local hitb = Instance.new("Part", char)
  5628. hitb.Anchored = true
  5629. hitb.CanCollide = false
  5630. hitb.FormFactor = 3
  5631. hitb.Name = "Ring"
  5632. hitb.Material = "Neon"
  5633. hitb.Size = Vector3.new(1, 1, 1)
  5634. hitb.Transparency = 1
  5635. hitb.TopSurface = 0
  5636. hitb.BottomSurface = 0
  5637. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5638. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5639. hitb:Destroy()
  5640. for i = 0,1,0.1 do
  5641. swait()
  5642. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  5643. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  5644. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  5645. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  5646. RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
  5647. 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(-10)),.4)
  5648. end
  5649.  
  5650. attack = false
  5651. end
  5652.  
  5653. function attacktwo()
  5654. attack = true
  5655. for i = 0,1,0.1 do
  5656. swait()
  5657. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  5658. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  5659. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5660. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5661. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  5662. 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(10)),.2)
  5663. end
  5664. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  5665. local hitb = Instance.new("Part", char)
  5666. hitb.Anchored = true
  5667. hitb.CanCollide = false
  5668. hitb.FormFactor = 3
  5669. hitb.Name = "Ring"
  5670. hitb.Material = "Neon"
  5671. hitb.Size = Vector3.new(1, 1, 1)
  5672. hitb.Transparency = 1
  5673. hitb.TopSurface = 0
  5674. hitb.BottomSurface = 0
  5675. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5676. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5677. hitb:Destroy()
  5678. for i = 0,1,0.1 do
  5679. swait()
  5680. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  5681. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  5682. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  5683. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  5684. 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(-5),math.rad(0),math.rad(-40)),.4)
  5685. 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(-10)),.4)
  5686. end
  5687. attack = false
  5688. end
  5689.  
  5690. function attackthree()
  5691. attack = true
  5692. for i = 0,1,0.1 do
  5693. swait()
  5694. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5695. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5696. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5697. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5698. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5699. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5700. end
  5701. local distlook = 5
  5702. for i = 0, 4 do
  5703. swait(2)
  5704. CameraEnshaking(2,3)
  5705. local hite = Instance.new("Part", char)
  5706. hite.Anchored = true
  5707. hite.CanCollide = false
  5708. hite.FormFactor = 3
  5709. hite.Name = "Ring"
  5710. hite.Material = "Neon"
  5711. hite.Size = Vector3.new(1, 1, 1)
  5712. hite.Transparency = 1
  5713. hite.TopSurface = 0
  5714. hite.BottomSurface = 0
  5715. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5716. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5717. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5718. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5719. for i = 0, 2 do
  5720. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5721. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5722. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5723. end
  5724. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5725. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5726. game:GetService("Debris"):AddItem(hite, 5)
  5727. distlook = distlook + 10
  5728. end
  5729. attack = false
  5730. end
  5731.  
  5732. function FinalCalamity()
  5733. end
  5734.  
  5735. function resetmode()
  5736. rainbowmode = false
  5737. chaosmode = false
  5738. glitchymode = false
  5739. tl1.Enabled = false
  5740. tl2.Enabled = false
  5741. tl3.Enabled = false
  5742. local lust = ModeOfGlitch == 69
  5743. ModeOfGlitch = 1
  5744. storehumanoidWS = 16
  5745. if(not lust)then
  5746. newTheme("rbxassetid://206182947",48.6,1,1)
  5747. end
  5748. coroutine.resume(coroutine.create(function()
  5749. attack = true
  5750. hum.WalkSpeed = 90
  5751. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5752. for i = 0,4,0.1 do
  5753. swait()
  5754. 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)
  5755. 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)
  5756. 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)
  5757. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5758. 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)
  5759. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5760. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5761. end
  5762. if(lust)then
  5763. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5764. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
  5765. for i = 0, 49 do
  5766. PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true)
  5767. end
  5768.  
  5769. for i = 0,4,0.05 do
  5770. swait()
  5771. Pitch = 1-i/4
  5772. 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)
  5773. 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)
  5774. 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)
  5775. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5776. 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)
  5777. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5778. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5779. end
  5780. for i = 0,3,0.1 do
  5781. swait()
  5782. 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)
  5783. 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)
  5784. 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)
  5785. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5786. 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)
  5787. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5788. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5789. end
  5790. newTheme("rbxassetid://206182947",48.6,1,1)
  5791. end
  5792. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5793. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5794. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5795. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5796. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  5797. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  5798. RecolorTextAndRename("XD",Color3.new(0,0,0),Color3.new(1,1,1))
  5799. CameraEnshaking(5,2.5)
  5800. MAINRUINCOLOR = BrickColor.new("Hot pink")
  5801. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5802. for i = 0, 49 do
  5803. 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)
  5804. end
  5805. for i = 0,3,0.1 do
  5806. 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)
  5807. end
  5808. for i, v in pairs(mw2:GetChildren()) do
  5809. if v:IsA("Part") then
  5810. v.BrickColor = BrickColor.new("Hot pink")
  5811. v.Material = "Neon"
  5812. end
  5813. end
  5814. for i, v in pairs(mw1:GetChildren()) do
  5815. if v:IsA("Part") then
  5816. v.Transparency = 1
  5817. v.BrickColor = BrickColor.new("Hot pink")
  5818. v.Material = "Neon"
  5819. end
  5820. end
  5821. for i, v in pairs(m:GetChildren()) do
  5822. if v:IsA("Part") then
  5823. v.BrickColor = BrickColor.new("Hot pink")
  5824. v.Material = "Glass"
  5825. end
  5826. end
  5827. for i, v in pairs(m2:GetChildren()) do
  5828. if v:IsA("Part") then
  5829. v.BrickColor = BrickColor.new("Hot pink")
  5830. v.Material = "Granite"
  5831. end
  5832. end
  5833. for i, v in pairs(m3:GetChildren()) do
  5834. if v:IsA("Part") then
  5835. v.BrickColor = BrickColor.new("Hot pink")
  5836. v.Material = "Neon"
  5837. end
  5838. end
  5839. for i, v in pairs(extrawingmod1:GetChildren()) do
  5840. if v:IsA("Part") then
  5841. v.Transparency = 1
  5842. v.BrickColor = BrickColor.new("Hot pink")
  5843. v.Material = "Neon"
  5844. end
  5845. end
  5846. for i, v in pairs(extrawingmod2:GetChildren()) do
  5847. if v:IsA("Part") then
  5848. v.Transparency = 1
  5849. v.BrickColor = BrickColor.new("Hot pink")
  5850. v.Material = "Neon"
  5851. end
  5852. end
  5853. for i = 0,2,0.1 do
  5854. swait()
  5855. 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)
  5856. 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)
  5857. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5858. 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))),.2)
  5859. 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))),.2)
  5860. 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))),.2)
  5861. end
  5862. hum.WalkSpeed = storehumanoidWS
  5863. attack = false
  5864. end))
  5865. end
  5866.  
  5867. function lustmode()
  5868.  
  5869. ModeOfGlitch = 69
  5870. storehumanoidWS = 16
  5871. rainbowmode = false
  5872. chaosmode = false
  5873. glitchymode = false
  5874. tl1.Enabled = false
  5875. tl2.Enabled = false
  5876. tl3.Enabled = false
  5877. newTheme("rbxassetid://1494622418",0,1,1)
  5878. coroutine.wrap(function()
  5879. attack = true
  5880. hum.WalkSpeed = 99
  5881. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5882. for i = 0,4,0.1 do
  5883. swait()
  5884. 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)
  5885. 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)
  5886. 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)
  5887. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5888. 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)
  5889. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5890. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5891. end
  5892. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5893. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
  5894.  
  5895. for i = 0,4,0.1 do
  5896. swait()
  5897. 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)
  5898. 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)
  5899. 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)
  5900. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5901. 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)
  5902. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5903. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5904. end
  5905. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5906. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5907. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5908. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5909. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
  5910. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
  5911. CameraEnshaking(5,2.5)
  5912. MAINRUINCOLOR = BrickColor.new("Hot pink")
  5913. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5914. for i = 0, 49 do
  5915. 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))),6,6,6,0.12,MAINRUINCOLOR,0,true)
  5916. end
  5917. for i = 0,3,0.1 do
  5918. 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,true)
  5919. end
  5920. RecolorTextAndRename("Loost GUEST",Color3.new(1,1,1),BrickColor.new'Hot pink'.Color)
  5921. for i, v in pairs(mw2:GetChildren()) do
  5922. if v:IsA("Part") then
  5923. v.BrickColor = MAINRUINCOLOR
  5924. v.Material = "Neon"
  5925. end
  5926. end
  5927. for i, v in pairs(mw1:GetChildren()) do
  5928. if v:IsA("Part") then
  5929. v.Transparency = 1
  5930. v.BrickColor = MAINRUINCOLOR
  5931. v.Material = "Neon"
  5932. end
  5933. end
  5934. for i, v in pairs(m:GetChildren()) do
  5935. if v:IsA("Part") then
  5936. v.BrickColor = BrickColor.new("Hot pink")
  5937. v.Material = "Ice"
  5938. end
  5939. end
  5940. for i, v in pairs(m2:GetChildren()) do
  5941. if v:IsA("Part") then
  5942. v.BrickColor = BrickColor.new("Hot pink")
  5943. v.Material = "Glass"
  5944. end
  5945. end
  5946. for i, v in pairs(m3:GetChildren()) do
  5947. if v:IsA("Part") then
  5948. v.BrickColor = BrickColor.new("Hot pink")
  5949. v.Material = "Neon"
  5950. end
  5951. end
  5952. for i, v in pairs(extrawingmod1:GetChildren()) do
  5953. if v:IsA("Part") then
  5954. v.Transparency = 1
  5955. v.BrickColor = BrickColor.new("Hot pink")
  5956. v.Material = "Neon"
  5957. end
  5958. end
  5959. for i, v in pairs(extrawingmod2:GetChildren()) do
  5960. if v:IsA("Part") then
  5961. v.Transparency = 1
  5962. v.BrickColor = BrickColor.new("Hot pink")
  5963. v.Material = "Neon"
  5964. end
  5965. end
  5966. for i = 0,2,0.1 do
  5967. swait()
  5968. 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)
  5969. 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)
  5970. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5971. 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))),.2)
  5972. 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))),.2)
  5973. 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))),.2)
  5974. end
  5975. hum.WalkSpeed = storehumanoidWS
  5976. attack = false
  5977. end)()
  5978. end
  5979.  
  5980. function insanitymode()
  5981. storehumanoidWS = 16
  5982. hum.WalkSpeed = 90
  5983. rainbowmode = false
  5984. glitchymode = false
  5985. chaosmode = true
  5986. tl1.Enabled = true
  5987. tl2.Enabled = true
  5988. tl3.Enabled = true
  5989. local lust = ModeOfGlitch == 69
  5990. newTheme("rbxassetid://919231299",0,1,1)
  5991. coroutine.resume(coroutine.create(function()
  5992. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5993. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5994. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5995. attack = true
  5996. hum.WalkSpeed = 90
  5997. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5998. for i = 0,4,0.1 do
  5999. swait()
  6000. 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)
  6001. 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)
  6002. 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)
  6003. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  6004. 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)
  6005. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  6006. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  6007. end
  6008. for i = 0,8,0.1 do
  6009. swait()
  6010. 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)
  6011. 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,.035,MAINRUINCOLOR,0)
  6012. 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)
  6013. 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)
  6014. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  6015. 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)
  6016. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  6017. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  6018. end
  6019.  
  6020. for i = 0,3,0.1 do
  6021. swait()
  6022. 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)
  6023. 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)
  6024. 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)
  6025. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  6026. 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)
  6027. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  6028. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  6029. end
  6030. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6031. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6032. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6033. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6034. CameraEnshaking(5,2.5)
  6035. MAINRUINCOLOR = BrickColor.new("Black")
  6036. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6037. for i = 0, 49 do
  6038. 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)
  6039. end
  6040. for i = 0,3,0.1 do
  6041. 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)
  6042. end
  6043. ModeOfGlitch = 666666
  6044. for i, v in pairs(mw2:GetChildren()) do
  6045. if v:IsA("Part") then
  6046. v.BrickColor = MAINRUINCOLOR
  6047. v.Material = "Neon"
  6048. end
  6049. end
  6050. for i, v in pairs(mw1:GetChildren()) do
  6051. if v:IsA("Part") then
  6052. v.Transparency = 0.75
  6053. v.BrickColor = BrickColor.random()
  6054. v.Material = "Neon"
  6055. end
  6056. end
  6057. for i, v in pairs(m:GetChildren()) do
  6058. if v:IsA("Part") then
  6059. v.BrickColor = BrickColor.new("Black")
  6060. v.Material = "Neon"
  6061. end
  6062. end
  6063. for i, v in pairs(m2:GetChildren()) do
  6064. if v:IsA("Part") then
  6065. v.BrickColor = BrickColor.random()
  6066. v.Material = "Neon"
  6067. end
  6068. end
  6069. for i, v in pairs(m3:GetChildren()) do
  6070. if v:IsA("Part") then
  6071. v.BrickColor = BrickColor.new("Black")
  6072. v.Material = "Neon"
  6073. end
  6074. end
  6075. for i, v in pairs(extrawingmod1:GetChildren()) do
  6076. if v:IsA("Part") then
  6077. v.Transparency = .75
  6078. v.BrickColor = BrickColor.Random()
  6079. v.Material = "Neon"
  6080. end
  6081. end
  6082. for i, v in pairs(extrawingmod2:GetChildren()) do
  6083. if v:IsA("Part") then
  6084. v.Transparency = 0
  6085. v.BrickColor = BrickColor.new("Black")
  6086. v.Material = "Neon"
  6087. end
  6088. end
  6089. for i = 0,2,0.1 do
  6090. swait()
  6091. 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)
  6092. 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)
  6093. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  6094. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  6095. 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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  6096. 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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  6097. end
  6098. hum.WalkSpeed = storehumanoidWS
  6099. attack = false
  6100. end))
  6101. end
  6102.  
  6103. local attacktype = 1
  6104. mouse.Button1Down:connect(function()
  6105. if attack == false and attacktype == 1 then
  6106. attacktype = 2
  6107. attackone()
  6108. elseif attack == false and attacktype == 2 then
  6109. attacktype = 3
  6110. attacktwo()
  6111. elseif attack == false and attacktype == 3 then
  6112. attacktype = 1
  6113. attackthree()
  6114. elseif attack == false and attacktype == 4 then
  6115. attacktype = 1
  6116. --attackfour()
  6117. end
  6118. end)
  6119.  
  6120. function Judgement()
  6121. attack = true
  6122. hum.WalkSpeed = 90
  6123. local p = Instance.new("Part",root)
  6124. p.Anchored = true
  6125. p.CanCollide = false
  6126. p.BrickColor = MAINRUINCOLOR
  6127. p.Material = Enum.Material.Neon
  6128. p.Size = Vector3.new(1,1,1)
  6129. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  6130. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  6131. local m = Instance.new("SpecialMesh",p)
  6132. m.MeshType = "Cylinder"
  6133. m.Scale = Vector3.new(2000,2,2)
  6134. local targ = Instance.new("Part",root)
  6135. targ.Transparency = 1
  6136. targ.CanCollide = false
  6137. targ.Size = Vector3.new(1,1,1)
  6138. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  6139. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  6140. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  6141. for i = 1,15 do
  6142. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  6143. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  6144. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  6145. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  6146. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  6147. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2)
  6148. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2)
  6149. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  6150. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  6151. m.Scale = m.Scale+Vector3.new(0,1,1)
  6152. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  6153. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  6154. swait()
  6155. end
  6156. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  6157. for i = 1,200 do
  6158. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  6159. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  6160. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  6161. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  6162. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  6163. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  6164. swait()
  6165. end
  6166. for i =1,15 do
  6167. m.Scale = m.Scale-Vector3.new(1,1,1)
  6168. p.Transparency = i / 15
  6169. swait()
  6170. end
  6171. p:Destroy()
  6172. hum.WalkSpeed = storehumanoidWS
  6173. attack = false
  6174. end
  6175.  
  6176. local ODerDB = false
  6177. function ChooseODer()
  6178. if(not ODerDB)then
  6179. coroutine.wrap(function()
  6180.  
  6181. local allowOD = true
  6182. local whom = (mouse.Target and mouse.Target.Parent)
  6183. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  6184. ODerDB = true
  6185. for _,v in next, ODers do
  6186. if(v == whom)then
  6187. print'nO OD SELF'
  6188. allowOD = false
  6189. end
  6190. end
  6191. if(allowOD)then
  6192. local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05))
  6193. local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  6194.  
  6195. ref.CFrame = Torso.CFrame
  6196. ref.Anchored = true
  6197. local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  6198. local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  6199. local MPos = whom.Head.CFrame*cf(0,4,0)
  6200. for i = 0, 1, .05 do
  6201. swait()
  6202. ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  6203.  
  6204. sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  6205. if whom:FindFirstChild'Head' == nil then
  6206. break
  6207. end
  6208. end
  6209. ref:destroy()
  6210. if whom:FindFirstChild'Head' then
  6211. table.insert(ODers,whom)
  6212. if(#ODers > 2)then
  6213. table.remove(ODers,1)
  6214. end
  6215. sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  6216. end
  6217. end
  6218. ODerDB = false
  6219. end
  6220. end)()
  6221. end
  6222. end
  6223.  
  6224. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6225. attack = true
  6226. hum.WalkSpeed = 90
  6227. storehumanoidWS = 75
  6228. hum.JumpPower = 0
  6229. newThemeCust("rbxassetid://1420353940",0,1,1)
  6230. kan.TimePosition = 0
  6231. ModeOfGlitch = 8376532578634534
  6232. repeat swait() until kan.IsLoaded
  6233. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6234. for i = 0, 14, .1 do
  6235. swait()
  6236. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6237. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6238. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6239. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  6240. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6241. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6242. end
  6243. chatfunc("Riddle me that..",text.TextStrokeColor3)
  6244. for i = 0, 12, .1 do
  6245. swait()
  6246. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6247. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6248. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6249. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  6250. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6251. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6252. end
  6253. chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
  6254. for i = 0, 16, .1 do
  6255. swait()
  6256. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6257. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6258. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6259. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6260. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6261. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6262. end
  6263. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6264. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6265. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6266. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6267. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  6268. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  6269. RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
  6270. CameraEnshaking(5,2.5)
  6271. MAINRUINCOLOR = BrickColor.new("Really black")
  6272. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6273. tl1.Enabled = true
  6274. tl2.Enabled = true
  6275. tl3.Enabled = true
  6276. for i = 0, 49 do
  6277. 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)
  6278. end
  6279. for i = 0,3,0.1 do
  6280. 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)
  6281. end
  6282. for i, v in pairs(mw2:GetChildren()) do
  6283. if v:IsA("Part") then
  6284. v.BrickColor = BrickColor.new("Really black")
  6285. v.Material = "Glass"
  6286. end
  6287. end
  6288. for i, v in pairs(mw1:GetChildren()) do
  6289. if v:IsA("Part") then
  6290. v.Transparency = 0
  6291. v.BrickColor = BrickColor.new("Really black")
  6292. v.Material = "Glass"
  6293. end
  6294. end
  6295. for i, v in pairs(m:GetChildren()) do
  6296. if v:IsA("Part") then
  6297. v.BrickColor = BrickColor.new("Really black")
  6298. v.Material = "Glass"
  6299. end
  6300. end
  6301. for i, v in pairs(m2:GetChildren()) do
  6302. if v:IsA("Part") then
  6303. v.BrickColor = BrickColor.new("Dark stone grey")
  6304. v.Material = "Granite"
  6305. end
  6306. end
  6307. for i, v in pairs(m3:GetChildren()) do
  6308. if v:IsA("Part") then
  6309. v.BrickColor = BrickColor.new("Really black")
  6310. v.Material = "Glass"
  6311. end
  6312. end
  6313. for i, v in pairs(extrawingmod1:GetChildren()) do
  6314. if v:IsA("Part") then
  6315. v.Transparency = 0
  6316. v.BrickColor = BrickColor.new("Dark stone grey")
  6317. v.Material = "Glass"
  6318. end
  6319. end
  6320. for i, v in pairs(extrawingmod2:GetChildren()) do
  6321. if v:IsA("Part") then
  6322. v.Transparency = 0
  6323. v.BrickColor = BrickColor.new("Dark stone grey")
  6324. v.Material = "Glass"
  6325. end
  6326. end
  6327. for i = 0,2,0.1 do
  6328. swait()
  6329. 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)
  6330. 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)
  6331. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  6332. 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))),.2)
  6333. 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))),.2)
  6334. 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))),.2)
  6335. end
  6336. hum.JumpPower = 50
  6337. hum.WalkSpeed = storehumanoidWS
  6338. attack = false
  6339. end
  6340.  
  6341. function PurityX2()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6342. attack = true
  6343. hum.WalkSpeed = 90
  6344. storehumanoidWS = 75
  6345. hum.JumpPower = 0
  6346. newThemeCust("rbxassetid://260951229",0,1,1)
  6347. kan.TimePosition = 0
  6348. ModeOfGlitch = 12
  6349. repeat swait() until kan.IsLoaded
  6350. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6351. chatfunc("Welp..Its time for a upgrade...",Color3.new(1,1,1))
  6352. for i = 0, 16, .1 do
  6353. swait()
  6354. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6355. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6356. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6357. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6358. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6359. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6360. end
  6361. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6362. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6363. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6364. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6365. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Toothpaste' end)
  6366. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6367. RecolorTextAndRename("Purity X GUEST",Color3.new(1,1,1),Color3.new(0,255,255))
  6368. CameraEnshaking(5,2.5)
  6369. MAINRUINCOLOR = BrickColor.new("Navy blue")
  6370. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6371. tl1.Enabled = true
  6372. tl2.Enabled = true
  6373. tl3.Enabled = true
  6374. for i = 0, 49 do
  6375. 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)
  6376. end
  6377. for i = 0,3,0.1 do
  6378. 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)
  6379. end
  6380. for i, v in pairs(mw2:GetChildren()) do
  6381. if v:IsA("Part") then
  6382. v.BrickColor = BrickColor.new("Navy blue")
  6383. v.Material = "Neon"
  6384. end
  6385. end
  6386. for i, v in pairs(mw1:GetChildren()) do
  6387. if v:IsA("Part") then
  6388. v.Transparency = 0
  6389. v.BrickColor = BrickColor.new("Navy blue")
  6390. v.Material = "Neon"
  6391. end
  6392. end
  6393. for i, v in pairs(m:GetChildren()) do
  6394. if v:IsA("Part") then
  6395. v.BrickColor = BrickColor.new("Navy blue")
  6396. v.Material = "Neon"
  6397. end
  6398. end
  6399. for i, v in pairs(m2:GetChildren()) do
  6400. if v:IsA("Part") then
  6401. v.BrickColor = BrickColor.new("Toothpaste")
  6402. v.Material = "Neon"
  6403. end
  6404. end
  6405. for i, v in pairs(m3:GetChildren()) do
  6406. if v:IsA("Part") then
  6407. v.BrickColor = BrickColor.new("Toothpaste")
  6408. v.Material = "Neon"
  6409. end
  6410. end
  6411. for i, v in pairs(extrawingmod1:GetChildren()) do
  6412. if v:IsA("Part") then
  6413. v.Transparency = 0
  6414. v.BrickColor = BrickColor.new("Toothpaste")
  6415. v.Material = "Neon"
  6416. end
  6417. end
  6418. for i, v in pairs(extrawingmod2:GetChildren()) do
  6419. if v:IsA("Part") then
  6420. v.Transparency = 0
  6421. v.BrickColor = BrickColor.new("Toothpaste")
  6422. v.Material = "Neon"
  6423. end
  6424. end
  6425. for i = 0,2,0.1 do
  6426. swait()
  6427. 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)
  6428. 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)
  6429. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  6430. 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))),.2)
  6431. 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))),.2)
  6432. 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))),.2)
  6433. end
  6434. hum.JumpPower = 50
  6435. hum.WalkSpeed = storehumanoidWS
  6436. attack = false
  6437. end
  6438.  
  6439. function Mayhem()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6440. attack = true
  6441. hum.WalkSpeed = 90
  6442. storehumanoidWS = 75
  6443. hum.JumpPower = 0
  6444. newThemeCust("rbxassetid://614032233",0,1,1)
  6445. kan.TimePosition = 0
  6446. ModeOfGlitch = 122
  6447. repeat swait() until kan.IsLoaded
  6448. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6449. chatfunc("Let's go back to the past!",Color3.new(1,1,1))
  6450. for i = 0, 16, .1 do
  6451. swait()
  6452. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6453. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6454. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6456. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6457. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6458. end
  6459. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6460. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6461. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6462. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6463. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Toothpaste' end)
  6464. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6465. RecolorTextAndRename("Mayhem",Color3.new(0,0,0),Color3.new(255,0,0))
  6466. CameraEnshaking(5,2.5)
  6467. MAINRUINCOLOR = BrickColor.new("Really red")
  6468. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6469. tl1.Enabled = true
  6470. tl2.Enabled = true
  6471. tl3.Enabled = true
  6472. for i = 0, 49 do
  6473. 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)
  6474. end
  6475. for i = 0,3,0.1 do
  6476. 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)
  6477. end
  6478. for i, v in pairs(mw2:GetChildren()) do
  6479. if v:IsA("Part") then
  6480. v.BrickColor = BrickColor.new("Really red")
  6481. v.Material = "Neon"
  6482. end
  6483. end
  6484. for i = 0,2,0.1 do
  6485. swait()
  6486. 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)
  6487. 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)
  6488. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  6489. 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))),.2)
  6490. 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))),.2)
  6491. 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))),.2)
  6492. end
  6493. hum.JumpPower = 50
  6494. hum.WalkSpeed = storehumanoidWS
  6495. attack = false
  6496. end
  6497.  
  6498. function Clarity()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6499. attack = true
  6500. hum.WalkSpeed = 90
  6501. storehumanoidWS = 75
  6502. hum.JumpPower = 0
  6503. newThemeCust("rbxassetid://1539245059",0,1,1)
  6504. kan.TimePosition = 0
  6505. ModeOfGlitch = 78
  6506. repeat swait() until kan.IsLoaded
  6507. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6508. chatfunc("...",Color3.new(1,1,1))
  6509. for i = 0, 16, .1 do
  6510. swait()
  6511. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6512. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6513. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6514. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6515. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6516. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6517. end
  6518. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6519. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6520. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6521. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6522. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Toothpaste' end)
  6523. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6524. RecolorTextAndRename("Clarity",Color3.new(159,243,233),Color3.new(175,211,255))
  6525. CameraEnshaking(5,2.5)
  6526. MAINRUINCOLOR = BrickColor.new("Pastel blue-green")
  6527. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6528. tl1.Enabled = true
  6529. tl2.Enabled = true
  6530. tl3.Enabled = true
  6531. for i = 0, 49 do
  6532. 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)
  6533. end
  6534. for i = 0,3,0.1 do
  6535. 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)
  6536. end
  6537. for i, v in pairs(mw2:GetChildren()) do
  6538. if v:IsA("Part") then
  6539. v.BrickColor = BrickColor.new("Pastel blue-green")
  6540. v.Material = "Neon"
  6541. end
  6542. end
  6543. for i = 0,2,0.1 do
  6544. swait()
  6545. 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)
  6546. 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)
  6547. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  6548. 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))),.2)
  6549. 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))),.2)
  6550. 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))),.2)
  6551. end
  6552. hum.JumpPower = 50
  6553. hum.WalkSpeed = storehumanoidWS
  6554. attack = false
  6555. end
  6556.  
  6557. function Destruction()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6558. attack = true
  6559. hum.WalkSpeed = 90
  6560. storehumanoidWS = 75
  6561. hum.JumpPower = 0
  6562. newThemeCust("rbxassetid://723652641",0,1,1)
  6563. kan.TimePosition = 0
  6564. ModeOfGlitch = 1220
  6565. repeat swait() until kan.IsLoaded
  6566. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6567. chatfunc("You better remember this!",Color3.new(1,1,1))
  6568. for i = 0, 16, .1 do
  6569. swait()
  6570. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6571. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6572. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6573. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6574. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6575. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6576. end
  6577. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6578. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6579. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6580. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6581. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Toothpaste' end)
  6582. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6583. RecolorTextAndRename("DeStRuCtIoN",Color3.new(1,0,0),Color3.new(0.75,0,0))
  6584. CameraEnshaking(5,2.5)
  6585. MAINRUINCOLOR = BrickColor.new("Crimson")
  6586. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6587. tl1.Enabled = true
  6588. tl2.Enabled = true
  6589. tl3.Enabled = true
  6590. for i = 0, 49 do
  6591. 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)
  6592. end
  6593. for i = 0,3,0.1 do
  6594. 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)
  6595. end
  6596. for i, v in pairs(mw2:GetChildren()) do
  6597. if v:IsA("Part") then
  6598. v.BrickColor = BrickColor.new("Crimson")
  6599. v.Material = "Neon"
  6600. end
  6601. end
  6602. for i, v in pairs(mw1:GetChildren()) do
  6603. if v:IsA("Part") then
  6604. v.Transparency = 0
  6605. v.BrickColor = BrickColor.new("Crimson")
  6606. v.Material = "Neon"
  6607. end
  6608. end
  6609. for i, v in pairs(m:GetChildren()) do
  6610. if v:IsA("Part") then
  6611. v.BrickColor = BrickColor.new("Crimson")
  6612. v.Material = "Neon"
  6613. end
  6614. end
  6615. for i, v in pairs(m2:GetChildren()) do
  6616. if v:IsA("Part") then
  6617. v.BrickColor = BrickColor.new("Crimson")
  6618. v.Material = "Neon"
  6619. end
  6620. end
  6621. for i, v in pairs(m3:GetChildren()) do
  6622. if v:IsA("Part") then
  6623. v.BrickColor = BrickColor.new("Crimson")
  6624. v.Material = "Neon"
  6625. end
  6626. end
  6627. for i, v in pairs(extrawingmod1:GetChildren()) do
  6628. if v:IsA("Part") then
  6629. v.Transparency = 0
  6630. v.BrickColor = BrickColor.new("Crimson")
  6631. v.Material = "Neon"
  6632. end
  6633. end
  6634. for i, v in pairs(extrawingmod2:GetChildren()) do
  6635. if v:IsA("Part") then
  6636. v.Transparency = 0
  6637. v.BrickColor = BrickColor.new("Crimson")
  6638. v.Material = "Neon"
  6639. end
  6640. end
  6641. for i = 0,2,0.1 do
  6642. swait()
  6643. 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)
  6644. 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)
  6645. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  6646. 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))),.2)
  6647. 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))),.2)
  6648. 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))),.2)
  6649. end
  6650. hum.JumpPower = 50
  6651. hum.WalkSpeed = storehumanoidWS
  6652. attack = false
  6653. end
  6654.  
  6655. function Dark()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6656. attack = true
  6657. hum.WalkSpeed = 90
  6658. storehumanoidWS = 75
  6659. hum.JumpPower = 0
  6660. newThemeCust("rbxassetid://382893859",0,1,1)
  6661. kan.TimePosition = 0
  6662. ModeOfGlitch = 8376532578634534
  6663. repeat swait() until kan.IsLoaded
  6664. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6665. chatfunc("....",Color3.new(1,1,1))
  6666. for i = 0, 16, .1 do
  6667. swait()
  6668. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6669. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6670. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6671. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6672. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6673. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6674. end
  6675. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6676. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6677. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6678. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6679. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Toothpaste' end)
  6680. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6681. RecolorTextAndRename("Darker Darker Yet Darker",Color3.new(1,0,0),Color3.new(0.75,0,0))
  6682. CameraEnshaking(5,2.5)
  6683. MAINRUINCOLOR = BrickColor.new("Really black")
  6684. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6685. tl1.Enabled = true
  6686. tl2.Enabled = true
  6687. tl3.Enabled = true
  6688. for i = 0, 49 do
  6689. 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)
  6690. end
  6691. for i = 0,3,0.1 do
  6692. 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)
  6693. end
  6694. for i, v in pairs(mw2:GetChildren()) do
  6695. if v:IsA("Part") then
  6696. v.BrickColor = BrickColor.new("Really black")
  6697. v.Material = "Neon"
  6698. end
  6699. end
  6700. for i, v in pairs(mw1:GetChildren()) do
  6701. if v:IsA("Part") then
  6702. v.Transparency = 0
  6703. v.BrickColor = BrickColor.new("Really black")
  6704. v.Material = "Neon"
  6705. end
  6706. end
  6707. for i, v in pairs(m:GetChildren()) do
  6708. if v:IsA("Part") then
  6709. v.BrickColor = BrickColor.new("Really black")
  6710. v.Material = "Neon"
  6711. end
  6712. end
  6713. for i, v in pairs(m2:GetChildren()) do
  6714. if v:IsA("Part") then
  6715. v.BrickColor = BrickColor.new("Really black")
  6716. v.Material = "Neon"
  6717. end
  6718. end
  6719. for i, v in pairs(m3:GetChildren()) do
  6720. if v:IsA("Part") then
  6721. v.BrickColor = BrickColor.new("Really black")
  6722. v.Material = "Neon"
  6723. end
  6724. end
  6725. for i, v in pairs(extrawingmod1:GetChildren()) do
  6726. if v:IsA("Part") then
  6727. v.Transparency = 0
  6728. v.BrickColor = BrickColor.new("Really black")
  6729. v.Material = "Neon"
  6730. end
  6731. end
  6732. for i, v in pairs(extrawingmod2:GetChildren()) do
  6733. if v:IsA("Part") then
  6734. v.Transparency = 0
  6735. v.BrickColor = BrickColor.new("Really black")
  6736. v.Material = "Neon"
  6737. end
  6738. end
  6739. for i = 0,2,0.1 do
  6740. swait()
  6741. 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)
  6742. 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)
  6743. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  6744. 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))),.2)
  6745. 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))),.2)
  6746. 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))),.2)
  6747. end
  6748. hum.JumpPower = 50
  6749. hum.WalkSpeed = storehumanoidWS
  6750. attack = false
  6751. end
  6752.  
  6753. function FuckMeSidewaysAndCallMeGay()
  6754. local whom = (mouse.Target and mouse.Target.Parent)
  6755. --[[local fuckThisBoi = false
  6756. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  6757. for _,v in next, ODers do
  6758. if(v == whom)then
  6759. fuckThisBoi = false
  6760. end
  6761. end
  6762. end
  6763. if(not fuckThisBoi)then
  6764. attack = false
  6765. warn'to fuck that boi you need to target them with z'
  6766. else]]
  6767. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  6768. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  6769. local hum = whom:FindFirstChildOfClass'Humanoid'
  6770. local ocf = RootPart.CFrame
  6771. hum.WalkSpeed = 90
  6772. hum.JumpPower = 0
  6773. hed.Anchored = true
  6774. RootPart.Anchored = true
  6775. Humanoid.WalkSpeed = 0
  6776. Humanoid.JumpPower = 0
  6777. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6778. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6779. for i = 0, 9 do
  6780. 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("Pink"),0)
  6781. end
  6782. for i = 0, 24 do
  6783. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  6784. end
  6785. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6786. attack = true
  6787. local speed = 1
  6788. local heck;
  6789. local stopitlol = false;
  6790. heck = mouse.KeyUp:connect(function(k)
  6791. if(k:lower() == 'n')then
  6792. stopitlol = true
  6793. heck:disconnect()
  6794. end
  6795. end)
  6796. local times = 0
  6797. repeat swait()
  6798. speed = speed - .01
  6799. times = times + 1
  6800. if(speed < .1)then
  6801. speed = .1
  6802. end
  6803. for i = 0, speed, .05 do
  6804. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6805. swait()
  6806. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6807. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6808. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6809. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6810. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6811. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6812. end
  6813. CameraEnshaking(5,5)
  6814.  
  6815. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  6816.  
  6817. for i = 0, speed, .05 do
  6818. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6819. swait()
  6820. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6821. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6822. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6823. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6824. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6825. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6826. end
  6827. until stopitlol and times >= 3
  6828. for i = 1, 3 do
  6829. for i = 0, 1.5, .05 do
  6830. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6831. swait()
  6832. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6833. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6834. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6835. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6836. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6837. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6838. end
  6839. CameraEnshaking(5,25)
  6840.  
  6841. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6842.  
  6843.  
  6844. coroutine.resume(coroutine.create(function()
  6845. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6846. bld.LightEmission = 0.1
  6847. bld.Texture = "rbxassetid://284205403"
  6848. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6849. bld.Rate = 500
  6850. bld.Lifetime = NumberRange.new(1)
  6851. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6852. bld.Acceleration = vt(0,-25,0)
  6853. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6854. bld.Speed = NumberRange.new(10,50)
  6855. bld.EmissionDirection = "Back"
  6856. bld.VelocitySpread = 25
  6857. bld.Rotation = NumberRange.new(-500,500)
  6858. bld.RotSpeed = NumberRange.new(-500,500)
  6859. bld.Enabled = false
  6860. bld:Emit(250)
  6861. end))
  6862. coroutine.resume(coroutine.create(function()
  6863. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6864. bld.LightEmission = 0.1
  6865. bld.Texture = "rbxassetid://284205403"
  6866. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6867. bld.Rate = 500
  6868. bld.Lifetime = NumberRange.new(1)
  6869. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6870. bld.Acceleration = vt(0,-25,0)
  6871. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6872. bld.Speed = NumberRange.new(10,50)
  6873. bld.EmissionDirection = "Back"
  6874. bld.VelocitySpread = 25
  6875. bld.Rotation = NumberRange.new(-500,500)
  6876. bld.RotSpeed = NumberRange.new(-500,500)
  6877. bld.Enabled = false
  6878. bld:Emit(250)
  6879. end))
  6880. for i = 0, 1.5, .05 do
  6881. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6882. swait()
  6883. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6884. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6885. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6886. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6887. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6888. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6889. end
  6890. end
  6891. for i = 0, 4, .05 do
  6892. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6893. swait()
  6894. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  6895. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6896. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  6897. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  6898. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6899. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6900. end
  6901. CameraEnshaking(5,25)
  6902. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  6903. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6904.  
  6905. dmg(whom)
  6906. coroutine.resume(coroutine.create(function()
  6907. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6908. bld.LightEmission = 0.1
  6909. bld.Texture = "rbxassetid://284205403"
  6910. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6911. bld.Rate = 500
  6912. bld.Lifetime = NumberRange.new(1)
  6913. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6914. bld.Acceleration = vt(0,-25,0)
  6915. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6916. bld.Speed = NumberRange.new(10,50)
  6917. bld.EmissionDirection = "Back"
  6918. bld.VelocitySpread = 25
  6919. bld.Rotation = NumberRange.new(-500,500)
  6920. bld.RotSpeed = NumberRange.new(-500,500)
  6921. bld.Enabled = true
  6922. end))
  6923. coroutine.resume(coroutine.create(function()
  6924. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6925. bld.LightEmission = 0.1
  6926. bld.Texture = "rbxassetid://284205403"
  6927. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6928. bld.Rate = 500
  6929. bld.Lifetime = NumberRange.new(1)
  6930. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6931. bld.Acceleration = vt(0,-25,0)
  6932. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6933. bld.Speed = NumberRange.new(10,50)
  6934. bld.EmissionDirection = "Back"
  6935. bld.VelocitySpread = 25
  6936. bld.Rotation = NumberRange.new(-500,500)
  6937. bld.RotSpeed = NumberRange.new(-500,500)
  6938. bld.Enabled = true
  6939. end))
  6940. for i = 0, 3, .05 do
  6941. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6942. swait()
  6943. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  6944. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6945. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  6946. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6947. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6948. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6949. end
  6950.  
  6951. RootPart.CFrame = ocf
  6952. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6953. for i = 0, 9 do
  6954. 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("Pink"),0)
  6955. end
  6956. for i = 0, 24 do
  6957. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
  6958. end
  6959. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6960. RootPart.Anchored = false
  6961. Humanoid.WalkSpeed = storehumanoidWS
  6962. Humanoid.JumpPower = 50
  6963. attack = false
  6964. end
  6965. end
  6966.  
  6967. local input = ""
  6968.  
  6969. mouse.KeyDown:connect(function(k)
  6970. if(k == "w" or k == "a" or k == "s" or k == "d")then
  6971. input = input .. k
  6972. local newInput = input
  6973. coroutine.wrap(function()
  6974. for i = 1, 25 do
  6975. if(newInput ~= input)then break end
  6976. swait()
  6977. end
  6978. if(newInput == input)then input = "" end
  6979. end)()
  6980. if(input == "wwssadad" and not AllowRape)then
  6981. AllowRape = true
  6982. warn("Rape unlocked! Have fun ;)")
  6983. elseif(input == "wwaassdd" and not AllowCata)then
  6984. AllowCata = true
  6985. warn("You unlocked CATASTROPHE.")
  6986. elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then
  6987. ChaosBegone()
  6988. end
  6989. end
  6990. end)
  6991.  
  6992. mouse.KeyDown:connect(function(k)
  6993. if k == "h" then
  6994.  
  6995. end
  6996.  
  6997. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  6998. ModeOfGlitch = 2
  6999. storehumanoidWS = 16
  7000. hum.WalkSpeed = 16
  7001. rainbowmode = false
  7002. chaosmode = false
  7003. glitchymode = false
  7004. tl1.Enabled = false
  7005. tl2.Enabled = false
  7006. tl3.Enabled = false
  7007. RecolorTextAndRename("Purity GUEST",Color3.new(1,1,1),Color3.new(0,1,1))
  7008. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  7009. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  7010. newTheme("rbxassetid://1539245059",0,1,1)
  7011. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7012. for i, v in pairs(mw2:GetChildren()) do
  7013. if v:IsA("Part") then
  7014. v.BrickColor = MAINRUINCOLOR
  7015. v.Material = "Neon"
  7016. end
  7017. end
  7018. for i, v in pairs(mw1:GetChildren()) do
  7019. if v:IsA("Part") then
  7020. v.Transparency = 1
  7021. v.BrickColor = MAINRUINCOLOR
  7022. v.Material = "Neon"
  7023. end
  7024. end
  7025. for i, v in pairs(m:GetChildren()) do
  7026. if v:IsA("Part") then
  7027. v.BrickColor = BrickColor.new("White")
  7028. v.Material = "Ice"
  7029. end
  7030. end
  7031. for i, v in pairs(m2:GetChildren()) do
  7032. if v:IsA("Part") then
  7033. v.BrickColor = BrickColor.new("Pastel light blue")
  7034. v.Material = "Glass"
  7035. end
  7036. end
  7037. for i, v in pairs(m3:GetChildren()) do
  7038. if v:IsA("Part") then
  7039. v.BrickColor = BrickColor.new("Toothpaste")
  7040. v.Material = "Neon"
  7041. end
  7042. end
  7043. for i, v in pairs(extrawingmod1:GetChildren()) do
  7044. if v:IsA("Part") then
  7045. v.Transparency = 1
  7046. v.BrickColor = BrickColor.new("White")
  7047. v.Material = "Neon"
  7048. end
  7049. end
  7050. for i, v in pairs(extrawingmod2:GetChildren()) do
  7051. if v:IsA("Part") then
  7052. v.Transparency = 1
  7053. v.BrickColor = BrickColor.new("White")
  7054. v.Material = "Neon"
  7055. end
  7056. end
  7057. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  7058. resetmode()
  7059. end
  7060. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  7061. lustmode()
  7062. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  7063. resetmode()
  7064. end
  7065. if k == "m" and attack == false and ModeOfGlitch == 1 then
  7066. RiddleMeThisRiddleMeThat()
  7067. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  7068. resetmode()
  7069. end
  7070. if k == "b" and attack == false and ModeOfGlitch == 2 then
  7071. PurityX2()()
  7072. elseif k == "b" and attack == false and ModeOfGlitch == 12 then
  7073. resetmode()
  7074. end
  7075. if k == "b" and attack == false and ModeOfGlitch == 1 then
  7076. Mayhem()()
  7077. elseif k == "b" and attack == false and ModeOfGlitch == 122 then
  7078. resetmode()
  7079. end
  7080. if k == "m" and attack == false and ModeOfGlitch == 2 then
  7081. Clarity()()
  7082. elseif k == "b" and attack == false and ModeOfGlitch == 78 then
  7083. resetmode()
  7084. end
  7085. if k == "m" and attack == false and ModeOfGlitch == 122 then
  7086. Destruction()()
  7087. elseif k == "m" and attack == false and ModeOfGlitch == 1220 then
  7088. resetmode()
  7089. end
  7090. if k == "b" and attack == false and ModeOfGlitch == 8376532578634534 then
  7091. Dark()()
  7092. elseif k == "b" and attack == false and ModeOfGlitch == 83765325786345343 then
  7093. resetmode()
  7094. end
  7095. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  7096. ModeOfGlitch = 3
  7097. storehumanoidWS = 16
  7098. hum.WalkSpeed = 16
  7099. rainbowmode = false
  7100. chaosmode = false
  7101. glitchymode = true
  7102. tl1.Enabled = true
  7103. tl2.Enabled = true
  7104. tl3.Enabled = true
  7105. RecolorTextAndRename("gLiTcHy GUEST",Color3.new(0,0,0),Color3.new(0.35,0,1))
  7106. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  7107. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  7108. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  7109. MAINRUINCOLOR = BrickColor.new("White")
  7110. for i, v in pairs(mw2:GetChildren()) do
  7111. if v:IsA("Part") then
  7112. v.BrickColor = MAINRUINCOLOR
  7113. v.Material = "Neon"
  7114. end
  7115. end
  7116. for i, v in pairs(mw1:GetChildren()) do
  7117. if v:IsA("Part") then
  7118. v.Transparency = 0
  7119. v.BrickColor = MAINRUINCOLOR
  7120. v.Material = "Neon"
  7121. end
  7122. end
  7123. for i, v in pairs(m:GetChildren()) do
  7124. if v:IsA("Part") then
  7125. v.BrickColor = BrickColor.new("Really black")
  7126. v.Material = "Ice"
  7127. end
  7128. end
  7129. for i, v in pairs(m2:GetChildren()) do
  7130. if v:IsA("Part") then
  7131. v.BrickColor = BrickColor.new("Dark indigo")
  7132. v.Material = "Glass"
  7133. end
  7134. end
  7135. for i, v in pairs(m3:GetChildren()) do
  7136. if v:IsA("Part") then
  7137. v.Transparency = 1
  7138. v.BrickColor = BrickColor.new("Royal purple")
  7139. v.Material = "Neon"
  7140. end
  7141. end
  7142. for i, v in pairs(extrawingmod1:GetChildren()) do
  7143. if v:IsA("Part") then
  7144. v.Transparency = 1
  7145. v.BrickColor = BrickColor.new("White")
  7146. v.Material = "Neon"
  7147. end
  7148. end
  7149. for i, v in pairs(extrawingmod2:GetChildren()) do
  7150. if v:IsA("Part") then
  7151. v.Transparency = 1
  7152. v.BrickColor = BrickColor.new("White")
  7153. v.Material = "Neon"
  7154. end
  7155. end
  7156. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  7157. resetmode()
  7158. end
  7159. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  7160. ModeOfGlitch = 4
  7161. storehumanoidWS = 16
  7162. hum.WalkSpeed = 16
  7163. rainbowmode = false
  7164. glitchymode = false
  7165. chaosmode = true
  7166. tl1.Enabled = true
  7167. tl2.Enabled = true
  7168. tl3.Enabled = true
  7169. RecolorTextAndRename("CHAOS GUEST",Color3.new(0,0,0),BrickColor.random().Color)
  7170. newTheme("rbxassetid://1369263130",0,1,1)
  7171. MAINRUINCOLOR = BrickColor.new("Black")
  7172. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7173. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7174. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7175. for i, v in pairs(mw2:GetChildren()) do
  7176. if v:IsA("Part") then
  7177. v.BrickColor = MAINRUINCOLOR
  7178. v.Material = "Neon"
  7179. end
  7180. end
  7181. for i, v in pairs(mw1:GetChildren()) do
  7182. if v:IsA("Part") then
  7183. v.Transparency = 0.75
  7184. v.BrickColor = BrickColor.random()
  7185. v.Material = "Neon"
  7186. end
  7187. end
  7188. for i, v in pairs(m:GetChildren()) do
  7189. if v:IsA("Part") then
  7190. v.BrickColor = BrickColor.new("Black")
  7191. v.Material = "Neon"
  7192. end
  7193. end
  7194. for i, v in pairs(m2:GetChildren()) do
  7195. if v:IsA("Part") then
  7196. v.BrickColor = BrickColor.random()
  7197. v.Material = "Neon"
  7198. end
  7199. end
  7200. for i, v in pairs(m3:GetChildren()) do
  7201. if v:IsA("Part") then
  7202. v.BrickColor = BrickColor.new("Black")
  7203. v.Material = "Neon"
  7204. end
  7205. end
  7206. for i, v in pairs(extrawingmod1:GetChildren()) do
  7207. if v:IsA("Part") then
  7208. v.Transparency = 1
  7209. v.BrickColor = BrickColor.new("White")
  7210. v.Material = "Neon"
  7211. end
  7212. end
  7213. for i, v in pairs(extrawingmod2:GetChildren()) do
  7214. if v:IsA("Part") then
  7215. v.Transparency = 1
  7216. v.BrickColor = BrickColor.new("White")
  7217. v.Material = "Neon"
  7218. end
  7219. end
  7220. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  7221. resetmode()
  7222. end
  7223.  
  7224. if k == "m" and attack == false and ModeOfGlitch == 4 then
  7225. insanitymode()
  7226. elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
  7227. resetmode()
  7228. end
  7229. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  7230. ModeOfGlitch = 5
  7231. storehumanoidWS = 16
  7232. hum.WalkSpeed = 16
  7233. rainbowmode = false
  7234. chaosmode = false
  7235. glitchymode = false
  7236. tl1.Enabled = true
  7237. tl2.Enabled = true
  7238. tl3.Enabled = true
  7239. RecolorTextAndRename("Divinity GUEST",Color3.new(1,1,1),Color3.new(1,1,0.5))
  7240. newTheme("rbxassetid://661079869",0,1.02,1)
  7241. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  7242. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  7243. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  7244. for i, v in pairs(mw2:GetChildren()) do
  7245. if v:IsA("Part") then
  7246. v.BrickColor = MAINRUINCOLOR
  7247. v.Material = "Neon"
  7248. end
  7249. end
  7250. for i, v in pairs(mw1:GetChildren()) do
  7251. if v:IsA("Part") then
  7252. v.Transparency = 0
  7253. v.BrickColor = MAINRUINCOLOR
  7254. v.Material = "Neon"
  7255. end
  7256. end
  7257. for i, v in pairs(m:GetChildren()) do
  7258. if v:IsA("Part") then
  7259. v.BrickColor = BrickColor.new("Cool yellow")
  7260. v.Material = "Ice"
  7261. end
  7262. end
  7263. for i, v in pairs(m2:GetChildren()) do
  7264. if v:IsA("Part") then
  7265. v.BrickColor = BrickColor.new("Bright yellow")
  7266. v.Material = "Ice"
  7267. end
  7268. end
  7269. for i, v in pairs(m3:GetChildren()) do
  7270. if v:IsA("Part") then
  7271. v.BrickColor = BrickColor.new("Bright yellow")
  7272. v.Material = "Neon"
  7273. end
  7274. end
  7275. for i, v in pairs(extrawingmod1:GetChildren()) do
  7276. if v:IsA("Part") then
  7277. v.Transparency = 1
  7278. v.BrickColor = BrickColor.new("White")
  7279. v.Material = "Neon"
  7280. end
  7281. end
  7282. for i, v in pairs(extrawingmod2:GetChildren()) do
  7283. if v:IsA("Part") then
  7284. v.Transparency = 1
  7285. v.BrickColor = BrickColor.new("White")
  7286. v.Material = "Neon"
  7287. end
  7288. end
  7289. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  7290. resetmode()
  7291. end
  7292. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  7293. ModeOfGlitch = 6
  7294. storehumanoidWS = 75
  7295. hum.WalkSpeed = 75
  7296. rainbowmode = false
  7297. chaosmode = false
  7298. glitchymode = false
  7299. tl1.Enabled = true
  7300. tl2.Enabled = true
  7301. tl3.Enabled = true
  7302. RecolorTextAndRename("Justice GUEST",Color3.new(0,0,0),Color3.new(1,1,1))
  7303. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  7304. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  7305. newTheme("rbxassetid://1102271169",0,1,1)
  7306. MAINRUINCOLOR = BrickColor.new("White")
  7307. for i, v in pairs(mw2:GetChildren()) do
  7308. if v:IsA("Part") then
  7309. v.BrickColor = MAINRUINCOLOR
  7310. v.Material = "Neon"
  7311. end
  7312. end
  7313. for i, v in pairs(mw1:GetChildren()) do
  7314. if v:IsA("Part") then
  7315. v.Transparency = 0
  7316. v.BrickColor = MAINRUINCOLOR
  7317. v.Material = "Neon"
  7318. end
  7319. end
  7320. for i, v in pairs(m:GetChildren()) do
  7321. if v:IsA("Part") then
  7322. v.BrickColor = BrickColor.new("White")
  7323. v.Material = "Ice"
  7324. end
  7325. end
  7326. for i, v in pairs(m2:GetChildren()) do
  7327. if v:IsA("Part") then
  7328. v.BrickColor = BrickColor.new("White")
  7329. v.Material = "Ice"
  7330. end
  7331. end
  7332. for i, v in pairs(m3:GetChildren()) do
  7333. if v:IsA("Part") then
  7334. v.BrickColor = BrickColor.new("White")
  7335. v.Material = "Neon"
  7336. end
  7337. end
  7338. for i, v in pairs(extrawingmod1:GetChildren()) do
  7339. if v:IsA("Part") then
  7340. v.Transparency = 1
  7341. v.BrickColor = BrickColor.new("White")
  7342. v.Material = "Neon"
  7343. end
  7344. end
  7345. for i, v in pairs(extrawingmod2:GetChildren()) do
  7346. if v:IsA("Part") then
  7347. v.Transparency = 1
  7348. v.BrickColor = BrickColor.new("White")
  7349. v.Material = "Neon"
  7350. end
  7351. end
  7352. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  7353. resetmode()
  7354. end
  7355. if k == "u" and attack == false then
  7356.  
  7357. storehumanoidWS = 50
  7358. hum.WalkSpeed = 50
  7359. rainbowmode = true
  7360. chaosmode = false
  7361. glitchymode = false
  7362. tl1.Enabled = true
  7363. tl2.Enabled = true
  7364. tl3.Enabled = true
  7365.  
  7366. if(ModeOfGlitch == 6127843)then
  7367. vaporwave = not vaporwave
  7368. end
  7369.  
  7370. if(not vaporwave)then
  7371. RecolorTextAndRename("RAINBOW GUEST",Color3.new(1,1,1),Color3.new(1,1,1))
  7372. newTheme("rbxassetid://147930134",0,1,1)
  7373. else
  7374. RecolorTextAndRename("Vaporwave GUEST",Color3.new(1,1,1),Color3.new(1,1,1))
  7375. newTheme("rbxassetid://1308711379",0,1,1)
  7376. end
  7377.  
  7378.  
  7379. ModeOfGlitch = 6127843
  7380. MAINRUINCOLOR = BrickColor.new("White")
  7381. for i, v in pairs(mw2:GetChildren()) do
  7382. if v:IsA("Part") then
  7383. v.BrickColor = MAINRUINCOLOR
  7384. v.Material = "Neon"
  7385. end
  7386. end
  7387. for i, v in pairs(mw1:GetChildren()) do
  7388. if v:IsA("Part") then
  7389. v.Transparency = 0
  7390. v.BrickColor = MAINRUINCOLOR
  7391. v.Material = "Neon"
  7392. end
  7393. end
  7394. for i, v in pairs(m:GetChildren()) do
  7395. if v:IsA("Part") then
  7396. v.BrickColor = BrickColor.new("White")
  7397. v.Material = "Neon"
  7398. end
  7399. end
  7400. for i, v in pairs(m2:GetChildren()) do
  7401. if v:IsA("Part") then
  7402. v.BrickColor = BrickColor.new("White")
  7403. v.Material = "Neon"
  7404. end
  7405. end
  7406. for i, v in pairs(m3:GetChildren()) do
  7407. if v:IsA("Part") then
  7408. v.BrickColor = BrickColor.new("White")
  7409. v.Material = "Neon"
  7410. end
  7411. end
  7412. for i, v in pairs(extrawingmod1:GetChildren()) do
  7413. if v:IsA("Part") then
  7414. v.Transparency = 1
  7415. v.BrickColor = BrickColor.new("White")
  7416. v.Material = "Neon"
  7417. end
  7418. end
  7419. for i, v in pairs(extrawingmod2:GetChildren()) do
  7420. if v:IsA("Part") then
  7421. v.Transparency = 1
  7422. v.BrickColor = BrickColor.new("White")
  7423. v.Material = "Neon"
  7424. end
  7425. end
  7426. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  7427. resetmode()
  7428. end
  7429. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  7430. ModeOfGlitch = 1000000
  7431. storehumanoidWS = 100
  7432. hum.WalkSpeed = 100
  7433. rainbowmode = false
  7434. chaosmode = false
  7435. glitchymode = false
  7436. tl1.Enabled = true
  7437. tl2.Enabled = true
  7438. tl3.Enabled = true
  7439. RecolorTextAndRename("CALAMITY GUEST",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  7440. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
  7441. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
  7442. newTheme("rbxassetid://1359036559",0,1,1)
  7443. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7444. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7445. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7446. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7447. for i, v in pairs(mw2:GetChildren()) do
  7448. if v:IsA("Part") then
  7449. v.BrickColor = MAINRUINCOLOR
  7450. v.Material = "Neon"
  7451. end
  7452. end
  7453. for i, v in pairs(mw1:GetChildren()) do
  7454. if v:IsA("Part") then
  7455. v.Transparency = 0
  7456. v.BrickColor = MAINRUINCOLOR
  7457. v.Material = "Neon"
  7458. end
  7459. end
  7460. for i, v in pairs(m:GetChildren()) do
  7461. if v:IsA("Part") then
  7462. v.Color = Color3.new(0.5,0,1)
  7463. v.Material = "Neon"
  7464. end
  7465. end
  7466. for i, v in pairs(m2:GetChildren()) do
  7467. if v:IsA("Part") then
  7468. v.Color = Color3.new(0.25,0,1)
  7469. v.Material = "Neon"
  7470. end
  7471. end
  7472. for i, v in pairs(m3:GetChildren()) do
  7473. if v:IsA("Part") then
  7474. v.Color = Color3.new(0.45,0,1)
  7475. v.Material = "Neon"
  7476. end
  7477. end
  7478. for i, v in pairs(extrawingmod1:GetChildren()) do
  7479. if v:IsA("Part") then
  7480. v.Transparency = 0.75
  7481. v.Color = Color3.new(0.25,0,1)
  7482. v.Material = "Neon"
  7483. end
  7484. end
  7485. for i, v in pairs(extrawingmod2:GetChildren()) do
  7486. if v:IsA("Part") then
  7487. v.Transparency = 0.75
  7488. v.Color = Color3.new(0.5,0,1)
  7489. v.Material = "Neon"
  7490. end
  7491. end
  7492. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  7493. resetmode()
  7494. end
  7495. if k == "k" and attack == false and ModeOfGlitch ~= 789 then
  7496. ModeOfGlitch = 789
  7497. storehumanoidWS = 16
  7498. hum.WalkSpeed = 16
  7499. rainbowmode = false
  7500. chaosmode = false
  7501. glitchymode = false
  7502. tl1.Enabled = true
  7503. tl2.Enabled = true
  7504. tl3.Enabled = true
  7505. RecolorTextAndRename("Solar GUEST",Color3.new(255,176,0),Color3.new(17,17,17))
  7506. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Deep orange' end)
  7507. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Deep Orange' end)
  7508. newTheme("rbxassetid://419346122",0,1,1)
  7509. MAINRUINCOLOR = BrickColor.new("Deep orange")
  7510. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7511. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7512. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7513. for i, v in pairs(mw2:GetChildren()) do
  7514. if v:IsA("Part") then
  7515. v.BrickColor = MAINRUINCOLOR
  7516. v.Material = "Neon"
  7517. end
  7518. end
  7519. for i, v in pairs(mw1:GetChildren()) do
  7520. if v:IsA("Part") then
  7521. v.Transparency = 0
  7522. v.BrickColor = MAINRUINCOLOR
  7523. v.Material = "Neon"
  7524. end
  7525. end
  7526. for i, v in pairs(m:GetChildren()) do
  7527. if v:IsA("Part") then
  7528. v.Color = Color3.new(255,176,0)
  7529. v.Material = "Neon"
  7530. end
  7531. end
  7532. for i, v in pairs(m2:GetChildren()) do
  7533. if v:IsA("Part") then
  7534. v.Color = Color3.new(255,176,0)
  7535. v.Material = "Neon"
  7536. end
  7537. end
  7538. for i, v in pairs(m3:GetChildren()) do
  7539. if v:IsA("Part") then
  7540. v.Color = Color3.new(255,176,0)
  7541. v.Material = "Neon"
  7542. end
  7543. end
  7544. for i, v in pairs(extrawingmod1:GetChildren()) do
  7545. if v:IsA("Part") then
  7546. v.Transparency = 1
  7547. v.Color = Color3.new(255,176,0)
  7548. v.Material = "Neon"
  7549. end
  7550. end
  7551. for i, v in pairs(extrawingmod2:GetChildren()) do
  7552. if v:IsA("Part") then
  7553. v.Transparency = 1
  7554. v.Color = Color3.new(255,176,0)
  7555. v.Material = "Neon"
  7556. end
  7557. end
  7558. elseif k == "k" and attack == false and ModeOfGlitch == 759 then
  7559. resetmode()
  7560. end
  7561.  
  7562. if k == "j" and attack == false and ModeOfGlitch ~= 7899 then
  7563. ModeOfGlitch = 7899
  7564. storehumanoidWS = 16
  7565. hum.WalkSpeed = 16
  7566. rainbowmode = false
  7567. chaosmode = false
  7568. glitchymode = false
  7569. tl1.Enabled = true
  7570. tl2.Enabled = true
  7571. tl3.Enabled = true
  7572. RecolorTextAndRename("Jumper GUEST",Color3.new(0,255,255),Color3.new(0,0,0))
  7573. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Cyan' end)
  7574. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Cyan' end)
  7575. newTheme("rbxassetid://188787590",0,1,1)
  7576. MAINRUINCOLOR = BrickColor.new("Cyan")
  7577. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7578. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7579. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7580. for i, v in pairs(mw2:GetChildren()) do
  7581. if v:IsA("Part") then
  7582. v.BrickColor = MAINRUINCOLOR
  7583. v.Material = "Neon"
  7584. end
  7585. end
  7586. for i, v in pairs(mw1:GetChildren()) do
  7587. if v:IsA("Part") then
  7588. v.Transparency = 0
  7589. v.BrickColor = MAINRUINCOLOR
  7590. v.Material = "Neon"
  7591. end
  7592. end
  7593. for i, v in pairs(m:GetChildren()) do
  7594. if v:IsA("Part") then
  7595. v.Color = Color3.new(4,175,236)
  7596. v.Material = "Neon"
  7597. end
  7598. end
  7599. for i, v in pairs(m2:GetChildren()) do
  7600. if v:IsA("Part") then
  7601. v.Color = Color3.new(4,175,236)
  7602. v.Material = "Neon"
  7603. end
  7604. end
  7605. for i, v in pairs(m3:GetChildren()) do
  7606. if v:IsA("Part") then
  7607. v.Color = Color3.new(4,175,236)
  7608. v.Material = "Neon"
  7609. end
  7610. end
  7611. for i, v in pairs(extrawingmod1:GetChildren()) do
  7612. if v:IsA("Part") then
  7613. v.Transparency = 1
  7614. v.Color = Color3.new(4,176,236)
  7615. v.Material = "Neon"
  7616. end
  7617. end
  7618. for i, v in pairs(extrawingmod2:GetChildren()) do
  7619. if v:IsA("Part") then
  7620. v.Transparency = 1
  7621. v.Color = Color3.new(4,176,236)
  7622. v.Material = "Neon"
  7623. end
  7624. end
  7625. elseif k == "k" and attack == false and ModeOfGlitch == 7599 then
  7626. resetmode()
  7627. end
  7628.  
  7629. if k == "h" and attack == false and ModeOfGlitch ~= 78999 then
  7630. ModeOfGlitch = 78999
  7631. storehumanoidWS = 16
  7632. hum.WalkSpeed = 16
  7633. rainbowmode = false
  7634. chaosmode = false
  7635. glitchymode = false
  7636. tl1.Enabled = true
  7637. tl2.Enabled = true
  7638. tl3.Enabled = true
  7639. RecolorTextAndRename("Radioactive GUEST",Color3.new(0,0,0),Color3.new(0,255,0))
  7640. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Lime Green' end)
  7641. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Forest Green' end)
  7642. newTheme("rbxassetid://1214242649",0,1,1)
  7643. MAINRUINCOLOR = BrickColor.new("Lime green")
  7644. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7645. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7646. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7647. for i, v in pairs(mw2:GetChildren()) do
  7648. if v:IsA("Part") then
  7649. v.BrickColor = MAINRUINCOLOR
  7650. v.Material = "Neon"
  7651. end
  7652. end
  7653. for i, v in pairs(mw1:GetChildren()) do
  7654. if v:IsA("Part") then
  7655. v.Transparency = 0
  7656. v.BrickColor = MAINRUINCOLOR
  7657. v.Material = "Neon"
  7658. end
  7659. end
  7660. for i, v in pairs(m:GetChildren()) do
  7661. if v:IsA("Part") then
  7662. v.Color = Color3.new(4,175,236)
  7663. v.Material = "Neon"
  7664. end
  7665. end
  7666. for i, v in pairs(m2:GetChildren()) do
  7667. if v:IsA("Part") then
  7668. v.Color = Color3.new(4,175,236)
  7669. v.Material = "Neon"
  7670. end
  7671. end
  7672. for i, v in pairs(m3:GetChildren()) do
  7673. if v:IsA("Part") then
  7674. v.Color = Color3.new(4,175,236)
  7675. v.Material = "Neon"
  7676. end
  7677. end
  7678. for i, v in pairs(extrawingmod1:GetChildren()) do
  7679. if v:IsA("Part") then
  7680. v.Transparency = 0.75
  7681. v.Color = Color3.new(4,176,236)
  7682. v.Material = "Neon"
  7683. end
  7684. end
  7685. for i, v in pairs(extrawingmod2:GetChildren()) do
  7686. if v:IsA("Part") then
  7687. v.Transparency = 1
  7688. v.Color = Color3.new(4,176,236)
  7689. v.Material = "Neon"
  7690. end
  7691. end
  7692. elseif k == "h" and attack == false and ModeOfGlitch == 75999 then
  7693. resetmode()
  7694. end
  7695.  
  7696. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'inessaG' or plr.UserId == 5719877 or AllowCata) then
  7697. newThemeCust("rbxassetid://1504604335",0,1,1)
  7698. attack = true
  7699. hum.WalkSpeed = 90
  7700. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7701. for i = 0, 24, 0.1 do
  7702. swait()
  7703. sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
  7704. 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)
  7705. 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)
  7706. 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)
  7707. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7708. 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)
  7709. 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)
  7710. end
  7711. CameraEnshaking(1,1)
  7712. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7713. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  7714. wait(0.55)
  7715. CameraEnshaking(1,2)
  7716. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7717. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7718. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7719. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7720. wait(0.55)
  7721. CameraEnshaking(1,3)
  7722. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  7723. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7724. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7725. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7726. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7727. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  7728. wait(0.55)
  7729. CameraEnshaking(10,5)
  7730. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  7731. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  7732. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  7733. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  7734. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  7735. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7736. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  7737. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  7738. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  7739. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7740. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  7741. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  7742. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  7743. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  7744. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  7745. for i = 0, 49 do
  7746. 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)
  7747. 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)
  7748. 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)
  7749. 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)
  7750. end
  7751. ModeOfGlitch = 12345678987654321
  7752. storehumanoidWS = 200
  7753. hum.WalkSpeed = 200
  7754. rainbowmode = false
  7755. chaosmode = false
  7756. glitchymode = false
  7757. tl1.Enabled = true
  7758. tl2.Enabled = true
  7759. tl3.Enabled = true
  7760. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
  7761. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
  7762. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  7763. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7764. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7765. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7766. for i, v in pairs(mw2:GetChildren()) do
  7767. if v:IsA("Part") then
  7768. v.BrickColor = MAINRUINCOLOR
  7769. v.Material = "Neon"
  7770. end
  7771. end
  7772. for i, v in pairs(mw1:GetChildren()) do
  7773. if v:IsA("Part") then
  7774. v.Transparency = 0
  7775. v.BrickColor = MAINRUINCOLOR
  7776. v.Material = "Neon"
  7777. end
  7778. end
  7779. for i, v in pairs(m:GetChildren()) do
  7780. if v:IsA("Part") then
  7781. v.Color = Color3.new(0.5,0,1)
  7782. v.Material = "Neon"
  7783. end
  7784. end
  7785. for i, v in pairs(m2:GetChildren()) do
  7786. if v:IsA("Part") then
  7787. v.Color = Color3.new(0.5,0,1)
  7788. v.Material = "Neon"
  7789. end
  7790. end
  7791. for i, v in pairs(m3:GetChildren()) do
  7792. if v:IsA("Part") then
  7793. v.Color = Color3.new(0.5,0,1)
  7794. v.Material = "Neon"
  7795. end
  7796. end
  7797. for i, v in pairs(extrawingmod1:GetChildren()) do
  7798. if v:IsA("Part") then
  7799. v.Transparency = 0
  7800. v.Color = Color3.new(0.5,0,1)
  7801. v.Material = "Neon"
  7802. end
  7803. end
  7804. for i, v in pairs(extrawingmod2:GetChildren()) do
  7805. if v:IsA("Part") then
  7806. v.Transparency = 0
  7807. v.Color = Color3.new(0.5,0,1)
  7808. v.Material = "Neon"
  7809. end
  7810. attack = false
  7811. end
  7812. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  7813. resetmode()
  7814. end
  7815.  
  7816. if k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 55 then
  7817. newThemeCust("rbxassetid://1505487022",0,1,1)
  7818. attack = true
  7819. hum.WalkSpeed = 90
  7820. MAINRUINCOLOR = BrickColor.new("Pastel green")
  7821. for i = 0, 24, 0.1 do
  7822. swait()
  7823. sphereMK(1,-2,"Add",tors.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,MAINRUINCOLOR,100)
  7824. 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)
  7825. 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)
  7826. 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)
  7827. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7828. 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)
  7829. 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)
  7830. end
  7831. CameraEnshaking(1,1)
  7832. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7833. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  7834. wait(0.55)
  7835. CameraEnshaking(1,2)
  7836. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7837. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7838. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7839. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7840. wait(0.55)
  7841. CameraEnshaking(1,3)
  7842. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  7843. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7844. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7845. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7846. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7847. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  7848. wait(0.55)
  7849. CameraEnshaking(10,5)
  7850. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  7851. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  7852. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  7853. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  7854. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  7855. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7856. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  7857. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  7858. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  7859. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7860. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  7861. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  7862. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  7863. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  7864. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  7865. for i = 0, 49 do
  7866. 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)
  7867. 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)
  7868. 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)
  7869. 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)
  7870. end
  7871. ModeOfGlitch = 55
  7872. storehumanoidWS = 200
  7873. hum.WalkSpeed = 200
  7874. rainbowmode = false
  7875. chaosmode = false
  7876. tl1.Enabled = true
  7877. tl2.Enabled = true
  7878. tl3.Enabled = true
  7879. RecolorTextAndRename("FALLENX GUEST",Color3.new(0.5,1,1),Color3.new(255,176,0))
  7880. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7881. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7882. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7883. for i, v in pairs(mw2:GetChildren()) do
  7884. if v:IsA("Part") then
  7885. v.BrickColor = MAINRUINCOLOR
  7886. v.Material = "Neon"
  7887. end
  7888. end
  7889. for i, v in pairs(mw1:GetChildren()) do
  7890. if v:IsA("Part") then
  7891. v.Transparency = 0
  7892. v.BrickColor = MAINRUINCOLOR
  7893. v.Material = "Neon"
  7894. end
  7895. end
  7896. for i, v in pairs(m:GetChildren()) do
  7897. if v:IsA("Part") then
  7898. v.Color = Color3.new(204,255,204)
  7899. v.Material = "Neon"
  7900. end
  7901. end
  7902. for i, v in pairs(m2:GetChildren()) do
  7903. if v:IsA("Part") then
  7904. v.Color = Color3.new(20,255,204)
  7905. v.Material = "Neon"
  7906. end
  7907. end
  7908. for i, v in pairs(m3:GetChildren()) do
  7909. if v:IsA("Part") then
  7910. v.Color = Color3.new(204,255,204)
  7911. v.Material = "Neon"
  7912. end
  7913. end
  7914. for i, v in pairs(extrawingmod1:GetChildren()) do
  7915. if v:IsA("Part") then
  7916. v.Transparency = 1
  7917. v.Color = Color3.new(0.5,0,1)
  7918. v.Material = "Neon"
  7919. end
  7920. end
  7921. for i, v in pairs(extrawingmod2:GetChildren()) do
  7922. if v:IsA("Part") then
  7923. v.Transparency = 1
  7924. v.Color = Color3.new(0.5,0,1)
  7925. v.Material = "Neon"
  7926. end
  7927. attack = false
  7928. end
  7929. elseif k == "m" and attack == false and ModeOfGlitch == 55 then
  7930. resetmode()
  7931. end
  7932. if k == "l" and toggleTag == false then
  7933. toggleTag = true
  7934. text.TextTransparency = 0
  7935. text.TextStrokeTransparency = 0
  7936. elseif k == "l" and toggleTag == true then
  7937. toggleTag = false
  7938. text.TextTransparency = 1
  7939. text.TextStrokeTransparency = 1
  7940. end
  7941. if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534 or ModeOfGlitch == 122) then
  7942. ExtinctiveHeartbreak()
  7943. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  7944. PureBomb()
  7945. elseif k == "z" and attack == false and ModeOfGlitch == 78 then
  7946. ClarityBomb()
  7947. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  7948. scattercorrupt()
  7949. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  7950. Judgement()
  7951. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  7952. ChaosGroundStrike()
  7953. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  7954. InsaneGroundStrike()
  7955. elseif k == "c" and attack == false and ModeOfGlitch == 1220 then
  7956. DesGroundStrike()
  7957.  
  7958.  
  7959. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  7960. ChooseODer()
  7961. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  7962. Starfall()
  7963. elseif k == "z" and attack == false and ModeOfGlitch == 1220 then
  7964. Desfall()
  7965. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  7966. yinyangi()
  7967. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  7968. Wip()
  7969. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  7970. StarfallEX()
  7971. end
  7972. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  7973. StarDivision()
  7974. elseif k == "z" and attack == false and ModeOfGlitch == 789 then
  7975. GalacticalBeams()
  7976. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  7977. JusticeBeam()
  7978. end
  7979. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  7980. UniversalCollapse()
  7981. end
  7982. if k == "x" and attack == false and ModeOfGlitch == 12 then
  7983. PurityCollapse()
  7984. end
  7985. if k == "b" and attack == false and ModeOfGlitch == 4 then
  7986.  
  7987. end
  7988. if k == "n" and attack == false then
  7989. CorruptBlink()
  7990. end
  7991. if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
  7992. FuckMeSidewaysAndCallMeGay()
  7993. end
  7994. end)
  7995. coroutine.resume(coroutine.create(function()
  7996. while true do
  7997. swait(2)
  7998. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  7999. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  8000. end
  8001.  
  8002. end
  8003. end))
  8004.  
  8005.  
  8006. coroutine.resume(coroutine.create(function()
  8007. while true do
  8008. if ModeOfGlitch == 1000000 then
  8009. swait(0.5)
  8010. end
  8011. swait()
  8012. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  8013. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  8014. end
  8015. if ModeOfGlitch == 12345678987654321 then
  8016. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  8017. end
  8018. end
  8019. end))
  8020.  
  8021.  
  8022. function RandomMaterial()
  8023. local getRandom;
  8024. local material;
  8025. local function IsTerrainMaterial(mat)
  8026. local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  8027. return isMaterial
  8028. end
  8029. getRandom = function()
  8030. local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  8031. if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  8032. end
  8033. getRandom()
  8034. repeat wait() until material
  8035. return material
  8036. end
  8037. function RandomCaps(str)
  8038. local new = ""
  8039. for i = 1, #str do
  8040. if(math.random(1,2) == 1)then
  8041. new = new .. (str:sub(i,i):upper())
  8042. else
  8043. new = new .. str:sub(i,i)
  8044. end
  8045. end
  8046. return new
  8047. end
  8048.  
  8049. coroutine.resume(coroutine.create(function()
  8050. while true do
  8051. for i = 1, #ODers do
  8052. local ODer = ODers[i]
  8053. if(ODer)then
  8054. local hed = ODer:FindFirstChild'Head'
  8055. if(ODer.Parent and hed)then
  8056. sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true)
  8057. else
  8058. table.remove(ODers,i)
  8059. end
  8060. else
  8061. table.remove(ODers,i)
  8062. end
  8063. end
  8064. if(not kan)then
  8065. kan = Instance.new("Sound",char)
  8066. end
  8067. kan.Parent = char
  8068. if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end
  8069. kan.Pitch = Pitch
  8070. kan.SoundId = MID
  8071. kan.Name = "wrecked"
  8072. kan.Looped = true
  8073. kan:Resume()
  8074. swait()
  8075. if glitchymode == true then
  8076. local val = math.random(1,255)
  8077. local color = Color3.fromRGB(val,val,val)
  8078. pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  8079. pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  8080. tl1.Color = ColorSequence.new(color)
  8081. tl2.Color = ColorSequence.new(color)
  8082. tl3.Color = ColorSequence.new(color)
  8083. tr1.Color = ColorSequence.new(color)
  8084. tr2.Color = ColorSequence.new(color)
  8085. tr3.Color = ColorSequence.new(color)
  8086. for i, v in pairs(mw1:GetChildren()) do
  8087. if v:IsA("Part") then
  8088. v.Transparency = 0
  8089. v.Color = color
  8090. v.Material = "Neon"
  8091. end
  8092. end
  8093. for i, v in pairs(mw2:GetChildren()) do
  8094. if v:IsA("Part") then
  8095. v.Color = color
  8096. v.Material = "Neon"
  8097. end
  8098. end
  8099. for i, v in pairs(m2:GetChildren()) do
  8100. if v:IsA("Part") then
  8101. v.Color = color
  8102. v.Material = "Neon"
  8103. end
  8104. end
  8105. RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
  8106. end
  8107. if chaosmode or glitchymode then
  8108. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  8109. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  8110. else
  8111. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  8112. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  8113. end
  8114. if chaosmode == true then
  8115. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8116. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8117. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8118. RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color)
  8119. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
  8120. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
  8121. for i, v in pairs(mw1:GetChildren()) do
  8122. if v:IsA("Part") then
  8123. v.Transparency = 0.75
  8124. v.BrickColor = BrickColor.random()
  8125. v.Material = "Neon"
  8126. end
  8127. end
  8128. for i, v in pairs(extrawingmod1:GetChildren()) do
  8129. if v:IsA("Part") and ModeOfGlitch == 666666 then
  8130. v.Transparency = 0.75
  8131. v.BrickColor = BrickColor.random()
  8132. v.Material = "Neon"
  8133. elseif v:IsA("Part") then
  8134. v.Transparency = 1
  8135. end
  8136. end
  8137. for i, v in pairs(m2:GetChildren()) do
  8138. if v:IsA("Part") then
  8139. v.BrickColor = BrickColor.random()
  8140. v.Material = "Neon"
  8141. end
  8142. end
  8143. end
  8144. end
  8145. end))
  8146. Humanoid.Name = "STARGLITCHER"
  8147. Humanoid.MaxHealth = math.huge
  8148. Humanoid.Health = math.huge
  8149. Instance.new("ForceField",char).Visible = false
  8150. Humanoid.Animator.Parent = nil
  8151. idleanim=.4
  8152. while true do
  8153. if rainbowmode == false and chaosmode == false and glitchymode == false then
  8154. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8155. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8156. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8157. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8158. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8159. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8160. end
  8161. if rainbowmode == true then
  8162. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  8163. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  8164. if(not vaporwave)then
  8165. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  8166. else
  8167. RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  8168. end
  8169. MAINRUINCOLOR = BrickColor.new("White")
  8170. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8171. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8172. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8173. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8174. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8175. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8176. for i, v in pairs(m:GetChildren()) do
  8177. if v:IsA("Part") then
  8178. v.Color = Color3.new(r/255,g/255,b/255)
  8179. end
  8180. end
  8181. for i, v in pairs(m2:GetChildren()) do
  8182. if v:IsA("Part") then
  8183. v.Color = Color3.new(r/255,g/255,b/255)
  8184. end
  8185. end
  8186. for i, v in pairs(m3:GetChildren()) do
  8187. if v:IsA("Part") then
  8188. v.Color = Color3.new(r/255,g/255,b/255)
  8189. end
  8190. end
  8191. for i, v in pairs(mw1:GetChildren()) do
  8192. if v:IsA("Part") then
  8193. v.Color = Color3.new(r/255,g/255,b/255)
  8194. v.Material = "Neon"
  8195. end
  8196. end
  8197. for i, v in pairs(mw2:GetChildren()) do
  8198. if v:IsA("Part") then
  8199. v.Color = Color3.new(r/255,g/255,b/255)
  8200. v.Material = "Neon"
  8201. end
  8202. end
  8203. end
  8204. CameraManager()
  8205. swait()
  8206. 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)
  8207. 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)
  8208. 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)
  8209. 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)
  8210. 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)
  8211. 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)
  8212.  
  8213. 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)
  8214. 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)
  8215. 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)
  8216. 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)
  8217. 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)
  8218. 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)
  8219. sine = sine + change
  8220. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8221. local velderp=RootPart.Velocity.y
  8222. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8223. if equipped==true or equipped==false then
  8224. if attack==false then
  8225. idle=idle+1
  8226. else
  8227. idle=0
  8228. end
  8229. if idle>=500 then
  8230. if attack==false then
  8231. --Sheath()
  8232. end
  8233. end
  8234. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8235. Anim="Jump"
  8236. if attack==false then
  8237. 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(-5),math.rad(0),math.rad(-20)),.1)
  8238. 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)
  8239. 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)
  8240. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  8241. 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)
  8242. 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)
  8243. end
  8244. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8245. Anim="Fall"
  8246. if attack==false then
  8247. 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(-5),math.rad(0),math.rad(-20)),.1)
  8248. 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)
  8249. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  8250. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  8251. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  8252. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  8253. end
  8254. elseif torvel<1 and hitfloor~=nil then
  8255. Anim="Idle"
  8256. if attack==false then
  8257. if ModeOfGlitch == 1 or ModeOfGlitch == 122 then
  8258. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  8259. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  8260. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  8261. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  8262. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  8263. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  8264.  
  8265. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 or ModeOfGlitch == 12 or ModeOfGlitch == 78 then
  8266. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  8267. 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)
  8268. 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)
  8269. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  8270. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  8271. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  8272.  
  8273. elseif ModeOfGlitch == 3 then
  8274. 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)
  8275. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  8276. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  8277. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  8278. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  8279. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  8280. elseif ModeOfGlitch == 4 then
  8281. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  8282. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  8283. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  8284. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  8285. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  8286. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  8287. elseif ModeOfGlitch == 69 then
  8288. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  8289. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  8290. LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  8291. RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  8292. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  8293. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  8294. elseif ModeOfGlitch == 789 then
  8295. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8296. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  8298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  8299. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  8300. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  8301. elseif ModeOfGlitch == 7899 then
  8302. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 34))),.1)
  8303. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8304. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  8305. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  8306. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  8307. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  8308. elseif ModeOfGlitch == 78999 then
  8309. 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 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8310. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8311. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
  8312. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1)
  8313. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
  8314. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1)
  8315. elseif ModeOfGlitch == 8376532578634534 then
  8316. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  8317. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  8318. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  8319. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  8320. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  8321. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  8322.  
  8323. elseif ModeOfGlitch == 666666 and ModeOfGlitch ~= 83765325786345343 then
  8324. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  8325. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  8326. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  8327. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  8328. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  8329. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  8330.  
  8331. elseif ModeOfGlitch == 5 then
  8332. 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)
  8333. 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)
  8334. 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)
  8335. 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)
  8336. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  8337. 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)
  8338.  
  8339. elseif ModeOfGlitch == 789 then
  8340. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8341. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8342. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  8343. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  8344. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  8345. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  8346.  
  8347. elseif ModeOfGlitch == 1220 then
  8348. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  8349. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  8350. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  8351. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8352. 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)
  8353. 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)
  8354.  
  8355. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
  8356. 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)
  8357. 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)
  8358. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  8359. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  8360. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  8361. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  8362.  
  8363. elseif ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 55 then
  8364. 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)
  8365. 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)
  8366. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  8367. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  8368. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  8369. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  8370. end
  8371. end
  8372. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  8373. Anim="Walk"
  8374. if attack==false then
  8375. if ModeOfGlitch == 1 or ModeOfGlitch == 122 then
  8376. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  8377. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  8378. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  8379. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  8380. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  8381. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  8382. elseif ModeOfGlitch == 4 then
  8383. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1)
  8384. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1)
  8385. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  8386. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  8387. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  8388. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  8389. elseif ModeOfGlitch == 666666 then
  8390. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  8391. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  8392. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  8393. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  8394. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  8395. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  8396.  
  8397. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  8398. RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  8399. LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  8400. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  8401. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  8402. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  8403. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  8404. end
  8405. end
  8406. elseif torvel>=22 and hitfloor~=nil then
  8407. Anim="Run"
  8408. if attack==false then
  8409. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  8410. RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1)
  8411. LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1)
  8412. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  8413. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  8414. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  8415. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  8416. elseif ModeOfGlitch == 666666 then
  8417. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*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)
  8418. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*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)
  8419. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
  8420. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  8421. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  8422. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  8423.  
  8424. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 55 or ModeOfGlitch == 8376532578634534 then
  8425. 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)
  8426. 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)
  8427. 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)
  8428. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  8429. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  8430. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  8431. end
  8432. end
  8433. end
  8434. end
  8435. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement