Advertisement
kebbyfan

Nebula's Star Glitcher?

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