dsakljdsalk

Untitled

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