Advertisement
Sheckles

dfbnghjmnhbg fvnhmgj

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