Advertisement
Guest User

Untitled

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