Advertisement
Guest User

Nebula's Star Glitcher small edit

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