Advertisement
Mitko1223tm

star glitcher

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