Advertisement
Sheckles

This is cancer at it's worst.

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