Advertisement
WagnerJunio07

Nebula Glitcher

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