Advertisement
kostik228

xd

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