Advertisement
Kermit1900

Nebula Random

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