Advertisement
kostik228

nebula f e xD

Feb 13th, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 356.42 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 = owner
  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 = owner
  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.  
  88. warn'Nebby\'s Star Glitcher Loaded.'
  89. warn'All purpose switcher...'
  90. warn'Created by Noobygames12'
  91. warn'Edited by Nebula_Zorua'
  92. warn([[Icons:
  93. ! = New
  94. ? = Spoilers
  95. * = Exclusivity]])
  96. print([[V 3.21 (ON PROGRESS) Update Log:
  97. ! - Changed Judgement back to Justice
  98. ! - Gave Divinity an attack named Judgement. Credit to XXUNORIB
  99. ! - Replaced Corruption with Glitchy
  100. ! - Fixed some bugs, too
  101. ! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas)
  102. ]])
  103.  
  104. warn([[
  105. This ISN'T NebulaGlitcher. That is a seperate script, not an edit.
  106. ]])
  107.  
  108. warn([[
  109. CONTROLS -
  110. SOLITUDE GUEST (MAYHEM) - Z (Like mayhem), M
  111. BIG BLACK (VIOLENCE) - Z (Like mayhem)
  112. PURITY - Z
  113. GLITCHY (CORRUPTION) - Z
  114. CHAOS - Z, M
  115. INSANITY - Z
  116. DIVINITY - Z
  117. JUSTICE - Z, X
  118. RAINBOW - Z, U
  119. VAPORWAVE - Z, U (no difference except song)
  120. CALAMITY - Z (I borked it lol), X, M
  121. CATASTROPHE - Z, M
  122. LUST - Z, M
  123.  
  124. TO UNLOCK LUST'S M: Do the keystroke wwssadad
  125. TO UNLOCK CALAMITY'S M: Do the keystroke wwaassdd
  126. TO DO CHAOS'S KILL ALL: Do the keystroke DDAWAS
  127. ]])
  128.  
  129.  
  130. --- its obs smooth af do not touch
  131. ---- Sources and functions might be taken from others
  132. plr = game:GetService("Players").inessaG
  133. char = plr.Character
  134. hum = char:FindFirstChildOfClass'Humanoid'
  135. Mouse = owner
  136. local cam = game.Workspace.CurrentCamera
  137. Camera = cam
  138. local CamInterrupt = false
  139. local TwoD = false
  140. local TargetInfo = {nil, nil}
  141. cam.CameraType = "Custom"
  142. t = char.Torso
  143. h = char.Head
  144. ra = char["Right Arm"]
  145. la = char["Left Arm"]
  146. rl = char["Right Leg"]
  147. ll = char["Left Leg"]
  148. tors = char.Torso
  149. lleg = char["Left Leg"]
  150. root = char.HumanoidRootPart
  151. hed = char.Head
  152. rleg = char["Right Leg"]
  153. rarm = char["Right Arm"]
  154. larm = char["Left Arm"]
  155. radian = math.rad
  156. random = math.random
  157. Vec3 = Vector3.new
  158. Inst = Instance.new
  159. cFrame = CFrame.new
  160. Euler = CFrame.fromEulerAnglesXYZ
  161. vt = Vector3.new
  162. bc = BrickColor.new
  163. br = BrickColor.random
  164. it = Instance.new
  165. cf = CFrame.new
  166.  
  167. local ODers = {}
  168.  
  169. local AllowRape = true;
  170. local AllowCata = true;
  171.  
  172. local Booleans = {
  173. CamFollow = true,
  174. GyroUse = true
  175. }
  176.  
  177. function lerp(object, newCFrame, alpha)
  178. return object:lerp(newCFrame, alpha)
  179. end
  180.  
  181. local Directer = Inst("BodyGyro", root)
  182. Directer.MaxTorque = Vec3(0, 0, 0)
  183. Directer.P = 600000
  184. local CPart = Inst("Part")
  185. CPart.Anchored = true
  186. CPart.CanCollide = false
  187. CPart.Locked = true
  188. CPart.Transparency = 1
  189.  
  190. local rainbowmode = false
  191. local chaosmode = false
  192. local glitchymode = false
  193. kan = Instance.new("Sound",char)
  194. kan.Volume = 1.25
  195. kan.TimePosition = 0
  196. kan.PlaybackSpeed = 1
  197. kan.Pitch = 1
  198. kan.SoundId = "rbxassetid://1564523997"
  199. kan.Name = "wrecked"
  200. kan.Looped = true
  201. kan:Play()
  202.  
  203. local MID = "rbxassetid://1564523997";
  204. local Pitch = 1;
  205.  
  206. function newTheme(ID,timepos,pitch,vol)
  207. local kanz = kan
  208. --kanz:Stop()
  209. --kanz.Volume = vol
  210. --kanz.TimePosition = timepos
  211. kanz.PlaybackSpeed = pitch
  212. kanz.Pitch = pitch
  213. kanz.SoundId = ID
  214. kanz.Name = "wrecked"
  215. kanz.Looped = true
  216. Pitch = pitch
  217. MID = ID
  218. --kanz:Play()
  219. --coroutine.resume(coroutine.create(function()
  220. --wait(0.05)
  221. --end))
  222. end
  223.  
  224. function newThemeCust(ID,timepos,pitch,vol)
  225. local kanz = kan
  226. kanz:Stop()
  227. kanz.Volume = vol
  228. kanz.TimePosition = timepos
  229. kanz.PlaybackSpeed = pitch
  230. kanz.Pitch = pitch
  231. MID = ID
  232. kanz.SoundId = ID
  233. kanz.Name = "wrecked"
  234. kanz.Looped = true
  235. kanz:Play()
  236. coroutine.resume(coroutine.create(function()
  237. wait(0.05)
  238. end))
  239. end
  240.  
  241.  
  242.  
  243. function CameraShake(Times, Power, PlayerTarget)
  244. coroutine.resume(coroutine.create(function()
  245. FV = Instance.new("BoolValue", PlayerTarget)
  246. FV.Name = "CameraShake"
  247. for ShakeNum=1,Times do
  248. swait()
  249. local ef=Power
  250. if ef>=1 then
  251. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  252. else
  253. ef=Power*10
  254. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  255. end
  256. end
  257. Humanoid.CameraOffset = Vector3.new(0,0,0)
  258. FV:Destroy()
  259. end))
  260. end
  261.  
  262. function CameraEnshaking(Length,Intensity)
  263. coroutine.resume(coroutine.create(function()
  264. local intensity = 1*Intensity
  265. local rotM = 0.01*Intensity
  266. for i = 0, Length, 0.1 do
  267. swait()
  268. intensity = intensity - 0.05*Intensity/Length
  269. rotM = rotM - 0.0005*Intensity/Length
  270. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  271. 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)
  272. end
  273. Humanoid.CameraOffset = Vec3(0, 0, 0)
  274. end))
  275. end
  276. CamShake=function(Part,Distan,Power,Times)
  277. local de=Part.Position
  278. for i,v in pairs(workspace:children()) do
  279. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  280. for _,c in pairs(v:children()) do
  281. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  282. local Noob=vFindFirstChildOfClass'Humanoid'
  283. if Noob~=nil then
  284. coroutine.resume(coroutine.create(function()
  285. FV = Instance.new("BoolValue", Noob)
  286. FV.Name = "CameraShake"
  287. for ShakeNum=1,Times do
  288. swait()
  289. local ef=Power
  290. if ef>=1 then
  291. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  292. else
  293. ef=Power*10
  294. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  295. end
  296. end
  297. Humanoid.CameraOffset = Vector3.new(0,0,0)
  298. FV:Destroy()
  299. end))
  300. CameraShake(Times, Power, Noob)
  301. end
  302. end
  303. end
  304. end
  305. end
  306. end
  307.  
  308. function chatfunc(text,color)
  309. local chat = coroutine.wrap(function()
  310. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  311. Character:FindFirstChild("TalkingBillBoard"):destroy()
  312. end
  313. local naeeym2 = Instance.new("BillboardGui",Character)
  314. naeeym2.Size = UDim2.new(0,100,0,40)
  315. naeeym2.StudsOffset = Vector3.new(0,3,0)
  316. naeeym2.Adornee = Character.Head
  317. naeeym2.Name = "TalkingBillBoard"
  318. local tecks2 = Instance.new("TextLabel",naeeym2)
  319. tecks2.BackgroundTransparency = 1
  320. tecks2.BorderSizePixel = 0
  321. tecks2.Text = ""
  322. tecks2.Font = "SciFi"
  323. tecks2.TextSize = 30
  324. tecks2.TextStrokeTransparency = 0
  325. tecks2.TextColor3 = color
  326. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  327. tecks2.Size = UDim2.new(1,0,0.5,0)
  328. local tecks3 = Instance.new("TextLabel",naeeym2)
  329. tecks3.BackgroundTransparency = 1
  330. tecks3.BorderSizePixel = 0
  331. tecks3.Text = ""
  332. tecks3.Font = "SciFi"
  333. tecks3.TextSize = 30
  334. tecks3.TextStrokeTransparency = 0
  335. tecks3.TextColor3 = Color3.new(0,0,0)
  336. tecks3.TextStrokeColor3 = color
  337. tecks3.Size = UDim2.new(1,0,0.5,0)
  338. coroutine.resume(coroutine.create(function()
  339. while true do
  340. swait(1)
  341. if chaosmode == true then
  342. tecks2.TextColor3 = BrickColor.random().Color
  343. tecks3.TextStrokeColor3 = BrickColor.random().Color
  344. end
  345. if(glitchymode)then
  346. local val = math.random(1,255)
  347. local color = Color3.fromRGB(val,val,val)
  348. tecks2.TextColor3 = color
  349. tecks3.TextStrokeColor3 = color
  350. end
  351. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  352. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  353. tecks2.Rotation = math.random(-5,5)
  354. tecks3.Rotation = math.random(-5,5)
  355. end
  356. end))
  357. for i = 1,string.len(text),1 do
  358. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  359. tecks2.Text = string.sub(text,1,i)
  360. tecks3.Text = string.sub(text,1,i)
  361. swait(1)
  362. end
  363. wait(1)
  364. local randomrot = math.random(1,2)
  365. if randomrot == 1 then
  366. for i = 1, 50 do
  367. swait()
  368. tecks2.Rotation = tecks2.Rotation - .75
  369. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  370. tecks2.TextTransparency = tecks2.TextTransparency + .04
  371. tecks3.Rotation = tecks2.Rotation + .75
  372. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  373. tecks3.TextTransparency = tecks2.TextTransparency + .04
  374. end
  375. elseif randomrot == 2 then
  376. for i = 1, 50 do
  377. swait()
  378. tecks2.Rotation = tecks2.Rotation + .75
  379. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  380. tecks2.TextTransparency = tecks2.TextTransparency + .04
  381. tecks3.Rotation = tecks2.Rotation - .75
  382. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  383. tecks3.TextTransparency = tecks2.TextTransparency + .04
  384. end
  385. end
  386. naeeym2:Destroy()
  387. end)
  388. chat()
  389. end
  390.  
  391.  
  392. local Create = LoadLibrary("RbxUtility").Create
  393.  
  394. CFuncs = {
  395. ["Part"] = {
  396. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  397. local Part = Create("Part"){
  398. Parent = Parent,
  399. Reflectance = Reflectance,
  400. Transparency = Transparency,
  401. CanCollide = false,
  402. Locked = true,
  403. BrickColor = BrickColor.new(tostring(BColor)),
  404. Name = Name,
  405. Size = Size,
  406. Material = Material,
  407. }
  408. RemoveOutlines(Part)
  409. return Part
  410. end;
  411. };
  412.  
  413. ["Mesh"] = {
  414. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  415. local Msh = Create(Mesh){
  416. Parent = Part,
  417. Offset = OffSet,
  418. Scale = Scale,
  419. }
  420. if Mesh == "SpecialMesh" then
  421. Msh.MeshType = MeshType
  422. Msh.MeshId = MeshId
  423. end
  424. return Msh
  425. end;
  426. };
  427.  
  428. ["Mesh"] = {
  429. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  430. local Msh = Create(Mesh){
  431. Parent = Part,
  432. Offset = OffSet,
  433. Scale = Scale,
  434. }
  435. if Mesh == "SpecialMesh" then
  436. Msh.MeshType = MeshType
  437. Msh.MeshId = MeshId
  438. end
  439. return Msh
  440. end;
  441. };
  442.  
  443. ["Weld"] = {
  444. Create = function(Parent, Part0, Part1, C0, C1)
  445. local Weld = Create("Weld"){
  446. Parent = Parent,
  447. Part0 = Part0,
  448. Part1 = Part1,
  449. C0 = C0,
  450. C1 = C1,
  451. }
  452. return Weld
  453. end;
  454. };
  455.  
  456. ["Sound"] = {
  457. Create = function(id, par, vol, pit)
  458. return coroutine.wrap(function()
  459. local S = Create("Sound"){
  460. Volume = vol,
  461. Name = "EffectSoundo",
  462. Pitch = pit or 1,
  463. SoundId = id,
  464. Parent = par or workspace,
  465. }
  466. S:Play()
  467. S.Ended:connect(function()
  468. S:Destroy()
  469. end)
  470. return S;
  471. end)()
  472. end;
  473. };
  474.  
  475. ["LongSound"] = {
  476. Create = function(id, par, vol, pit)
  477. coroutine.resume(coroutine.create(function()
  478. local S = Create("Sound"){
  479. Volume = vol,
  480. Pitch = pit or 1,
  481. SoundId = id,
  482. Parent = par or workspace,
  483. }
  484. wait()
  485. S:play()
  486. game:GetService("Debris"):AddItem(S, 30)
  487. end))
  488. end;
  489. };
  490.  
  491. ["ParticleEmitter"] = {
  492. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  493. local fp = Create("ParticleEmitter"){
  494. Parent = Parent,
  495. Color = ColorSequence.new(Color1, Color2),
  496. LightEmission = LightEmission,
  497. Size = Size,
  498. Texture = Texture,
  499. Transparency = Transparency,
  500. ZOffset = ZOffset,
  501. Acceleration = Accel,
  502. Drag = Drag,
  503. LockedToPart = LockedToPart,
  504. VelocityInheritance = VelocityInheritance,
  505. EmissionDirection = EmissionDirection,
  506. Enabled = Enabled,
  507. Lifetime = LifeTime,
  508. Rate = Rate,
  509. Rotation = Rotation,
  510. RotSpeed = RotSpeed,
  511. Speed = Speed,
  512. VelocitySpread = VelocitySpread,
  513. }
  514. return fp
  515. end;
  516. };
  517.  
  518. CreateTemplate = {
  519.  
  520. };
  521. }
  522.  
  523.  
  524.  
  525. New = function(Object, Parent, Name, Data)
  526. local Object = Instance.new(Object)
  527. for Index, Value in pairs(Data or {}) do
  528. Object[Index] = Value
  529. end
  530. Object.Parent = Parent
  531. Object.Name = Name
  532. return Object
  533. end
  534. local halocolor = BrickColor.new("Pastel light blue")
  535. local halocolor2 = BrickColor.new("Cool yellow")
  536. local starcolor = BrickColor.new("Bright yellow")
  537. local lunacolor = BrickColor.new("Navy blue")
  538. local lunacolor2 = BrickColor.new("Bright blue")
  539. local wepcolor = BrickColor.new("Really black")
  540. local maincolor = BrickColor.new("Really black")
  541. local m = Instance.new("Model",char)
  542. local m2 = Instance.new("Model",char)
  543. local m3 = Instance.new("Model",char)
  544. local mw1 = Instance.new("Model",char)
  545. local mw2 = Instance.new("Model",char)
  546.  
  547. local extrawingmod1 = Instance.new("Model",char)
  548. local extrawingmod2 = Instance.new("Model",char)
  549.  
  550. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  551. local p = Instance.new("Part")
  552. p.TopSurface = 0
  553. p.BottomSurface = 0
  554. p.Parent = parent
  555. p.Size = Vector3.new(0.1,0.1,0.1)
  556. p.Transparency = transparency
  557. p.Reflectance = reflectance
  558. p.CanCollide = false
  559. p.Locked = true
  560. p.BrickColor = brickcolor
  561. p.Material = material
  562. return p
  563. end
  564.  
  565. function CreateMesh(parent,meshtype,x1,y1,z1)
  566. local mesh = Instance.new("SpecialMesh",parent)
  567. mesh.MeshType = meshtype
  568. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  569. return mesh
  570. end
  571.  
  572. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  573. local mesh = Instance.new("SpecialMesh",parent)
  574. mesh.MeshType = "FileMesh"
  575. mesh.MeshId = meshid
  576. mesh.Scale = Vector3.new(x1,y1,z1)
  577. return mesh
  578. end
  579.  
  580.  
  581. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  582. local mesh = Instance.new("SpecialMesh",parent)
  583. mesh.MeshType = "FileMesh"
  584. mesh.MeshId = meshid
  585. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  586. mesh.Scale = Vector3.new(x1,y1,z1)
  587. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  588. return mesh
  589. end
  590.  
  591. --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))
  592.  
  593.  
  594. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  595. local weld = Instance.new("Weld")
  596. weld.Parent = parent
  597. weld.Part0 = part0
  598. weld.Part1 = part1
  599. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  600. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  601. return weld
  602. end
  603.  
  604. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  605. 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))
  606. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  607. 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))
  608.  
  609. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  610. CreateMesh(handle,"Brick",0,0,0)
  611. 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))
  612. local valuaring = 10
  613. for i = 0, 49 do
  614. valuaring = valuaring + 10
  615. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  616. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  617. 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))
  618. end
  619.  
  620. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  621. CreateMesh(handle,"Brick",0,0,0)
  622. 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))
  623. local valuaring = 10
  624. for i = 0, 49 do
  625. valuaring = valuaring + 10
  626. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  627. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  628. 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))
  629. end
  630.  
  631.  
  632. local handle = CreateParta(m,1,1,"Neon",maincolor)
  633. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  634. 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))
  635.  
  636. --- Left wing.
  637.  
  638. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  639. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  640. 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))
  641.  
  642. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  643. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  644. 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))
  645. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  646. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  647. 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))
  648. A0 = Instance.new('Attachment',wed)
  649. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  650. CreateMesh(wed,"Wedge",0.05,0.5,3)
  651. 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))
  652. A1 = Instance.new('Attachment',wed)
  653. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  654. CreateMesh(wed,"Wedge",0.05,3,0.5)
  655. 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))
  656.  
  657. tl1 = Instance.new('Trail',wed)
  658. tl1.Attachment0 = A0
  659. tl1.Attachment1 = A1
  660. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  661. tl1.LightEmission = 1
  662. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  663. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  664. tl1.Lifetime = 0.6
  665.  
  666.  
  667. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  668. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  669. 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))
  670.  
  671. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  672. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  673. 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))
  674. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  675. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  676. 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))
  677. A0 = Instance.new('Attachment',wed)
  678. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  679. CreateMesh(wed,"Wedge",0.05,0.5,3)
  680. 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))
  681. A1 = Instance.new('Attachment',wed)
  682. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  683. CreateMesh(wed,"Wedge",0.05,3,0.5)
  684. 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))
  685.  
  686. tl2 = Instance.new('Trail',wed)
  687. tl2.Attachment0 = A0
  688. tl2.Attachment1 = A1
  689. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  690. tl2.LightEmission = 1
  691. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  692. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  693. tl2.Lifetime = 0.6
  694.  
  695. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  696. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  697. 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))
  698.  
  699. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  700. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  701. 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))
  702. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  703. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  704. 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))
  705. A0 = Instance.new('Attachment',wed)
  706. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  707. CreateMesh(wed,"Wedge",0.05,0.5,3)
  708. 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))
  709. A1 = Instance.new('Attachment',wed)
  710. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  711. CreateMesh(wed,"Wedge",0.05,3,0.5)
  712. 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))
  713.  
  714. tl3 = Instance.new('Trail',wed)
  715. tl3.Attachment0 = A0
  716. tl3.Attachment1 = A1
  717. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  718. tl3.LightEmission = 1
  719. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  720. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  721. tl3.Lifetime = 0.6
  722.  
  723. tl1.Enabled = false
  724. tl2.Enabled = false
  725. tl3.Enabled = false
  726. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  727. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  728. 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))
  729.  
  730. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  731. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  732. 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))
  733. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  734. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  735. 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))
  736. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  737. CreateMesh(wed,"Wedge",0.05,0.5,3)
  738. 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))
  739. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  740. CreateMesh(wed,"Wedge",0.05,3,0.5)
  741. 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))
  742.  
  743. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  744. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  745. 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))
  746.  
  747. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  748. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  749. 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))
  750. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  751. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  752. 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))
  753. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  754. CreateMesh(wed,"Wedge",0.05,0.5,3)
  755. 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))
  756. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  757. CreateMesh(wed,"Wedge",0.05,3,0.5)
  758. 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))
  759.  
  760. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  761. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  762. 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))
  763.  
  764. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  765. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  766. 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))
  767. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  768. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  769. 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))
  770. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  771. CreateMesh(wed,"Wedge",0.05,0.5,3)
  772. 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))
  773. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  774. CreateMesh(wed,"Wedge",0.05,3,0.5)
  775. 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))
  776.  
  777. -- Right wing.
  778.  
  779. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  780. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  781. 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))
  782.  
  783. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  784. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  785. 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))
  786. A0 = Instance.new('Attachment',wed)
  787. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  788. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  789. 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))
  790. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  791. CreateMesh(wed,"Wedge",0.05,0.5,3)
  792. 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))
  793. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  794. CreateMesh(wed,"Wedge",0.05,3,0.5)
  795. 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))
  796. A1 = Instance.new('Attachment',wed)
  797.  
  798. tr1 = Instance.new('Trail',wed)
  799. tr1.Attachment0 = A0
  800. tr1.Attachment1 = A1
  801. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  802. tr1.LightEmission = 1
  803. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  804. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  805. tr1.Lifetime = 0.6
  806.  
  807. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  808. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  809. 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))
  810.  
  811. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  812. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  813. 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))
  814. A0 = Instance.new('Attachment',wed)
  815. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  816. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  817. 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))
  818. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  819. CreateMesh(wed,"Wedge",0.05,0.5,3)
  820. 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))
  821. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  822. CreateMesh(wed,"Wedge",0.05,3,0.5)
  823. 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))
  824. A1 = Instance.new('Attachment',wed)
  825.  
  826. tr2 = Instance.new('Trail',wed)
  827. tr2.Attachment0 = A0
  828. tr2.Attachment1 = A1
  829. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  830. tr2.LightEmission = 1
  831. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  832. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  833. tr2.Lifetime = 0.6
  834.  
  835. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  836. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  837. 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))
  838.  
  839. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  840. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  841. 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))
  842. A0 = Instance.new('Attachment',wed)
  843. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  844. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  845. 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))
  846. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  847. CreateMesh(wed,"Wedge",0.05,0.5,3)
  848. 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))
  849. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  850. CreateMesh(wed,"Wedge",0.05,3,0.5)
  851. 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))
  852. A1 = Instance.new('Attachment',wed)
  853.  
  854. tr3 = Instance.new('Trail',wed)
  855. tr3.Attachment0 = A0
  856. tr3.Attachment1 = A1
  857. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  858. tr3.LightEmission = 1
  859. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  860. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  861. tr3.Lifetime = 0.6
  862.  
  863.  
  864. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  865. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  866. 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))
  867.  
  868. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  870. 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))
  871. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  872. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  873. 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))
  874. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  875. CreateMesh(wed,"Wedge",0.05,0.5,3)
  876. 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))
  877. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  878. CreateMesh(wed,"Wedge",0.05,3,0.5)
  879. 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))
  880.  
  881. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  882. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  883. 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))
  884.  
  885. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  886. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  887. 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))
  888. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  889. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  890. 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))
  891. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  892. CreateMesh(wed,"Wedge",0.05,0.5,3)
  893. 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))
  894. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  895. CreateMesh(wed,"Wedge",0.05,3,0.5)
  896. 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))
  897.  
  898. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  899. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  900. 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))
  901.  
  902. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  903. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  904. 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))
  905. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  906. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  907. 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))
  908. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  909. CreateMesh(wed,"Wedge",0.05,0.5,3)
  910. 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))
  911. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  912. CreateMesh(wed,"Wedge",0.05,3,0.5)
  913. 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))
  914.  
  915. ---- HERES THE RING
  916.  
  917.  
  918. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  919. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  920. 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))
  921. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  922. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  923. 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))
  924. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  925. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  926. 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))
  927.  
  928.  
  929. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  930. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  931. 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))
  932.  
  933. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  934. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  935. 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))
  936.  
  937.  
  938.  
  939. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  940. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  941. 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))
  942.  
  943. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  944. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  945. 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))
  946.  
  947. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  948. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  949. 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))
  950.  
  951. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  952. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  953. 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))
  954. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  955. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  956. 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))
  957.  
  958. -- S section A
  959.  
  960. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  961. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  962. 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))
  963. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  964. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  965. 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))
  966. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  967. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  968. 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))
  969.  
  970. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  971. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  972. 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))
  973. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  974. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  975. 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))
  976. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  977. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  978. 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))
  979.  
  980. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  981. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  982. 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))
  983. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  984. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  985. 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))
  986. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  987. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  988. 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))
  989.  
  990. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  991. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  992. 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))
  993. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  994. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  995. 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))
  996. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  997. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  998. 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))
  999.  
  1000. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1001. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1002. 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))
  1003. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1004. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1005. 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))
  1006. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1007. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1008. 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))
  1009.  
  1010. -- S section B
  1011.  
  1012. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1013. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1014. 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))
  1015. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1016. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1017. 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))
  1018. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1019. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1020. 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))
  1021.  
  1022. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1023. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1024. 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))
  1025. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1026. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1027. 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))
  1028. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1029. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1030. 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))
  1031.  
  1032. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1033. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1034. 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))
  1035. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1036. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1037. 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))
  1038. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1039. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1040. 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))
  1041.  
  1042. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1043. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1044. 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))
  1045. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1046. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1047. 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))
  1048. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1049. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1050. 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))
  1051.  
  1052. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1053. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1054. 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))
  1055. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1056. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1057. 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))
  1058. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1059. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1060. 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))
  1061.  
  1062. --- second ring
  1063.  
  1064. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1065. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1066. 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))
  1067. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1068. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1069. 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))
  1070. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1071. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1072. 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))
  1073.  
  1074. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1075. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1076. 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))
  1077.  
  1078. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1079. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1080. 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))
  1081.  
  1082.  
  1083.  
  1084. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1085. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1086. 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))
  1087.  
  1088. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1089. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1090. 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))
  1091.  
  1092. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1093. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1094. 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))
  1095.  
  1096. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1097. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1098. 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))
  1099. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1100. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1101. 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))
  1102.  
  1103. -- S section A
  1104.  
  1105. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1106. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1107. 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))
  1108. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1109. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1110. 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))
  1111. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1112. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1113. 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))
  1114.  
  1115. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1116. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1117. 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))
  1118. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1119. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1120. 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))
  1121. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1122. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1123. 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))
  1124.  
  1125. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1126. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1127. 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))
  1128. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1129. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1130. 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))
  1131. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1132. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1133. 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))
  1134.  
  1135. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1136. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1137. 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))
  1138. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1139. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1140. 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))
  1141. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1142. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1143. 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))
  1144.  
  1145. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1146. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1147. 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))
  1148. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1149. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1150. 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))
  1151. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1152. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1153. 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))
  1154.  
  1155. -- S section B
  1156.  
  1157. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1158. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1159. 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))
  1160. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1161. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1162. 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))
  1163. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1164. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1165. 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))
  1166.  
  1167. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1168. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1169. 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))
  1170. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1171. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1172. 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))
  1173. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1174. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1175. 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))
  1176.  
  1177. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1178. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1179. 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))
  1180. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1181. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1182. 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))
  1183. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1184. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1185. 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))
  1186.  
  1187. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1188. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1189. 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))
  1190. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1191. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1192. 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))
  1193. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1194. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1195. 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))
  1196.  
  1197. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1198. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1199. 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))
  1200. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1201. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1202. 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))
  1203. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1204. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1205. 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))]]--
  1206.  
  1207.  
  1208. for i, v in pairs(m:GetChildren()) do
  1209. if v:IsA("Part") then
  1210. v.BrickColor = BrickColor.new("Really black")
  1211. v.Material = "Glass"
  1212. end
  1213. end
  1214. for i, v in pairs(m2:GetChildren()) do
  1215. if v:IsA("Part") then
  1216. v.BrickColor = BrickColor.new("Dark stone grey")
  1217. v.Material = "Granite"
  1218. end
  1219. end
  1220. for i, v in pairs(m3:GetChildren()) do
  1221. if v:IsA("Part") then
  1222. v.BrickColor = BrickColor.new("Really black")
  1223. v.Material = "Neon"
  1224. end
  1225. end
  1226. for i, v in pairs(mw2:GetChildren()) do
  1227. if v:IsA("Part") then
  1228. v.BrickColor = BrickColor.new("Really black")
  1229. v.Material = "Neon"
  1230. end
  1231. end
  1232. for i, v in pairs(mw1:GetChildren()) do
  1233. if v:IsA("Part") then
  1234. v.Transparency = 1
  1235. v.BrickColor = BrickColor.new("Really black")
  1236. v.Material = "Neon"
  1237. end
  1238. end
  1239. for i, v in pairs(extrawingmod1:GetChildren()) do
  1240. if v:IsA("Part") then
  1241. v.Transparency = 1
  1242. v.BrickColor = BrickColor.new("White")
  1243. v.Material = "Neon"
  1244. end
  1245. end
  1246. for i, v in pairs(extrawingmod2:GetChildren()) do
  1247. if v:IsA("Part") then
  1248. v.Transparency = 1
  1249. v.BrickColor = BrickColor.new("White")
  1250. v.Material = "Neon"
  1251. end
  1252. end
  1253. local MAINRUINCOLOR = BrickColor.new("Really black")
  1254. ------
  1255.  
  1256.  
  1257. function RemoveOutlines(part)
  1258. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1259. end
  1260. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1261. local Part = Create("Part")({
  1262. Parent = Parent,
  1263. Reflectance = Reflectance,
  1264. Transparency = Transparency,
  1265. CanCollide = false,
  1266. Locked = true,
  1267. BrickColor = BrickColor.new(tostring(BColor)),
  1268. Name = Name,
  1269. Size = Size,
  1270. Material = Material
  1271. })
  1272. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1273. RemoveOutlines(Part)
  1274. return Part
  1275. end
  1276. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1277. local Msh = Create(Mesh)({
  1278. Parent = Part,
  1279. Offset = OffSet,
  1280. Scale = Scale
  1281. })
  1282. if Mesh == "SpecialMesh" then
  1283. Msh.MeshType = MeshType
  1284. Msh.MeshId = MeshId
  1285. end
  1286. return Msh
  1287. end
  1288. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1289. local Weld = Create("Weld")({
  1290. Parent = Parent,
  1291. Part0 = Part0,
  1292. Part1 = Part1,
  1293. C0 = C0,
  1294. C1 = C1
  1295. })
  1296. return Weld
  1297. end
  1298.  
  1299. Player=game:GetService("Players").inessaG
  1300. Character=Player.Character
  1301. PlayerGui=Player.PlayerGui
  1302. Backpack=Player.Backpack
  1303. Torso=Character.Torso
  1304. Head=Character.Head
  1305. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1306. m=Instance.new('Model',Character)
  1307. LeftArm=Character["Left Arm"]
  1308. LeftLeg=Character["Left Leg"]
  1309. RightArm=Character["Right Arm"]
  1310. RightLeg=Character["Right Leg"]
  1311. LS=Torso["Left Shoulder"]
  1312. LH=Torso["Left Hip"]
  1313. RS=Torso["Right Shoulder"]
  1314. RH=Torso["Right Hip"]
  1315. Face = Head.face
  1316. Neck=Torso.Neck
  1317. it=Instance.new
  1318. attacktype=1
  1319. vt=Vector3.new
  1320. cf=CFrame.new
  1321. euler=CFrame.fromEulerAnglesXYZ
  1322. angles=CFrame.Angles
  1323. cloaked=false
  1324. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1325. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1326. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1327. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1328. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1329. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1330. RootPart=Character.HumanoidRootPart
  1331. RootJoint=RootPart.RootJoint
  1332. RootCF=euler(-1.57,0,3.14)
  1333. attack = false
  1334. attackdebounce = false
  1335. deb=false
  1336. equipped=true
  1337. hand=false
  1338. MMouse=nil
  1339. combo=0
  1340. mana=0
  1341. trispeed=.2
  1342. attackmode='none'
  1343. local idle=0
  1344. local Anim="Idle"
  1345. local Effects={}
  1346. local gun=false
  1347. local shoot=false
  1348. local sine = 0
  1349. local change = 1
  1350. player=nil
  1351. pcall(function()char.LeftWing:destroy()end)
  1352. pcall(function()char.Halo:destroy()end)
  1353. local toggleTag = true
  1354. local txt = Instance.new("BillboardGui", Head)
  1355. txt.Adornee = nil
  1356. txt.Name = "NameDetect"
  1357. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1358. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1359. local text = Instance.new("TextLabel", txt)
  1360. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1361. text.FontSize = "Size8"
  1362. text.TextScaled = true
  1363. text.TextTransparency = 0
  1364. text.BackgroundTransparency = 1
  1365. text.TextTransparency = 0
  1366. text.TextStrokeTransparency = 0
  1367. text.Font = "Fantasy"
  1368. text.TextStrokeColor3 = Color3.new(1,1,1)
  1369. text.TextColor3 = Color3.new(0,0,0)
  1370. text.Text = "solitude GUEST"
  1371.  
  1372. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1373. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1374.  
  1375. function RecolorTextAndRename(name,col1,col2)
  1376. text.TextStrokeColor3 = col2
  1377. text.TextColor3 = col1
  1378. text.Text = name
  1379. end
  1380. --save shoulders
  1381. RSH, LSH=nil, nil
  1382. --welds
  1383. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1384. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1385. LH=Torso["Left Hip"]
  1386. RH=Torso["Right Hip"]
  1387. TorsoColor=Torso.BrickColor
  1388. function NoOutline(Part)
  1389. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1390. end
  1391. player=Player
  1392. ch=Character
  1393. RSH=ch.Torso["Right Shoulder"]
  1394. LSH=ch.Torso["Left Shoulder"]
  1395. --
  1396. RSH.Parent=nil
  1397. LSH.Parent=nil
  1398. --
  1399. RW.Name="Right Shoulder"
  1400. RW.Part0=ch.Torso
  1401. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1402. RW.C1=cf(0, 0.5, 0)
  1403. RW.Part1=ch["Right Arm"]
  1404. RW.Parent=ch.Torso
  1405. --
  1406. LW.Name="Left Shoulder"
  1407. LW.Part0=ch.Torso
  1408. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1409. LW.C1=cf(0, 0.5, 0)
  1410. LW.Part1=ch["Left Arm"]
  1411. LW.Parent=ch.Torso
  1412.  
  1413. local Stats=Instance.new("BoolValue")
  1414. Stats.Name="Stats"
  1415. Stats.Parent=Character
  1416. local Atk=Instance.new("NumberValue")
  1417. Atk.Name="Damage"
  1418. Atk.Parent=Stats
  1419. Atk.Value=1
  1420. local Def=Instance.new("NumberValue")
  1421. Def.Name="Defense"
  1422. Def.Parent=Stats
  1423. Def.Value=1
  1424. local Speed=Instance.new("NumberValue")
  1425. Speed.Name="Speed"
  1426. Speed.Parent=Stats
  1427. Speed.Value=1
  1428. local Mvmt=Instance.new("NumberValue")
  1429. Mvmt.Name="Movement"
  1430. Mvmt.Parent=Stats
  1431. Mvmt.Value=1
  1432.  
  1433. local donum=0
  1434.  
  1435.  
  1436. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1437. local fp=it("Part")
  1438. fp.formFactor=formfactor
  1439. fp.Parent=parent
  1440. fp.Reflectance=reflectance
  1441. fp.Transparency=transparency
  1442. fp.CanCollide=false
  1443. fp.Locked=true
  1444. fp.BrickColor=brickcolor
  1445. fp.Name=name
  1446. fp.Size=size
  1447. fp.Position=Torso.Position
  1448. NoOutline(fp)
  1449. fp.Material="SmoothPlastic"
  1450. fp:BreakJoints()
  1451. return fp
  1452. end
  1453.  
  1454. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1455. local mesh=it(Mesh)
  1456. mesh.Parent=part
  1457. if Mesh=="SpecialMesh" then
  1458. mesh.MeshType=meshtype
  1459. if meshid~="nil" then
  1460. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1461. end
  1462. end
  1463. mesh.Offset=offset
  1464. mesh.Scale=scale
  1465. return mesh
  1466. end
  1467.  
  1468. function weld(parent,part0,part1,c0)
  1469. local weld=it("Weld")
  1470. weld.Parent=parent
  1471. weld.Part0=part0
  1472. weld.Part1=part1
  1473. weld.C0=c0
  1474. return weld
  1475. end
  1476.  
  1477. local Color1=Torso.BrickColor
  1478.  
  1479. local bodvel=Instance.new("BodyVelocity")
  1480. local bg=Instance.new("BodyGyro")
  1481.  
  1482. --// Artificial HB \\--
  1483.  
  1484. local ArtificialHB = Instance.new("BindableEvent", script)
  1485. ArtificialHB.Name = "Heartbeat"
  1486.  
  1487. script:WaitForChild("Heartbeat")
  1488.  
  1489. local tf = 0
  1490. local allowframeloss = false
  1491. local tossremainder = false
  1492. local lastframe = tick()
  1493. local frame = 1/60
  1494. ArtificialHB:Fire()
  1495.  
  1496. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1497. tf = tf + s
  1498. if tf >= frame then
  1499. if allowframeloss then
  1500. script.Heartbeat:Fire()
  1501. lastframe = tick()
  1502. else
  1503. for i = 1, math.floor(tf / frame) do
  1504. ArtificialHB:Fire()
  1505. end
  1506. lastframe = tick()
  1507. end
  1508. if tossremainder then
  1509. tf = 0
  1510. else
  1511. tf = tf - frame * math.floor(tf / frame)
  1512. end
  1513. end
  1514. end)
  1515.  
  1516. function swait(num)
  1517. if num == 0 or num == nil then
  1518. ArtificialHB.Event:wait()
  1519. else
  1520. for i = 0, num do
  1521. ArtificialHB.Event:wait()
  1522. end
  1523. end
  1524. end
  1525.  
  1526. -------- RAINBOW LEAVE IT TO ME
  1527. local r = 255
  1528. local g = 0
  1529. local b = 0
  1530. coroutine.resume(coroutine.create(function()
  1531. while wait() do
  1532. for i = 0, 254/5 do
  1533. swait()
  1534. g = g + 5
  1535. end
  1536. for i = 0, 254/5 do
  1537. swait()
  1538. r = r - 5
  1539. end
  1540. for i = 0, 254/5 do
  1541. swait()
  1542. b = b + 5
  1543. end
  1544. for i = 0, 254/5 do
  1545. swait()
  1546. g = g - 5
  1547. end
  1548. for i = 0, 254/5 do
  1549. swait()
  1550. r = r + 5
  1551. end
  1552. for i = 0, 254/5 do
  1553. swait()
  1554. b = b - 5
  1555. end
  1556. end
  1557. end))
  1558.  
  1559.  
  1560. so = function(id,par,vol,pit)
  1561. coroutine.resume(coroutine.create(function()
  1562. local sou = Instance.new("Sound",par or workspace)
  1563. sou.Volume=vol
  1564. sou.Pitch=pit or 1
  1565. sou.SoundId=id
  1566. swait()
  1567. sou:play()
  1568. game:GetService("Debris"):AddItem(sou,6)
  1569. end))
  1570. end
  1571.  
  1572. function clerp(a,b,t)
  1573. return a:lerp(b,t)
  1574. end
  1575.  
  1576. local function CFrameFromTopBack(at, top, back)
  1577. local right = top:Cross(back)
  1578. return CFrame.new(at.x, at.y, at.z,
  1579. right.x, top.x, back.x,
  1580. right.y, top.y, back.y,
  1581. right.z, top.z, back.z)
  1582. end
  1583.  
  1584. function Triangle(a, b, c)
  1585. local edg1 = (c-a):Dot((b-a).unit)
  1586. local edg2 = (a-b):Dot((c-b).unit)
  1587. local edg3 = (b-c):Dot((a-c).unit)
  1588. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1589. a, b, c = a, b, c
  1590. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1591. a, b, c = b, c, a
  1592. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1593. a, b, c = c, a, b
  1594. else
  1595. assert(false, "unreachable")
  1596. end
  1597.  
  1598. local len1 = (c-a):Dot((b-a).unit)
  1599. local len2 = (b-a).magnitude - len1
  1600. local width = (a + (b-a).unit*len1 - c).magnitude
  1601.  
  1602. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1603.  
  1604. local list = {}
  1605.  
  1606. if len1 > 0.01 then
  1607. local w1 = Instance.new('WedgePart', m)
  1608. game:GetService("Debris"):AddItem(w1,5)
  1609. w1.Material = "SmoothPlastic"
  1610. w1.FormFactor = 'Custom'
  1611. w1.BrickColor = BrickColor.new("Really black")
  1612. w1.Transparency = 0
  1613. w1.Reflectance = 0
  1614. w1.Material = "SmoothPlastic"
  1615. w1.CanCollide = false
  1616. local l1 = Instance.new("PointLight",w1)
  1617. l1.Color = Color3.new(170,0,0)
  1618. NoOutline(w1)
  1619. local sz = Vector3.new(0.2, width, len1)
  1620. w1.Size = sz
  1621. local sp = Instance.new("SpecialMesh",w1)
  1622. sp.MeshType = "Wedge"
  1623. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1624. w1:BreakJoints()
  1625. w1.Anchored = true
  1626. w1.Parent = workspace
  1627. w1.Transparency = 0.7
  1628. table.insert(Effects,{w1,"Disappear",.01})
  1629. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1630. table.insert(list,w1)
  1631. end
  1632.  
  1633. if len2 > 0.01 then
  1634. local w2 = Instance.new('WedgePart', m)
  1635. game:GetService("Debris"):AddItem(w2,5)
  1636. w2.Material = "SmoothPlastic"
  1637. w2.FormFactor = 'Custom'
  1638. w2.BrickColor = BrickColor.new("Really black")
  1639. w2.Transparency = 0
  1640. w2.Reflectance = 0
  1641. w2.Material = "SmoothPlastic"
  1642. w2.CanCollide = false
  1643. local l2 = Instance.new("PointLight",w2)
  1644. l2.Color = Color3.new(170,0,0)
  1645. NoOutline(w2)
  1646. local sz = Vector3.new(0.2, width, len2)
  1647. w2.Size = sz
  1648. local sp = Instance.new("SpecialMesh",w2)
  1649. sp.MeshType = "Wedge"
  1650. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1651. w2:BreakJoints()
  1652. w2.Anchored = true
  1653. w2.Parent = workspace
  1654. w2.Transparency = 0.7
  1655. table.insert(Effects,{w2,"Disappear",.01})
  1656. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1657. table.insert(list,w2)
  1658. end
  1659. return unpack(list)
  1660. end
  1661.  
  1662.  
  1663. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1664. if hit.Parent == nil then
  1665. return
  1666. end
  1667. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1668. for _, v in pairs(hit.Parent:children()) do
  1669. if v:IsA("Humanoid") then
  1670. h = v
  1671. end
  1672. end
  1673. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1674. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1675. return
  1676. end
  1677. local c = Create("ObjectValue")({
  1678. Name = "creator",
  1679. Value = game:GetService("Players").inessaG,
  1680. Parent = h
  1681. })
  1682. game:GetService("Debris"):AddItem(c, 0.5)
  1683. if HitSound ~= nil and HitPitch ~= nil then
  1684. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1685. end
  1686. local Damage = math.random(minim, maxim)
  1687. local blocked = false
  1688. local block = hit.Parent:findFirstChild("Block")
  1689. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1690. blocked = true
  1691. block.Value = block.Value - 1
  1692. print(block.Value)
  1693. end
  1694. if blocked == false then
  1695. HitHealth = h.Health
  1696. h.Health = h.Health - Damage
  1697. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1698. print("gained kill")
  1699. end
  1700. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1701. else
  1702. h.Health = h.Health - Damage / 2
  1703. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1704. end
  1705. if Type == "Knockdown" then
  1706. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1707. hum.PlatformStand = true
  1708. coroutine.resume(coroutine.create(function(HHumanoid)
  1709. swait(1)
  1710. HHumanoid.PlatformStand = false
  1711. end), hum)
  1712. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1713. local bodvol = Create("BodyVelocity")({
  1714. velocity = angle * knockback,
  1715. P = 5000,
  1716. maxForce = Vector3.new(8000, 8000, 8000),
  1717. Parent = hit
  1718. })
  1719. local rl = Create("BodyAngularVelocity")({
  1720. P = 3000,
  1721. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1722. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1723. Parent = hit
  1724. })
  1725. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1726. game:GetService("Debris"):AddItem(rl, 0.5)
  1727. elseif Type == "Normal" then
  1728. local vp = Create("BodyVelocity")({
  1729. P = 500,
  1730. maxForce = Vector3.new(math.huge, 0, math.huge),
  1731. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1732. })
  1733. if knockback > 0 then
  1734. vp.Parent = hit.Parent.Head
  1735. end
  1736. game:GetService("Debris"):AddItem(vp, 0.5)
  1737. elseif Type == "Up" then
  1738. local bodyVelocity = Create("BodyVelocity")({
  1739. velocity = Vector3.new(0, 20, 0),
  1740. P = 5000,
  1741. maxForce = Vector3.new(8000, 8000, 8000),
  1742. Parent = hit
  1743. })
  1744. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1745. local bodyVelocity = Create("BodyVelocity")({
  1746. velocity = Vector3.new(0, 20, 0),
  1747. P = 5000,
  1748. maxForce = Vector3.new(8000, 8000, 8000),
  1749. Parent = hit
  1750. })
  1751. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1752. elseif Type == "Leech" then
  1753. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1754. if hum ~= nil then
  1755. for i = 0, 2 do
  1756. 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)
  1757. end
  1758. Humanoid.Health = Humanoid.Health + 10
  1759. end
  1760. elseif Type == "UpKnock" then
  1761. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1762. hum.PlatformStand = true
  1763. if hum ~= nil then
  1764. hitr = true
  1765. end
  1766. coroutine.resume(coroutine.create(function(HHumanoid)
  1767. swait(5)
  1768. HHumanoid.PlatformStand = false
  1769. hitr = false
  1770. end), hum)
  1771. local bodyVelocity = Create("BodyVelocity")({
  1772. velocity = Vector3.new(0, 20, 0),
  1773. P = 5000,
  1774. maxForce = Vector3.new(8000, 8000, 8000),
  1775. Parent = hit
  1776. })
  1777. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1778. local bodyVelocity = Create("BodyVelocity")({
  1779. velocity = Vector3.new(0, 20, 0),
  1780. P = 5000,
  1781. maxForce = Vector3.new(8000, 8000, 8000),
  1782. Parent = hit
  1783. })
  1784. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1785. elseif Type == "Snare" then
  1786. local bp = Create("BodyPosition")({
  1787. P = 2000,
  1788. D = 100,
  1789. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1790. position = hit.Parent.Torso.Position,
  1791. Parent = hit.Parent.Torso
  1792. })
  1793. game:GetService("Debris"):AddItem(bp, 1)
  1794. elseif Type == "Slashnare" then
  1795. 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)
  1796. for i = 1, math.random(4, 5) do
  1797. 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)
  1798. end
  1799. local bp = Create("BodyPosition")({
  1800. P = 2000,
  1801. D = 100,
  1802. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1803. position = hit.Parent.Torso.Position,
  1804. Parent = hit.Parent.Torso
  1805. })
  1806. game:GetService("Debris"):AddItem(bp, 1)
  1807. elseif Type == "Spike" then
  1808. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1809. local bp = Create("BodyPosition")({
  1810. P = 2000,
  1811. D = 100,
  1812. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1813. position = hit.Parent.Torso.Position,
  1814. Parent = hit.Parent.Torso
  1815. })
  1816. game:GetService("Debris"):AddItem(bp, 1)
  1817. elseif Type == "Freeze" then
  1818. local BodPos = Create("BodyPosition")({
  1819. P = 50000,
  1820. D = 1000,
  1821. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1822. position = hit.Parent.Torso.Position,
  1823. Parent = hit.Parent.Torso
  1824. })
  1825. local BodGy = Create("BodyGyro")({
  1826. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1827. P = 20000,
  1828. Parent = hit.Parent.Torso,
  1829. cframe = hit.Parent.Torso.CFrame
  1830. })
  1831. hit.Parent.Torso.Anchored = true
  1832. coroutine.resume(coroutine.create(function(Part)
  1833. swait(1.5)
  1834. Part.Anchored = false
  1835. end), hit.Parent.Torso)
  1836. game:GetService("Debris"):AddItem(BodPos, 3)
  1837. game:GetService("Debris"):AddItem(BodGy, 3)
  1838. end
  1839. local debounce = Create("BoolValue")({
  1840. Name = "DebounceHit",
  1841. Parent = hit.Parent,
  1842. Value = true
  1843. })
  1844. game:GetService("Debris"):AddItem(debounce, Delay)
  1845. c = Instance.new("ObjectValue")
  1846. c.Name = "creator"
  1847. c.Value = Player
  1848. c.Parent = h
  1849. game:GetService("Debris"):AddItem(c, 0.5)
  1850. end
  1851. end
  1852. function ShowDamage(Pos, Text, Time, Color)
  1853. local Rate = 0.03333333333333333
  1854. local Pos = Pos or Vector3.new(0, 0, 0)
  1855. local Text = Text or ""
  1856. local Time = Time or 2
  1857. local Color = Color or Color3.new(1, 0, 1)
  1858. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1859. EffectPart.Anchored = true
  1860. local BillboardGui = Create("BillboardGui")({
  1861. Size = UDim2.new(3, 0, 3, 0),
  1862. Adornee = EffectPart,
  1863. Parent = EffectPart
  1864. })
  1865. local TextLabel = Create("TextLabel")({
  1866. BackgroundTransparency = 1,
  1867. Size = UDim2.new(1, 0, 1, 0),
  1868. Text = Text,
  1869. TextColor3 = Color,
  1870. TextScaled = true,
  1871. Font = Enum.Font.ArialBold,
  1872. Parent = BillboardGui
  1873. })
  1874. game.Debris:AddItem(EffectPart, Time + 0.1)
  1875. EffectPart.Parent = game:GetService("Workspace")
  1876. delay(0, function()
  1877. local Frames = Time / Rate
  1878. for Frame = 1, Frames do
  1879. wait(Rate)
  1880. local Percent = Frame / Frames
  1881. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1882. TextLabel.TextTransparency = Percent
  1883. end
  1884. if EffectPart and EffectPart.Parent then
  1885. EffectPart:Destroy()
  1886. end
  1887. end)
  1888. end
  1889. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1890. for _, c in pairs(workspace:children()) do
  1891. local hum = c:findFirstChildOfClass("Humanoid")
  1892. if hum ~= nil then
  1893. local head = c:findFirstChild("Head")
  1894. if head ~= nil then
  1895. local targ = head.Position - Part.Position
  1896. local mag = targ.magnitude
  1897. if magni >= mag and c.Name ~= Player.Name then
  1898. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1899. end
  1900. end
  1901. end
  1902. end
  1903. end
  1904.  
  1905. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1906. for _, c in pairs(workspace:children()) do
  1907. local hum = c:findFirstChild("Humanoid")
  1908. if hum ~= nil then
  1909. local head = c:findFirstChild("Torso")
  1910. if head ~= nil then
  1911. local targ = head.Position - Part.Position
  1912. local mag = targ.magnitude
  1913. if magni >= mag and c.Name ~= Player.Name then
  1914. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1915. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1916. end
  1917. end
  1918. end
  1919. end
  1920. end
  1921.  
  1922. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1923. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1924. end
  1925.  
  1926. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1927. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1928. prt.Anchored=true
  1929. prt.CFrame=cframe
  1930. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1931. --http://www.roblox.com/asset/?id=4770560
  1932. game:GetService("Debris"):AddItem(prt,2)
  1933. CF=prt.CFrame
  1934. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1935. for i=0,1,0.2 do
  1936. wait()
  1937. Part.CFrame=CF*cf(0,0,-0.4)
  1938. end
  1939. for i=0,1,delay do
  1940. wait()
  1941. --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)
  1942. Mesh.Scale=Mesh.Scale
  1943. end
  1944. for i=0,1,0.1 do
  1945. wait()
  1946. Part.Transparency=i
  1947. end
  1948. Part.Parent=nil
  1949. end),prt,msh,CF)
  1950. end
  1951.  
  1952. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1953. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1954. prt.Anchored=true
  1955. prt.Material = "Neon"
  1956. prt.CFrame=cframe
  1957. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1958. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1959. game:GetService("Debris"):AddItem(prt,5)
  1960. coroutine.resume(coroutine.create(function(Part,Mesh)
  1961. for i=0,1,delay do
  1962. swait()
  1963. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1964. Part.Transparency=i
  1965. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1966. end
  1967. Part.Parent=nil
  1968. end),prt,msh)
  1969. end
  1970.  
  1971. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1972. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1973. prt.Anchored=true
  1974. prt.Material = "Neon"
  1975. prt.CFrame=cframe
  1976. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1977. game:GetService("Debris"):AddItem(prt,5)
  1978. coroutine.resume(coroutine.create(function(Part,Mesh)
  1979. local rtype = rottype
  1980. for i=0,1,delay do
  1981. swait()
  1982. if rtype == 1 then
  1983. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1984. elseif rtype == 2 then
  1985. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1986. end
  1987. Part.Transparency=i
  1988. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1989. end
  1990. Part.Parent=nil
  1991. end),prt,msh)
  1992. end
  1993.  
  1994. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1995. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1996. prt.Anchored=true
  1997. prt.CFrame=cframe
  1998. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1999. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2000. game:GetService("Debris"):AddItem(prt,5)
  2001. coroutine.resume(coroutine.create(function(Part,Mesh)
  2002. for i=0,1,delay do
  2003. wait()
  2004. Part.Transparency=i
  2005. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2006. end
  2007. Part.Parent=nil
  2008. end),prt,msh)
  2009. end
  2010.  
  2011. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2012. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2013. prt.Anchored=true
  2014. prt.Material = "Neon"
  2015. prt.CFrame=cframe
  2016. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2017. game:GetService("Debris"):AddItem(prt,5)
  2018. coroutine.resume(coroutine.create(function(Part,Mesh)
  2019. local rtype = rottype
  2020. for i=0,1,delay do
  2021. swait()
  2022. if rtype == 1 then
  2023. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2024. elseif rtype == 2 then
  2025. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2026. end
  2027. Part.Transparency=i
  2028. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2029. end
  2030. Part.Parent=nil
  2031. end),prt,msh)
  2032. end
  2033.  
  2034. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2035. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2036. prt.Anchored=true
  2037. prt.Material = "Neon"
  2038. prt.CFrame=cframe
  2039. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2040. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2041. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2042. game:GetService("Debris"):AddItem(prt,5)
  2043. coroutine.resume(coroutine.create(function(Part,Mesh)
  2044. local rtype = rottype
  2045. for i=0,1,delay do
  2046. swait()
  2047. if rtype == 1 then
  2048. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2049. elseif rtype == 2 then
  2050. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2051. end
  2052. dec.Transparency=i
  2053. dec2.Transparency=i
  2054. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2055. end
  2056. Part.Parent=nil
  2057. end),prt,msh)
  2058. end
  2059.  
  2060. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2061. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2062. prt.Anchored=true
  2063. prt.Material = "Neon"
  2064. prt.CFrame=cframe
  2065. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2066. game:GetService("Debris"):AddItem(prt,5)
  2067. coroutine.resume(coroutine.create(function(Part,Mesh)
  2068. local rtype = rottype
  2069. for i=0,1,delay do
  2070. swait()
  2071. if rtype == 1 then
  2072. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2073. elseif rtype == 2 then
  2074. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2075. end
  2076. prt.Transparency=i
  2077. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2078. end
  2079. Part.Parent=nil
  2080. end),prt,msh)
  2081. end
  2082.  
  2083. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2084. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2085. prt.Anchored=true
  2086. prt.Material = "Neon"
  2087. prt.CFrame=cframe
  2088. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2089. game:GetService("Debris"):AddItem(prt,5)
  2090. coroutine.resume(coroutine.create(function(Part,Mesh)
  2091. local rtype = rottype
  2092. for i=0,1,delay do
  2093. swait()
  2094. if rtype == 1 then
  2095. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2096. elseif rtype == 2 then
  2097. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2098. end
  2099. prt.Transparency=i
  2100. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2101. end
  2102. Part.Parent=nil
  2103. end),prt,msh)
  2104. end
  2105.  
  2106. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2107. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2108. prt.Anchored=true
  2109. prt.Material = "Neon"
  2110. prt.CFrame=cframe
  2111. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2112. game:GetService("Debris"):AddItem(prt,5)
  2113. coroutine.resume(coroutine.create(function(Part,Mesh)
  2114. local rtype = rottype
  2115. for i=0,1,delay do
  2116. swait()
  2117. if rtype == 1 then
  2118. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2119. elseif rtype == 2 then
  2120. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2121. end
  2122. prt.Transparency=i
  2123. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2124. end
  2125. Part.Parent=nil
  2126. end),prt,msh)
  2127. end
  2128.  
  2129. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2130. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2131. prt.Anchored=true
  2132. prt.Material = "Neon"
  2133. prt.CFrame=cframe
  2134. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2135. game:GetService("Debris"):AddItem(prt,5)
  2136. coroutine.resume(coroutine.create(function(Part,Mesh)
  2137. local rtype = rottype
  2138. for i=0,1,delay do
  2139. swait()
  2140. if rtype == 1 then
  2141. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2142. elseif rtype == 2 then
  2143. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2144. end
  2145. prt.Transparency=i
  2146. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2147. end
  2148. Part.Parent=nil
  2149. end),prt,msh)
  2150. end
  2151.  
  2152. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2153. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2154. prt.Anchored=false
  2155. prt.CFrame=cframe
  2156. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2157. local wld=weld(prt,prt,Parent,cframe)
  2158. game:GetService("Debris"):AddItem(prt,5)
  2159. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2160. for i=0,1,delay do
  2161. wait()
  2162. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2163. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2164. Part.Transparency=i
  2165. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2166. end
  2167. Part.Parent=nil
  2168. end),prt,msh,wld)
  2169. end
  2170.  
  2171. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2172. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2173. prt.Anchored=false
  2174. prt.CFrame=cframe
  2175. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2176. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2177. game:GetService("Debris"):AddItem(prt,5)
  2178. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2179. for i=0,1,delay do
  2180. wait()
  2181. Weld.C0=euler(i*20,0,0)
  2182. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2183. Part.Transparency=i
  2184. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2185. end
  2186. Part.Parent=nil
  2187. end),prt,msh,wld)
  2188. end
  2189.  
  2190. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2191. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2192. prt.Anchored=true
  2193. prt.CFrame=cframe
  2194. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2195. game:GetService("Debris"):AddItem(prt,2)
  2196. coroutine.resume(coroutine.create(function(Part,Mesh)
  2197. for i=0,1,delay do
  2198. wait()
  2199. Part.CFrame=Part.CFrame
  2200. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2201. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2202. prt2.Anchored=true
  2203. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2204. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2205. game:GetService("Debris"):AddItem(prt2,2)
  2206. coroutine.resume(coroutine.create(function(Part,Mesh)
  2207. for i=0,1,0.1 do
  2208. wait()
  2209. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2210. end
  2211. Part.Parent=nil
  2212. end),prt2,msh2)
  2213. end
  2214. for i=0,1,delay*2 do
  2215. wait()
  2216. Part.CFrame=Part.CFrame
  2217. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2218. end
  2219. Part.Parent=nil
  2220. end),prt,msh)
  2221. end
  2222.  
  2223. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2224. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2225. prt.Anchored=true
  2226. prt.CFrame=cframe
  2227. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2228. game:GetService("Debris"):AddItem(prt,2)
  2229. coroutine.resume(coroutine.create(function(Part,Mesh)
  2230. for i=0,1,delay do
  2231. wait()
  2232. Part.CFrame=Part.CFrame
  2233. Part.Transparency=i
  2234. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2235. end
  2236. Part.Parent=nil
  2237. end),prt,msh)
  2238. end
  2239.  
  2240. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2241. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2242. prt.Anchored=true
  2243. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2244. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2245. game:GetService("Debris"):AddItem(prt,2)
  2246. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2247. CF=Part.CFrame
  2248. Numbb=0
  2249. randnumb=math.random()/10
  2250. rand1=math.random()/10
  2251. for i=0,1,rand1 do
  2252. wait()
  2253. CF=CF*cf(0,math.random()/2,0)
  2254. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2255. Part.CFrame=CF*euler(Numbb,0,0)
  2256. Part.Transparency=i
  2257. Numbb=Numbb+randnumb
  2258. end
  2259. Part.Parent=nil
  2260. end),prt,CF,Numbb,randnumb)
  2261. end
  2262.  
  2263. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2264. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2265. prt.Anchored=true
  2266. prt.CFrame=cframe
  2267. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2268. game:GetService("Debris"):AddItem(prt,5)
  2269. coroutine.resume(coroutine.create(function(Part,Mesh)
  2270. for i=0,1,delay do
  2271. wait()
  2272. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2273. Part.Transparency=i
  2274. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2275. end
  2276. Part.Parent=nil
  2277. end),prt,msh)
  2278. end
  2279.  
  2280. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2281. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2282. prt.Anchored=true
  2283. prt.CFrame=cframe
  2284. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2285. game:GetService("Debris"):AddItem(prt,2)
  2286. coroutine.resume(coroutine.create(function(Part,Mesh)
  2287. for i=0,1,delay do
  2288. wait()
  2289. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2290. Part.Transparency=i
  2291. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2292. end
  2293. Part.Parent=nil
  2294. end),prt,msh)
  2295. end
  2296.  
  2297. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2298. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2299. prt.Anchored=true
  2300. prt.CFrame=cframe*cf(x,y,z)
  2301. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2302. game:GetService("Debris"):AddItem(prt,5)
  2303. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2304. local num=math.random()
  2305. local num2=math.random(-3,2)+math.random()
  2306. local numm=0
  2307. for i=0,1,delay*2 do
  2308. swait()
  2309. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2310. Part.Transparency=i
  2311. numm=numm+0.01
  2312. end
  2313. Part.Parent=nil
  2314. Mesh.Parent=nil
  2315. end),prt,msh,x,y,z)
  2316. end
  2317.  
  2318. function dmgstart(dmg,what)
  2319. hitcon = what.Touched:connect(function(hit)
  2320. local hum = hit.Parent:FindFirstChild("Humanoid")
  2321. if hum and not hum:IsDescendantOf(Character) then
  2322. hum:TakeDamage(dmg)
  2323. end
  2324. end)
  2325. end
  2326.  
  2327. function dmgstop()
  2328. hitcon:disconnect()
  2329. end
  2330.  
  2331. function Cloak()
  2332. Face.Parent=nil
  2333. cloaked=true
  2334. for _,v in pairs(Torso.Parent:children()) do
  2335. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2336. coroutine.resume(coroutine.create(function()
  2337. for i=0,1,0.2 do
  2338. wait()
  2339. v.Transparency=i
  2340. end
  2341. v.Transparency=1
  2342. end))
  2343. end
  2344. if v.className=="Hat" then
  2345. hatp=v.Handle
  2346. coroutine.resume(coroutine.create(function(derp)
  2347. for i=0,1,0.2 do
  2348. wait()
  2349. derp.Transparency=i
  2350. end
  2351. derp.Transparency=1
  2352. end),hatp)
  2353. end
  2354. end
  2355. for _,v in pairs(m:children()) do
  2356. if v.className=="Part" then
  2357. coroutine.resume(coroutine.create(function()
  2358. for i=0,1,0.2 do
  2359. wait()
  2360. v.Transparency=i
  2361. end
  2362. v.Transparency=1
  2363. end))
  2364. end
  2365. end
  2366. end
  2367.  
  2368. function UnCloak()
  2369. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2370. Face.Parent=Head
  2371. cloaked=false
  2372. for _,v in pairs(Torso.Parent:children()) do
  2373. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2374. coroutine.resume(coroutine.create(function()
  2375. for i=0,1,0.1 do
  2376. wait()
  2377. v.Transparency=v.Transparency-0.1
  2378. end
  2379. v.Transparency=0
  2380. end))
  2381. end
  2382. if v.className=="Hat" then
  2383. hatp=v.Handle
  2384. coroutine.resume(coroutine.create(function(derp)
  2385. for i=0,1,0.1 do
  2386. wait()
  2387. derp.Transparency=derp.Transparency-0.1
  2388. end
  2389. derp.Transparency=0
  2390. end),hatp)
  2391. end
  2392. end
  2393. for _,v in pairs(m:children()) do
  2394. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2395. coroutine.resume(coroutine.create(function()
  2396. for i=0,1,0.1 do
  2397. wait()
  2398. v.Transparency=v.Transparency-0.1
  2399. end
  2400. v.Transparency=0
  2401. end))
  2402. v.Transparency=0
  2403. end
  2404. end
  2405. end
  2406.  
  2407. local origcolor = BrickColor.new("Pastel light blue")
  2408. ---- This section of explosions.
  2409. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2410. local expart = Instance.new("Part",char)
  2411. local expart2 = Instance.new("Part",char)
  2412. local rin = Instance.new("Part",char)
  2413. local rin2 = Instance.new("Part",char)
  2414. local partMesh = Instance.new("SpecialMesh",expart)
  2415. partMesh.MeshType = "Sphere"
  2416. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2417. partMesh2.MeshType = "Sphere"
  2418. local partMesh3 = Instance.new("SpecialMesh",rin)
  2419. partMesh3.MeshType = "Brick"
  2420. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2421. partMesh4.MeshType = "Brick"
  2422. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2423. partMesh.Scale = vt(rad,rad,rad)
  2424. expart.Size = vt(1,1,1)
  2425. expart.Transparency = 0
  2426. expart.Anchored = true
  2427. expart.Material = "Neon"
  2428. expart.BrickColor = bc("White")
  2429. expart.CFrame = par.CFrame
  2430. partMesh2.Scale = vt(rad,rad,rad)
  2431. expart2.Size = vt(1.15,1.15,1.15)
  2432. expart2.Transparency = 0.5
  2433. expart2.Anchored = true
  2434. expart2.Material = "Neon"
  2435. expart2.BrickColor = par.BrickColor
  2436. expart2.CFrame = par.CFrame
  2437. rin.Size = vt(1.15,1.15,1.15)
  2438. rin.Transparency = 1
  2439. rin.Anchored = true
  2440. rin.Material = "Neon"
  2441. rin.BrickColor = par.BrickColor
  2442. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2443. rin2.Size = vt(1.15,1.15,1.15)
  2444. rin2.Transparency = 1
  2445. rin2.Anchored = true
  2446. rin2.Material = "Neon"
  2447. rin2.BrickColor = par.BrickColor
  2448. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2449. partMesh3.Scale = vt(0,1,0)
  2450. partMesh4.Scale = vt(0,1,0)
  2451. local dec2 = Instance.new("Decal", rin)
  2452. dec2.Face = "Top"
  2453. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2454. dec2.Parent = rin
  2455. local dec2b = dec2:Clone()
  2456. dec2b.Face = "Bottom"
  2457. dec2b.Parent = rin
  2458.  
  2459. local dec2a = Instance.new("Decal", rin2)
  2460. dec2a.Face = "Top"
  2461. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2462. dec2a.Parent = rin2
  2463. local dec2ab = dec2a:Clone()
  2464. dec2ab.Face = "Bottom"
  2465. dec2ab.Parent = rin2
  2466. expart.CanCollide = false
  2467. expart2.CanCollide = false
  2468. rin.CanCollide = false
  2469. rin2.CanCollide = false
  2470. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2471. local value = 1*rad/6.5
  2472. for i = 0, 199 do
  2473. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2474. expart.CFrame = expart.CFrame
  2475. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2476. expart2.CFrame = expart.CFrame
  2477. value = value - 0.035*rad/30
  2478. if value < 7.5 then
  2479. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2480. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2481. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2482. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2483. end
  2484. if value < 0 then
  2485. dec2.Transparency = dec2.Transparency + 0.025
  2486. dec2a.Transparency = dec2a.Transparency + 0.025
  2487. dec2b.Transparency = dec2b.Transparency + 0.025
  2488. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2489. expart.Transparency = expart.Transparency + 0.025
  2490. expart2.Transparency = expart2.Transparency + 0.025
  2491. rin.Transparency = rin.Transparency + 0.025
  2492. rin2.Transparency = rin2.Transparency + 0.025
  2493. end
  2494. swait()
  2495. end
  2496. game:GetService("Debris"):AddItem(expart, 1)
  2497. game:GetService("Debris"):AddItem(expart2, 1)
  2498. game:GetService("Debris"):AddItem(rin, 1)
  2499. game:GetService("Debris"):AddItem(rin2, 1)
  2500. end
  2501.  
  2502. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2503. local expart = Instance.new("Part",char)
  2504. local expart2 = Instance.new("Part",char)
  2505. local partMesh = Instance.new("SpecialMesh",expart)
  2506. partMesh.MeshType = "Sphere"
  2507. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2508. partMesh2.MeshType = "Sphere"
  2509. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2510. partMesh.Scale = vt(rad,rad,rad)
  2511. expart.Size = vt(1,1,1)
  2512. expart.Transparency = 0
  2513. expart.Anchored = true
  2514. expart.Material = "Neon"
  2515. expart.BrickColor = bc("White")
  2516. expart.CFrame = par.CFrame
  2517. partMesh2.Scale = vt(rad,rad,rad)
  2518. expart2.Size = vt(1.15,1.15,1.15)
  2519. expart2.Transparency = 0.5
  2520. expart2.Anchored = true
  2521. expart2.Material = "Neon"
  2522. expart2.BrickColor = par.BrickColor
  2523. expart2.CFrame = par.CFrame
  2524. expart.CanCollide = false
  2525. expart2.CanCollide = false
  2526. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2527. local value = 1*rad/6.5
  2528. for i = 0, 75 do
  2529. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2530. expart.CFrame = expart.CFrame
  2531. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2532. expart2.CFrame = expart.CFrame
  2533. value = value - 0.035*rad/5
  2534. if value < 0 then
  2535. value = 0
  2536. expart.Transparency = expart.Transparency + 0.05
  2537. expart2.Transparency = expart2.Transparency + 0.05
  2538. end
  2539. swait()
  2540. end
  2541. game:GetService("Debris"):AddItem(expart, 1)
  2542. game:GetService("Debris"):AddItem(expart2, 1)
  2543. end
  2544.  
  2545. function AreaDanger(rad,par,mindam,maxdam)
  2546. local expart = Instance.new("Part",char)
  2547. local partMesh = Instance.new("SpecialMesh",expart)
  2548. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2549. partMesh.MeshType = "Sphere"
  2550. partMesh.Scale = vt(rad,rad,rad)
  2551. expart.Size = vt(1,1,1)
  2552. expart.Transparency = 0.5
  2553. expart.Anchored = true
  2554. expart.Material = "Neon"
  2555. expart.CanCollide = false
  2556. expart.BrickColor = par.BrickColor
  2557. expart.CFrame = par.CFrame
  2558. local value = 1*rad/5
  2559. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2560. for i = 0, 14 do
  2561. wait()
  2562. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2563. expart.CFrame = expart.CFrame
  2564. value = value - 0.035*rad
  2565. if value < 0 then
  2566. value = 0
  2567. end
  2568. end
  2569. wait(0.25)
  2570. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2571. wait(0.5)
  2572. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2573. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2574. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2575. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2576. for i = 0, 14 do
  2577. wait()
  2578. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2579. expart.CFrame = expart.CFrame
  2580. value = value - 0.035*rad/2
  2581. end
  2582. expart.Transparency = 1
  2583. game:GetService("Debris"):AddItem(expart, 5)
  2584. end
  2585.  
  2586. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2587. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2588. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2589. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2590. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2591. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2592. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2593. for i = 0, 24 do
  2594. 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))
  2595. end
  2596. for i = 0, 24 do
  2597. local expart = Instance.new("Part",char)
  2598. expart.Transparency = 1
  2599. expart.Anchored = true
  2600. expart.CanCollide = false
  2601. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2602. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2603. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2604. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2605. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2606. for i = 0, 9 do
  2607. 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))
  2608. end
  2609. game:GetService("Debris"):AddItem(expart, 2)
  2610. wait(0.1)
  2611. end
  2612. end
  2613.  
  2614. function EXterPlosion(par)
  2615. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2616. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2617. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2618. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2619. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2620. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2621. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2622. for i = 0, 24 do
  2623. 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))
  2624. end
  2625. for i = 0, 24 do
  2626. 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))
  2627. end
  2628. end
  2629. ----
  2630.  
  2631.  
  2632. function ring(type,pos,scale,value)
  2633. local type = type
  2634. local rng = Instance.new("Part", char)
  2635. rng.Anchored = true
  2636. rng.BrickColor = origcolor
  2637. rng.CanCollide = false
  2638. rng.FormFactor = 3
  2639. rng.Name = "Ring"
  2640. rng.Size = Vector3.new(1, 1, 1)
  2641. rng.Transparency = 0
  2642. rng.TopSurface = 0
  2643. rng.BottomSurface = 0
  2644. rng.CFrame = pos
  2645. local rngm = Instance.new("SpecialMesh", rng)
  2646. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2647. rngm.Scale = scale
  2648. local scaler2 = 1
  2649. if type == "Add" then
  2650. scaler2 = 1*value
  2651. elseif type == "Divide" then
  2652. scaler2 = 1/value
  2653. end
  2654. coroutine.resume(coroutine.create(function()
  2655. for i = 0,10,0.1 do
  2656. swait()
  2657. if type == "Add" then
  2658. scaler2 = scaler2 - 0.01*value
  2659. elseif type == "Divide" then
  2660. scaler2 = scaler2 - 0.01/value
  2661. end
  2662. rng.Transparency = rng.Transparency + 0.01
  2663. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2664. end
  2665. rng:Destroy()
  2666. end))
  2667. end
  2668.  
  2669.  
  2670. function wave(type,pos,scale,value)
  2671. local type = type
  2672. local rng = Instance.new("Part", char)
  2673. rng.Anchored = true
  2674. rng.BrickColor = origcolor
  2675. rng.CanCollide = false
  2676. rng.FormFactor = 3
  2677. rng.Name = "Ring"
  2678. rng.Size = Vector3.new(1, 1, 1)
  2679. rng.Transparency = 0
  2680. rng.TopSurface = 0
  2681. rng.BottomSurface = 0
  2682. rng.CFrame = pos
  2683. local rngm = Instance.new("SpecialMesh", rng)
  2684. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2685. rngm.Scale = scale
  2686. local scaler2 = 1
  2687. if type == "Add" then
  2688. scaler2 = 1*value
  2689. elseif type == "Divide" then
  2690. scaler2 = 1/value
  2691. end
  2692. coroutine.resume(coroutine.create(function()
  2693. for i = 0,10,0.1 do
  2694. swait()
  2695. if type == "Add" then
  2696. scaler2 = scaler2 - 0.01*value
  2697. elseif type == "Divide" then
  2698. scaler2 = scaler2 - 0.01/value
  2699. end
  2700. rng.Transparency = rng.Transparency + 0.01
  2701. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2702. end
  2703. rng:Destroy()
  2704. end))
  2705. end
  2706.  
  2707. function wind(type,pos,scale,value,speed)
  2708. local type = type
  2709. local rng = Instance.new("Part", char)
  2710. rng.Anchored = true
  2711. rng.BrickColor = origcolor
  2712. rng.CanCollide = false
  2713. rng.FormFactor = 3
  2714. rng.Name = "Ring"
  2715. rng.Size = Vector3.new(1, 1, 1)
  2716. rng.Transparency = 0
  2717. rng.TopSurface = 0
  2718. rng.BottomSurface = 0
  2719. rng.CFrame = pos
  2720. local rngm = Instance.new("SpecialMesh", rng)
  2721. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2722. rngm.Scale = scale
  2723. local scaler2 = 1
  2724. if type == "Add" then
  2725. scaler2 = 1*value
  2726. elseif type == "Divide" then
  2727. scaler2 = 1/value
  2728. end
  2729. coroutine.resume(coroutine.create(function()
  2730. for i = 0,10,0.1 do
  2731. swait()
  2732. if type == "Add" then
  2733. scaler2 = scaler2 - 0.01*value
  2734. elseif type == "Divide" then
  2735. scaler2 = scaler2 - 0.01/value
  2736. end
  2737. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2738. rng.Transparency = rng.Transparency + 0.01
  2739. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2740. end
  2741. rng:Destroy()
  2742. end))
  2743. end
  2744.  
  2745. function groundwind(type,pos,scale,value,speed)
  2746. local type = type
  2747. local rng = Instance.new("Part", char)
  2748. rng.Anchored = true
  2749. rng.BrickColor = origcolor
  2750. rng.CanCollide = false
  2751. rng.FormFactor = 3
  2752. rng.Name = "Ring"
  2753. rng.Size = Vector3.new(1, 1, 1)
  2754. rng.Transparency = 0
  2755. rng.TopSurface = 0
  2756. rng.BottomSurface = 0
  2757. rng.CFrame = pos
  2758. local rngm = Instance.new("SpecialMesh", rng)
  2759. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2760. rngm.Scale = scale
  2761. local scaler2 = 1
  2762. if type == "Add" then
  2763. scaler2 = 1*value
  2764. elseif type == "Divide" then
  2765. scaler2 = 1/value
  2766. end
  2767. coroutine.resume(coroutine.create(function()
  2768. for i = 0,10,0.1 do
  2769. swait()
  2770. if type == "Add" then
  2771. scaler2 = scaler2 - 0.01*value
  2772. elseif type == "Divide" then
  2773. scaler2 = scaler2 - 0.01/value
  2774. end
  2775. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2776. rng.Transparency = rng.Transparency + 0.01
  2777. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2778. end
  2779. rng:Destroy()
  2780. end))
  2781. end
  2782.  
  2783. function CameraManager()
  2784. if TwoD and not CamInterrupt then
  2785. if Humanoid.Health > 0 then
  2786. Camera.CameraSubject = Humanoid
  2787. Camera.CameraType = "Scriptable"
  2788. Humanoid.AutoRotate = false
  2789. if Booleans.GyroUse then
  2790. Directer.MaxTorque = Vec3(0, huge, 0)
  2791. else
  2792. Directer.MaxTorque = Vec3(0, 0, 0)
  2793. end
  2794. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2795. if Booleans.CamFollow then
  2796. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2797. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2798. else
  2799. CPart.Position = RootPart.Position
  2800. end
  2801. else
  2802. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2803. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2804. end
  2805. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2806. else
  2807. Camera.CameraSubject = Humanoid
  2808. Camera.CameraType = "Custom"
  2809. Controller.Disabled = false
  2810. end
  2811. end
  2812. end
  2813.  
  2814. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2815. local type = type
  2816. local rng = Instance.new("Part", char)
  2817. rng.Anchored = true
  2818. rng.BrickColor = color
  2819. rng.CanCollide = false
  2820. rng.FormFactor = 3
  2821. rng.Name = "Ring"
  2822. rng.Material = "Neon"
  2823. rng.Size = Vector3.new(1, 1, 1)
  2824. rng.Transparency = 0
  2825. rng.TopSurface = 0
  2826. rng.BottomSurface = 0
  2827. rng.CFrame = pos
  2828. local rngm = Instance.new("SpecialMesh", rng)
  2829. rngm.MeshType = "Sphere"
  2830.  
  2831.  
  2832. if(heart)then
  2833. rngm.MeshType = Enum.MeshType.FileMesh
  2834. rngm.MeshId = "rbxassetid://105992239"
  2835. rngm.Offset = Vector3.new(0,0,-.25)
  2836. end
  2837. rngm.Scale = scale
  2838. if rainbowmode == true and not notaffectbychaosrainbow then
  2839. rng.Color = Color3.new(r/255,g/255,b/255)
  2840. end
  2841. local scaler2 = 1
  2842. if type == "Add" then
  2843. scaler2 = 1*value
  2844. elseif type == "Divide" then
  2845. scaler2 = 1/value
  2846. end
  2847. coroutine.resume(coroutine.create(function()
  2848. for i = 0,10/bonuspeed,0.1 do
  2849. swait()
  2850. if rainbowmode == true and not notaffectbychaosrainbow then
  2851. rng.Color = Color3.new(r/255,g/255,b/255)
  2852. end
  2853. if type == "Add" then
  2854. scaler2 = scaler2 - 0.01*value/bonuspeed
  2855. elseif type == "Divide" then
  2856. scaler2 = scaler2 - 0.01/value*bonuspeed
  2857. end
  2858. if chaosmode == true and not notaffectbychaosrainbow then
  2859. rng.BrickColor = BrickColor.random()
  2860. end
  2861. if glitchymode then
  2862. local val = math.random(1,255)
  2863. local color = Color3.fromRGB(val,val,val)
  2864. rng.Color = color
  2865. end
  2866. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2867. if(invert)then
  2868. if(heart)then
  2869. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2870. else
  2871. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2872. end
  2873. else
  2874. if(heart)then
  2875. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2876. else
  2877. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2878. end
  2879. end
  2880. rng.CFrame = pos
  2881. end
  2882. rng:Destroy()
  2883. end))
  2884. end
  2885.  
  2886. function newBezier(startpos, pos2, pos3, endpos, t)
  2887. local A = clerp(startpos, pos2, t)
  2888. local B = clerp(pos2, pos3, t)
  2889. local C = clerp(pos3, endpos, t)
  2890. local lerp1 = clerp(A, B, t)
  2891. local lerp2 = clerp(B, C, t)
  2892. local cubic = clerp(lerp1, lerp2, t)
  2893. return cubic
  2894. end
  2895.  
  2896.  
  2897. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2898. local type = type
  2899. local rng = Instance.new("Part", char)
  2900. rng.Anchored = true
  2901. rng.BrickColor = color
  2902. rng.CanCollide = false
  2903. rng.FormFactor = 3
  2904. rng.Name = "Ring"
  2905. rng.Material = "Neon"
  2906. rng.Size = Vector3.new(1, 1, 1)
  2907. rng.Transparency = 0
  2908. rng.TopSurface = 0
  2909. rng.BottomSurface = 0
  2910. rng.CFrame = pos
  2911. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2912. local rngm = Instance.new("SpecialMesh", rng)
  2913. rngm.MeshType = "Brick"
  2914. if(heart)then
  2915. rngm.MeshType = Enum.MeshType.FileMesh
  2916. rngm.MeshId = "rbxassetid://105992239"
  2917. rngm.Offset = Vector3.new(0,0,-.25)
  2918. end
  2919. rngm.Scale = vt(x1,y1,z1)
  2920. if rainbowmode == true then
  2921. rng.Color = Color3.new(r/255,g/255,b/255)
  2922. end
  2923. local scaler2 = 1
  2924. local speeder = FastSpeed/10
  2925. if type == "Add" then
  2926. scaler2 = 1*value
  2927. elseif type == "Divide" then
  2928. scaler2 = 1/value
  2929. end
  2930. coroutine.resume(coroutine.create(function()
  2931. for i = 0,10/bonuspeed,0.1 do
  2932. swait()
  2933. if rainbowmode == true then
  2934. rng.Color = Color3.new(r/255,g/255,b/255)
  2935. end
  2936. if type == "Add" then
  2937. scaler2 = scaler2 - 0.01*value/bonuspeed
  2938. elseif type == "Divide" then
  2939. scaler2 = scaler2 - 0.01/value*bonuspeed
  2940. end
  2941. if chaosmode == true then
  2942. rng.BrickColor = BrickColor.random()
  2943. end
  2944. if glitchymode then
  2945. local val = math.random(1,255)
  2946. local color = Color3.fromRGB(val,val,val)
  2947. rng.Color = color
  2948. end
  2949. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2950. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2951. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2952. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2953. end
  2954. rng:Destroy()
  2955. end))
  2956. end
  2957.  
  2958.  
  2959. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2960. local type = type
  2961. local rng = Instance.new("Part", char)
  2962. rng.Anchored = true
  2963. rng.BrickColor = color
  2964. rng.CanCollide = false
  2965. rng.FormFactor = 3
  2966. rng.Name = "Ring"
  2967. rng.Material = "Neon"
  2968. rng.Size = Vector3.new(1, 1, 1)
  2969. rng.Transparency = 0
  2970. rng.TopSurface = 0
  2971. rng.BottomSurface = 0
  2972. rng.CFrame = pos
  2973. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2974. local rngm = Instance.new("SpecialMesh", rng)
  2975. rngm.MeshType = "Brick"
  2976. if(heart)then
  2977. rngm.MeshType = Enum.MeshType.FileMesh
  2978. rngm.MeshId = "rbxassetid://105992239"
  2979. rngm.Offset = Vector3.new(0,0,-.25)
  2980. end
  2981. rngm.Scale = vt(x1,y1,z1)
  2982. if rainbowmode == true then
  2983. rng.Color = Color3.new(r/255,g/255,b/255)
  2984. end
  2985. local scaler2 = 0
  2986. local speeder = FastSpeed/10
  2987. if type == "Add" then
  2988. scaler2 = 1*value
  2989. elseif type == "Divide" then
  2990. scaler2 = 1/value
  2991. end
  2992. coroutine.resume(coroutine.create(function()
  2993. for i = 0,10/bonuspeed,0.1 do
  2994. swait()
  2995. if rainbowmode == true then
  2996. rng.Color = Color3.new(r/255,g/255,b/255)
  2997. end
  2998. if type == "Add" then
  2999. scaler2 = scaler2 - 0.01*value/bonuspeed
  3000. elseif type == "Divide" then
  3001. scaler2 = scaler2 - 0.01/value*bonuspeed
  3002. end
  3003. if chaosmode == true then
  3004. rng.BrickColor = BrickColor.random()
  3005. end
  3006. if glitchymode then
  3007. local val = math.random(1,255)
  3008. local color = Color3.fromRGB(val,val,val)
  3009. rng.Color = color
  3010. end
  3011. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3012. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3013. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  3014. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3015. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3016. end
  3017. rng:Destroy()
  3018. end))
  3019. end
  3020.  
  3021. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3022. local type = type
  3023. local rng = Instance.new("Part", char)
  3024. rng.Anchored = true
  3025. rng.BrickColor = color
  3026. rng.CanCollide = false
  3027. rng.FormFactor = 3
  3028. rng.Name = "Ring"
  3029. rng.Material = "Neon"
  3030. rng.Size = Vector3.new(1, 1, 1)
  3031. rng.Transparency = 0
  3032. rng.TopSurface = 0
  3033. rng.BottomSurface = 0
  3034. rng.CFrame = pos
  3035. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3036. local rngm = Instance.new("SpecialMesh", rng)
  3037. rngm.MeshType = "Sphere"
  3038. rngm.Scale = vt(x1,y1,z1)
  3039. if rainbowmode == true then
  3040. rng.Color = Color3.new(r/255,g/255,b/255)
  3041. end
  3042. local scaler2 = 1
  3043. local speeder = FastSpeed
  3044. if type == "Add" then
  3045. scaler2 = 1*value
  3046. elseif type == "Divide" then
  3047. scaler2 = 1/value
  3048. end
  3049. coroutine.resume(coroutine.create(function()
  3050. for i = 0,10/bonuspeed,0.1 do
  3051. swait()
  3052. if rainbowmode == true then
  3053. rng.Color = Color3.new(r/255,g/255,b/255)
  3054. end
  3055. if type == "Add" then
  3056. scaler2 = scaler2 - 0.01*value/bonuspeed
  3057. elseif type == "Divide" then
  3058. scaler2 = scaler2 - 0.01/value*bonuspeed
  3059. end
  3060. if chaosmode == true then
  3061. rng.BrickColor = BrickColor.random()
  3062. end
  3063. if glitchymode then
  3064. local val = math.random(1,255)
  3065. local color = Color3.fromRGB(val,val,val)
  3066. rng.Color = color
  3067. end
  3068. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3069. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3070. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3071. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3072. end
  3073. rng:Destroy()
  3074. end))
  3075. end
  3076.  
  3077.  
  3078. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3079. local type = type
  3080. local rng = Instance.new("Part", char)
  3081. rng.Anchored = true
  3082. rng.BrickColor = color
  3083. rng.CanCollide = false
  3084. rng.FormFactor = 3
  3085. rng.Name = "Ring"
  3086. rng.Material = "Neon"
  3087. rng.Size = Vector3.new(1, 1, 1)
  3088. rng.Transparency = 1
  3089. rng.TopSurface = 0
  3090. rng.BottomSurface = 0
  3091. rng.CFrame = pos
  3092. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3093. local rngm = Instance.new("SpecialMesh", rng)
  3094. rngm.MeshType = "Sphere"
  3095. rngm.Scale = vt(x1,y1,z1)
  3096. if rainbowmode == true then
  3097. rng.Color = Color3.new(r/255,g/255,b/255)
  3098. end
  3099. local scaler2 = 1
  3100. local speeder = FastSpeed
  3101. if type == "Add" then
  3102. scaler2 = 1*value
  3103. elseif type == "Divide" then
  3104. scaler2 = 1/value
  3105. end
  3106. coroutine.resume(coroutine.create(function()
  3107. for i = 0,10/bonuspeed,0.1 do
  3108. swait()
  3109. if rainbowmode == true then
  3110. rng.Color = Color3.new(r/255,g/255,b/255)
  3111. end
  3112. if type == "Add" then
  3113. scaler2 = scaler2 - 0.01*value/bonuspeed
  3114. elseif type == "Divide" then
  3115. scaler2 = scaler2 - 0.01/value*bonuspeed
  3116. end
  3117. if chaosmode == true then
  3118. rng.BrickColor = BrickColor.random()
  3119. end
  3120. if glitchymode then
  3121. local val = math.random(1,255)
  3122. local color = Color3.fromRGB(val,val,val)
  3123. rng.Color = color
  3124. end
  3125. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3126. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3127. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3128. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3129. end
  3130. rng:Destroy()
  3131. end))
  3132. end
  3133.  
  3134. function dmg(dude)
  3135. if dude.Name ~= Character then
  3136. local bgf = Instance.new("BodyGyro",dude.Head)
  3137. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3138. local val = Instance.new("BoolValue",dude)
  3139. val.Name = "IsHit"
  3140. local ds = coroutine.wrap(function()
  3141. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3142. for i = 1, 10 do
  3143. 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)
  3144. end
  3145. dude:WaitForChild("Head"):BreakJoints()
  3146. wait(0.5)
  3147. targetted = nil
  3148. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3149.  
  3150. coroutine.resume(coroutine.create(function()
  3151. for i, v in pairs(dude:GetChildren()) do
  3152. if v:IsA("Accessory") then
  3153. v:Destroy()
  3154. end
  3155. if v:IsA("Humanoid") then
  3156. v:Destroy()
  3157. end
  3158. if v:IsA("CharacterMesh") then
  3159. v:Destroy()
  3160. end
  3161. if v:IsA("Model") then
  3162. v:Destroy()
  3163. end
  3164. if v:IsA("Part") or v:IsA("MeshPart") then
  3165. for x, o in pairs(v:GetChildren()) do
  3166. if o:IsA("Decal") then
  3167. o:Destroy()
  3168. end
  3169. end
  3170. coroutine.resume(coroutine.create(function()
  3171. v.Material = "Neon"
  3172. v.CanCollide = false
  3173. local bld = Instance.new("ParticleEmitter",v)
  3174. bld.LightEmission = 1
  3175. bld.Texture = "rbxassetid://284205403"
  3176. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3177. bld.Rate = 50
  3178. bld.Lifetime = NumberRange.new(1)
  3179. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3180. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3181. bld.Speed = NumberRange.new(0,0)
  3182. bld.VelocitySpread = 50000
  3183. bld.Rotation = NumberRange.new(-500,500)
  3184. bld.RotSpeed = NumberRange.new(-500,500)
  3185. local sbs = Instance.new("BodyPosition", v)
  3186. sbs.P = 3000
  3187. sbs.D = 1000
  3188. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3189. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3190. v.Color = Color3.new(1,1,1)
  3191. coroutine.resume(coroutine.create(function()
  3192. for i = 0, 49 do
  3193. swait(1)
  3194. v.Transparency = v.Transparency + 0.02
  3195. end
  3196. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3197. bld.Speed = NumberRange.new(1,5)
  3198. bld.Acceleration = vt(0,10,0)
  3199. wait(0.5)
  3200. bld.Enabled = false
  3201. wait(3)
  3202. v:Destroy()
  3203. dude:Destroy()
  3204. end))
  3205. end))
  3206. end
  3207. end
  3208. end))
  3209. end)
  3210. ds()
  3211. end
  3212. end
  3213.  
  3214.  
  3215. function FindNearestHead(Position, Distance, SinglePlayer)
  3216. if SinglePlayer then
  3217. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3218. end
  3219. local List = {}
  3220. for i, v in pairs(workspace:GetChildren()) do
  3221. if v:IsA("Model") then
  3222. if v:findFirstChild("Head") then
  3223. if v ~= Character then
  3224. if (v.Head.Position - Position).magnitude <= Distance then
  3225. table.insert(List, v)
  3226. end
  3227. end
  3228. end
  3229. end
  3230. end
  3231. return List
  3232. end
  3233.  
  3234. function FaceMouse()
  3235. Cam = workspace.CurrentCamera
  3236. return {
  3237. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3238. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3239. }
  3240. end
  3241.  
  3242. function FaceMouse2()
  3243. Cam = workspace.CurrentCamera
  3244. return {
  3245. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3246. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3247. }
  3248. end
  3249.  
  3250. local ModeOfGlitch = 1
  3251. -- Functions are ready.
  3252. local storehumanoidWS = 16
  3253.  
  3254. function CorruptBlink()
  3255. for i = 0, 14 do
  3256. 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)
  3257. end
  3258. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3259. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3260. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3261. CameraEnshaking(2,10)
  3262. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3263. if v:FindFirstChild('Head') then
  3264. dmg(v)
  3265. end
  3266. end end
  3267. for i = 0, 14 do
  3268. 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)
  3269. end
  3270. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3271. end
  3272.  
  3273. function ExtinctiveHeartbreak()
  3274. local targetted = nil
  3275. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3276. targetted = mouse.Target.Parent
  3277. end
  3278. if targetted ~= nil then
  3279. attack = true
  3280. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3281. for i = 0, 9 do
  3282. 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)
  3283. end
  3284. for i = 0, 24 do
  3285. 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)
  3286. end
  3287. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3288. local originalpos = root.CFrame
  3289. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3290. for i = 0, 9 do
  3291. 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)
  3292. end
  3293. for i = 0, 24 do
  3294. 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)
  3295. end
  3296. hum.WalkSpeed = 90
  3297. targetted.Head.Anchored = true
  3298. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3299. for i = 0,2,0.1 do
  3300. swait()
  3301. 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)
  3302. 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)
  3303. 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)
  3304. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3305. 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)
  3306. 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)
  3307. end
  3308. coroutine.resume(coroutine.create(function()
  3309. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3310. bld.LightEmission = 0.1
  3311. bld.Texture = "rbxassetid://284205403"
  3312. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3313. bld.Rate = 500
  3314. bld.Lifetime = NumberRange.new(1)
  3315. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3316. bld.Acceleration = vt(0,-25,0)
  3317. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3318. bld.Speed = NumberRange.new(10,50)
  3319. bld.EmissionDirection = "Front"
  3320. bld.VelocitySpread = 25
  3321. bld.Rotation = NumberRange.new(-500,500)
  3322. bld.RotSpeed = NumberRange.new(-500,500)
  3323. end))
  3324. coroutine.resume(coroutine.create(function()
  3325. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3326. bld.LightEmission = 0.1
  3327. bld.Texture = "rbxassetid://284205403"
  3328. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3329. bld.Rate = 500
  3330. bld.Lifetime = NumberRange.new(1)
  3331. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3332. bld.Acceleration = vt(0,-25,0)
  3333. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3334. bld.Speed = NumberRange.new(10,50)
  3335. bld.EmissionDirection = "Front"
  3336. bld.VelocitySpread = 25
  3337. bld.Rotation = NumberRange.new(-500,500)
  3338. bld.RotSpeed = NumberRange.new(-500,500)
  3339. end))
  3340. CameraEnshaking(5,5)
  3341. game:GetService("Debris"):AddItem(bld,3)
  3342. dmg(targetted)
  3343. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3344. for i = 0,1,0.1 do
  3345. swait()
  3346. 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)
  3347. 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)
  3348. 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)
  3349. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3350. 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)
  3351. 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)
  3352. end
  3353. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3354. for i = 0, 9 do
  3355. 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)
  3356. end
  3357. for i = 0, 24 do
  3358. 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)
  3359. end
  3360. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3361. root.CFrame = originalpos
  3362. for i = 0, 9 do
  3363. 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)
  3364. end
  3365. for i = 0, 24 do
  3366. 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)
  3367. end
  3368. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3369. bld.Enabled = false
  3370. attack = false
  3371. hum.WalkSpeed = storehumanoidWS
  3372. end
  3373. end
  3374. function PureBomb()
  3375. attack = true
  3376.  
  3377. local orb = Instance.new("Part", char)
  3378. orb.Anchored = true
  3379. orb.BrickColor = BrickColor.new("Toothpaste")
  3380. orb.CanCollide = false
  3381. orb.FormFactor = 3
  3382. orb.Name = "Ring"
  3383. orb.Material = "Neon"
  3384. orb.Size = Vector3.new(1, 1, 1)
  3385. orb.Transparency = 0
  3386. orb.TopSurface = 0
  3387. orb.BottomSurface = 0
  3388. local orbm = Instance.new("SpecialMesh", orb)
  3389. orbm.MeshType = "Sphere"
  3390. orbm.Name = "SizeMesh"
  3391. orbm.Scale = vt(0,0,0)
  3392. local scaled = 0.1
  3393. local posid = 0
  3394. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3395. for i = 0, 5, 0.1 do
  3396. swait()
  3397. scaled = scaled - 0.001
  3398. posid = posid - scaled
  3399. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3400. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3401. 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)
  3402. 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)
  3403. 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)
  3404. 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)
  3405. 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)
  3406. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3407. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3408. 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)
  3409. end
  3410. for i = 0, 2, 0.1 do
  3411. swait()
  3412. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3413. 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)
  3414. 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)
  3415. 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)
  3416. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3417. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3418. 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)
  3419. end
  3420. coroutine.resume(coroutine.create(function()
  3421. orb.Anchored = false
  3422. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3423. local a = Instance.new("Part",workspace)
  3424. a.Name = "Direction"
  3425. a.Anchored = true
  3426. a.BrickColor = bc("Bright red")
  3427. a.Material = "Neon"
  3428. a.Transparency = 1
  3429. a.CanCollide = false
  3430. local ray = Ray.new(
  3431. orb.CFrame.p, -- origin
  3432. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3433. )
  3434. local ignore = orb
  3435. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3436. a.BottomSurface = 10
  3437. a.TopSurface = 10
  3438. local distance = (orb.CFrame.p - position).magnitude
  3439. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3440. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3441. orb.CFrame = a.CFrame
  3442. a:Destroy()
  3443. local bv = Instance.new("BodyVelocity")
  3444. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3445. bv.velocity = orb.CFrame.lookVector*125
  3446. bv.Parent = orb
  3447. local hitted = false
  3448. game:GetService("Debris"):AddItem(orb, 15)
  3449. wait()
  3450. local hit =orb.Touched:connect(function(hit)
  3451. if hitted == false then
  3452. hitted = true
  3453. CameraEnshaking(10,2.5)
  3454. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3455. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3456. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3457. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3458. for i = 0, 49 do
  3459. 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)
  3460. end
  3461. for i = 0, 9 do
  3462. 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)
  3463. 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)
  3464. end
  3465. orb.Anchored = true
  3466. orb.Transparency = 1
  3467. wait(8)
  3468. orb:Destroy()
  3469. end
  3470. end)
  3471. end))
  3472. for i = 0, 1, 0.1 do
  3473. swait()
  3474. 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)
  3475. 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)
  3476. 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)
  3477. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3478. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3479. 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)
  3480. end
  3481. attack = false
  3482. end
  3483.  
  3484. function ClarityBomb()
  3485. attack = true
  3486.  
  3487. local orb = Instance.new("Part", char)
  3488. orb.Anchored = true
  3489. orb.BrickColor = BrickColor.new("Toothpaste")
  3490. orb.CanCollide = false
  3491. orb.FormFactor = 3
  3492. orb.Name = "Ring"
  3493. orb.Material = "Neon"
  3494. orb.Size = Vector3.new(1, 1, 1)
  3495. orb.Transparency = 0
  3496. orb.TopSurface = 0
  3497. orb.BottomSurface = 0
  3498. local orbm = Instance.new("SpecialMesh", orb)
  3499. orbm.MeshType = "Sphere"
  3500. orbm.Name = "SizeMesh"
  3501. orbm.Scale = vt(0,0,0)
  3502. local scaled = 0.1
  3503. local posid = 0
  3504. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3505. for i = 0, 5, 0.1 do
  3506. swait()
  3507. scaled = scaled - 0.001
  3508. posid = posid - scaled
  3509. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3510. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3511. 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)
  3512. 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)
  3513. 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)
  3514. 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)
  3515. 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)
  3516. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3517. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3518. 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)
  3519. end
  3520. for i = 0, 2, 0.1 do
  3521. swait()
  3522. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3523. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3524. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3525. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3526. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3527. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3528. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3529. end
  3530. coroutine.resume(coroutine.create(function()
  3531. orb.Anchored = false
  3532. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3533. local a = Instance.new("Part",workspace)
  3534. a.Name = "Direction"
  3535. a.Anchored = true
  3536. a.BrickColor = bc("Bright red")
  3537. a.Material = "Neon"
  3538. a.Transparency = 1
  3539. a.CanCollide = false
  3540. local ray = Ray.new(
  3541. orb.CFrame.p, -- origin
  3542. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3543. )
  3544. local ignore = orb
  3545. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3546. a.BottomSurface = 10
  3547. a.TopSurface = 10
  3548. local distance = (orb.CFrame.p - position).magnitude
  3549. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3550. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3551. orb.CFrame = a.CFrame
  3552. a:Destroy()
  3553. local bv = Instance.new("BodyVelocity")
  3554. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3555. bv.velocity = orb.CFrame.lookVector*125
  3556. bv.Parent = orb
  3557. local hitted = false
  3558. game:GetService("Debris"):AddItem(orb, 15)
  3559. wait()
  3560. local hit =orb.Touched:connect(function(hit)
  3561. if hitted == false then
  3562. hitted = true
  3563. CameraEnshaking(10,2.5)
  3564. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3565. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3566. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3567. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3568. for i = 0, 49 do
  3569. 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)
  3570. end
  3571. for i = 0, 9 do
  3572. 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)
  3573. 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)
  3574. end
  3575. orb.Anchored = true
  3576. orb.Transparency = 1
  3577. wait(8)
  3578. orb:Destroy()
  3579. end
  3580. end)
  3581. end))
  3582. for i = 0, 1, 0.1 do
  3583. swait()
  3584. 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)
  3585. 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)
  3586. 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)
  3587. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3588. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3589. 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)
  3590. end
  3591. attack = false
  3592. end
  3593.  
  3594. function ChaosGroundStrike()
  3595. attack = true
  3596. for i = 0, 2, 0.1 do
  3597. swait()
  3598. 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)
  3599. 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)
  3600. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3601. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3602. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3603. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3604. end
  3605. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3606. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3607. CameraEnshaking(4,12)
  3608. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3609. if v:FindFirstChild('Head') then
  3610. dmg(v)
  3611. end
  3612. end
  3613. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3614. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3615. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3616. for i = 0, 2, 0.1 do
  3617. swait()
  3618. 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)
  3619. 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)
  3620. 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)
  3621. 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)
  3622. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3623. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3624. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3625. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3626. end
  3627. attack = false
  3628. end
  3629.  
  3630. function InsaneGroundStrike()
  3631. attack = true
  3632. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3633. for i = 0, 8, 0.1 do
  3634. swait()
  3635. 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)
  3636.  
  3637. 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)
  3638. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3639. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3641. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3642. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3643. end
  3644. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3645. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3646. CameraEnshaking(8,24)
  3647. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3648. if v:FindFirstChild('Head') then
  3649. dmg(v)
  3650. end
  3651. end
  3652. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3653. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3654. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3655. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3656. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3657. for i = 0, 2, 0.1 do
  3658. swait()
  3659. 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)
  3660. 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)
  3661. 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)
  3662. 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)
  3663. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3664. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3665. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3666. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3667. end
  3668. attack = false
  3669. end
  3670.  
  3671. function DesGroundStrike()
  3672. attack = true
  3673. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3674. for i = 0, 8, 0.1 do
  3675. swait()
  3676. 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)
  3677.  
  3678. 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)
  3679. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3680. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3681. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3682. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3683. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3684. end
  3685. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3686. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3687. CameraEnshaking(8,24)
  3688. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3689. if v:FindFirstChild('Head') then
  3690. dmg(v)
  3691. end
  3692. end
  3693. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3694. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3695. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3696. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3697. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3698. for i = 0, 2, 0.1 do
  3699. swait()
  3700. 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)
  3701. 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)
  3702. 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)
  3703. 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)
  3704. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3705. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3706. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3707. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3708. end
  3709. attack = false
  3710. end
  3711.  
  3712. function Starfall()
  3713. attack = true
  3714. hum.WalkSpeed = 90
  3715. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3716. for i = 0, 5, 0.1 do
  3717. swait()
  3718. 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)
  3719. 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)
  3720. 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)
  3721. 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)
  3722. 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)
  3723. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3724. 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)
  3725. 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)
  3726. end
  3727. local Overed = false
  3728. CameraEnshaking(2,20)
  3729. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3730. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3731. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3732. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3733. local orb = Instance.new("Part", char)
  3734. orb.Anchored = true
  3735. orb.BrickColor = BrickColor.new("Toothpaste")
  3736. orb.CanCollide = false
  3737. orb.FormFactor = 3
  3738. orb.Name = "Remenant"
  3739. orb.Material = "Neon"
  3740. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3741. orb.Size = Vector3.new(1, 1, 1)
  3742. orb.Transparency = 1
  3743. orb.TopSurface = 0
  3744. orb.BottomSurface = 0
  3745. hum.WalkSpeed = storehumanoidWS
  3746. coroutine.resume(coroutine.create(function()
  3747. for i = 0, 9 do
  3748. swait(10)
  3749. local lb = Instance.new("Part")
  3750. lb.Color = MAINRUINCOLOR.Color
  3751. lb.CanCollide = false
  3752. lb.Material = "Neon"
  3753. lb.Anchored = true
  3754. lb.TopSurface = 0
  3755. lb.BottomSurface = 0
  3756. lb.Transparency = 0
  3757. lb.Size = vt(1,1,1)
  3758. 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)))
  3759. lb.Anchored = false
  3760. lb.Parent = char
  3761. local thingery = Instance.new("SpecialMesh",lb)
  3762. thingery.MeshType = "Sphere"
  3763. thingery.Scale = vt(20,20,20)
  3764. game:GetService("Debris"):AddItem(lb, 10)
  3765. local bv = Instance.new("BodyVelocity")
  3766. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3767. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3768. bv.Parent = lb
  3769. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3770. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3771. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3772. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3773. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3774. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3775. local hitted = false
  3776. coroutine.resume(coroutine.create(function()
  3777. while true do
  3778. swait(1)
  3779. if lb.Parent ~= nil and hitted == false then
  3780. 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)
  3781. elseif lb.Parent == nil then
  3782. break
  3783. end
  3784. end
  3785. end))
  3786.  
  3787. game:GetService("Debris"):AddItem(a, 0.1)
  3788.  
  3789. coroutine.resume(coroutine.create(function()
  3790. swait(1)
  3791. lb.Touched:connect(function(hit)
  3792. if hitted == false then
  3793. hitted = true
  3794. lb.Transparency = 1
  3795. lb.Anchored = true
  3796. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3797. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3798. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3799. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3800. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3801. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3802. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3803. CameraEnshaking(1,5)
  3804. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3805. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3806. for i = 0, 9 do
  3807. 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)
  3808. end
  3809. for i = 0, 49 do
  3810. swait()
  3811. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3812. 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)
  3813. end
  3814. end
  3815. end)
  3816. end))
  3817. end
  3818. Overed = true
  3819. orb:Destroy()
  3820. end))
  3821.  
  3822. attack = false
  3823. end
  3824.  
  3825. function Desfall()
  3826. attack = true
  3827. hum.WalkSpeed = 90
  3828. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3829. for i = 0, 5, 0.1 do
  3830. swait()
  3831. 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)
  3832. 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)
  3833. 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)
  3834. 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)
  3835. 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)
  3836. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3837. 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)
  3838. 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)
  3839. end
  3840. local Overed = false
  3841. CameraEnshaking(2,20)
  3842. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3843. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3844. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3845. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3846. local orb = Instance.new("Part", char)
  3847. orb.Anchored = true
  3848. orb.BrickColor = BrickColor.new("Toothpaste")
  3849. orb.CanCollide = false
  3850. orb.FormFactor = 3
  3851. orb.Name = "Remenant"
  3852. orb.Material = "Neon"
  3853. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3854. orb.Size = Vector3.new(1, 1, 1)
  3855. orb.Transparency = 1
  3856. orb.TopSurface = 0
  3857. orb.BottomSurface = 0
  3858. hum.WalkSpeed = storehumanoidWS
  3859. coroutine.resume(coroutine.create(function()
  3860. for i = 0, 9 do
  3861. swait(10)
  3862. local lb = Instance.new("Part")
  3863. lb.Color = MAINRUINCOLOR.Color
  3864. lb.CanCollide = false
  3865. lb.Material = "Neon"
  3866. lb.Anchored = true
  3867. lb.TopSurface = 0
  3868. lb.BottomSurface = 0
  3869. lb.Transparency = 0
  3870. lb.Size = vt(1,1,1)
  3871. 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)))
  3872. lb.Anchored = false
  3873. lb.Parent = char
  3874. local thingery = Instance.new("SpecialMesh",lb)
  3875. thingery.MeshType = "Sphere"
  3876. thingery.Scale = vt(20,20,20)
  3877. game:GetService("Debris"):AddItem(lb, 10)
  3878. local bv = Instance.new("BodyVelocity")
  3879. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3880. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3881. bv.Parent = lb
  3882. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3883. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3884. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3885. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3886. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3887. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3888. local hitted = false
  3889. coroutine.resume(coroutine.create(function()
  3890. while true do
  3891. swait(1)
  3892. if lb.Parent ~= nil and hitted == false then
  3893. 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)
  3894. elseif lb.Parent == nil then
  3895. break
  3896. end
  3897. end
  3898. end))
  3899.  
  3900. game:GetService("Debris"):AddItem(a, 0.1)
  3901.  
  3902. coroutine.resume(coroutine.create(function()
  3903. swait(1)
  3904. lb.Touched:connect(function(hit)
  3905. if hitted == false then
  3906. hitted = true
  3907. lb.Transparency = 1
  3908. lb.Anchored = true
  3909. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3910. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3911. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3912. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3913. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3914. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3915. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3916. CameraEnshaking(1,5)
  3917. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3918. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3919. for i = 0, 9 do
  3920. 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)
  3921. end
  3922. for i = 0, 49 do
  3923. swait()
  3924. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3925. 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)
  3926. end
  3927. end
  3928. end)
  3929. end))
  3930. end
  3931. Overed = true
  3932. orb:Destroy()
  3933. end))
  3934.  
  3935. attack = false
  3936. end
  3937.  
  3938. function StarfallEX()
  3939. attack = true
  3940. hum.WalkSpeed = 90
  3941. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3942. for i = 0, 5, 0.1 do
  3943. swait()
  3944. 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)
  3945. 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)
  3946. 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)
  3947. 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)
  3948. 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)
  3949. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3950. 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)
  3951. 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)
  3952. end
  3953. local Overed = false
  3954. CameraEnshaking(2,20)
  3955. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3956. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3957. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3958. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3959. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3960. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3961. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3962. local orb = Instance.new("Part", char)
  3963. orb.Anchored = true
  3964. orb.BrickColor = BrickColor.new("Toothpaste")
  3965. orb.CanCollide = false
  3966. orb.FormFactor = 3
  3967. orb.Name = "Remenant"
  3968. orb.Material = "Neon"
  3969. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3970. orb.Size = Vector3.new(1, 1, 1)
  3971. orb.Transparency = 1
  3972. orb.TopSurface = 0
  3973. orb.BottomSurface = 0
  3974. hum.WalkSpeed = storehumanoidWS
  3975. coroutine.resume(coroutine.create(function()
  3976. for i = 0, 9 do
  3977. swait(10)
  3978. local lb = Instance.new("Part")
  3979. lb.Color = MAINRUINCOLOR.Color
  3980. lb.CanCollide = false
  3981. lb.Material = "Neon"
  3982. lb.Anchored = true
  3983. lb.TopSurface = 0
  3984. lb.BottomSurface = 0
  3985. lb.Transparency = 0
  3986. lb.Size = vt(1,1,1)
  3987. 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)))
  3988. lb.Anchored = false
  3989. lb.Parent = char
  3990. local thingery = Instance.new("SpecialMesh",lb)
  3991. thingery.MeshType = "Sphere"
  3992. thingery.Scale = vt(20,20,20)
  3993. game:GetService("Debris"):AddItem(lb, 10)
  3994. local bv = Instance.new("BodyVelocity")
  3995. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3996. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3997. bv.Parent = lb
  3998. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3999. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  4000. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  4001. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  4002. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  4003. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  4004. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  4005. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  4006. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  4007. local hitted = false
  4008. coroutine.resume(coroutine.create(function()
  4009. while true do
  4010. swait(1)
  4011. if lb.Parent ~= nil and hitted == false then
  4012. 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)
  4013. 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)
  4014. elseif lb.Parent == nil then
  4015. break
  4016. end
  4017. end
  4018. end))
  4019.  
  4020. game:GetService("Debris"):AddItem(a, 0.1)
  4021.  
  4022. coroutine.resume(coroutine.create(function()
  4023. swait(1)
  4024. lb.Touched:connect(function(hit)
  4025. if hitted == false then
  4026. hitted = true
  4027. lb.Transparency = 1
  4028. lb.Anchored = true
  4029. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  4030. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  4031. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  4032. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  4033. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  4034. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  4035. MagniDamage(lb, 45, 45,85, 0, "Normal")
  4036. CameraEnshaking(10,5)
  4037. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4038. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4039. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4040. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4041. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4042. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4043. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4044. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4045. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4046. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4047. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4048. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4049. for i = 0, 9 do
  4050. 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)
  4051. 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)
  4052. 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)
  4053. 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)
  4054. 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)
  4055. 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)
  4056. end
  4057. for i = 0, 49 do
  4058. swait()
  4059. MagniDamage(lb, 30, 30, 60, 0, "Normal")
  4060. 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)
  4061. 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)
  4062. 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)
  4063. end
  4064. end
  4065. end)
  4066. end))
  4067. end
  4068. Overed = true
  4069. orb:Destroy()
  4070. end))
  4071.  
  4072. attack = false
  4073. end
  4074.  
  4075. function StarDivision()
  4076. attack = true
  4077. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4078. for i = 0, 2, 0.1 do
  4079. swait()
  4080. 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)
  4081. 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)
  4082. 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)
  4083. 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)
  4084. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  4085. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4086. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  4087. end
  4088. local orb = Instance.new("Part", char)
  4089. orb.BrickColor = MAINRUINCOLOR
  4090. orb.CanCollide = false
  4091. orb.FormFactor = 3
  4092. orb.Name = "Ring"
  4093. orb.Material = "Neon"
  4094. orb.Size = Vector3.new(1, 1, 1)
  4095. orb.Transparency = 0
  4096. orb.TopSurface = 0
  4097. orb.BottomSurface = 0
  4098. local orbm = Instance.new("SpecialMesh", orb)
  4099. orbm.MeshType = "Sphere"
  4100. orbm.Name = "SizeMesh"
  4101. orbm.Scale = vt(2,2,2)
  4102. local a = Instance.new("Part",workspace)
  4103. a.Name = "Direction"
  4104. a.Anchored = true
  4105. a.BrickColor = bc("Bright red")
  4106. a.Material = "Neon"
  4107. a.Transparency = 1
  4108. a.CanCollide = false
  4109. local ray = Ray.new(
  4110. sorb.CFrame.p, -- origin
  4111. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4112. )
  4113. local ignore = sorb
  4114. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4115. a.BottomSurface = 10
  4116. a.TopSurface = 10
  4117. local distance = (sorb.CFrame.p - position).magnitude
  4118. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4119. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4120. orb.CFrame = a.CFrame
  4121. a:Destroy()
  4122. local bv = Instance.new("BodyVelocity")
  4123. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4124. bv.velocity = orb.CFrame.lookVector*100
  4125. bv.Parent = orb
  4126. local hitted = false
  4127. game:GetService("Debris"):AddItem(orb, 10)
  4128. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4129. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4130. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4131. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4132. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4133. coroutine.resume(coroutine.create(function()
  4134. while true do
  4135. swait(1)
  4136. if orb.Parent ~= nil and hitted == false then
  4137. 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)
  4138. elseif orb.Parent == nil then
  4139. break
  4140. end
  4141. end
  4142. end))
  4143. coroutine.resume(coroutine.create(function()
  4144. swait(1)
  4145. orb.Touched:connect(function(hit)
  4146. if hitted == false then
  4147. hitted = true
  4148. game:GetService("Debris"):AddItem(orb, 5)
  4149. orb.Transparency = 1
  4150. orb.Anchored = true
  4151. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4152. elocacenter.Anchored = true
  4153. elocacenter.CFrame = orb.CFrame
  4154. elocacenter.Orientation = vt(0,0,0)
  4155. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4156. eloca1.Anchored = true
  4157. eloca1.CFrame = elocacenter.CFrame
  4158. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4159. eloca2.Anchored = true
  4160. eloca2.CFrame = elocacenter.CFrame
  4161. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4162. eloca3.Anchored = true
  4163. eloca3.CFrame = elocacenter.CFrame
  4164. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4165. eloca4.Anchored = true
  4166. eloca4.CFrame = elocacenter.CFrame
  4167. local lookavec = 0
  4168. local speeds = 0
  4169. CameraEnshaking(1,1)
  4170. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4171. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4172. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4173. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4174. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4175. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4176. for i = 0, 99 do
  4177. swait()
  4178. lookavec = lookavec + 1
  4179. speeds = speeds + 0.1
  4180. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4181. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4182. 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)
  4183.  
  4184. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4185. 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)
  4186.  
  4187. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4188. 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)
  4189.  
  4190. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4191. 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)
  4192. end
  4193.  
  4194. for i = 0, 149 do
  4195. swait()
  4196. speeds = speeds + 0.1
  4197. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4198. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4199. 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)
  4200.  
  4201. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4202. 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)
  4203.  
  4204. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4205. 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)
  4206.  
  4207. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4208. 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)
  4209. end
  4210. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4211. if v:FindFirstChild('Head') then
  4212. dmg(v)
  4213. end
  4214. end
  4215. CameraEnshaking(7,30)
  4216. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4217. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4218. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4219. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4220. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4221. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4222. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4223. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4224. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4225. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4226. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4227. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4228. for i = 0, 24 do
  4229. 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)
  4230. 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)
  4231. 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)
  4232. 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)
  4233. end
  4234. coroutine.resume(coroutine.create(function()
  4235. for i = 0, 499 do
  4236. swait(1)
  4237. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4238. 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)
  4239. end
  4240. elocacenter:Destroy()
  4241. eloca1:Destroy()
  4242. eloca2:Destroy()
  4243. eloca3:Destroy()
  4244. eloca4:Destroy()
  4245. end))
  4246. end
  4247. end)
  4248. end))
  4249. attack = false
  4250. end
  4251.  
  4252.  
  4253. function GalacticalBeams()
  4254. attack = true
  4255. local keptcolor = MAINRUINCOLOR
  4256. coroutine.resume(coroutine.create(function()
  4257. for i = 0, 0 do
  4258. swait(10)
  4259. local orb = Instance.new("Part", char)
  4260. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  4261. orb.BrickColor = keptcolor
  4262. orb.CanCollide = false
  4263. orb.FormFactor = 3
  4264. orb.Name = "Ring"
  4265. orb.Material = "Neon"
  4266. orb.Size = Vector3.new(1, 1, 1)
  4267. orb.Transparency = 1
  4268. orb.TopSurface = 0
  4269. orb.BottomSurface = 0
  4270. orb.Anchored = true
  4271. local orbm = Instance.new("SpecialMesh", orb)
  4272. orbm.MeshType = "Sphere"
  4273. orbm.Name = "SizeMesh"
  4274. orbm.Scale = vt(1.25,1.25,1.25)
  4275. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  4276. coroutine.resume(coroutine.create(function()
  4277. orb.Transparency = 1
  4278. local a = Instance.new("Part",char)
  4279. a.Name = "Direction"
  4280. a.Anchored = true
  4281. a.BrickColor = keptcolor
  4282. a.Material = "Neon"
  4283. a.Transparency = 1
  4284. a.Shape = "Cylinder"
  4285. local x = Instance.new("Part",char)
  4286. x.Name = "Direction"
  4287. x.Anchored = true
  4288. x.BrickColor = keptcolor
  4289. x.Material = "Neon"
  4290. x.Transparency = 1
  4291. x.Shape = "Cylinder"
  4292. local ht = Instance.new("Part",char)
  4293. ht.Name = "DirectionHit"
  4294. ht.Anchored = true
  4295. ht.BrickColor = keptcolor
  4296. ht.CanCollide = false
  4297. ht.Transparency = 1
  4298. ht.Size = vt(0.1,0.1,0.1)
  4299. a.CanCollide = false
  4300. local ray = Ray.new(
  4301. orb.CFrame.p, -- origin
  4302. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4303. )
  4304. local ignore = char
  4305. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4306. a.BottomSurface = 10
  4307. a.TopSurface = 10
  4308. local distance = (orb.CFrame.p - position).magnitude
  4309. a.Size = Vector3.new(distance,1,1)
  4310. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4311. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4312. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4313. local poste = 0
  4314. local rotation = 0
  4315. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  4316. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  4317. CameraEnshaking(2,2)
  4318. for i = 0, 49 do
  4319. swait()
  4320. rotation = rotation + 5
  4321. poste = poste + 1
  4322. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4323. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4324. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4325. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4326. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4327. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4328. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4329. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4330. end
  4331. local A1 = Instance.new("Attachment",x)
  4332. local A2 = Instance.new("Attachment",ht)
  4333. local Beem = Instance.new("Beam",ht)
  4334. Beem.Attachment0 = A1
  4335. Beem.Attachment1 = A2
  4336. Beem.LightEmission = 1
  4337. Beem.FaceCamera = true
  4338. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  4339. Beem.Width0 = 125
  4340. Beem.Width1 = 125
  4341. Beem.Texture = "rbxassetid://1134824633"
  4342. Beem.TextureMode = "Wrap"
  4343. Beem.TextureLength = 200
  4344. Beem.TextureSpeed = 1.5
  4345. Beem.Color = ColorSequence.new(keptcolor.Color)
  4346. CameraEnshaking(3,6)
  4347. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  4348. a.Transparency = 0.25
  4349. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  4350. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  4351. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4352. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4353. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  4354. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  4355. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  4356. local eff = Instance.new("ParticleEmitter",ht)
  4357. eff.Texture = "rbxassetid://284205403"
  4358. eff.LightEmission = 0.95
  4359. eff.Color = ColorSequence.new(keptcolor.Color)
  4360. eff.Rate = 500
  4361. eff.Lifetime = NumberRange.new(1)
  4362. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4363. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4364. eff.Speed = NumberRange.new(80,500)
  4365. eff.Drag = 5
  4366. eff.Rotation = NumberRange.new(-500,500)
  4367. eff.VelocitySpread = 9000
  4368. eff.RotSpeed = NumberRange.new(-500,500)
  4369. for i = 0, 24 do
  4370. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  4371. local rsiz = math.random(10,50)
  4372. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4373. end
  4374. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4375. local msh = Instance.new("SpecialMesh",a)
  4376. msh.MeshType = "Cylinder"
  4377. msh.Scale = vt(1,15,15)
  4378. for i = 0, 49 do
  4379. swait()
  4380. CameraEnshaking(1,4)
  4381. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  4382. rotation = rotation + 5
  4383. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4384. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  4385. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  4386. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4387. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4388. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4389. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4390. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4391. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4392. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4393. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4394. for i = 0, 2 do
  4395. local rsiz = math.random(50,250)
  4396. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4397. end
  4398. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  4399. end
  4400. eff.Enabled = false
  4401. local visibility = 0
  4402. for i = 0, 49 do
  4403. swait()
  4404. visibility = visibility + 0.02
  4405. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  4406. rotation = rotation + 5
  4407. poste = poste - 1
  4408. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4409. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4410. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4411. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4412. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4413. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4414. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4415. sphere(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4416. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  4417. a.Transparency = a.Transparency + 0.02
  4418. end
  4419. wait(1)
  4420. orb:Destroy()
  4421. a:Destroy()
  4422. ht:Destroy()
  4423. end))
  4424. game:GetService("Debris"):AddItem(orb, 10)
  4425. end
  4426. end))
  4427. hum.WalkSpeed = storehumanoidWS
  4428. attack = false
  4429. end
  4430.  
  4431. function UniversalCollapse()
  4432. attack = true
  4433. local speedearn = 0
  4434. hum.WalkSpeed = 90
  4435. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4436. for i = 0, 10, 0.1 do
  4437. swait()
  4438. speedearn = speedearn + 0.1
  4439. 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)
  4440. 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)
  4441. 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)
  4442. 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)
  4443. 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)
  4444. 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)
  4445. 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)
  4446. 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)
  4447. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4448. 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)
  4449. 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)
  4450. end
  4451. CameraEnshaking(5,45)
  4452. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4453. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4454. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4455. if v:FindFirstChild('Head') then
  4456. dmg(v)
  4457. end
  4458. end
  4459. hum.WalkSpeed = storehumanoidWS
  4460. attack = false
  4461. end
  4462.  
  4463. function PurityCollapse()
  4464. attack = true
  4465. local speedearn = 0
  4466. hum.WalkSpeed = 90
  4467. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4468. for i = 0, 10, 0.1 do
  4469. swait()
  4470. speedearn = speedearn + 0.1
  4471. 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)
  4472. 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)
  4473. 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)
  4474. 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)
  4475. 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)
  4476. 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)
  4477. 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)
  4478. 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)
  4479. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4480. 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)
  4481. 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)
  4482. end
  4483. CameraEnshaking(5,45)
  4484. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4485. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4486. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4487. if v:FindFirstChild('Head') then
  4488. dmg(v)
  4489. end
  4490. end
  4491. hum.WalkSpeed = storehumanoidWS
  4492. attack = false
  4493. end
  4494.  
  4495. function ChaosBegone()
  4496. attack = true
  4497. local speedearn = 0
  4498. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  4499. for i = 0, 10, 0.1 do
  4500. swait()
  4501. speedearn = speedearn + 0.1
  4502. 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)
  4503. 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)
  4504. 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)
  4505. 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)
  4506. 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)
  4507. 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)
  4508. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4509. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4510. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4511. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4512. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4513. end
  4514. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4515. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  4516. CameraEnshaking(5,25)
  4517. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4518. if v:FindFirstChild('Head') then
  4519. dmg(v)
  4520. end
  4521. end
  4522. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4523. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4524. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4525. for i = 0, 3, 0.1 do
  4526. swait()
  4527. 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)
  4528. 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)
  4529. 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)
  4530. 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)
  4531. 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)
  4532. 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)
  4533. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4534. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4535. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4536. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4537. end
  4538. attack = false
  4539. end
  4540.  
  4541. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4542. local orb = Instance.new("Part", char)
  4543. orb.Anchored = true
  4544. orb.BrickColor = color
  4545. orb.CanCollide = false
  4546. orb.FormFactor = 3
  4547. orb.Name = "Ring"
  4548. orb.Material = "Neon"
  4549. orb.Size = Vector3.new(1, 1, 1)
  4550. orb.Transparency = 0
  4551. orb.TopSurface = 0
  4552. orb.BottomSurface = 0
  4553. local orbm = Instance.new("SpecialMesh", orb)
  4554. orbm.MeshType = "Sphere"
  4555. orb.CFrame = positted
  4556. orbm.Name = "SizeMesh"
  4557. orbm.Scale = vt(1,1,1)
  4558. coroutine.wrap(function()
  4559. while orb and orb.Parent do
  4560. if glitchymode then
  4561. local val = math.random(1,255)
  4562. local color = Color3.fromRGB(val,val,val)
  4563. orb.Color = color
  4564. end
  4565. swait()
  4566. end
  4567. end)()
  4568. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4569. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4570. --[[for i = 0, 2 do
  4571. 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)
  4572. end]]--
  4573. coroutine.resume(coroutine.create(function()
  4574. wait(timer)
  4575. CameraEnshaking(3,ShakePower)
  4576. orb.Transparency = 1
  4577. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4578. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4579. --[[for i = 0, 4 do
  4580. 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)
  4581. end]]--
  4582. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4583. wait(3)
  4584. orb:Destroy()
  4585. end))
  4586. end
  4587.  
  4588. function orb_spawn(positted,timer)
  4589. local orb = Instance.new("Part", char)
  4590. orb.Anchored = true
  4591. orb.BrickColor = BrickColor.new("White")
  4592.  
  4593. orb.CanCollide = false
  4594. orb.FormFactor = 3
  4595. orb.Name = "Ring"
  4596. orb.Material = "Neon"
  4597. orb.Size = Vector3.new(1, 1, 1)
  4598. orb.Transparency = 0
  4599. orb.TopSurface = 0
  4600. orb.BottomSurface = 0
  4601. local orbm = Instance.new("SpecialMesh", orb)
  4602. orbm.MeshType = "Sphere"
  4603. orb.CFrame = positted
  4604. orbm.Name = "SizeMesh"
  4605. orbm.Scale = vt(1,1,1)
  4606. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4607. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4608. coroutine.wrap(function()
  4609. while orb and orb.Parent do
  4610. if glitchymode then
  4611. local val = math.random(1,255)
  4612. local color = Color3.fromRGB(val,val,val)
  4613. orb.Color = color
  4614. end
  4615. swait()
  4616. end
  4617. end)()
  4618. for i = 0, 2 do
  4619. 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)
  4620. end
  4621.  
  4622. coroutine.resume(coroutine.create(function()
  4623. wait(timer)
  4624. CameraEnshaking(3,2)
  4625. orb.Transparency = 1
  4626. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4627. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4628. for i = 0, 4 do
  4629. 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)
  4630. end
  4631. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4632. wait(3)
  4633. orb:Destroy()
  4634. end))
  4635. end
  4636.  
  4637. function BeamOfDeath()
  4638. attack = true
  4639. hum.WalkSpeed = 90
  4640. local keptcolor = MAINRUINCOLOR
  4641. local orb = Instance.new("Part", char)
  4642. orb.BrickColor = keptcolor
  4643. orb.CanCollide = false
  4644. orb.FormFactor = 3
  4645. orb.Name = "Ring"
  4646. orb.Material = "Neon"
  4647. orb.Size = Vector3.new(1, 1, 1)
  4648. orb.Transparency = 1
  4649. orb.TopSurface = 0
  4650. orb.BottomSurface = 0
  4651. local orbm = Instance.new("SpecialMesh", orb)
  4652. orbm.MeshType = "Sphere"
  4653. orbm.Name = "SizeMesh"
  4654. orbm.Scale = vt(22.5,10000,22.5)
  4655. orb.CFrame = mouse.Hit
  4656. orb.Anchored = true
  4657. orb.Orientation = vt(0,0,0)
  4658. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  4659. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  4660. coroutine.resume(coroutine.create(function()
  4661. coroutine.resume(coroutine.create(function()
  4662. for i = 0, 399 do
  4663. swait()
  4664. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  4665. orb.Transparency = orb.Transparency - 0.0025
  4666. end
  4667. end))
  4668. wait(9)
  4669. coroutine.resume(coroutine.create(function()
  4670. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  4671. if hfr ~= nil then
  4672. for i = 0, 49 do
  4673. local deb = Instance.new("Part", char)
  4674. deb.Anchored = true
  4675. deb.CanCollide = false
  4676. deb.FormFactor = 3
  4677. deb.Name = "Ring"
  4678. deb.Material = hitfloor.Material
  4679. deb.Color = hitfloor.Color
  4680. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  4681. deb.Transparency = 0
  4682. deb.TopSurface = 0
  4683. deb.BottomSurface = 0
  4684. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4685. local deb2 = Instance.new("Part", char)
  4686. deb2.CanCollide = false
  4687. deb2.FormFactor = 3
  4688. deb2.Name = "Ring"
  4689. deb2.Material = hitfloor.Material
  4690. deb2.Color = hitfloor.Color
  4691. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  4692. deb2.Transparency = 0
  4693. deb2.TopSurface = 0
  4694. deb2.BottomSurface = 0
  4695. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  4696. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4697. local eff = Instance.new("ParticleEmitter",deb)
  4698. eff.Texture = "rbxassetid://363275192"
  4699. eff.LightEmission = 0.95
  4700. eff.Color = ColorSequence.new(keptcolor.Color)
  4701. eff.Rate = 100
  4702. eff.Lifetime = NumberRange.new(1)
  4703. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  4704. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4705. eff.Speed = NumberRange.new(0,5)
  4706. eff.Rotation = NumberRange.new(-500,500)
  4707. eff.VelocitySpread = 9000
  4708. eff.RotSpeed = NumberRange.new(-10,10)
  4709. local at1 = Instance.new('Attachment',deb2)
  4710. at1.Position = vt(0,15,0)
  4711. local at2 = Instance.new('Attachment',deb2)
  4712. at2.Position = vt(0,-15,0)
  4713. local tl = Instance.new('Trail',deb2)
  4714. tl.Attachment0 = at1
  4715. tl.Attachment1 = at2
  4716. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4717. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  4718. tl.Lifetime = 1
  4719. game:GetService("Debris"):AddItem(deb,30)
  4720. game:GetService("Debris"):AddItem(deb2,30)
  4721. coroutine.resume(coroutine.create(function()
  4722. wait(15)
  4723. eff.Enabled = false
  4724. for i = 0, 49 do
  4725. swait()
  4726. deb.Transparency = deb.Transparency + 0.02
  4727. end
  4728. wait(1)
  4729. deb:Destroy()
  4730. end))
  4731. end
  4732. end
  4733. end))
  4734. for i = 0, 199 do
  4735. swait(1.5)
  4736. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  4737. if v:FindFirstChild('Head') then
  4738. dmg(v)
  4739. end
  4740. end
  4741. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  4742. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  4743. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  4744. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  4745. end
  4746. orb:Destroy()
  4747. end))
  4748. hum.WalkSpeed = storehumanoidWS
  4749. attack = false
  4750. end
  4751.  
  4752. function Beams()
  4753. attack = true
  4754. hum.WalkSpeed = 90
  4755. local keptcolor = MAINRUINCOLOR
  4756. coroutine.resume(coroutine.create(function()
  4757. for i = 0, 24 do
  4758. swait(5)
  4759. local orb = Instance.new("Part", char)
  4760. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  4761. orb.BrickColor = keptcolor
  4762. orb.CanCollide = false
  4763. orb.FormFactor = 3
  4764. orb.Name = "Ring"
  4765. orb.Material = "Neon"
  4766. orb.Size = Vector3.new(1, 1, 1)
  4767. orb.Transparency = 0
  4768. orb.TopSurface = 0
  4769. orb.BottomSurface = 0
  4770. orb.Anchored = true
  4771. local orbm = Instance.new("SpecialMesh", orb)
  4772. orbm.MeshType = "Sphere"
  4773. orbm.Name = "SizeMesh"
  4774. orbm.Scale = vt(1.25,1.25,1.25)
  4775. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  4776. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  4777. coroutine.resume(coroutine.create(function()
  4778. wait(0.5)
  4779. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  4780. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  4781. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  4782. orb.Transparency = 1
  4783. local a = Instance.new("Part",char)
  4784. a.Name = "Direction"
  4785. a.Anchored = true
  4786. a.BrickColor = keptcolor
  4787. a.Material = "Neon"
  4788. a.Transparency = 0.25
  4789. a.Shape = "Cylinder"
  4790. local ht = Instance.new("Part",char)
  4791. ht.Name = "DirectionHit"
  4792. ht.Anchored = true
  4793. ht.BrickColor = keptcolor
  4794. ht.CanCollide = false
  4795. ht.Transparency = 1
  4796. ht.Size = vt(0.1,0.1,0.1)
  4797. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  4798. a.CanCollide = false
  4799. local ray = Ray.new(
  4800. orb.CFrame.p, -- origin
  4801. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  4802. )
  4803. local ignore = char
  4804. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4805. a.BottomSurface = 10
  4806. a.TopSurface = 10
  4807. local distance = (orb.CFrame.p - position).magnitude
  4808. a.Size = Vector3.new(distance,1,1)
  4809. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4810. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4811. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  4812. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  4813. MagniDamage(ht, 9, 10,15, 0, "Normal")
  4814. coroutine.resume(coroutine.create(function()
  4815. local eff = Instance.new("ParticleEmitter",ht)
  4816. eff.Texture = "rbxassetid://284205403"
  4817. eff.LightEmission = 0.95
  4818. eff.Color = ColorSequence.new(keptcolor.Color)
  4819. eff.Rate = 500
  4820. eff.Lifetime = NumberRange.new(0.5)
  4821. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4822. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4823. eff.Speed = NumberRange.new(10,50)
  4824. eff.Drag = 5
  4825. eff.Rotation = NumberRange.new(-500,500)
  4826. eff.VelocitySpread = 9000
  4827. eff.RotSpeed = NumberRange.new(-500,500)
  4828. wait(0.25)
  4829. eff.Enabled = false
  4830. end))
  4831. for i = 0, 4 do
  4832. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  4833. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  4834. local rsiz = math.random(10,30)
  4835. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4836. end
  4837. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4838. local msh = Instance.new("SpecialMesh",a)
  4839. msh.MeshType = "Cylinder"
  4840. msh.Scale = vt(1,1,1)
  4841. for i = 0, 49 do
  4842. swait()
  4843. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  4844. a.Transparency = a.Transparency + 0.02
  4845. end
  4846. orb:Destroy()
  4847. a:Destroy()
  4848. ht:Destroy()
  4849. end))
  4850. game:GetService("Debris"):AddItem(orb, 10)
  4851. end
  4852. end))
  4853. for i = 0,12,0.1 do
  4854. swait()
  4855. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  4856. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  4857. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  4858. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  4859. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  4860. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
  4861. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  4862. end
  4863. hum.WalkSpeed = storehumanoidWS
  4864. attack = false
  4865. end
  4866.  
  4867. function scattercorrupt()
  4868. attack = true
  4869. local rot = 0
  4870. local randomrotations = math.random(1,2)
  4871. local lookv = 2.5
  4872. local power = 5
  4873. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4874. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4875. for i = 0, 9 do
  4876. 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)
  4877. end
  4878. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4879. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4880. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4881. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4882. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4883. local hite = Instance.new("Part", char)
  4884. hite.Anchored = true
  4885. hite.CanCollide = false
  4886. hite.FormFactor = 3
  4887. hite.Name = "Ring"
  4888. hite.Material = "Neon"
  4889. hite.Size = Vector3.new(1, 1, 1)
  4890. hite.Transparency = 1
  4891. hite.TopSurface = 0
  4892. hite.BottomSurface = 0
  4893. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4894. local rem = Instance.new("Part", char)
  4895. rem.Anchored = true
  4896. rem.CanCollide = false
  4897. rem.FormFactor = 3
  4898. rem.Name = "Ring"
  4899. rem.Material = "Neon"
  4900. rem.Size = Vector3.new(1, 1, 1)
  4901. rem.Transparency = 1
  4902. rem.TopSurface = 0
  4903. rem.BottomSurface = 0
  4904. rem.CFrame = hite.CFrame
  4905. local rem2 = rem:Clone()
  4906. rem2.Parent = char
  4907. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4908. local rem3 = rem:Clone()
  4909. rem3.Parent = char
  4910. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4911. local rem4 = rem:Clone()
  4912. rem4.Parent = char
  4913. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4914. hite:Destroy()
  4915. coroutine.resume(coroutine.create(function()
  4916. for i = 0, 24 do
  4917. swait(1)
  4918. if randomrotations == 1 then
  4919. rot = rot + 1
  4920. elseif randomrotations == 2 then
  4921. rot = rot - 1
  4922. end
  4923. power = power + 0.5
  4924. lookv = lookv + 7.5
  4925. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4926. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4927. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4928. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4929. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4930. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4931. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4932. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4933. end
  4934. end))
  4935. attack = false
  4936. end
  4937. function yinyangi()
  4938. attack = true
  4939. for i = 0, 2, 0.1 do
  4940. swait()
  4941. 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)
  4942. 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)
  4943. 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)
  4944. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4945. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4946. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4947. end
  4948. local bv = Instance.new("BodyVelocity")
  4949. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4950. bv.velocity = root.CFrame.lookVector*175
  4951. bv.Parent = root
  4952. for Rotations = 0, 9 do
  4953.  
  4954. for i = 0, 1, 0.5 do
  4955. swait()
  4956. bv.velocity = root.CFrame.lookVector*175
  4957. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4958. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4959. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  4960. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4961. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4962. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4963. end
  4964.  
  4965. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4966. for i = 0, 1, 0.5 do
  4967. swait()
  4968. bv.velocity = root.CFrame.lookVector*175
  4969. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4970. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4971. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  4972. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4973. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4974. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4975. end
  4976.  
  4977. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4978. for i = 0, 1, 0.5 do
  4979. swait()
  4980. bv.velocity = root.CFrame.lookVector*175
  4981. 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)
  4982. 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)
  4983. 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)
  4984. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4985. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4986. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4987. end
  4988.  
  4989. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4990. for i = 0, 1, 0.5 do
  4991. swait()
  4992. bv.velocity = root.CFrame.lookVector*175
  4993. 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)
  4994. 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)
  4995. 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)
  4996. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4997. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4998. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4999. end
  5000.  
  5001. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5002. end
  5003. bv:Destroy()
  5004. attack = false
  5005. end
  5006.  
  5007. function JusticeBeam()
  5008. attack = true
  5009.  
  5010. local rngb = Instance.new("Part", char)
  5011. rngb.Anchored = true
  5012. rngb.BrickColor = origcolor
  5013. rngb.CanCollide = false
  5014. rngb.FormFactor = 3
  5015. rngb.Name = "Ring"
  5016. rngb.Material = "Neon"
  5017. rngb.Size = Vector3.new(1, 0.05, 1)
  5018. rngb.Transparency = 1
  5019. rngb.TopSurface = 0
  5020. rngb.BottomSurface = 0
  5021. local rngmb = Instance.new("SpecialMesh", rngb)
  5022. rngmb.MeshType = "Brick"
  5023. rngmb.Name = "SizeMesh"
  5024. rngmb.Scale = vt(0,1,0)
  5025.  
  5026. local orb = rngb:Clone()
  5027. orb.Parent = char
  5028. orb.Transparency = 0
  5029. orb.BrickColor = BrickColor.new("White")
  5030. orb.Size = vt(1,1,1)
  5031. local orbmish = orb.SizeMesh
  5032. orbmish.Scale = vt(0,0,0)
  5033. orbmish.MeshType = "Sphere"
  5034.  
  5035. local orbe = rngb:Clone()
  5036. orbe.Parent = char
  5037. orbe.Transparency = 0.5
  5038. orbe.BrickColor = BrickColor.new("New Yeller")
  5039. orbe.Size = vt(1,1,1)
  5040. local orbmish2 = orbe.SizeMesh
  5041. orbmish2.Scale = vt(0,0,0)
  5042. orbmish2.MeshType = "Sphere"
  5043. orbe.Color = Color3.new(1,1,1)
  5044.  
  5045. rngb:Destroy()
  5046. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  5047. local scaled = 1
  5048. for i = 0,5,0.1 do
  5049. swait()
  5050. scaled = scaled - 0.02
  5051. if rainbowmode == true then
  5052. orbe.Color = Color3.new(r/255,g/255,b/255)
  5053. end
  5054. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  5055. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  5056. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5057. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5058. 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)
  5059. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5060. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5061. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5062. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5063. 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)
  5064. 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)
  5065. RootPart.CFrame = FaceMouse()[1]
  5066. end]]--
  5067. for i = 0,5,0.1 do
  5068. swait()
  5069. if rainbowmode == true then
  5070. orbe.Color = Color3.new(r/255,g/255,b/255)
  5071. end
  5072. if glitchymode then
  5073. local val = math.random(1,255)
  5074. local color = Color3.fromRGB(val,val,val)
  5075. orbe.Color = color
  5076. end
  5077. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5078. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5079. 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)
  5080. 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)
  5081. 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)
  5082. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  5083. 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)
  5084. 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)
  5085. end
  5086. orbe.Transparency = 1
  5087. orb.Transparency = 1
  5088. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  5089. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  5090. local a2 = Instance.new("Part",Character)
  5091. a2.Name = "Direction"
  5092. a2.Anchored = true
  5093. a2.BrickColor = bc("New Yeller")
  5094. a2.Color = Color3.new(1,1,1)
  5095. a2.Material = "Neon"
  5096. a2.Transparency = 0.5
  5097. a2.Shape = "Cylinder"
  5098. a2.CanCollide = false
  5099. local ba = Instance.new("Part",Character)
  5100. ba.Name = "HitDirect"
  5101. ba.Anchored = true
  5102. ba.BrickColor = bc("Cool yellow")
  5103. ba.Material = "Neon"
  5104. ba.Transparency = 1
  5105. ba.CanCollide = false
  5106. local ray = Ray.new(
  5107. orb.CFrame.p, -- origin
  5108. root.CFrame.lookVector.unit * 1000 -- direction
  5109. )
  5110. local ignore = Character
  5111. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5112. a2.Transparency = .75
  5113. a2.BottomSurface = 10
  5114. a2.TopSurface = 10
  5115. local distance = (orb.CFrame.p - position).magnitude
  5116. a2.Size = Vector3.new(distance, 1, 1)
  5117. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5118. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5119. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5120. game:GetService("Debris"):AddItem(a2, 20)
  5121. game:GetService("Debris"):AddItem(ba, 20)
  5122. local msh2 = Instance.new("SpecialMesh",a2)
  5123. msh2.MeshType = "Cylinder"
  5124. msh2.Scale = vt(1,6*5,6*5)
  5125.  
  5126. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  5127. for i = 1, 80*2 do
  5128. 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)
  5129. 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)
  5130. 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)
  5131. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  5132. 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)
  5133. 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)
  5134. swait()
  5135. CameraEnshaking(1,5)
  5136. a2.Color = Color3.new(1,1,1)
  5137. a2.Transparency = .25
  5138. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5139. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5140. ray = Ray.new(
  5141. orb.CFrame.p, -- origin
  5142. root.CFrame.lookVector.unit * 1000 -- direction
  5143. )
  5144. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5145. distance = (orb.CFrame.p - position).magnitude
  5146. if typrot == 1 then
  5147. rotation = rotation + 2.5
  5148. elseif typrot == 2 then
  5149. rotation = rotation - 2.5
  5150. end
  5151. a2.Size = Vector3.new(distance, 1, 1)
  5152. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5153. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5154. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5155. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  5156. 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)
  5157. 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)
  5158. MagniDamage(ba, 30, 5,25, 0, "Normal")
  5159. end
  5160. a2:Destroy()
  5161. ba:Destroy()
  5162. orb:Destroy()
  5163. orbe:Destroy()
  5164. attack = false
  5165. end
  5166.  
  5167. function Wip()
  5168. attack = true
  5169.  
  5170. local rngb = Instance.new("Part", char)
  5171. rngb.Anchored = true
  5172. rngb.BrickColor = origcolor
  5173. rngb.CanCollide = false
  5174. rngb.FormFactor = 3
  5175. rngb.Name = "Ring"
  5176. rngb.Material = "Neon"
  5177. rngb.Size = Vector3.new(1, 0.05, 1)
  5178. rngb.Transparency = 1
  5179. rngb.TopSurface = 0
  5180. rngb.BottomSurface = 0
  5181. local rngmb = Instance.new("SpecialMesh", rngb)
  5182. rngmb.MeshType = "Brick"
  5183. rngmb.Name = "SizeMesh"
  5184. rngmb.Scale = vt(0,1,0)
  5185.  
  5186. local orb = rngb:Clone()
  5187. orb.Parent = char
  5188. orb.Transparency = 0
  5189. orb.BrickColor = BrickColor.new("White")
  5190. orb.Size = vt(1,1,1)
  5191. local orbmish = orb.SizeMesh
  5192. orbmish.Scale = vt(0,0,0)
  5193. orbmish.MeshType = "Sphere"
  5194.  
  5195. local orbe = rngb:Clone()
  5196. orbe.Parent = char
  5197. orbe.Transparency = 0.5
  5198. orbe.BrickColor = BrickColor.new("New Yeller")
  5199. orbe.Size = vt(1,1,1)
  5200. local orbmish2 = orbe.SizeMesh
  5201. orbmish2.Scale = vt(0,0,0)
  5202. orbmish2.MeshType = "Sphere"
  5203. orbe.Color = Color3.new(r/255,g/255,b/255)
  5204.  
  5205. hum.AutoRotate = false
  5206. rngb:Destroy()
  5207. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  5208. local scaled = 1
  5209. for i = 0,5,0.1 do
  5210. swait()
  5211. scaled = scaled - 0.02
  5212. if rainbowmode == true then
  5213. orbe.Color = Color3.new(r/255,g/255,b/255)
  5214. end
  5215. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  5216. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  5217. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5218. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5219. 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)
  5220. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5221. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5222. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5223. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5224. 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)
  5225. 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)
  5226. RootPart.CFrame = FaceMouse()[1]
  5227. end]]--
  5228. for i = 0,5,0.1 do
  5229. swait()
  5230. if rainbowmode == true then
  5231. orbe.Color = Color3.new(r/255,g/255,b/255)
  5232. end
  5233. if glitchymode then
  5234. local val = math.random(1,255)
  5235. local color = Color3.fromRGB(val,val,val)
  5236. orbe.Color = color
  5237. end
  5238. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5239. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5240. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5241. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5242. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5243. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5244. 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)
  5245. 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)
  5246. RootPart.CFrame = FaceMouse()[1]
  5247. end
  5248. orbe.Transparency = 1
  5249. orb.Transparency = 1
  5250. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  5251. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  5252. local a = Instance.new("Part",Character)
  5253. a.Name = "Direction"
  5254. a.Anchored = true
  5255. a.BrickColor = bc("White")
  5256. a.Material = "Neon"
  5257. a.Transparency = 0
  5258. a.Shape = "Cylinder"
  5259. a.CanCollide = false
  5260. local a2 = Instance.new("Part",Character)
  5261. a2.Name = "Direction"
  5262. a2.Anchored = true
  5263. a2.BrickColor = bc("New Yeller")
  5264. a2.Color = Color3.new(r/255,g/255,b/255)
  5265. a2.Material = "Neon"
  5266. a2.Transparency = 0.5
  5267. a2.Shape = "Cylinder"
  5268. a2.CanCollide = false
  5269. local ba = Instance.new("Part",Character)
  5270. ba.Name = "HitDirect"
  5271. ba.Anchored = true
  5272. ba.BrickColor = bc("Cool yellow")
  5273. ba.Material = "Neon"
  5274. ba.Transparency = 1
  5275. ba.CanCollide = false
  5276. local ray = Ray.new(
  5277. orb.CFrame.p, -- origin
  5278. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5279. )
  5280. local ignore = Character
  5281. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5282. a.BottomSurface = 10
  5283. a.TopSurface = 10
  5284. a2.BottomSurface = 10
  5285. a2.TopSurface = 10
  5286. local distance = (orb.CFrame.p - position).magnitude
  5287. a.Size = Vector3.new(distance, 1, 1)
  5288. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5289. a2.Size = Vector3.new(distance, 1, 1)
  5290. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5291. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5292. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5293. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5294. game:GetService("Debris"):AddItem(a, 20)
  5295. game:GetService("Debris"):AddItem(a2, 20)
  5296. game:GetService("Debris"):AddItem(ba, 20)
  5297. local msh = Instance.new("SpecialMesh",a)
  5298. msh.MeshType = "Cylinder"
  5299. msh.Scale = vt(1,5*5,5*5)
  5300. local msh2 = Instance.new("SpecialMesh",a2)
  5301. msh2.MeshType = "Cylinder"
  5302. msh2.Scale = vt(1,6*5,6*5)
  5303.  
  5304. for i = 0,10,0.1 do
  5305. swait()
  5306. CameraEnshaking(1,5)
  5307. a2.Color = Color3.new(r/255,g/255,b/255)
  5308. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5309. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5310. ray = Ray.new(
  5311. orb.CFrame.p, -- origin
  5312. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5313. )
  5314. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5315. distance = (orb.CFrame.p - position).magnitude
  5316. if typrot == 1 then
  5317. rotation = rotation + 2.5
  5318. elseif typrot == 2 then
  5319. rotation = rotation - 2.5
  5320. end
  5321. RootPart.CFrame = FaceMouse()[1]
  5322. a.Size = Vector3.new(distance, 1, 1)
  5323. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5324. a2.Size = Vector3.new(distance, 1, 1)
  5325. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5326. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5327. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5328. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5329. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  5330. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  5331. 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)
  5332. 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)
  5333. MagniDamage(ba, 30, 5,25, 0, "Normal")
  5334. end
  5335. a:Destroy()
  5336. a2:Destroy()
  5337. ba:Destroy()
  5338. orb:Destroy()
  5339. orbe:Destroy()
  5340. hum.AutoRotate = true
  5341. attack = false
  5342. end
  5343.  
  5344.  
  5345. function UniversalSpark()
  5346. attack = true
  5347.  
  5348. local rngb = Instance.new("Part", char)
  5349. rngb.Anchored = true
  5350. rngb.BrickColor = origcolor
  5351. rngb.CanCollide = false
  5352. rngb.FormFactor = 3
  5353. rngb.Name = "Ring"
  5354. rngb.Material = "Neon"
  5355. rngb.Size = Vector3.new(1, 0.05, 1)
  5356. rngb.Transparency = 1
  5357. rngb.TopSurface = 0
  5358. rngb.BottomSurface = 0
  5359. local rngmb = Instance.new("SpecialMesh", rngb)
  5360. rngmb.MeshType = "Brick"
  5361. rngmb.Name = "SizeMesh"
  5362. rngmb.Scale = vt(0,1,0)
  5363.  
  5364. local orb = rngb:Clone()
  5365. orb.Parent = char
  5366. orb.Transparency = 0
  5367. orb.BrickColor = BrickColor.new("White")
  5368. orb.Size = vt(1,1,1)
  5369. local orbmish = orb.SizeMesh
  5370. orbmish.Scale = vt(0,0,0)
  5371. orbmish.MeshType = "Sphere"
  5372.  
  5373. local orbe = rngb:Clone()
  5374. orbe.Parent = char
  5375. orbe.Transparency = 0.5
  5376. orbe.BrickColor = BrickColor.new("New Yeller")
  5377. orbe.Size = vt(1,1,1)
  5378. local orbmish2 = orbe.SizeMesh
  5379. orbmish2.Scale = vt(0,0,0)
  5380. orbmish2.MeshType = "Sphere"
  5381. orbe.Color = Color3.new(r/255,g/255,b/255)
  5382.  
  5383. rngb:Destroy()
  5384. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  5385. local scaled = 1
  5386. for i = 0,5,0.1 do
  5387. swait()
  5388. scaled = scaled - 0.02
  5389. if rainbowmode == true then
  5390. orbe.Color = Color3.new(r/255,g/255,b/255)
  5391. end
  5392. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  5393. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  5394. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5395. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5396. 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)
  5397. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5398. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5399. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5400. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5401. 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)
  5402. 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)
  5403. RootPart.CFrame = FaceMouse()[1]
  5404. end]]--
  5405. for i = 0,5,0.1 do
  5406. swait()
  5407. if rainbowmode == true then
  5408. orbe.Color = Color3.new(r/255,g/255,b/255)
  5409. end
  5410. if glitchymode then
  5411. local val = math.random(1,255)
  5412. local color = Color3.fromRGB(val,val,val)
  5413. orbe.Color = color
  5414. end
  5415. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5416. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5417. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5418. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5419. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5420. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5421. 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)
  5422. 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)
  5423. RootPart.CFrame = FaceMouse()[1]
  5424. end
  5425. orbe.Transparency = 1
  5426. orb.Transparency = 1
  5427. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  5428. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  5429. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  5430. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5431.  
  5432. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  5433. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  5434. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5435. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  5436. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  5437. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  5438. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  5439. local xd= Instance.new("Sound",char)
  5440. xd.SoundId = "rbxassetid://445796828"
  5441. xd.Pitch = 0.75
  5442. xd.Looped = true
  5443. xd.Volume = 1.25
  5444. xd:Play()
  5445. local a = Instance.new("Part",Character)
  5446. a.Name = "Direction"
  5447. a.Anchored = true
  5448. a.BrickColor = bc("Alder")
  5449. a.Color = MAINRUINCOLOR.Color
  5450. a.Material = "Neon"
  5451. a.Transparency = 0.5
  5452. a.Shape = "Cylinder"
  5453. a.CanCollide = false
  5454. local a2 = Instance.new("Part",Character)
  5455. a2.Name = "Direction"
  5456. a2.Anchored = true
  5457. a2.BrickColor = bc("New Yeller")
  5458. a2.Color = MAINRUINCOLOR.Color
  5459. a2.Material = "Neon"
  5460. a2.Transparency = 0.5
  5461. a2.Shape = "Cylinder"
  5462. a2.CanCollide = false
  5463. local ba = Instance.new("Part",Character)
  5464. ba.Name = "HitDirect"
  5465. ba.Anchored = true
  5466. ba.BrickColor = bc("Cool yellow")
  5467. ba.Material = "Neon"
  5468. ba.Transparency = 1
  5469. ba.CanCollide = false
  5470. local ray = Ray.new(
  5471. orb.CFrame.p, -- origin
  5472. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5473. )
  5474. local ignore = Character
  5475. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5476. a.BottomSurface = 10
  5477. a.TopSurface = 10
  5478. a2.BottomSurface = 10
  5479. a2.TopSurface = 10
  5480. local distance = (orb.CFrame.p - position).magnitude
  5481. a.Size = Vector3.new(distance, 1, 1)
  5482. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5483. a2.Size = Vector3.new(distance, 1, 1)
  5484. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5485. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5486. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5487. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5488. game:GetService("Debris"):AddItem(a, 60)
  5489. game:GetService("Debris"):AddItem(a2, 60)
  5490. game:GetService("Debris"):AddItem(ba, 60)
  5491. local outerscale = 0
  5492. local msh = Instance.new("SpecialMesh",a)
  5493. msh.MeshType = "Cylinder"
  5494. msh.Scale = vt(1,0,0)
  5495. local msh2 = Instance.new("SpecialMesh",a2)
  5496. msh2.MeshType = "Cylinder"
  5497. msh2.Scale = vt(1,0,0)
  5498. for i = 0,2,0.1 do
  5499. swait()
  5500. CameraEnshaking(1,1)
  5501. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  5502. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  5503. outerscale = outerscale - 0.015
  5504. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5505. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5506. ray = Ray.new(
  5507. orb.CFrame.p, -- origin
  5508. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5509. )
  5510. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5511. distance = (orb.CFrame.p - position).magnitude
  5512. if typrot == 1 then
  5513. rotation = rotation + 2.5
  5514. elseif typrot == 2 then
  5515. rotation = rotation - 2.5
  5516. end
  5517. RootPart.CFrame = FaceMouse()[1]
  5518. a.Size = Vector3.new(distance, 1, 1)
  5519. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5520. a2.Size = Vector3.new(distance, 1, 1)
  5521. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5522. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5523. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5524. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5525. 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)
  5526. 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)
  5527. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5528. end
  5529. for z = 0, 2 do
  5530. for i = 0,4,0.1 do
  5531. swait()
  5532. CameraEnshaking(1,1)
  5533. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5534. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5535. outerscale = outerscale + 0.015
  5536. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5537. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5538. ray = Ray.new(
  5539. orb.CFrame.p, -- origin
  5540. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5541. )
  5542. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5543. distance = (orb.CFrame.p - position).magnitude
  5544. if typrot == 1 then
  5545. rotation = rotation + 2.5
  5546. elseif typrot == 2 then
  5547. rotation = rotation - 2.5
  5548. end
  5549. RootPart.CFrame = FaceMouse()[1]
  5550. a.Size = Vector3.new(distance, 1, 1)
  5551. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5552. a2.Size = Vector3.new(distance, 1, 1)
  5553. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5554. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5555. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5556. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5557. 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)
  5558. 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)
  5559. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5560. end
  5561. for i = 0,4,0.1 do
  5562. swait()
  5563. CameraEnshaking(1,1)
  5564. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5565. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5566. outerscale = outerscale - 0.015
  5567. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5568. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5569. ray = Ray.new(
  5570. orb.CFrame.p, -- origin
  5571. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5572. )
  5573. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5574. distance = (orb.CFrame.p - position).magnitude
  5575. if typrot == 1 then
  5576. rotation = rotation + 2.5
  5577. elseif typrot == 2 then
  5578. rotation = rotation - 2.5
  5579. end
  5580. RootPart.CFrame = FaceMouse()[1]
  5581. a.Size = Vector3.new(distance, 1, 1)
  5582. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5583. a2.Size = Vector3.new(distance, 1, 1)
  5584. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5585. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5586. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5587. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5588. 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)
  5589. 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)
  5590. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5591. end
  5592. end
  5593. for i = 0,4,0.1 do
  5594. swait()
  5595. CameraEnshaking(1,1)
  5596. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5597. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5598. xd.Volume = xd.Volume - 0.025
  5599. a.Transparency = a.Transparency + 0.025
  5600. a2.Transparency = a2.Transparency + 0.025
  5601. outerscale = outerscale - 0.015
  5602. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5603. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5604. ray = Ray.new(
  5605. orb.CFrame.p, -- origin
  5606. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5607. )
  5608. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5609. distance = (orb.CFrame.p - position).magnitude
  5610. if typrot == 1 then
  5611. rotation = rotation + 2.5
  5612. elseif typrot == 2 then
  5613. rotation = rotation - 2.5
  5614. end
  5615. RootPart.CFrame = FaceMouse()[1]
  5616. a.Size = Vector3.new(distance, 1, 1)
  5617. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5618. a2.Size = Vector3.new(distance, 1, 1)
  5619. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5620. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5621. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5622. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5623. 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)
  5624. 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)
  5625. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5626. end
  5627. xd:Destroy()
  5628. a:Destroy()
  5629. a2:Destroy()
  5630. ba:Destroy()
  5631. orb:Destroy()
  5632. orbe:Destroy()
  5633. attack = false
  5634. end
  5635.  
  5636.  
  5637.  
  5638. function attackone()
  5639. attack = true
  5640. for i = 0,1,0.1 do
  5641. swait()
  5642. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  5643. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  5644. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5645. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5646. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
  5647. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  5648. end
  5649. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  5650.  
  5651. local hitb = Instance.new("Part", char)
  5652. hitb.Anchored = true
  5653. hitb.CanCollide = false
  5654. hitb.FormFactor = 3
  5655. hitb.Name = "Ring"
  5656. hitb.Material = "Neon"
  5657. hitb.Size = Vector3.new(1, 1, 1)
  5658. hitb.Transparency = 1
  5659. hitb.TopSurface = 0
  5660. hitb.BottomSurface = 0
  5661. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5662. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5663. hitb:Destroy()
  5664. for i = 0,1,0.1 do
  5665. swait()
  5666. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  5667. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  5668. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  5669. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  5670. 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)
  5671. 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)
  5672. end
  5673.  
  5674. attack = false
  5675. end
  5676.  
  5677. function attacktwo()
  5678. attack = true
  5679. for i = 0,1,0.1 do
  5680. swait()
  5681. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  5682. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  5683. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5684. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5685. 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)
  5686. 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)
  5687. end
  5688. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  5689. local hitb = Instance.new("Part", char)
  5690. hitb.Anchored = true
  5691. hitb.CanCollide = false
  5692. hitb.FormFactor = 3
  5693. hitb.Name = "Ring"
  5694. hitb.Material = "Neon"
  5695. hitb.Size = Vector3.new(1, 1, 1)
  5696. hitb.Transparency = 1
  5697. hitb.TopSurface = 0
  5698. hitb.BottomSurface = 0
  5699. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5700. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5701. hitb:Destroy()
  5702. for i = 0,1,0.1 do
  5703. swait()
  5704. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  5705. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  5706. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  5707. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  5708. 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)
  5709. 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)
  5710. end
  5711. attack = false
  5712. end
  5713.  
  5714. function attackthree()
  5715. attack = true
  5716. for i = 0,1,0.1 do
  5717. swait()
  5718. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5719. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5720. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5721. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5722. 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)
  5723. 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)
  5724. end
  5725. local distlook = 5
  5726. for i = 0, 4 do
  5727. swait(2)
  5728. CameraEnshaking(2,3)
  5729. local hite = Instance.new("Part", char)
  5730. hite.Anchored = true
  5731. hite.CanCollide = false
  5732. hite.FormFactor = 3
  5733. hite.Name = "Ring"
  5734. hite.Material = "Neon"
  5735. hite.Size = Vector3.new(1, 1, 1)
  5736. hite.Transparency = 1
  5737. hite.TopSurface = 0
  5738. hite.BottomSurface = 0
  5739. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5740. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5741. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5742. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5743. for i = 0, 2 do
  5744. 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)
  5745. 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)
  5746. 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)
  5747. end
  5748. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5749. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5750. game:GetService("Debris"):AddItem(hite, 5)
  5751. distlook = distlook + 10
  5752. end
  5753. attack = false
  5754. end
  5755.  
  5756. function FinalCalamity()
  5757. end
  5758.  
  5759. function resetmode()
  5760. rainbowmode = false
  5761. chaosmode = false
  5762. glitchymode = false
  5763. tl1.Enabled = false
  5764. tl2.Enabled = false
  5765. tl3.Enabled = false
  5766. local lust = ModeOfGlitch == 69
  5767. ModeOfGlitch = 1
  5768. storehumanoidWS = 16
  5769. if(not lust)then
  5770. newTheme("rbxassetid://1564523997",48.6,1,1)
  5771. end
  5772. coroutine.resume(coroutine.create(function()
  5773. attack = true
  5774. hum.WalkSpeed = 90
  5775. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5776. for i = 0,4,0.1 do
  5777. swait()
  5778. 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)
  5779. 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)
  5780. 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)
  5781. 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)
  5782. 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)
  5783. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5784. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5785. end
  5786. if(lust)then
  5787. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5788. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
  5789. for i = 0, 49 do
  5790. 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)
  5791. end
  5792.  
  5793. for i = 0,4,0.05 do
  5794. swait()
  5795. Pitch = 1-i/4
  5796. 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)
  5797. 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)
  5798. 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)
  5799. 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)
  5800. 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)
  5801. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5802. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5803. end
  5804. for i = 0,3,0.1 do
  5805. swait()
  5806. 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)
  5807. 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)
  5808. 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)
  5809. 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)
  5810. 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)
  5811. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5812. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5813. end
  5814. newTheme("rbxassetid://1564523997",48.6,1,1)
  5815. end
  5816. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5817. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5818. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5819. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5820. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  5821. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  5822. RecolorTextAndRename("Solitude GUEST",Color3.new(0,0,0),Color3.new(1,1,1))
  5823. CameraEnshaking(5,2.5)
  5824. MAINRUINCOLOR = BrickColor.new("Really black")
  5825. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5826. for i = 0, 49 do
  5827. 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)
  5828. end
  5829. for i = 0,3,0.1 do
  5830. 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)
  5831. end
  5832. for i, v in pairs(mw2:GetChildren()) do
  5833. if v:IsA("Part") then
  5834. v.BrickColor = BrickColor.new("Really black")
  5835. v.Material = "Neon"
  5836. end
  5837. end
  5838. for i, v in pairs(mw1:GetChildren()) do
  5839. if v:IsA("Part") then
  5840. v.Transparency = 1
  5841. v.BrickColor = BrickColor.new("Really black")
  5842. v.Material = "Neon"
  5843. end
  5844. end
  5845. for i, v in pairs(m:GetChildren()) do
  5846. if v:IsA("Part") then
  5847. v.BrickColor = BrickColor.new("Really black")
  5848. v.Material = "Glass"
  5849. end
  5850. end
  5851. for i, v in pairs(m2:GetChildren()) do
  5852. if v:IsA("Part") then
  5853. v.BrickColor = BrickColor.new("Dark stone grey")
  5854. v.Material = "Granite"
  5855. end
  5856. end
  5857. for i, v in pairs(m3:GetChildren()) do
  5858. if v:IsA("Part") then
  5859. v.BrickColor = BrickColor.new("Really black")
  5860. v.Material = "Neon"
  5861. end
  5862. end
  5863. for i, v in pairs(extrawingmod1:GetChildren()) do
  5864. if v:IsA("Part") then
  5865. v.Transparency = 1
  5866. v.BrickColor = BrickColor.new("White")
  5867. v.Material = "Neon"
  5868. end
  5869. end
  5870. for i, v in pairs(extrawingmod2:GetChildren()) do
  5871. if v:IsA("Part") then
  5872. v.Transparency = 1
  5873. v.BrickColor = BrickColor.new("White")
  5874. v.Material = "Neon"
  5875. end
  5876. end
  5877. for i = 0,2,0.1 do
  5878. swait()
  5879. 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)
  5880. 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)
  5881. 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)
  5882. 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)
  5883. 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)
  5884. 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)
  5885. end
  5886. hum.WalkSpeed = storehumanoidWS
  5887. attack = false
  5888. end))
  5889. end
  5890.  
  5891. function lustmode()
  5892.  
  5893. ModeOfGlitch = 69
  5894. storehumanoidWS = 16
  5895. rainbowmode = false
  5896. chaosmode = false
  5897. glitchymode = false
  5898. tl1.Enabled = false
  5899. tl2.Enabled = false
  5900. tl3.Enabled = false
  5901. newTheme("rbxassetid://1494622418",0,1,1)
  5902. coroutine.wrap(function()
  5903. attack = true
  5904. hum.WalkSpeed = 99
  5905. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5906. for i = 0,4,0.1 do
  5907. swait()
  5908. 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)
  5909. 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)
  5910. 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)
  5911. 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)
  5912. 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)
  5913. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5914. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5915. end
  5916. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5917. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
  5918.  
  5919. for i = 0,4,0.1 do
  5920. swait()
  5921. 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)
  5922. 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)
  5923. 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)
  5924. 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)
  5925. 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)
  5926. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5927. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5928. end
  5929. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5930. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5931. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5932. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5933. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
  5934. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
  5935. CameraEnshaking(5,2.5)
  5936. MAINRUINCOLOR = BrickColor.new("Hot pink")
  5937. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5938. for i = 0, 49 do
  5939. 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)
  5940. end
  5941. for i = 0,3,0.1 do
  5942. 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)
  5943. end
  5944. RecolorTextAndRename("Loost GUEST",Color3.new(1,1,1),BrickColor.new'Hot pink'.Color)
  5945. for i, v in pairs(mw2:GetChildren()) do
  5946. if v:IsA("Part") then
  5947. v.BrickColor = MAINRUINCOLOR
  5948. v.Material = "Neon"
  5949. end
  5950. end
  5951. for i, v in pairs(mw1:GetChildren()) do
  5952. if v:IsA("Part") then
  5953. v.Transparency = 1
  5954. v.BrickColor = MAINRUINCOLOR
  5955. v.Material = "Neon"
  5956. end
  5957. end
  5958. for i, v in pairs(m:GetChildren()) do
  5959. if v:IsA("Part") then
  5960. v.BrickColor = BrickColor.new("Hot pink")
  5961. v.Material = "Ice"
  5962. end
  5963. end
  5964. for i, v in pairs(m2:GetChildren()) do
  5965. if v:IsA("Part") then
  5966. v.BrickColor = BrickColor.new("Hot pink")
  5967. v.Material = "Glass"
  5968. end
  5969. end
  5970. for i, v in pairs(m3:GetChildren()) do
  5971. if v:IsA("Part") then
  5972. v.BrickColor = BrickColor.new("Hot pink")
  5973. v.Material = "Neon"
  5974. end
  5975. end
  5976. for i, v in pairs(extrawingmod1:GetChildren()) do
  5977. if v:IsA("Part") then
  5978. v.Transparency = 1
  5979. v.BrickColor = BrickColor.new("Hot pink")
  5980. v.Material = "Neon"
  5981. end
  5982. end
  5983. for i, v in pairs(extrawingmod2:GetChildren()) do
  5984. if v:IsA("Part") then
  5985. v.Transparency = 1
  5986. v.BrickColor = BrickColor.new("Hot pink")
  5987. v.Material = "Neon"
  5988. end
  5989. end
  5990. for i = 0,2,0.1 do
  5991. swait()
  5992. 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)
  5993. 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)
  5994. 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)
  5995. 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)
  5996. 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)
  5997. 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)
  5998. end
  5999. hum.WalkSpeed = storehumanoidWS
  6000. attack = false
  6001. end)()
  6002. end
  6003.  
  6004. function insanitymode()
  6005. storehumanoidWS = 16
  6006. hum.WalkSpeed = 90
  6007. rainbowmode = false
  6008. glitchymode = false
  6009. chaosmode = true
  6010. tl1.Enabled = true
  6011. tl2.Enabled = true
  6012. tl3.Enabled = true
  6013. local lust = ModeOfGlitch == 69
  6014. newTheme("rbxassetid://919231299",0,1,1)
  6015. coroutine.resume(coroutine.create(function()
  6016. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6017. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6018. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6019. attack = true
  6020. hum.WalkSpeed = 90
  6021. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  6022. for i = 0,4,0.1 do
  6023. swait()
  6024. 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)
  6025. 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)
  6026. 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)
  6027. 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)
  6028. 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)
  6029. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  6030. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  6031. end
  6032. for i = 0,8,0.1 do
  6033. swait()
  6034. 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)
  6035. 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)
  6036. 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)
  6037. 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)
  6038. 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)
  6039. 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)
  6040. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  6041. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  6042. end
  6043.  
  6044. for i = 0,3,0.1 do
  6045. swait()
  6046. 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)
  6047. 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)
  6048. 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)
  6049. 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)
  6050. 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)
  6051. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  6052. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  6053. end
  6054. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6055. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6056. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6057. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6058. CameraEnshaking(5,2.5)
  6059. MAINRUINCOLOR = BrickColor.new("Black")
  6060. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6061. for i = 0, 49 do
  6062. 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)
  6063. end
  6064. for i = 0,3,0.1 do
  6065. 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)
  6066. end
  6067. ModeOfGlitch = 666666
  6068. for i, v in pairs(mw2:GetChildren()) do
  6069. if v:IsA("Part") then
  6070. v.BrickColor = MAINRUINCOLOR
  6071. v.Material = "Neon"
  6072. end
  6073. end
  6074. for i, v in pairs(mw1:GetChildren()) do
  6075. if v:IsA("Part") then
  6076. v.Transparency = 0.75
  6077. v.BrickColor = BrickColor.random()
  6078. v.Material = "Neon"
  6079. end
  6080. end
  6081. for i, v in pairs(m:GetChildren()) do
  6082. if v:IsA("Part") then
  6083. v.BrickColor = BrickColor.new("Black")
  6084. v.Material = "Neon"
  6085. end
  6086. end
  6087. for i, v in pairs(m2:GetChildren()) do
  6088. if v:IsA("Part") then
  6089. v.BrickColor = BrickColor.random()
  6090. v.Material = "Neon"
  6091. end
  6092. end
  6093. for i, v in pairs(m3:GetChildren()) do
  6094. if v:IsA("Part") then
  6095. v.BrickColor = BrickColor.new("Black")
  6096. v.Material = "Neon"
  6097. end
  6098. end
  6099. for i, v in pairs(extrawingmod1:GetChildren()) do
  6100. if v:IsA("Part") then
  6101. v.Transparency = .75
  6102. v.BrickColor = BrickColor.Random()
  6103. v.Material = "Neon"
  6104. end
  6105. end
  6106. for i, v in pairs(extrawingmod2:GetChildren()) do
  6107. if v:IsA("Part") then
  6108. v.Transparency = 0
  6109. v.BrickColor = BrickColor.new("Black")
  6110. v.Material = "Neon"
  6111. end
  6112. end
  6113. for i = 0,2,0.1 do
  6114. swait()
  6115. 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)
  6116. 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)
  6117. 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)
  6118. 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)
  6119. 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)
  6120. 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)
  6121. end
  6122. hum.WalkSpeed = storehumanoidWS
  6123. attack = false
  6124. end))
  6125. end
  6126.  
  6127. local attacktype = 1
  6128. mouse.Button1Down:connect(function()
  6129. if attack == false and attacktype == 1 then
  6130. attacktype = 2
  6131. attackone()
  6132. elseif attack == false and attacktype == 2 then
  6133. attacktype = 3
  6134. attacktwo()
  6135. elseif attack == false and attacktype == 3 then
  6136. attacktype = 1
  6137. attackthree()
  6138. elseif attack == false and attacktype == 4 then
  6139. attacktype = 1
  6140. --attackfour()
  6141. end
  6142. end)
  6143.  
  6144. function Judgement()
  6145. attack = true
  6146. hum.WalkSpeed = 90
  6147. local p = Instance.new("Part",root)
  6148. p.Anchored = true
  6149. p.CanCollide = false
  6150. p.BrickColor = MAINRUINCOLOR
  6151. p.Material = Enum.Material.Neon
  6152. p.Size = Vector3.new(1,1,1)
  6153. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  6154. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  6155. local m = Instance.new("SpecialMesh",p)
  6156. m.MeshType = "Cylinder"
  6157. m.Scale = Vector3.new(2000,2,2)
  6158. local targ = Instance.new("Part",root)
  6159. targ.Transparency = 1
  6160. targ.CanCollide = false
  6161. targ.Size = Vector3.new(1,1,1)
  6162. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  6163. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  6164. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  6165. for i = 1,15 do
  6166. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  6167. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  6168. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  6169. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  6170. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  6171. 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)
  6172. 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)
  6173. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  6174. 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)
  6175. m.Scale = m.Scale+Vector3.new(0,1,1)
  6176. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  6177. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  6178. swait()
  6179. end
  6180. 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)
  6181. for i = 1,200 do
  6182. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  6183. 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)
  6184. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  6185. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  6186. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  6187. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  6188. swait()
  6189. end
  6190. for i =1,15 do
  6191. m.Scale = m.Scale-Vector3.new(1,1,1)
  6192. p.Transparency = i / 15
  6193. swait()
  6194. end
  6195. p:Destroy()
  6196. hum.WalkSpeed = storehumanoidWS
  6197. attack = false
  6198. end
  6199.  
  6200. local ODerDB = false
  6201. function ChooseODer()
  6202. if(not ODerDB)then
  6203. coroutine.wrap(function()
  6204.  
  6205. local allowOD = true
  6206. local whom = (mouse.Target and mouse.Target.Parent)
  6207. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  6208. ODerDB = true
  6209. for _,v in next, ODers do
  6210. if(v == whom)then
  6211. print'nO OD SELF'
  6212. allowOD = false
  6213. end
  6214. end
  6215. if(allowOD)then
  6216. 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))
  6217. local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  6218.  
  6219. ref.CFrame = Torso.CFrame
  6220. ref.Anchored = true
  6221. local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  6222. local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  6223. local MPos = whom.Head.CFrame*cf(0,4,0)
  6224. for i = 0, 1, .05 do
  6225. swait()
  6226. ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  6227.  
  6228. sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  6229. if whom:FindFirstChild'Head' == nil then
  6230. break
  6231. end
  6232. end
  6233. ref:destroy()
  6234. if whom:FindFirstChild'Head' then
  6235. table.insert(ODers,whom)
  6236. if(#ODers > 2)then
  6237. table.remove(ODers,1)
  6238. end
  6239. 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)
  6240. end
  6241. end
  6242. ODerDB = false
  6243. end
  6244. end)()
  6245. end
  6246. end
  6247.  
  6248. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6249. attack = true
  6250. hum.WalkSpeed = 90
  6251. storehumanoidWS = 75
  6252. hum.JumpPower = 0
  6253. newThemeCust("rbxassetid://1420353940",0,1,1)
  6254. kan.TimePosition = 0
  6255. ModeOfGlitch = 8376532578634534
  6256. repeat swait() until kan.IsLoaded
  6257. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6258. for i = 0, 14, .1 do
  6259. swait()
  6260. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6261. 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)
  6262. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6263. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  6264. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6265. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6266. end
  6267. chatfunc("Riddle me that..",text.TextStrokeColor3)
  6268. for i = 0, 12, .1 do
  6269. swait()
  6270. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6271. 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)
  6272. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6273. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  6274. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6275. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6276. end
  6277. chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
  6278. for i = 0, 16, .1 do
  6279. swait()
  6280. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6281. 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)
  6282. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6283. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6284. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6285. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6286. end
  6287. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6288. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6289. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6290. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6291. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  6292. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  6293. RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
  6294. CameraEnshaking(5,2.5)
  6295. MAINRUINCOLOR = BrickColor.new("Really black")
  6296. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6297. tl1.Enabled = true
  6298. tl2.Enabled = true
  6299. tl3.Enabled = true
  6300. for i = 0, 49 do
  6301. 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)
  6302. end
  6303. for i = 0,3,0.1 do
  6304. 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)
  6305. end
  6306. for i, v in pairs(mw2:GetChildren()) do
  6307. if v:IsA("Part") then
  6308. v.BrickColor = BrickColor.new("Really black")
  6309. v.Material = "Glass"
  6310. end
  6311. end
  6312. for i, v in pairs(mw1:GetChildren()) do
  6313. if v:IsA("Part") then
  6314. v.Transparency = 0
  6315. v.BrickColor = BrickColor.new("Really black")
  6316. v.Material = "Glass"
  6317. end
  6318. end
  6319. for i, v in pairs(m:GetChildren()) do
  6320. if v:IsA("Part") then
  6321. v.BrickColor = BrickColor.new("Really black")
  6322. v.Material = "Glass"
  6323. end
  6324. end
  6325. for i, v in pairs(m2:GetChildren()) do
  6326. if v:IsA("Part") then
  6327. v.BrickColor = BrickColor.new("Dark stone grey")
  6328. v.Material = "Granite"
  6329. end
  6330. end
  6331. for i, v in pairs(m3:GetChildren()) do
  6332. if v:IsA("Part") then
  6333. v.BrickColor = BrickColor.new("Really black")
  6334. v.Material = "Glass"
  6335. end
  6336. end
  6337. for i, v in pairs(extrawingmod1:GetChildren()) do
  6338. if v:IsA("Part") then
  6339. v.Transparency = 0
  6340. v.BrickColor = BrickColor.new("Dark stone grey")
  6341. v.Material = "Glass"
  6342. end
  6343. end
  6344. for i, v in pairs(extrawingmod2:GetChildren()) do
  6345. if v:IsA("Part") then
  6346. v.Transparency = 0
  6347. v.BrickColor = BrickColor.new("Dark stone grey")
  6348. v.Material = "Glass"
  6349. end
  6350. end
  6351. for i = 0,2,0.1 do
  6352. swait()
  6353. 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)
  6354. 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)
  6355. 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)
  6356. 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)
  6357. 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)
  6358. 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)
  6359. end
  6360. hum.JumpPower = 50
  6361. hum.WalkSpeed = storehumanoidWS
  6362. attack = false
  6363. end
  6364.  
  6365. function PurityX2()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6366. attack = true
  6367. hum.WalkSpeed = 90
  6368. storehumanoidWS = 75
  6369. hum.JumpPower = 0
  6370. newThemeCust("rbxassetid://260951229",0,1,1)
  6371. kan.TimePosition = 0
  6372. ModeOfGlitch = 12
  6373. repeat swait() until kan.IsLoaded
  6374. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6375. chatfunc("Welp..Its time for a upgrade...",Color3.new(1,1,1))
  6376. for i = 0, 16, .1 do
  6377. swait()
  6378. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6379. 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)
  6380. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6381. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6382. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6383. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6384. end
  6385. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6386. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6387. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6388. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6389. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Toothpaste' end)
  6390. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6391. RecolorTextAndRename("Purity X GUEST",Color3.new(1,1,1),Color3.new(0,255,255))
  6392. CameraEnshaking(5,2.5)
  6393. MAINRUINCOLOR = BrickColor.new("Navy blue")
  6394. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6395. tl1.Enabled = true
  6396. tl2.Enabled = true
  6397. tl3.Enabled = true
  6398. for i = 0, 49 do
  6399. 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)
  6400. end
  6401. for i = 0,3,0.1 do
  6402. 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)
  6403. end
  6404. for i, v in pairs(mw2:GetChildren()) do
  6405. if v:IsA("Part") then
  6406. v.BrickColor = BrickColor.new("Navy blue")
  6407. v.Material = "Neon"
  6408. end
  6409. end
  6410. for i, v in pairs(mw1:GetChildren()) do
  6411. if v:IsA("Part") then
  6412. v.Transparency = 0
  6413. v.BrickColor = BrickColor.new("Navy blue")
  6414. v.Material = "Neon"
  6415. end
  6416. end
  6417. for i, v in pairs(m:GetChildren()) do
  6418. if v:IsA("Part") then
  6419. v.BrickColor = BrickColor.new("Navy blue")
  6420. v.Material = "Neon"
  6421. end
  6422. end
  6423. for i, v in pairs(m2:GetChildren()) do
  6424. if v:IsA("Part") then
  6425. v.BrickColor = BrickColor.new("Toothpaste")
  6426. v.Material = "Neon"
  6427. end
  6428. end
  6429. for i, v in pairs(m3:GetChildren()) do
  6430. if v:IsA("Part") then
  6431. v.BrickColor = BrickColor.new("Toothpaste")
  6432. v.Material = "Neon"
  6433. end
  6434. end
  6435. for i, v in pairs(extrawingmod1:GetChildren()) do
  6436. if v:IsA("Part") then
  6437. v.Transparency = 0
  6438. v.BrickColor = BrickColor.new("Toothpaste")
  6439. v.Material = "Neon"
  6440. end
  6441. end
  6442. for i, v in pairs(extrawingmod2:GetChildren()) do
  6443. if v:IsA("Part") then
  6444. v.Transparency = 0
  6445. v.BrickColor = BrickColor.new("Toothpaste")
  6446. v.Material = "Neon"
  6447. end
  6448. end
  6449. for i = 0,2,0.1 do
  6450. swait()
  6451. 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)
  6452. 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)
  6453. 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)
  6454. 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)
  6455. 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)
  6456. 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)
  6457. end
  6458. hum.JumpPower = 50
  6459. hum.WalkSpeed = storehumanoidWS
  6460. attack = false
  6461. end
  6462.  
  6463. function Mayhem()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6464. attack = true
  6465. hum.WalkSpeed = 90
  6466. storehumanoidWS = 75
  6467. hum.JumpPower = 0
  6468. newThemeCust("rbxassetid://614032233",0,1,1)
  6469. kan.TimePosition = 0
  6470. ModeOfGlitch = 122
  6471. repeat swait() until kan.IsLoaded
  6472. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6473. chatfunc("Let's go back to the past!",Color3.new(1,1,1))
  6474. for i = 0, 16, .1 do
  6475. swait()
  6476. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6477. 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)
  6478. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6479. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6480. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6481. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6482. end
  6483. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6484. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6485. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6486. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6487. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Toothpaste' end)
  6488. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6489. RecolorTextAndRename("Mayhem",Color3.new(0,0,0),Color3.new(255,0,0))
  6490. CameraEnshaking(5,2.5)
  6491. MAINRUINCOLOR = BrickColor.new("Really red")
  6492. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6493. tl1.Enabled = true
  6494. tl2.Enabled = true
  6495. tl3.Enabled = true
  6496. for i = 0, 49 do
  6497. 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)
  6498. end
  6499. for i = 0,3,0.1 do
  6500. 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)
  6501. end
  6502. for i, v in pairs(mw2:GetChildren()) do
  6503. if v:IsA("Part") then
  6504. v.BrickColor = BrickColor.new("Really red")
  6505. v.Material = "Neon"
  6506. end
  6507. end
  6508. for i = 0,2,0.1 do
  6509. swait()
  6510. 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)
  6511. 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)
  6512. 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)
  6513. 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)
  6514. 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)
  6515. 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)
  6516. end
  6517. hum.JumpPower = 50
  6518. hum.WalkSpeed = storehumanoidWS
  6519. attack = false
  6520. end
  6521.  
  6522. function Clarity()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6523. attack = true
  6524. hum.WalkSpeed = 90
  6525. storehumanoidWS = 75
  6526. hum.JumpPower = 0
  6527. newThemeCust("rbxassetid://1539245059",0,1,1)
  6528. kan.TimePosition = 0
  6529. ModeOfGlitch = 78
  6530. repeat swait() until kan.IsLoaded
  6531. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6532. chatfunc("...",Color3.new(1,1,1))
  6533. for i = 0, 16, .1 do
  6534. swait()
  6535. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6536. 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)
  6537. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6538. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6539. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6540. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6541. end
  6542. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6543. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6544. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6545. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6546. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Toothpaste' end)
  6547. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6548. RecolorTextAndRename("Clarity",Color3.new(159,243,233),Color3.new(175,211,255))
  6549. CameraEnshaking(5,2.5)
  6550. MAINRUINCOLOR = BrickColor.new("Pastel blue-green")
  6551. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6552. tl1.Enabled = true
  6553. tl2.Enabled = true
  6554. tl3.Enabled = true
  6555. for i = 0, 49 do
  6556. 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)
  6557. end
  6558. for i = 0,3,0.1 do
  6559. 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)
  6560. end
  6561. for i, v in pairs(mw2:GetChildren()) do
  6562. if v:IsA("Part") then
  6563. v.BrickColor = BrickColor.new("Pastel blue-green")
  6564. v.Material = "Neon"
  6565. end
  6566. end
  6567. for i = 0,2,0.1 do
  6568. swait()
  6569. 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)
  6570. 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)
  6571. 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)
  6572. 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)
  6573. 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)
  6574. 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)
  6575. end
  6576. hum.JumpPower = 50
  6577. hum.WalkSpeed = storehumanoidWS
  6578. attack = false
  6579. end
  6580.  
  6581. function Destruction()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6582. attack = true
  6583. hum.WalkSpeed = 90
  6584. storehumanoidWS = 75
  6585. hum.JumpPower = 0
  6586. newThemeCust("rbxassetid://723652641",0,1,1)
  6587. kan.TimePosition = 0
  6588. ModeOfGlitch = 1220
  6589. repeat swait() until kan.IsLoaded
  6590. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6591. chatfunc("You better remember this!",Color3.new(1,1,1))
  6592. for i = 0, 16, .1 do
  6593. swait()
  6594. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6595. 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)
  6596. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6597. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6598. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6599. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6600. end
  6601. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6602. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6603. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6604. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6605. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Toothpaste' end)
  6606. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6607. RecolorTextAndRename("DeStRuCtIoN",Color3.new(1,0,0),Color3.new(0.75,0,0))
  6608. CameraEnshaking(5,2.5)
  6609. MAINRUINCOLOR = BrickColor.new("Crimson")
  6610. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6611. tl1.Enabled = true
  6612. tl2.Enabled = true
  6613. tl3.Enabled = true
  6614. for i = 0, 49 do
  6615. 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)
  6616. end
  6617. for i = 0,3,0.1 do
  6618. 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)
  6619. end
  6620. for i, v in pairs(mw2:GetChildren()) do
  6621. if v:IsA("Part") then
  6622. v.BrickColor = BrickColor.new("Crimson")
  6623. v.Material = "Neon"
  6624. end
  6625. end
  6626. for i, v in pairs(mw1:GetChildren()) do
  6627. if v:IsA("Part") then
  6628. v.Transparency = 0
  6629. v.BrickColor = BrickColor.new("Crimson")
  6630. v.Material = "Neon"
  6631. end
  6632. end
  6633. for i, v in pairs(m:GetChildren()) do
  6634. if v:IsA("Part") then
  6635. v.BrickColor = BrickColor.new("Crimson")
  6636. v.Material = "Neon"
  6637. end
  6638. end
  6639. for i, v in pairs(m2:GetChildren()) do
  6640. if v:IsA("Part") then
  6641. v.BrickColor = BrickColor.new("Crimson")
  6642. v.Material = "Neon"
  6643. end
  6644. end
  6645. for i, v in pairs(m3:GetChildren()) do
  6646. if v:IsA("Part") then
  6647. v.BrickColor = BrickColor.new("Crimson")
  6648. v.Material = "Neon"
  6649. end
  6650. end
  6651. for i, v in pairs(extrawingmod1:GetChildren()) do
  6652. if v:IsA("Part") then
  6653. v.Transparency = 0
  6654. v.BrickColor = BrickColor.new("Crimson")
  6655. v.Material = "Neon"
  6656. end
  6657. end
  6658. for i, v in pairs(extrawingmod2:GetChildren()) do
  6659. if v:IsA("Part") then
  6660. v.Transparency = 0
  6661. v.BrickColor = BrickColor.new("Crimson")
  6662. v.Material = "Neon"
  6663. end
  6664. end
  6665. for i = 0,2,0.1 do
  6666. swait()
  6667. 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)
  6668. 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)
  6669. 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)
  6670. 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)
  6671. 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)
  6672. 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)
  6673. end
  6674. hum.JumpPower = 50
  6675. hum.WalkSpeed = storehumanoidWS
  6676. attack = false
  6677. end
  6678.  
  6679. function Dark()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  6680. attack = true
  6681. hum.WalkSpeed = 90
  6682. storehumanoidWS = 75
  6683. hum.JumpPower = 0
  6684. newThemeCust("rbxassetid://382893859",0,1,1)
  6685. kan.TimePosition = 0
  6686. ModeOfGlitch = 8376532578634534
  6687. repeat swait() until kan.IsLoaded
  6688. chatfunc("Riddle me this..",text.TextStrokeColor3)
  6689. chatfunc("....",Color3.new(1,1,1))
  6690. for i = 0, 16, .1 do
  6691. swait()
  6692. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6693. 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)
  6694. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6695. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6696. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6697. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6698. end
  6699. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  6700. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  6701. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  6702. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  6703. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Toothpaste' end)
  6704. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6705. RecolorTextAndRename("Darker Darker Yet Darker",Color3.new(1,0,0),Color3.new(0.75,0,0))
  6706. CameraEnshaking(5,2.5)
  6707. MAINRUINCOLOR = BrickColor.new("Really black")
  6708. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6709. tl1.Enabled = true
  6710. tl2.Enabled = true
  6711. tl3.Enabled = true
  6712. for i = 0, 49 do
  6713. 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)
  6714. end
  6715. for i = 0,3,0.1 do
  6716. 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)
  6717. end
  6718. for i, v in pairs(mw2:GetChildren()) do
  6719. if v:IsA("Part") then
  6720. v.BrickColor = BrickColor.new("Really black")
  6721. v.Material = "Neon"
  6722. end
  6723. end
  6724. for i, v in pairs(mw1:GetChildren()) do
  6725. if v:IsA("Part") then
  6726. v.Transparency = 0
  6727. v.BrickColor = BrickColor.new("Really black")
  6728. v.Material = "Neon"
  6729. end
  6730. end
  6731. for i, v in pairs(m:GetChildren()) do
  6732. if v:IsA("Part") then
  6733. v.BrickColor = BrickColor.new("Really black")
  6734. v.Material = "Neon"
  6735. end
  6736. end
  6737. for i, v in pairs(m2:GetChildren()) do
  6738. if v:IsA("Part") then
  6739. v.BrickColor = BrickColor.new("Really black")
  6740. v.Material = "Neon"
  6741. end
  6742. end
  6743. for i, v in pairs(m3:GetChildren()) do
  6744. if v:IsA("Part") then
  6745. v.BrickColor = BrickColor.new("Really black")
  6746. v.Material = "Neon"
  6747. end
  6748. end
  6749. for i, v in pairs(extrawingmod1:GetChildren()) do
  6750. if v:IsA("Part") then
  6751. v.Transparency = 0
  6752. v.BrickColor = BrickColor.new("Really black")
  6753. v.Material = "Neon"
  6754. end
  6755. end
  6756. for i, v in pairs(extrawingmod2:GetChildren()) do
  6757. if v:IsA("Part") then
  6758. v.Transparency = 0
  6759. v.BrickColor = BrickColor.new("Really black")
  6760. v.Material = "Neon"
  6761. end
  6762. end
  6763. for i = 0,2,0.1 do
  6764. swait()
  6765. 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)
  6766. 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)
  6767. 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)
  6768. 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)
  6769. 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)
  6770. 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)
  6771. end
  6772. hum.JumpPower = 50
  6773. hum.WalkSpeed = storehumanoidWS
  6774. attack = false
  6775. end
  6776.  
  6777. function FuckMeSidewaysAndCallMeGay()
  6778. local whom = (mouse.Target and mouse.Target.Parent)
  6779. --[[local fuckThisBoi = false
  6780. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  6781. for _,v in next, ODers do
  6782. if(v == whom)then
  6783. fuckThisBoi = false
  6784. end
  6785. end
  6786. end
  6787. if(not fuckThisBoi)then
  6788. attack = false
  6789. warn'to fuck that boi you need to target them with z'
  6790. else]]
  6791. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  6792. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  6793. local hum = whom:FindFirstChildOfClass'Humanoid'
  6794. local ocf = RootPart.CFrame
  6795. hum.WalkSpeed = 90
  6796. hum.JumpPower = 0
  6797. hed.Anchored = true
  6798. RootPart.Anchored = true
  6799. Humanoid.WalkSpeed = 0
  6800. Humanoid.JumpPower = 0
  6801. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6802. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6803. for i = 0, 9 do
  6804. 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)
  6805. end
  6806. for i = 0, 24 do
  6807. 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)
  6808. end
  6809. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6810. attack = true
  6811. local speed = 1
  6812. local heck;
  6813. local stopitlol = false;
  6814. heck = mouse.KeyUp:connect(function(k)
  6815. if(k:lower() == 'n')then
  6816. stopitlol = true
  6817. heck:disconnect()
  6818. end
  6819. end)
  6820. local times = 0
  6821. repeat swait()
  6822. speed = speed - .01
  6823. times = times + 1
  6824. if(speed < .1)then
  6825. speed = .1
  6826. end
  6827. for i = 0, speed, .05 do
  6828. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6829. swait()
  6830. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6831. 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)
  6832. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6833. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6834. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6835. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6836. end
  6837. CameraEnshaking(5,5)
  6838.  
  6839. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  6840.  
  6841. for i = 0, speed, .05 do
  6842. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6843. swait()
  6844. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6845. 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)
  6846. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6848. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6849. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6850. end
  6851. until stopitlol and times >= 3
  6852. for i = 1, 3 do
  6853. for i = 0, 1.5, .05 do
  6854. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6855. swait()
  6856. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6857. 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)
  6858. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6859. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6860. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6861. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6862. end
  6863. CameraEnshaking(5,25)
  6864.  
  6865. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6866.  
  6867.  
  6868. coroutine.resume(coroutine.create(function()
  6869. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6870. bld.LightEmission = 0.1
  6871. bld.Texture = "rbxassetid://284205403"
  6872. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6873. bld.Rate = 500
  6874. bld.Lifetime = NumberRange.new(1)
  6875. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6876. bld.Acceleration = vt(0,-25,0)
  6877. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6878. bld.Speed = NumberRange.new(10,50)
  6879. bld.EmissionDirection = "Back"
  6880. bld.VelocitySpread = 25
  6881. bld.Rotation = NumberRange.new(-500,500)
  6882. bld.RotSpeed = NumberRange.new(-500,500)
  6883. bld.Enabled = false
  6884. bld:Emit(250)
  6885. end))
  6886. coroutine.resume(coroutine.create(function()
  6887. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6888. bld.LightEmission = 0.1
  6889. bld.Texture = "rbxassetid://284205403"
  6890. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6891. bld.Rate = 500
  6892. bld.Lifetime = NumberRange.new(1)
  6893. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6894. bld.Acceleration = vt(0,-25,0)
  6895. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6896. bld.Speed = NumberRange.new(10,50)
  6897. bld.EmissionDirection = "Back"
  6898. bld.VelocitySpread = 25
  6899. bld.Rotation = NumberRange.new(-500,500)
  6900. bld.RotSpeed = NumberRange.new(-500,500)
  6901. bld.Enabled = false
  6902. bld:Emit(250)
  6903. end))
  6904. for i = 0, 1.5, .05 do
  6905. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6906. swait()
  6907. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6908. 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)
  6909. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6910. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6911. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6912. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6913. end
  6914. end
  6915. for i = 0, 4, .05 do
  6916. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6917. swait()
  6918. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  6919. 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)
  6920. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  6921. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  6922. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6923. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6924. end
  6925. CameraEnshaking(5,25)
  6926. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  6927. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6928.  
  6929. dmg(whom)
  6930. coroutine.resume(coroutine.create(function()
  6931. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6932. bld.LightEmission = 0.1
  6933. bld.Texture = "rbxassetid://284205403"
  6934. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6935. bld.Rate = 500
  6936. bld.Lifetime = NumberRange.new(1)
  6937. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6938. bld.Acceleration = vt(0,-25,0)
  6939. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6940. bld.Speed = NumberRange.new(10,50)
  6941. bld.EmissionDirection = "Back"
  6942. bld.VelocitySpread = 25
  6943. bld.Rotation = NumberRange.new(-500,500)
  6944. bld.RotSpeed = NumberRange.new(-500,500)
  6945. bld.Enabled = true
  6946. end))
  6947. coroutine.resume(coroutine.create(function()
  6948. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6949. bld.LightEmission = 0.1
  6950. bld.Texture = "rbxassetid://284205403"
  6951. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6952. bld.Rate = 500
  6953. bld.Lifetime = NumberRange.new(1)
  6954. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6955. bld.Acceleration = vt(0,-25,0)
  6956. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6957. bld.Speed = NumberRange.new(10,50)
  6958. bld.EmissionDirection = "Back"
  6959. bld.VelocitySpread = 25
  6960. bld.Rotation = NumberRange.new(-500,500)
  6961. bld.RotSpeed = NumberRange.new(-500,500)
  6962. bld.Enabled = true
  6963. end))
  6964. for i = 0, 3, .05 do
  6965. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6966. swait()
  6967. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  6968. 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)
  6969. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  6970. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6971. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6972. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6973. end
  6974.  
  6975. RootPart.CFrame = ocf
  6976. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6977. for i = 0, 9 do
  6978. 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)
  6979. end
  6980. for i = 0, 24 do
  6981. 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)
  6982. end
  6983. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6984. RootPart.Anchored = false
  6985. Humanoid.WalkSpeed = storehumanoidWS
  6986. Humanoid.JumpPower = 50
  6987. attack = false
  6988. end
  6989. end
  6990.  
  6991. local input = ""
  6992.  
  6993. mouse.KeyDown:connect(function(k)
  6994. if(k == "w" or k == "a" or k == "s" or k == "d")then
  6995. input = input .. k
  6996. local newInput = input
  6997. coroutine.wrap(function()
  6998. for i = 1, 25 do
  6999. if(newInput ~= input)then break end
  7000. swait()
  7001. end
  7002. if(newInput == input)then input = "" end
  7003. end)()
  7004. if(input == "wwssadad" and not AllowRape)then
  7005. AllowRape = true
  7006. warn("Rape unlocked! Have fun ;)")
  7007. elseif(input == "wwaassdd" and not AllowCata)then
  7008. AllowCata = true
  7009. warn("You unlocked CATASTROPHE.")
  7010. elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then
  7011. ChaosBegone()
  7012. end
  7013. end
  7014. end)
  7015.  
  7016. mouse.KeyDown:connect(function(k)
  7017. if k == "h" then
  7018.  
  7019. end
  7020.  
  7021. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  7022. ModeOfGlitch = 2
  7023. storehumanoidWS = 16
  7024. hum.WalkSpeed = 16
  7025. rainbowmode = false
  7026. chaosmode = false
  7027. glitchymode = false
  7028. tl1.Enabled = false
  7029. tl2.Enabled = false
  7030. tl3.Enabled = false
  7031. RecolorTextAndRename("Purity GUEST",Color3.new(1,1,1),Color3.new(0,1,1))
  7032. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  7033. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  7034. newTheme("rbxassetid://1539245059",0,1,1)
  7035. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7036. for i, v in pairs(mw2:GetChildren()) do
  7037. if v:IsA("Part") then
  7038. v.BrickColor = MAINRUINCOLOR
  7039. v.Material = "Neon"
  7040. end
  7041. end
  7042. for i, v in pairs(mw1:GetChildren()) do
  7043. if v:IsA("Part") then
  7044. v.Transparency = 1
  7045. v.BrickColor = MAINRUINCOLOR
  7046. v.Material = "Neon"
  7047. end
  7048. end
  7049. for i, v in pairs(m:GetChildren()) do
  7050. if v:IsA("Part") then
  7051. v.BrickColor = BrickColor.new("White")
  7052. v.Material = "Ice"
  7053. end
  7054. end
  7055. for i, v in pairs(m2:GetChildren()) do
  7056. if v:IsA("Part") then
  7057. v.BrickColor = BrickColor.new("Pastel light blue")
  7058. v.Material = "Glass"
  7059. end
  7060. end
  7061. for i, v in pairs(m3:GetChildren()) do
  7062. if v:IsA("Part") then
  7063. v.BrickColor = BrickColor.new("Toothpaste")
  7064. v.Material = "Neon"
  7065. end
  7066. end
  7067. for i, v in pairs(extrawingmod1:GetChildren()) do
  7068. if v:IsA("Part") then
  7069. v.Transparency = 1
  7070. v.BrickColor = BrickColor.new("White")
  7071. v.Material = "Neon"
  7072. end
  7073. end
  7074. for i, v in pairs(extrawingmod2:GetChildren()) do
  7075. if v:IsA("Part") then
  7076. v.Transparency = 1
  7077. v.BrickColor = BrickColor.new("White")
  7078. v.Material = "Neon"
  7079. end
  7080. end
  7081. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  7082. resetmode()
  7083. end
  7084. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  7085. lustmode()
  7086. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  7087. resetmode()
  7088. end
  7089. if k == "m" and attack == false and ModeOfGlitch == 1 then
  7090. RiddleMeThisRiddleMeThat()
  7091. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  7092. resetmode()
  7093. end
  7094. if k == "b" and attack == false and ModeOfGlitch == 2 then
  7095. PurityX2()()
  7096. elseif k == "b" and attack == false and ModeOfGlitch == 12 then
  7097. resetmode()
  7098. end
  7099. if k == "b" and attack == false and ModeOfGlitch == 1 then
  7100. Mayhem()()
  7101. elseif k == "b" and attack == false and ModeOfGlitch == 122 then
  7102. resetmode()
  7103. end
  7104. if k == "m" and attack == false and ModeOfGlitch == 2 then
  7105. Clarity()()
  7106. elseif k == "b" and attack == false and ModeOfGlitch == 78 then
  7107. resetmode()
  7108. end
  7109. if k == "m" and attack == false and ModeOfGlitch == 122 then
  7110. Destruction()()
  7111. elseif k == "m" and attack == false and ModeOfGlitch == 1220 then
  7112. resetmode()
  7113. end
  7114. if k == "b" and attack == false and ModeOfGlitch == 8376532578634534 then
  7115. Dark()()
  7116. elseif k == "b" and attack == false and ModeOfGlitch == 83765325786345343 then
  7117. resetmode()
  7118. end
  7119. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  7120. ModeOfGlitch = 3
  7121. storehumanoidWS = 16
  7122. hum.WalkSpeed = 16
  7123. rainbowmode = false
  7124. chaosmode = false
  7125. glitchymode = true
  7126. tl1.Enabled = true
  7127. tl2.Enabled = true
  7128. tl3.Enabled = true
  7129. RecolorTextAndRename("gLiTcHy GUEST",Color3.new(0,0,0),Color3.new(0.35,0,1))
  7130. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  7131. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  7132. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  7133. MAINRUINCOLOR = BrickColor.new("White")
  7134. for i, v in pairs(mw2:GetChildren()) do
  7135. if v:IsA("Part") then
  7136. v.BrickColor = MAINRUINCOLOR
  7137. v.Material = "Neon"
  7138. end
  7139. end
  7140. for i, v in pairs(mw1:GetChildren()) do
  7141. if v:IsA("Part") then
  7142. v.Transparency = 0
  7143. v.BrickColor = MAINRUINCOLOR
  7144. v.Material = "Neon"
  7145. end
  7146. end
  7147. for i, v in pairs(m:GetChildren()) do
  7148. if v:IsA("Part") then
  7149. v.BrickColor = BrickColor.new("Really black")
  7150. v.Material = "Ice"
  7151. end
  7152. end
  7153. for i, v in pairs(m2:GetChildren()) do
  7154. if v:IsA("Part") then
  7155. v.BrickColor = BrickColor.new("Dark indigo")
  7156. v.Material = "Glass"
  7157. end
  7158. end
  7159. for i, v in pairs(m3:GetChildren()) do
  7160. if v:IsA("Part") then
  7161. v.Transparency = 1
  7162. v.BrickColor = BrickColor.new("Royal purple")
  7163. v.Material = "Neon"
  7164. end
  7165. end
  7166. for i, v in pairs(extrawingmod1:GetChildren()) do
  7167. if v:IsA("Part") then
  7168. v.Transparency = 1
  7169. v.BrickColor = BrickColor.new("White")
  7170. v.Material = "Neon"
  7171. end
  7172. end
  7173. for i, v in pairs(extrawingmod2:GetChildren()) do
  7174. if v:IsA("Part") then
  7175. v.Transparency = 1
  7176. v.BrickColor = BrickColor.new("White")
  7177. v.Material = "Neon"
  7178. end
  7179. end
  7180. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  7181. resetmode()
  7182. end
  7183. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  7184. ModeOfGlitch = 4
  7185. storehumanoidWS = 16
  7186. hum.WalkSpeed = 16
  7187. rainbowmode = false
  7188. glitchymode = false
  7189. chaosmode = true
  7190. tl1.Enabled = true
  7191. tl2.Enabled = true
  7192. tl3.Enabled = true
  7193. RecolorTextAndRename("CHAOS GUEST",Color3.new(0,0,0),BrickColor.random().Color)
  7194. newTheme("rbxassetid://1369263130",0,1,1)
  7195. MAINRUINCOLOR = BrickColor.new("Black")
  7196. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7197. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7198. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7199. for i, v in pairs(mw2:GetChildren()) do
  7200. if v:IsA("Part") then
  7201. v.BrickColor = MAINRUINCOLOR
  7202. v.Material = "Neon"
  7203. end
  7204. end
  7205. for i, v in pairs(mw1:GetChildren()) do
  7206. if v:IsA("Part") then
  7207. v.Transparency = 0.75
  7208. v.BrickColor = BrickColor.random()
  7209. v.Material = "Neon"
  7210. end
  7211. end
  7212. for i, v in pairs(m:GetChildren()) do
  7213. if v:IsA("Part") then
  7214. v.BrickColor = BrickColor.new("Black")
  7215. v.Material = "Neon"
  7216. end
  7217. end
  7218. for i, v in pairs(m2:GetChildren()) do
  7219. if v:IsA("Part") then
  7220. v.BrickColor = BrickColor.random()
  7221. v.Material = "Neon"
  7222. end
  7223. end
  7224. for i, v in pairs(m3:GetChildren()) do
  7225. if v:IsA("Part") then
  7226. v.BrickColor = BrickColor.new("Black")
  7227. v.Material = "Neon"
  7228. end
  7229. end
  7230. for i, v in pairs(extrawingmod1:GetChildren()) do
  7231. if v:IsA("Part") then
  7232. v.Transparency = 1
  7233. v.BrickColor = BrickColor.new("White")
  7234. v.Material = "Neon"
  7235. end
  7236. end
  7237. for i, v in pairs(extrawingmod2:GetChildren()) do
  7238. if v:IsA("Part") then
  7239. v.Transparency = 1
  7240. v.BrickColor = BrickColor.new("White")
  7241. v.Material = "Neon"
  7242. end
  7243. end
  7244. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  7245. resetmode()
  7246. end
  7247.  
  7248. if k == "m" and attack == false and ModeOfGlitch == 4 then
  7249. insanitymode()
  7250. elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
  7251. resetmode()
  7252. end
  7253. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  7254. ModeOfGlitch = 5
  7255. storehumanoidWS = 16
  7256. hum.WalkSpeed = 16
  7257. rainbowmode = false
  7258. chaosmode = false
  7259. glitchymode = false
  7260. tl1.Enabled = true
  7261. tl2.Enabled = true
  7262. tl3.Enabled = true
  7263. RecolorTextAndRename("Divinity GUEST",Color3.new(1,1,1),Color3.new(1,1,0.5))
  7264. newTheme("rbxassetid://661079869",0,1.02,1)
  7265. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  7266. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  7267. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  7268. for i, v in pairs(mw2:GetChildren()) do
  7269. if v:IsA("Part") then
  7270. v.BrickColor = MAINRUINCOLOR
  7271. v.Material = "Neon"
  7272. end
  7273. end
  7274. for i, v in pairs(mw1:GetChildren()) do
  7275. if v:IsA("Part") then
  7276. v.Transparency = 0
  7277. v.BrickColor = MAINRUINCOLOR
  7278. v.Material = "Neon"
  7279. end
  7280. end
  7281. for i, v in pairs(m:GetChildren()) do
  7282. if v:IsA("Part") then
  7283. v.BrickColor = BrickColor.new("Cool yellow")
  7284. v.Material = "Ice"
  7285. end
  7286. end
  7287. for i, v in pairs(m2:GetChildren()) do
  7288. if v:IsA("Part") then
  7289. v.BrickColor = BrickColor.new("Bright yellow")
  7290. v.Material = "Ice"
  7291. end
  7292. end
  7293. for i, v in pairs(m3:GetChildren()) do
  7294. if v:IsA("Part") then
  7295. v.BrickColor = BrickColor.new("Bright yellow")
  7296. v.Material = "Neon"
  7297. end
  7298. end
  7299. for i, v in pairs(extrawingmod1:GetChildren()) do
  7300. if v:IsA("Part") then
  7301. v.Transparency = 1
  7302. v.BrickColor = BrickColor.new("White")
  7303. v.Material = "Neon"
  7304. end
  7305. end
  7306. for i, v in pairs(extrawingmod2:GetChildren()) do
  7307. if v:IsA("Part") then
  7308. v.Transparency = 1
  7309. v.BrickColor = BrickColor.new("White")
  7310. v.Material = "Neon"
  7311. end
  7312. end
  7313. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  7314. resetmode()
  7315. end
  7316. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  7317. ModeOfGlitch = 6
  7318. storehumanoidWS = 75
  7319. hum.WalkSpeed = 75
  7320. rainbowmode = false
  7321. chaosmode = false
  7322. glitchymode = false
  7323. tl1.Enabled = true
  7324. tl2.Enabled = true
  7325. tl3.Enabled = true
  7326. RecolorTextAndRename("Justice GUEST",Color3.new(0,0,0),Color3.new(1,1,1))
  7327. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  7328. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  7329. newTheme("rbxassetid://1102271169",0,1,1)
  7330. MAINRUINCOLOR = BrickColor.new("White")
  7331. for i, v in pairs(mw2:GetChildren()) do
  7332. if v:IsA("Part") then
  7333. v.BrickColor = MAINRUINCOLOR
  7334. v.Material = "Neon"
  7335. end
  7336. end
  7337. for i, v in pairs(mw1:GetChildren()) do
  7338. if v:IsA("Part") then
  7339. v.Transparency = 0
  7340. v.BrickColor = MAINRUINCOLOR
  7341. v.Material = "Neon"
  7342. end
  7343. end
  7344. for i, v in pairs(m:GetChildren()) do
  7345. if v:IsA("Part") then
  7346. v.BrickColor = BrickColor.new("White")
  7347. v.Material = "Ice"
  7348. end
  7349. end
  7350. for i, v in pairs(m2:GetChildren()) do
  7351. if v:IsA("Part") then
  7352. v.BrickColor = BrickColor.new("White")
  7353. v.Material = "Ice"
  7354. end
  7355. end
  7356. for i, v in pairs(m3:GetChildren()) do
  7357. if v:IsA("Part") then
  7358. v.BrickColor = BrickColor.new("White")
  7359. v.Material = "Neon"
  7360. end
  7361. end
  7362. for i, v in pairs(extrawingmod1:GetChildren()) do
  7363. if v:IsA("Part") then
  7364. v.Transparency = 1
  7365. v.BrickColor = BrickColor.new("White")
  7366. v.Material = "Neon"
  7367. end
  7368. end
  7369. for i, v in pairs(extrawingmod2:GetChildren()) do
  7370. if v:IsA("Part") then
  7371. v.Transparency = 1
  7372. v.BrickColor = BrickColor.new("White")
  7373. v.Material = "Neon"
  7374. end
  7375. end
  7376. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  7377. resetmode()
  7378. end
  7379. if k == "u" and attack == false then
  7380.  
  7381. storehumanoidWS = 50
  7382. hum.WalkSpeed = 50
  7383. rainbowmode = true
  7384. chaosmode = false
  7385. glitchymode = false
  7386. tl1.Enabled = true
  7387. tl2.Enabled = true
  7388. tl3.Enabled = true
  7389.  
  7390. if(ModeOfGlitch == 6127843)then
  7391. vaporwave = not vaporwave
  7392. end
  7393.  
  7394. if(not vaporwave)then
  7395. RecolorTextAndRename("RAINBOW GUEST",Color3.new(1,1,1),Color3.new(1,1,1))
  7396. newTheme("rbxassetid://147930134",0,1,1)
  7397. else
  7398. RecolorTextAndRename("Vaporwave GUEST",Color3.new(1,1,1),Color3.new(1,1,1))
  7399. newTheme("rbxassetid://1308711379",0,1,1)
  7400. end
  7401.  
  7402.  
  7403. ModeOfGlitch = 6127843
  7404. MAINRUINCOLOR = BrickColor.new("White")
  7405. for i, v in pairs(mw2:GetChildren()) do
  7406. if v:IsA("Part") then
  7407. v.BrickColor = MAINRUINCOLOR
  7408. v.Material = "Neon"
  7409. end
  7410. end
  7411. for i, v in pairs(mw1:GetChildren()) do
  7412. if v:IsA("Part") then
  7413. v.Transparency = 0
  7414. v.BrickColor = MAINRUINCOLOR
  7415. v.Material = "Neon"
  7416. end
  7417. end
  7418. for i, v in pairs(m:GetChildren()) do
  7419. if v:IsA("Part") then
  7420. v.BrickColor = BrickColor.new("White")
  7421. v.Material = "Neon"
  7422. end
  7423. end
  7424. for i, v in pairs(m2:GetChildren()) do
  7425. if v:IsA("Part") then
  7426. v.BrickColor = BrickColor.new("White")
  7427. v.Material = "Neon"
  7428. end
  7429. end
  7430. for i, v in pairs(m3:GetChildren()) do
  7431. if v:IsA("Part") then
  7432. v.BrickColor = BrickColor.new("White")
  7433. v.Material = "Neon"
  7434. end
  7435. end
  7436. for i, v in pairs(extrawingmod1:GetChildren()) do
  7437. if v:IsA("Part") then
  7438. v.Transparency = 1
  7439. v.BrickColor = BrickColor.new("White")
  7440. v.Material = "Neon"
  7441. end
  7442. end
  7443. for i, v in pairs(extrawingmod2:GetChildren()) do
  7444. if v:IsA("Part") then
  7445. v.Transparency = 1
  7446. v.BrickColor = BrickColor.new("White")
  7447. v.Material = "Neon"
  7448. end
  7449. end
  7450. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  7451. resetmode()
  7452. end
  7453. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  7454. ModeOfGlitch = 1000000
  7455. storehumanoidWS = 100
  7456. hum.WalkSpeed = 100
  7457. rainbowmode = false
  7458. chaosmode = false
  7459. glitchymode = false
  7460. tl1.Enabled = true
  7461. tl2.Enabled = true
  7462. tl3.Enabled = true
  7463. RecolorTextAndRename("CALAMITY GUEST",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  7464. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
  7465. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
  7466. newTheme("rbxassetid://1359036559",0,1,1)
  7467. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7468. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7469. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7470. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7471. for i, v in pairs(mw2:GetChildren()) do
  7472. if v:IsA("Part") then
  7473. v.BrickColor = MAINRUINCOLOR
  7474. v.Material = "Neon"
  7475. end
  7476. end
  7477. for i, v in pairs(mw1:GetChildren()) do
  7478. if v:IsA("Part") then
  7479. v.Transparency = 0
  7480. v.BrickColor = MAINRUINCOLOR
  7481. v.Material = "Neon"
  7482. end
  7483. end
  7484. for i, v in pairs(m:GetChildren()) do
  7485. if v:IsA("Part") then
  7486. v.Color = Color3.new(0.5,0,1)
  7487. v.Material = "Neon"
  7488. end
  7489. end
  7490. for i, v in pairs(m2:GetChildren()) do
  7491. if v:IsA("Part") then
  7492. v.Color = Color3.new(0.25,0,1)
  7493. v.Material = "Neon"
  7494. end
  7495. end
  7496. for i, v in pairs(m3:GetChildren()) do
  7497. if v:IsA("Part") then
  7498. v.Color = Color3.new(0.45,0,1)
  7499. v.Material = "Neon"
  7500. end
  7501. end
  7502. for i, v in pairs(extrawingmod1:GetChildren()) do
  7503. if v:IsA("Part") then
  7504. v.Transparency = 0.75
  7505. v.Color = Color3.new(0.25,0,1)
  7506. v.Material = "Neon"
  7507. end
  7508. end
  7509. for i, v in pairs(extrawingmod2:GetChildren()) do
  7510. if v:IsA("Part") then
  7511. v.Transparency = 0.75
  7512. v.Color = Color3.new(0.5,0,1)
  7513. v.Material = "Neon"
  7514. end
  7515. end
  7516. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  7517. resetmode()
  7518. end
  7519. if k == "k" and attack == false and ModeOfGlitch ~= 789 then
  7520. ModeOfGlitch = 789
  7521. storehumanoidWS = 16
  7522. hum.WalkSpeed = 16
  7523. rainbowmode = false
  7524. chaosmode = false
  7525. glitchymode = false
  7526. tl1.Enabled = true
  7527. tl2.Enabled = true
  7528. tl3.Enabled = true
  7529. RecolorTextAndRename("Solar GUEST",Color3.new(255,176,0),Color3.new(17,17,17))
  7530. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Deep orange' end)
  7531. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Deep Orange' end)
  7532. newTheme("rbxassetid://419346122",0,1,1)
  7533. MAINRUINCOLOR = BrickColor.new("Deep orange")
  7534. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7535. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7536. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7537. for i, v in pairs(mw2:GetChildren()) do
  7538. if v:IsA("Part") then
  7539. v.BrickColor = MAINRUINCOLOR
  7540. v.Material = "Neon"
  7541. end
  7542. end
  7543. for i, v in pairs(mw1:GetChildren()) do
  7544. if v:IsA("Part") then
  7545. v.Transparency = 0
  7546. v.BrickColor = MAINRUINCOLOR
  7547. v.Material = "Neon"
  7548. end
  7549. end
  7550. for i, v in pairs(m:GetChildren()) do
  7551. if v:IsA("Part") then
  7552. v.Color = Color3.new(255,176,0)
  7553. v.Material = "Neon"
  7554. end
  7555. end
  7556. for i, v in pairs(m2:GetChildren()) do
  7557. if v:IsA("Part") then
  7558. v.Color = Color3.new(255,176,0)
  7559. v.Material = "Neon"
  7560. end
  7561. end
  7562. for i, v in pairs(m3:GetChildren()) do
  7563. if v:IsA("Part") then
  7564. v.Color = Color3.new(255,176,0)
  7565. v.Material = "Neon"
  7566. end
  7567. end
  7568. for i, v in pairs(extrawingmod1:GetChildren()) do
  7569. if v:IsA("Part") then
  7570. v.Transparency = 1
  7571. v.Color = Color3.new(255,176,0)
  7572. v.Material = "Neon"
  7573. end
  7574. end
  7575. for i, v in pairs(extrawingmod2:GetChildren()) do
  7576. if v:IsA("Part") then
  7577. v.Transparency = 1
  7578. v.Color = Color3.new(255,176,0)
  7579. v.Material = "Neon"
  7580. end
  7581. end
  7582. elseif k == "k" and attack == false and ModeOfGlitch == 759 then
  7583. resetmode()
  7584. end
  7585.  
  7586. if k == "j" and attack == false and ModeOfGlitch ~= 7899 then
  7587. ModeOfGlitch = 7899
  7588. storehumanoidWS = 16
  7589. hum.WalkSpeed = 16
  7590. rainbowmode = false
  7591. chaosmode = false
  7592. glitchymode = false
  7593. tl1.Enabled = true
  7594. tl2.Enabled = true
  7595. tl3.Enabled = true
  7596. RecolorTextAndRename("Jumper GUEST",Color3.new(0,255,255),Color3.new(0,0,0))
  7597. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Cyan' end)
  7598. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Cyan' end)
  7599. newTheme("rbxassetid://188787590",0,1,1)
  7600. MAINRUINCOLOR = BrickColor.new("Cyan")
  7601. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7602. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7603. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7604. for i, v in pairs(mw2:GetChildren()) do
  7605. if v:IsA("Part") then
  7606. v.BrickColor = MAINRUINCOLOR
  7607. v.Material = "Neon"
  7608. end
  7609. end
  7610. for i, v in pairs(mw1:GetChildren()) do
  7611. if v:IsA("Part") then
  7612. v.Transparency = 0
  7613. v.BrickColor = MAINRUINCOLOR
  7614. v.Material = "Neon"
  7615. end
  7616. end
  7617. for i, v in pairs(m:GetChildren()) do
  7618. if v:IsA("Part") then
  7619. v.Color = Color3.new(4,175,236)
  7620. v.Material = "Neon"
  7621. end
  7622. end
  7623. for i, v in pairs(m2:GetChildren()) do
  7624. if v:IsA("Part") then
  7625. v.Color = Color3.new(4,175,236)
  7626. v.Material = "Neon"
  7627. end
  7628. end
  7629. for i, v in pairs(m3:GetChildren()) do
  7630. if v:IsA("Part") then
  7631. v.Color = Color3.new(4,175,236)
  7632. v.Material = "Neon"
  7633. end
  7634. end
  7635. for i, v in pairs(extrawingmod1:GetChildren()) do
  7636. if v:IsA("Part") then
  7637. v.Transparency = 1
  7638. v.Color = Color3.new(4,176,236)
  7639. v.Material = "Neon"
  7640. end
  7641. end
  7642. for i, v in pairs(extrawingmod2:GetChildren()) do
  7643. if v:IsA("Part") then
  7644. v.Transparency = 1
  7645. v.Color = Color3.new(4,176,236)
  7646. v.Material = "Neon"
  7647. end
  7648. end
  7649. elseif k == "k" and attack == false and ModeOfGlitch == 7599 then
  7650. resetmode()
  7651. end
  7652.  
  7653. if k == "h" and attack == false and ModeOfGlitch ~= 78999 then
  7654. ModeOfGlitch = 78999
  7655. storehumanoidWS = 16
  7656. hum.WalkSpeed = 16
  7657. rainbowmode = false
  7658. chaosmode = false
  7659. glitchymode = false
  7660. tl1.Enabled = true
  7661. tl2.Enabled = true
  7662. tl3.Enabled = true
  7663. RecolorTextAndRename("Radioactive GUEST",Color3.new(0,0,0),Color3.new(0,255,0))
  7664. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Lime Green' end)
  7665. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Forest Green' end)
  7666. newTheme("rbxassetid://1214242649",0,1,1)
  7667. MAINRUINCOLOR = BrickColor.new("Lime green")
  7668. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7669. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7670. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7671. for i, v in pairs(mw2:GetChildren()) do
  7672. if v:IsA("Part") then
  7673. v.BrickColor = MAINRUINCOLOR
  7674. v.Material = "Neon"
  7675. end
  7676. end
  7677. for i, v in pairs(mw1:GetChildren()) do
  7678. if v:IsA("Part") then
  7679. v.Transparency = 0
  7680. v.BrickColor = MAINRUINCOLOR
  7681. v.Material = "Neon"
  7682. end
  7683. end
  7684. for i, v in pairs(m:GetChildren()) do
  7685. if v:IsA("Part") then
  7686. v.Color = Color3.new(4,175,236)
  7687. v.Material = "Neon"
  7688. end
  7689. end
  7690. for i, v in pairs(m2:GetChildren()) do
  7691. if v:IsA("Part") then
  7692. v.Color = Color3.new(4,175,236)
  7693. v.Material = "Neon"
  7694. end
  7695. end
  7696. for i, v in pairs(m3:GetChildren()) do
  7697. if v:IsA("Part") then
  7698. v.Color = Color3.new(4,175,236)
  7699. v.Material = "Neon"
  7700. end
  7701. end
  7702. for i, v in pairs(extrawingmod1:GetChildren()) do
  7703. if v:IsA("Part") then
  7704. v.Transparency = 0.75
  7705. v.Color = Color3.new(4,176,236)
  7706. v.Material = "Neon"
  7707. end
  7708. end
  7709. for i, v in pairs(extrawingmod2:GetChildren()) do
  7710. if v:IsA("Part") then
  7711. v.Transparency = 1
  7712. v.Color = Color3.new(4,176,236)
  7713. v.Material = "Neon"
  7714. end
  7715. end
  7716. elseif k == "h" and attack == false and ModeOfGlitch == 75999 then
  7717. resetmode()
  7718. end
  7719.  
  7720. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'inessaG' or plr.UserId == 5719877 or AllowCata) then
  7721. newThemeCust("rbxassetid://1504604335",0,1,1)
  7722. attack = true
  7723. hum.WalkSpeed = 90
  7724. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7725. for i = 0, 24, 0.1 do
  7726. swait()
  7727. 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)
  7728. 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)
  7729. 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)
  7730. 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)
  7731. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7732. 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)
  7733. 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)
  7734. end
  7735. CameraEnshaking(1,1)
  7736. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7737. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  7738. wait(0.55)
  7739. CameraEnshaking(1,2)
  7740. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7741. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7742. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7743. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7744. wait(0.55)
  7745. CameraEnshaking(1,3)
  7746. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  7747. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7748. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7749. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7750. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7751. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  7752. wait(0.55)
  7753. CameraEnshaking(10,5)
  7754. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  7755. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  7756. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  7757. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  7758. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  7759. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7760. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  7761. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  7762. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  7763. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7764. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  7765. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  7766. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  7767. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  7768. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  7769. for i = 0, 49 do
  7770. 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)
  7771. 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)
  7772. 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)
  7773. 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)
  7774. end
  7775. ModeOfGlitch = 12345678987654321
  7776. storehumanoidWS = 200
  7777. hum.WalkSpeed = 200
  7778. rainbowmode = false
  7779. chaosmode = false
  7780. glitchymode = false
  7781. tl1.Enabled = true
  7782. tl2.Enabled = true
  7783. tl3.Enabled = true
  7784. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
  7785. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
  7786. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  7787. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7788. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7789. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7790. for i, v in pairs(mw2:GetChildren()) do
  7791. if v:IsA("Part") then
  7792. v.BrickColor = MAINRUINCOLOR
  7793. v.Material = "Neon"
  7794. end
  7795. end
  7796. for i, v in pairs(mw1:GetChildren()) do
  7797. if v:IsA("Part") then
  7798. v.Transparency = 0
  7799. v.BrickColor = MAINRUINCOLOR
  7800. v.Material = "Neon"
  7801. end
  7802. end
  7803. for i, v in pairs(m:GetChildren()) do
  7804. if v:IsA("Part") then
  7805. v.Color = Color3.new(0.5,0,1)
  7806. v.Material = "Neon"
  7807. end
  7808. end
  7809. for i, v in pairs(m2:GetChildren()) do
  7810. if v:IsA("Part") then
  7811. v.Color = Color3.new(0.5,0,1)
  7812. v.Material = "Neon"
  7813. end
  7814. end
  7815. for i, v in pairs(m3:GetChildren()) do
  7816. if v:IsA("Part") then
  7817. v.Color = Color3.new(0.5,0,1)
  7818. v.Material = "Neon"
  7819. end
  7820. end
  7821. for i, v in pairs(extrawingmod1:GetChildren()) do
  7822. if v:IsA("Part") then
  7823. v.Transparency = 0
  7824. v.Color = Color3.new(0.5,0,1)
  7825. v.Material = "Neon"
  7826. end
  7827. end
  7828. for i, v in pairs(extrawingmod2:GetChildren()) do
  7829. if v:IsA("Part") then
  7830. v.Transparency = 0
  7831. v.Color = Color3.new(0.5,0,1)
  7832. v.Material = "Neon"
  7833. end
  7834. attack = false
  7835. end
  7836. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  7837. resetmode()
  7838. end
  7839.  
  7840. if k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 55 then
  7841. newThemeCust("rbxassetid://1505487022",0,1,1)
  7842. attack = true
  7843. hum.WalkSpeed = 90
  7844. MAINRUINCOLOR = BrickColor.new("Pastel green")
  7845. for i = 0, 24, 0.1 do
  7846. swait()
  7847. 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)
  7848. 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)
  7849. 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)
  7850. 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)
  7851. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7852. 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)
  7853. 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)
  7854. end
  7855. CameraEnshaking(1,1)
  7856. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7857. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  7858. wait(0.55)
  7859. CameraEnshaking(1,2)
  7860. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7861. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7862. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7863. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7864. wait(0.55)
  7865. CameraEnshaking(1,3)
  7866. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  7867. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7868. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  7869. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7870. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  7871. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  7872. wait(0.55)
  7873. CameraEnshaking(10,5)
  7874. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  7875. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  7876. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  7877. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  7878. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  7879. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7880. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  7881. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  7882. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  7883. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  7884. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  7885. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  7886. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  7887. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  7888. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  7889. for i = 0, 49 do
  7890. 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)
  7891. 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)
  7892. 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)
  7893. 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)
  7894. end
  7895. ModeOfGlitch = 55
  7896. storehumanoidWS = 200
  7897. hum.WalkSpeed = 200
  7898. rainbowmode = false
  7899. chaosmode = false
  7900. tl1.Enabled = true
  7901. tl2.Enabled = true
  7902. tl3.Enabled = true
  7903. RecolorTextAndRename("FALLENX GUEST",Color3.new(0.5,1,1),Color3.new(255,176,0))
  7904. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7905. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7906. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7907. for i, v in pairs(mw2:GetChildren()) do
  7908. if v:IsA("Part") then
  7909. v.BrickColor = MAINRUINCOLOR
  7910. v.Material = "Neon"
  7911. end
  7912. end
  7913. for i, v in pairs(mw1:GetChildren()) do
  7914. if v:IsA("Part") then
  7915. v.Transparency = 0
  7916. v.BrickColor = MAINRUINCOLOR
  7917. v.Material = "Neon"
  7918. end
  7919. end
  7920. for i, v in pairs(m:GetChildren()) do
  7921. if v:IsA("Part") then
  7922. v.Color = Color3.new(204,255,204)
  7923. v.Material = "Neon"
  7924. end
  7925. end
  7926. for i, v in pairs(m2:GetChildren()) do
  7927. if v:IsA("Part") then
  7928. v.Color = Color3.new(20,255,204)
  7929. v.Material = "Neon"
  7930. end
  7931. end
  7932. for i, v in pairs(m3:GetChildren()) do
  7933. if v:IsA("Part") then
  7934. v.Color = Color3.new(204,255,204)
  7935. v.Material = "Neon"
  7936. end
  7937. end
  7938. for i, v in pairs(extrawingmod1:GetChildren()) do
  7939. if v:IsA("Part") then
  7940. v.Transparency = 1
  7941. v.Color = Color3.new(0.5,0,1)
  7942. v.Material = "Neon"
  7943. end
  7944. end
  7945. for i, v in pairs(extrawingmod2:GetChildren()) do
  7946. if v:IsA("Part") then
  7947. v.Transparency = 1
  7948. v.Color = Color3.new(0.5,0,1)
  7949. v.Material = "Neon"
  7950. end
  7951. attack = false
  7952. end
  7953. elseif k == "m" and attack == false and ModeOfGlitch == 55 then
  7954. resetmode()
  7955. end
  7956. if k == "l" and toggleTag == false then
  7957. toggleTag = true
  7958. text.TextTransparency = 0
  7959. text.TextStrokeTransparency = 0
  7960. elseif k == "l" and toggleTag == true then
  7961. toggleTag = false
  7962. text.TextTransparency = 1
  7963. text.TextStrokeTransparency = 1
  7964. end
  7965. if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534 or ModeOfGlitch == 122) then
  7966. ExtinctiveHeartbreak()
  7967. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  7968. PureBomb()
  7969. elseif k == "z" and attack == false and ModeOfGlitch == 78 then
  7970. ClarityBomb()
  7971. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  7972. scattercorrupt()
  7973. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  7974. Judgement()
  7975. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  7976. ChaosGroundStrike()
  7977. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  7978. InsaneGroundStrike()
  7979. elseif k == "c" and attack == false and ModeOfGlitch == 1220 then
  7980. DesGroundStrike()
  7981.  
  7982.  
  7983. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  7984. ChooseODer()
  7985. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  7986. Starfall()
  7987. elseif k == "z" and attack == false and ModeOfGlitch == 1220 then
  7988. Desfall()
  7989. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  7990. yinyangi()
  7991. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  7992. Wip()
  7993. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  7994. StarfallEX()
  7995. end
  7996. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  7997. StarDivision()
  7998. elseif k == "z" and attack == false and ModeOfGlitch == 789 then
  7999. GalacticalBeams()
  8000. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  8001. JusticeBeam()
  8002. end
  8003. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  8004. UniversalCollapse()
  8005. end
  8006. if k == "x" and attack == false and ModeOfGlitch == 12 then
  8007. PurityCollapse()
  8008. end
  8009. if k == "b" and attack == false and ModeOfGlitch == 4 then
  8010.  
  8011. end
  8012. if k == "n" and attack == false then
  8013. CorruptBlink()
  8014. end
  8015. if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
  8016. FuckMeSidewaysAndCallMeGay()
  8017. end
  8018. end)
  8019. coroutine.resume(coroutine.create(function()
  8020. while true do
  8021. swait(2)
  8022. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  8023. 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)
  8024. end
  8025.  
  8026. end
  8027. end))
  8028.  
  8029.  
  8030. coroutine.resume(coroutine.create(function()
  8031. while true do
  8032. if ModeOfGlitch == 1000000 then
  8033. swait(0.5)
  8034. end
  8035. swait()
  8036. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  8037. 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)
  8038. end
  8039. if ModeOfGlitch == 12345678987654321 then
  8040. 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)
  8041. end
  8042. end
  8043. end))
  8044.  
  8045.  
  8046. function RandomMaterial()
  8047. local getRandom;
  8048. local material;
  8049. local function IsTerrainMaterial(mat)
  8050. local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  8051. return isMaterial
  8052. end
  8053. getRandom = function()
  8054. local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  8055. if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  8056. end
  8057. getRandom()
  8058. repeat wait() until material
  8059. return material
  8060. end
  8061. function RandomCaps(str)
  8062. local new = ""
  8063. for i = 1, #str do
  8064. if(math.random(1,2) == 1)then
  8065. new = new .. (str:sub(i,i):upper())
  8066. else
  8067. new = new .. str:sub(i,i)
  8068. end
  8069. end
  8070. return new
  8071. end
  8072.  
  8073. coroutine.resume(coroutine.create(function()
  8074. while true do
  8075. for i = 1, #ODers do
  8076. local ODer = ODers[i]
  8077. if(ODer)then
  8078. local hed = ODer:FindFirstChild'Head'
  8079. if(ODer.Parent and hed)then
  8080. 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)
  8081. else
  8082. table.remove(ODers,i)
  8083. end
  8084. else
  8085. table.remove(ODers,i)
  8086. end
  8087. end
  8088. if(not kan)then
  8089. kan = Instance.new("Sound",char)
  8090. end
  8091. kan.Parent = char
  8092. if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end
  8093. kan.Pitch = Pitch
  8094. kan.SoundId = MID
  8095. kan.Name = "wrecked"
  8096. kan.Looped = true
  8097. kan:Resume()
  8098. swait()
  8099. if glitchymode == true then
  8100. local val = math.random(1,255)
  8101. local color = Color3.fromRGB(val,val,val)
  8102. pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  8103. pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  8104. tl1.Color = ColorSequence.new(color)
  8105. tl2.Color = ColorSequence.new(color)
  8106. tl3.Color = ColorSequence.new(color)
  8107. tr1.Color = ColorSequence.new(color)
  8108. tr2.Color = ColorSequence.new(color)
  8109. tr3.Color = ColorSequence.new(color)
  8110. for i, v in pairs(mw1:GetChildren()) do
  8111. if v:IsA("Part") then
  8112. v.Transparency = 0
  8113. v.Color = color
  8114. v.Material = "Neon"
  8115. end
  8116. end
  8117. for i, v in pairs(mw2:GetChildren()) do
  8118. if v:IsA("Part") then
  8119. v.Color = color
  8120. v.Material = "Neon"
  8121. end
  8122. end
  8123. for i, v in pairs(m2:GetChildren()) do
  8124. if v:IsA("Part") then
  8125. v.Color = color
  8126. v.Material = "Neon"
  8127. end
  8128. end
  8129. RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
  8130. end
  8131. if chaosmode or glitchymode then
  8132. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  8133. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  8134. else
  8135. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  8136. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  8137. end
  8138. if chaosmode == true then
  8139. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8140. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8141. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8142. RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color)
  8143. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
  8144. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
  8145. for i, v in pairs(mw1:GetChildren()) do
  8146. if v:IsA("Part") then
  8147. v.Transparency = 0.75
  8148. v.BrickColor = BrickColor.random()
  8149. v.Material = "Neon"
  8150. end
  8151. end
  8152. for i, v in pairs(extrawingmod1:GetChildren()) do
  8153. if v:IsA("Part") and ModeOfGlitch == 666666 then
  8154. v.Transparency = 0.75
  8155. v.BrickColor = BrickColor.random()
  8156. v.Material = "Neon"
  8157. elseif v:IsA("Part") then
  8158. v.Transparency = 1
  8159. end
  8160. end
  8161. for i, v in pairs(m2:GetChildren()) do
  8162. if v:IsA("Part") then
  8163. v.BrickColor = BrickColor.random()
  8164. v.Material = "Neon"
  8165. end
  8166. end
  8167. end
  8168. end
  8169. end))
  8170. Humanoid.Name = "STARGLITCHER"
  8171. Humanoid.MaxHealth = math.huge
  8172. Humanoid.Health = math.huge
  8173. Instance.new("ForceField",char).Visible = false
  8174. Humanoid.Animator.Parent = nil
  8175. idleanim=.4
  8176. while true do
  8177. if rainbowmode == false and chaosmode == false and glitchymode == false then
  8178. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8179. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8180. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8181. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8182. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8183. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8184. end
  8185. if rainbowmode == true then
  8186. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  8187. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  8188. if(not vaporwave)then
  8189. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  8190. else
  8191. RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  8192. end
  8193. MAINRUINCOLOR = BrickColor.new("White")
  8194. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8195. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8196. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8197. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8198. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8199. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8200. for i, v in pairs(m:GetChildren()) do
  8201. if v:IsA("Part") then
  8202. v.Color = Color3.new(r/255,g/255,b/255)
  8203. end
  8204. end
  8205. for i, v in pairs(m2:GetChildren()) do
  8206. if v:IsA("Part") then
  8207. v.Color = Color3.new(r/255,g/255,b/255)
  8208. end
  8209. end
  8210. for i, v in pairs(m3:GetChildren()) do
  8211. if v:IsA("Part") then
  8212. v.Color = Color3.new(r/255,g/255,b/255)
  8213. end
  8214. end
  8215. for i, v in pairs(mw1:GetChildren()) do
  8216. if v:IsA("Part") then
  8217. v.Color = Color3.new(r/255,g/255,b/255)
  8218. v.Material = "Neon"
  8219. end
  8220. end
  8221. for i, v in pairs(mw2:GetChildren()) do
  8222. if v:IsA("Part") then
  8223. v.Color = Color3.new(r/255,g/255,b/255)
  8224. v.Material = "Neon"
  8225. end
  8226. end
  8227. end
  8228. CameraManager()
  8229. swait()
  8230. 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)
  8231. 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)
  8232. 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)
  8233. 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)
  8234. 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)
  8235. 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)
  8236.  
  8237. 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)
  8238. 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)
  8239. 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)
  8240. 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)
  8241. 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)
  8242. 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)
  8243. sine = sine + change
  8244. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8245. local velderp=RootPart.Velocity.y
  8246. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8247. if equipped==true or equipped==false then
  8248. if attack==false then
  8249. idle=idle+1
  8250. else
  8251. idle=0
  8252. end
  8253. if idle>=500 then
  8254. if attack==false then
  8255. --Sheath()
  8256. end
  8257. end
  8258. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8259. Anim="Jump"
  8260. if attack==false then
  8261. 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)
  8262. 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)
  8263. 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)
  8264. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  8265. 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)
  8266. 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)
  8267. end
  8268. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8269. Anim="Fall"
  8270. if attack==false then
  8271. 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)
  8272. 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)
  8273. 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)
  8274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  8275. 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)
  8276. 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)
  8277. end
  8278. elseif torvel<1 and hitfloor~=nil then
  8279. Anim="Idle"
  8280. if attack==false then
  8281. if ModeOfGlitch == 1 or ModeOfGlitch == 122 then
  8282. 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)
  8283. 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)
  8284. 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)
  8285. 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)
  8286. 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)
  8287. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  8288.  
  8289. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 or ModeOfGlitch == 12 or ModeOfGlitch == 78 then
  8290. 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)
  8291. 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)
  8292. 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)
  8293. 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)
  8294. 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)
  8295. 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)
  8296.  
  8297. elseif ModeOfGlitch == 3 then
  8298. 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)
  8299. 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)
  8300. 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)
  8301. 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)
  8302. 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)
  8303. 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)
  8304. elseif ModeOfGlitch == 4 then
  8305. 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)
  8306. 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)
  8307. 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)
  8308. 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)
  8309. 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)
  8310. 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)
  8311. elseif ModeOfGlitch == 69 then
  8312. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  8313. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  8314. 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)
  8315. 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)
  8316. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  8317. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  8318. elseif ModeOfGlitch == 789 then
  8319. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8320. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8321. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  8322. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  8323. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  8324. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  8325. elseif ModeOfGlitch == 7899 then
  8326. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 34))),.1)
  8327. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8328. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  8329. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  8330. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  8331. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  8332. elseif ModeOfGlitch == 78999 then
  8333. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8334. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8335. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
  8336. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1)
  8337. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
  8338. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1)
  8339. elseif ModeOfGlitch == 8376532578634534 then
  8340. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  8341. 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)
  8342. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  8343. 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)
  8344. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  8345. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  8346.  
  8347. elseif ModeOfGlitch == 666666 and ModeOfGlitch ~= 83765325786345343 then
  8348. 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)
  8349. 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)
  8350. 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)
  8351. 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)
  8352. 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)
  8353. 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)
  8354.  
  8355. elseif ModeOfGlitch == 5 then
  8356. 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)
  8357. 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)
  8358. 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)
  8359. 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)
  8360. 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)
  8361. 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)
  8362.  
  8363. elseif ModeOfGlitch == 789 then
  8364. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8365. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8366. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  8367. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  8368. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  8369. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  8370.  
  8371. elseif ModeOfGlitch == 1220 then
  8372. 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)
  8373. 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)
  8374. 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)
  8375. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8376. 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)
  8377. 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)
  8378.  
  8379. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
  8380. 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)
  8381. 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)
  8382. 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)
  8383. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  8384. 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)
  8385. 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)
  8386.  
  8387. elseif ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 55 then
  8388. 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)
  8389. 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)
  8390. 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)
  8391. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  8392. 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)
  8393. 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)
  8394. end
  8395. end
  8396. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  8397. Anim="Walk"
  8398. if attack==false then
  8399. if ModeOfGlitch == 1 or ModeOfGlitch == 122 then
  8400. 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)
  8401. 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)
  8402. 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)
  8403. 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)
  8404. 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)
  8405. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  8406. elseif ModeOfGlitch == 4 then
  8407. 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)
  8408. 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)
  8409. 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)
  8410. 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)
  8411. 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)
  8412. 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)
  8413. elseif ModeOfGlitch == 666666 then
  8414. 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)
  8415. 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)
  8416. 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)
  8417. 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)
  8418. 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)
  8419. 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)
  8420.  
  8421. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  8422. 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)
  8423. 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)
  8424. 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)
  8425. 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)
  8426. 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)
  8427. 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)
  8428. end
  8429. end
  8430. elseif torvel>=22 and hitfloor~=nil then
  8431. Anim="Run"
  8432. if attack==false then
  8433. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  8434. 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)
  8435. 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)
  8436. 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)
  8437. 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)
  8438. 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)
  8439. 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)
  8440. elseif ModeOfGlitch == 666666 then
  8441. 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)
  8442. 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)
  8443. 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)
  8444. 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)
  8445. 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)
  8446. 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)
  8447.  
  8448. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 55 or ModeOfGlitch == 8376532578634534 then
  8449. 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)
  8450. 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)
  8451. 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)
  8452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  8453. 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)
  8454. 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)
  8455. end
  8456. end
  8457. end
  8458. end
  8459. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement