Advertisement
W6rri0r

Untitled

Jun 9th, 2018
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 280.72 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 = game:GetService("Players").LocalPlayer
  20. char = plr.Character
  21. hum = char:FindFirstChildOfClass'Humanoid'
  22. local cam = game.Workspace.CurrentCamera
  23. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  24. Camera = cam
  25. local CamInterrupt = false
  26. local TwoD = false
  27. local TargetInfo = {nil, nil}
  28. cam.CameraType = "Custom"
  29. t = char.Torso
  30. h = char.Head
  31. ra = char["Right Arm"]
  32. la = char["Left Arm"]
  33. rl = char["Right Leg"]
  34. ll = char["Left Leg"]
  35. tors = char.Torso
  36. lleg = char["Left Leg"]
  37. root = char.HumanoidRootPart
  38. hed = char.Head
  39. rleg = char["Right Leg"]
  40. rarm = char["Right Arm"]
  41. larm = char["Left Arm"]
  42. radian = math.rad
  43. random = math.random
  44. Vec3 = Vector3.new
  45. Inst = Instance.new
  46. cFrame = CFrame.new
  47. Euler = CFrame.fromEulerAnglesXYZ
  48. vt = Vector3.new
  49. bc = BrickColor.new
  50. br = BrickColor.random
  51. it = Instance.new
  52. cf = CFrame.new
  53.  
  54. local ODers = {}
  55.  
  56. local AllowRape = false;
  57. local AllowCata = false;
  58.  
  59. local Booleans = {
  60. CamFollow = true,
  61. GyroUse = true
  62. }
  63.  
  64. function lerp(object, newCFrame, alpha)
  65. return object:lerp(newCFrame, alpha)
  66. end
  67.  
  68. local Directer = Inst("BodyGyro", root)
  69. Directer.MaxTorque = Vec3(0, 0, 0)
  70. Directer.P = 600000
  71. local CPart = Inst("Part")
  72. CPart.Anchored = true
  73. CPart.CanCollide = false
  74. CPart.Locked = true
  75. CPart.Transparency = 1
  76.  
  77. local rainbowmode = false
  78. local chaosmode = false
  79. local glitchymode = false
  80. kan = Instance.new("Sound",char)
  81. kan.Volume = 1.25
  82. kan.TimePosition = 0
  83. kan.PlaybackSpeed = 1
  84. kan.Pitch = 1
  85. kan.SoundId = "rbxassetid://1564523997"
  86. kan.Name = "wrecked"
  87. kan.Looped = true
  88. kan:Play()
  89.  
  90. local MID = "rbxassetid://1564523997";
  91. local Pitch = 1;
  92.  
  93. function newTheme(ID,timepos,pitch,vol)
  94. local kanz = kan
  95. --kanz:Stop()
  96. --kanz.Volume = vol
  97. --kanz.TimePosition = timepos
  98. kanz.PlaybackSpeed = pitch
  99. kanz.Pitch = pitch
  100. kanz.SoundId = ID
  101. kanz.Name = "wrecked"
  102. kanz.Looped = true
  103. Pitch = pitch
  104. MID = ID
  105. --kanz:Play()
  106. --coroutine.resume(coroutine.create(function()
  107. --wait(0.05)
  108. --end))
  109. end
  110.  
  111. function newThemeCust(ID,timepos,pitch,vol)
  112. local kanz = kan
  113. kanz:Stop()
  114. kanz.Volume = vol
  115. kanz.TimePosition = timepos
  116. kanz.PlaybackSpeed = pitch
  117. kanz.Pitch = pitch
  118. MID = ID
  119. kanz.SoundId = ID
  120. kanz.Name = "wrecked"
  121. kanz.Looped = true
  122. kanz:Play()
  123. coroutine.resume(coroutine.create(function()
  124. wait(0.05)
  125. end))
  126. end
  127.  
  128.  
  129.  
  130. function CameraShake(Times, Power, PlayerTarget)
  131. coroutine.resume(coroutine.create(function()
  132. FV = Instance.new("BoolValue", PlayerTarget)
  133. FV.Name = "CameraShake"
  134. for ShakeNum=1,Times do
  135. swait()
  136. local ef=Power
  137. if ef>=1 then
  138. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  139. else
  140. ef=Power*10
  141. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  142. end
  143. end
  144. Humanoid.CameraOffset = Vector3.new(0,0,0)
  145. FV:Destroy()
  146. end))
  147. end
  148.  
  149. function CameraEnshaking(Length,Intensity)
  150. coroutine.resume(coroutine.create(function()
  151. local intensity = 1*Intensity
  152. local rotM = 0.01*Intensity
  153. for i = 0, Length, 0.1 do
  154. swait()
  155. intensity = intensity - 0.05*Intensity/Length
  156. rotM = rotM - 0.0005*Intensity/Length
  157. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  158. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  159. end
  160. Humanoid.CameraOffset = Vec3(0, 0, 0)
  161. end))
  162. end
  163. CamShake=function(Part,Distan,Power,Times)
  164. local de=Part.Position
  165. for i,v in pairs(workspace:children()) do
  166. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  167. for _,c in pairs(v:children()) do
  168. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  169. local Noob=vFindFirstChildOfClass'Humanoid'
  170. if Noob~=nil then
  171. coroutine.resume(coroutine.create(function()
  172. FV = Instance.new("BoolValue", Noob)
  173. FV.Name = "CameraShake"
  174. for ShakeNum=1,Times do
  175. swait()
  176. local ef=Power
  177. if ef>=1 then
  178. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  179. else
  180. ef=Power*10
  181. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  182. end
  183. end
  184. Humanoid.CameraOffset = Vector3.new(0,0,0)
  185. FV:Destroy()
  186. end))
  187. CameraShake(Times, Power, Noob)
  188. end
  189. end
  190. end
  191. end
  192. end
  193. end
  194.  
  195. function chatfunc(text,color)
  196. local chat = coroutine.wrap(function()
  197. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  198. Character:FindFirstChild("TalkingBillBoard"):destroy()
  199. end
  200. local naeeym2 = Instance.new("BillboardGui",Character)
  201. naeeym2.Size = UDim2.new(0,100,0,40)
  202. naeeym2.StudsOffset = Vector3.new(0,3,0)
  203. naeeym2.Adornee = Character.Head
  204. naeeym2.Name = "TalkingBillBoard"
  205. local tecks2 = Instance.new("TextLabel",naeeym2)
  206. tecks2.BackgroundTransparency = 1
  207. tecks2.BorderSizePixel = 0
  208. tecks2.Text = ""
  209. tecks2.Font = "SciFi"
  210. tecks2.TextSize = 30
  211. tecks2.TextStrokeTransparency = 0
  212. tecks2.TextColor3 = color
  213. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  214. tecks2.Size = UDim2.new(1,0,0.5,0)
  215. local tecks3 = Instance.new("TextLabel",naeeym2)
  216. tecks3.BackgroundTransparency = 1
  217. tecks3.BorderSizePixel = 0
  218. tecks3.Text = ""
  219. tecks3.Font = "SciFi"
  220. tecks3.TextSize = 30
  221. tecks3.TextStrokeTransparency = 0
  222. tecks3.TextColor3 = Color3.new(0,0,0)
  223. tecks3.TextStrokeColor3 = color
  224. tecks3.Size = UDim2.new(1,0,0.5,0)
  225. coroutine.resume(coroutine.create(function()
  226. while true do
  227. swait(1)
  228. if chaosmode == true then
  229. tecks2.TextColor3 = BrickColor.random().Color
  230. tecks3.TextStrokeColor3 = BrickColor.random().Color
  231. end
  232. if(glitchymode)then
  233. local val = math.random(1,255)
  234. local color = Color3.fromRGB(val,val,val)
  235. tecks2.TextColor3 = color
  236. tecks3.TextStrokeColor3 = color
  237. end
  238. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  239. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  240. tecks2.Rotation = math.random(-5,5)
  241. tecks3.Rotation = math.random(-5,5)
  242. end
  243. end))
  244. for i = 1,string.len(text),1 do
  245. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  246. tecks2.Text = string.sub(text,1,i)
  247. tecks3.Text = string.sub(text,1,i)
  248. swait(1)
  249. end
  250. wait(1)
  251. local randomrot = math.random(1,2)
  252. if randomrot == 1 then
  253. for i = 1, 50 do
  254. swait()
  255. tecks2.Rotation = tecks2.Rotation - .75
  256. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  257. tecks2.TextTransparency = tecks2.TextTransparency + .04
  258. tecks3.Rotation = tecks2.Rotation + .75
  259. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  260. tecks3.TextTransparency = tecks2.TextTransparency + .04
  261. end
  262. elseif randomrot == 2 then
  263. for i = 1, 50 do
  264. swait()
  265. tecks2.Rotation = tecks2.Rotation + .75
  266. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  267. tecks2.TextTransparency = tecks2.TextTransparency + .04
  268. tecks3.Rotation = tecks2.Rotation - .75
  269. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  270. tecks3.TextTransparency = tecks2.TextTransparency + .04
  271. end
  272. end
  273. naeeym2:Destroy()
  274. end)
  275. chat()
  276. end
  277.  
  278.  
  279. local Create = LoadLibrary("RbxUtility").Create
  280.  
  281. CFuncs = {
  282. ["Part"] = {
  283. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  284. local Part = Create("Part"){
  285. Parent = Parent,
  286. Reflectance = Reflectance,
  287. Transparency = Transparency,
  288. CanCollide = false,
  289. Locked = true,
  290. BrickColor = BrickColor.new(tostring(BColor)),
  291. Name = Name,
  292. Size = Size,
  293. Material = Material,
  294. }
  295. RemoveOutlines(Part)
  296. return Part
  297. end;
  298. };
  299.  
  300. ["Mesh"] = {
  301. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  302. local Msh = Create(Mesh){
  303. Parent = Part,
  304. Offset = OffSet,
  305. Scale = Scale,
  306. }
  307. if Mesh == "SpecialMesh" then
  308. Msh.MeshType = MeshType
  309. Msh.MeshId = MeshId
  310. end
  311. return Msh
  312. end;
  313. };
  314.  
  315. ["Mesh"] = {
  316. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  317. local Msh = Create(Mesh){
  318. Parent = Part,
  319. Offset = OffSet,
  320. Scale = Scale,
  321. }
  322. if Mesh == "SpecialMesh" then
  323. Msh.MeshType = MeshType
  324. Msh.MeshId = MeshId
  325. end
  326. return Msh
  327. end;
  328. };
  329.  
  330. ["Weld"] = {
  331. Create = function(Parent, Part0, Part1, C0, C1)
  332. local Weld = Create("Weld"){
  333. Parent = Parent,
  334. Part0 = Part0,
  335. Part1 = Part1,
  336. C0 = C0,
  337. C1 = C1,
  338. }
  339. return Weld
  340. end;
  341. };
  342.  
  343. ["Sound"] = {
  344. Create = function(id, par, vol, pit)
  345. return coroutine.wrap(function()
  346. local S = Create("Sound"){
  347. Volume = vol,
  348. Name = "EffectSoundo",
  349. Pitch = pit or 1,
  350. SoundId = id,
  351. Parent = par or workspace,
  352. }
  353. S:Play()
  354. S.Ended:connect(function()
  355. S:Destroy()
  356. end)
  357. return S;
  358. end)()
  359. end;
  360. };
  361.  
  362. ["LongSound"] = {
  363. Create = function(id, par, vol, pit)
  364. coroutine.resume(coroutine.create(function()
  365. local S = Create("Sound"){
  366. Volume = vol,
  367. Pitch = pit or 1,
  368. SoundId = id,
  369. Parent = par or workspace,
  370. }
  371. wait()
  372. S:play()
  373. game:GetService("Debris"):AddItem(S, 30)
  374. end))
  375. end;
  376. };
  377.  
  378. ["ParticleEmitter"] = {
  379. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  380. local fp = Create("ParticleEmitter"){
  381. Parent = Parent,
  382. Color = ColorSequence.new(Color1, Color2),
  383. LightEmission = LightEmission,
  384. Size = Size,
  385. Texture = Texture,
  386. Transparency = Transparency,
  387. ZOffset = ZOffset,
  388. Acceleration = Accel,
  389. Drag = Drag,
  390. LockedToPart = LockedToPart,
  391. VelocityInheritance = VelocityInheritance,
  392. EmissionDirection = EmissionDirection,
  393. Enabled = Enabled,
  394. Lifetime = LifeTime,
  395. Rate = Rate,
  396. Rotation = Rotation,
  397. RotSpeed = RotSpeed,
  398. Speed = Speed,
  399. VelocitySpread = VelocitySpread,
  400. }
  401. return fp
  402. end;
  403. };
  404.  
  405. CreateTemplate = {
  406.  
  407. };
  408. }
  409.  
  410.  
  411.  
  412. New = function(Object, Parent, Name, Data)
  413. local Object = Instance.new(Object)
  414. for Index, Value in pairs(Data or {}) do
  415. Object[Index] = Value
  416. end
  417. Object.Parent = Parent
  418. Object.Name = Name
  419. return Object
  420. end
  421. local halocolor = BrickColor.new("Pastel light blue")
  422. local halocolor2 = BrickColor.new("Cool yellow")
  423. local starcolor = BrickColor.new("Bright yellow")
  424. local lunacolor = BrickColor.new("Navy blue")
  425. local lunacolor2 = BrickColor.new("Bright blue")
  426. local wepcolor = BrickColor.new("Really black")
  427. local maincolor = BrickColor.new("Really black")
  428. local m = Instance.new("Model",char)
  429. local m2 = Instance.new("Model",char)
  430. local m3 = Instance.new("Model",char)
  431. local mw1 = Instance.new("Model",char)
  432. local mw2 = Instance.new("Model",char)
  433.  
  434. local extrawingmod1 = Instance.new("Model",char)
  435. local extrawingmod2 = Instance.new("Model",char)
  436.  
  437. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  438. local p = Instance.new("Part")
  439. p.TopSurface = 0
  440. p.BottomSurface = 0
  441. p.Parent = parent
  442. p.Size = Vector3.new(0.1,0.1,0.1)
  443. p.Transparency = transparency
  444. p.Reflectance = reflectance
  445. p.CanCollide = false
  446. p.Locked = true
  447. p.BrickColor = brickcolor
  448. p.Material = material
  449. return p
  450. end
  451.  
  452. function CreateMesh(parent,meshtype,x1,y1,z1)
  453. local mesh = Instance.new("SpecialMesh",parent)
  454. mesh.MeshType = meshtype
  455. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  456. return mesh
  457. end
  458.  
  459. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  460. local mesh = Instance.new("SpecialMesh",parent)
  461. mesh.MeshType = "FileMesh"
  462. mesh.MeshId = meshid
  463. mesh.Scale = Vector3.new(x1,y1,z1)
  464. return mesh
  465. end
  466.  
  467.  
  468. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  469. local mesh = Instance.new("SpecialMesh",parent)
  470. mesh.MeshType = "FileMesh"
  471. mesh.MeshId = meshid
  472. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  473. mesh.Scale = Vector3.new(x1,y1,z1)
  474. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  475. return mesh
  476. end
  477.  
  478. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  479. local weld = Instance.new("Weld")
  480. weld.Parent = parent
  481. weld.Part0 = part0
  482. weld.Part1 = part1
  483. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  484. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  485. return weld
  486. end
  487.  
  488. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  489. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  490. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  491. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  492.  
  493. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  494. CreateMesh(handle,"Brick",0,0,0)
  495. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  496. local valuaring = 10
  497. for i = 0, 49 do
  498. valuaring = valuaring + 10
  499. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  500. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  501. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  502. end
  503.  
  504. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  505. CreateMesh(handle,"Brick",0,0,0)
  506. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  507. local valuaring = 10
  508. for i = 0, 49 do
  509. valuaring = valuaring + 10
  510. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  511. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  512. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  513. end
  514.  
  515.  
  516. local handle = CreateParta(m,1,1,"Neon",maincolor)
  517. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  518. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  519.  
  520. --- Left wing.
  521.  
  522. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  523. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  524. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  525.  
  526. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  527. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  528. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  529. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  530. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  531. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  532. A0 = Instance.new('Attachment',wed)
  533. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  534. CreateMesh(wed,"Wedge",0.05,0.5,3)
  535. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  536. A1 = Instance.new('Attachment',wed)
  537. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  538. CreateMesh(wed,"Wedge",0.05,3,0.5)
  539. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  540.  
  541. tl1 = Instance.new('Trail',wed)
  542. tl1.Attachment0 = A0
  543. tl1.Attachment1 = A1
  544. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  545. tl1.LightEmission = 1
  546. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  547. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  548. tl1.Lifetime = 0.6
  549.  
  550.  
  551. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  552. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  553. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  554.  
  555. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  556. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  557. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  558. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  559. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  560. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  561. A0 = Instance.new('Attachment',wed)
  562. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  563. CreateMesh(wed,"Wedge",0.05,0.5,3)
  564. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  565. A1 = Instance.new('Attachment',wed)
  566. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  567. CreateMesh(wed,"Wedge",0.05,3,0.5)
  568. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  569.  
  570. tl2 = Instance.new('Trail',wed)
  571. tl2.Attachment0 = A0
  572. tl2.Attachment1 = A1
  573. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  574. tl2.LightEmission = 1
  575. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  576. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  577. tl2.Lifetime = 0.6
  578.  
  579. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  580. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  581. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  582.  
  583. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  584. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  585. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  586. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  587. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  588. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  589. A0 = Instance.new('Attachment',wed)
  590. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  591. CreateMesh(wed,"Wedge",0.05,0.5,3)
  592. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  593. A1 = Instance.new('Attachment',wed)
  594. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  595. CreateMesh(wed,"Wedge",0.05,3,0.5)
  596. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  597.  
  598. tl3 = Instance.new('Trail',wed)
  599. tl3.Attachment0 = A0
  600. tl3.Attachment1 = A1
  601. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  602. tl3.LightEmission = 1
  603. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  604. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  605. tl3.Lifetime = 0.6
  606.  
  607. tl1.Enabled = false
  608. tl2.Enabled = false
  609. tl3.Enabled = false
  610. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  611. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  612. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  613.  
  614. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  615. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  616. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  617. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  618. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  619. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  620. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  621. CreateMesh(wed,"Wedge",0.05,0.5,3)
  622. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  623. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  624. CreateMesh(wed,"Wedge",0.05,3,0.5)
  625. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  626.  
  627. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  628. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  629. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  630.  
  631. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  632. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  633. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  634. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  635. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  636. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  637. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  638. CreateMesh(wed,"Wedge",0.05,0.5,3)
  639. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  640. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  641. CreateMesh(wed,"Wedge",0.05,3,0.5)
  642. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  643.  
  644. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  645. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  646. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  647.  
  648. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  649. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  650. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  651. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  652. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  653. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  654. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  655. CreateMesh(wed,"Wedge",0.05,0.5,3)
  656. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  657. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  658. CreateMesh(wed,"Wedge",0.05,3,0.5)
  659. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  660.  
  661. -- Right wing.
  662.  
  663. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  664. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  665. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  666.  
  667. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  668. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  669. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  670. A0 = Instance.new('Attachment',wed)
  671. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  672. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  673. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  674. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  675. CreateMesh(wed,"Wedge",0.05,0.5,3)
  676. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  677. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  678. CreateMesh(wed,"Wedge",0.05,3,0.5)
  679. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  680. A1 = Instance.new('Attachment',wed)
  681.  
  682. tr1 = Instance.new('Trail',wed)
  683. tr1.Attachment0 = A0
  684. tr1.Attachment1 = A1
  685. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  686. tr1.LightEmission = 1
  687. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  688. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  689. tr1.Lifetime = 0.6
  690.  
  691. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  692. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  693. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  694.  
  695. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  696. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  697. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  698. A0 = Instance.new('Attachment',wed)
  699. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  700. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  701. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  702. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  703. CreateMesh(wed,"Wedge",0.05,0.5,3)
  704. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  705. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  706. CreateMesh(wed,"Wedge",0.05,3,0.5)
  707. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  708. A1 = Instance.new('Attachment',wed)
  709.  
  710. tr2 = Instance.new('Trail',wed)
  711. tr2.Attachment0 = A0
  712. tr2.Attachment1 = A1
  713. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  714. tr2.LightEmission = 1
  715. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  716. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  717. tr2.Lifetime = 0.6
  718.  
  719. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  720. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  721. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  722.  
  723. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  724. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  725. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  726. A0 = Instance.new('Attachment',wed)
  727. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  728. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  729. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  730. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  731. CreateMesh(wed,"Wedge",0.05,0.5,3)
  732. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  733. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  734. CreateMesh(wed,"Wedge",0.05,3,0.5)
  735. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  736. A1 = Instance.new('Attachment',wed)
  737.  
  738. tr3 = Instance.new('Trail',wed)
  739. tr3.Attachment0 = A0
  740. tr3.Attachment1 = A1
  741. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  742. tr3.LightEmission = 1
  743. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  744. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  745. tr3.Lifetime = 0.6
  746.  
  747.  
  748. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  749. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  750. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  751.  
  752. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  753. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  754. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  755. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  756. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  757. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  758. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  759. CreateMesh(wed,"Wedge",0.05,0.5,3)
  760. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  761. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  762. CreateMesh(wed,"Wedge",0.05,3,0.5)
  763. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  764.  
  765. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  766. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  767. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  768.  
  769. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  770. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  771. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  772. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  773. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  774. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  775. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  776. CreateMesh(wed,"Wedge",0.05,0.5,3)
  777. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  778. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  779. CreateMesh(wed,"Wedge",0.05,3,0.5)
  780. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  781.  
  782. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  783. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  784. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  785.  
  786. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  787. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  788. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  789. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  790. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  791. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  792. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  793. CreateMesh(wed,"Wedge",0.05,0.5,3)
  794. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  795. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  796. CreateMesh(wed,"Wedge",0.05,3,0.5)
  797. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  798.  
  799. ---- HERES THE RING
  800.  
  801.  
  802. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  803. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  804. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  805. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  806. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  807. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  808. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  809. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  810. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  811.  
  812.  
  813. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  814. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  815. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  816.  
  817. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  818. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  819. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  820.  
  821.  
  822.  
  823. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  824. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  825. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  826.  
  827. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  828. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  829. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  830.  
  831. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  832. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  833. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  834.  
  835. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  836. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  837. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  838. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  839. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  840. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  841.  
  842. -- S section A
  843.  
  844. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  845. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  846. CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  847. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  848. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  849. CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  850. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  851. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  852. CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  853.  
  854. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  855. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  856. CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  857. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  858. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  859. CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  860. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  861. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  862. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  863.  
  864. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  865. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  866. CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  867. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  868. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  869. CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  870. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  871. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  872. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  873.  
  874. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  875. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  876. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  877. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  878. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  879. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  880. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  881. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  882. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  883.  
  884. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  885. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  886. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  887. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  888. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  889. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  890. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  891. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  892. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  893.  
  894. -- S section B
  895.  
  896. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  897. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  898. CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  899. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  900. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  901. CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  902. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  903. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  904. CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  905.  
  906. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  907. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  908. CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  909. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  910. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  911. CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  912. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  913. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  914. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  915.  
  916. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  917. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  918. CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  919. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  920. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  921. CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  922. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  923. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  924. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  925.  
  926. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  927. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  928. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  929. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  930. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  931. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  932. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  933. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  934. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  935.  
  936. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  937. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  938. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  939. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  940. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  941. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  942. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  943. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  944. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  945.  
  946. --- second ring
  947.  
  948. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  949. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  950. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  951. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  952. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  953. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  954. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  955. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  956. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  957.  
  958. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  959. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  960. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  961.  
  962. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  963. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  964. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  965.  
  966.  
  967.  
  968. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  969. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  970. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  971.  
  972. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  973. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  974. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  975.  
  976. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  977. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  978. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  979.  
  980. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  981. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  982. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  983. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  984. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  985. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  986.  
  987. -- S section A
  988.  
  989. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  990. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  991. CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  992. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  993. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  994. CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  995. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  996. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  997. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  998.  
  999. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1000. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1001. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1002. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1003. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1004. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1005. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1006. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1007. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1008.  
  1009. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1010. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1011. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1012. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1013. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1014. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1015. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1016. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1017. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1018.  
  1019. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1020. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1021. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1022. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1023. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1024. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1025. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1026. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1027. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1028.  
  1029. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1030. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1031. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1032. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1033. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1034. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1035. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1036. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1037. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1038.  
  1039. -- S section B
  1040.  
  1041. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1042. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1043. CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1044. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1045. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1046. CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1047. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1048. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1049. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1050.  
  1051. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1052. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1053. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1054. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1055. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1056. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1057. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1058. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1059. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1060.  
  1061. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1062. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1063. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1064. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1065. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1066. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1067. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1068. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1069. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1070.  
  1071. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1072. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1073. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1074. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1075. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1076. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1077. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1078. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1079. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1080.  
  1081. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1082. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1083. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1084. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1085. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1086. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1087. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1088. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1089. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1090.  
  1091.  
  1092. for i, v in pairs(m:GetChildren()) do
  1093. if v:IsA("Part") then
  1094. v.BrickColor = BrickColor.new("Really black")
  1095. v.Material = "Glass"
  1096. end
  1097. end
  1098. for i, v in pairs(m2:GetChildren()) do
  1099. if v:IsA("Part") then
  1100. v.BrickColor = BrickColor.new("Dark stone grey")
  1101. v.Material = "Granite"
  1102. end
  1103. end
  1104. for i, v in pairs(m3:GetChildren()) do
  1105. if v:IsA("Part") then
  1106. v.BrickColor = BrickColor.new("Really black")
  1107. v.Material = "Neon"
  1108. end
  1109. end
  1110. for i, v in pairs(mw2:GetChildren()) do
  1111. if v:IsA("Part") then
  1112. v.BrickColor = BrickColor.new("Really black")
  1113. v.Material = "Neon"
  1114. end
  1115. end
  1116. for i, v in pairs(mw1:GetChildren()) do
  1117. if v:IsA("Part") then
  1118. v.Transparency = 1
  1119. v.BrickColor = BrickColor.new("Really black")
  1120. v.Material = "Neon"
  1121. end
  1122. end
  1123. for i, v in pairs(extrawingmod1:GetChildren()) do
  1124. if v:IsA("Part") then
  1125. v.Transparency = 1
  1126. v.BrickColor = BrickColor.new("White")
  1127. v.Material = "Neon"
  1128. end
  1129. end
  1130. for i, v in pairs(extrawingmod2:GetChildren()) do
  1131. if v:IsA("Part") then
  1132. v.Transparency = 1
  1133. v.BrickColor = BrickColor.new("White")
  1134. v.Material = "Neon"
  1135. end
  1136. end
  1137. local MAINRUINCOLOR = BrickColor.new("Really black")
  1138. ------
  1139.  
  1140.  
  1141. function RemoveOutlines(part)
  1142. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1143. end
  1144. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1145. local Part = Create("Part")({
  1146. Parent = Parent,
  1147. Reflectance = Reflectance,
  1148. Transparency = Transparency,
  1149. CanCollide = false,
  1150. Locked = true,
  1151. BrickColor = BrickColor.new(tostring(BColor)),
  1152. Name = Name,
  1153. Size = Size,
  1154. Material = Material
  1155. })
  1156. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1157. RemoveOutlines(Part)
  1158. return Part
  1159. end
  1160. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1161. local Msh = Create(Mesh)({
  1162. Parent = Part,
  1163. Offset = OffSet,
  1164. Scale = Scale
  1165. })
  1166. if Mesh == "SpecialMesh" then
  1167. Msh.MeshType = MeshType
  1168. Msh.MeshId = MeshId
  1169. end
  1170. return Msh
  1171. end
  1172. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1173. local Weld = Create("Weld")({
  1174. Parent = Parent,
  1175. Part0 = Part0,
  1176. Part1 = Part1,
  1177. C0 = C0,
  1178. C1 = C1
  1179. })
  1180. return Weld
  1181. end
  1182.  
  1183. Player=game:GetService("Players").LocalPlayer
  1184. Character=Player.Character
  1185. PlayerGui=Player.PlayerGui
  1186. Backpack=Player.Backpack
  1187. Torso=Character.Torso
  1188. Head=Character.Head
  1189. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1190. m=Instance.new('Model',Character)
  1191. LeftArm=Character["Left Arm"]
  1192. LeftLeg=Character["Left Leg"]
  1193. RightArm=Character["Right Arm"]
  1194. RightLeg=Character["Right Leg"]
  1195. LS=Torso["Left Shoulder"]
  1196. LH=Torso["Left Hip"]
  1197. RS=Torso["Right Shoulder"]
  1198. RH=Torso["Right Hip"]
  1199. Face = Head.face
  1200. Neck=Torso.Neck
  1201. it=Instance.new
  1202. attacktype=1
  1203. vt=Vector3.new
  1204. cf=CFrame.new
  1205. euler=CFrame.fromEulerAnglesXYZ
  1206. angles=CFrame.Angles
  1207. cloaked=false
  1208. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1209. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1210. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1211. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1212. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1213. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1214. RootPart=Character.HumanoidRootPart
  1215. RootJoint=RootPart.RootJoint
  1216. RootCF=euler(-1.57,0,3.14)
  1217. attack = false
  1218. attackdebounce = false
  1219. deb=false
  1220. equipped=true
  1221. hand=false
  1222. MMouse=nil
  1223. combo=0
  1224. mana=0
  1225. trispeed=.2
  1226. attackmode='none'
  1227. local idle=0
  1228. local Anim="Idle"
  1229. local Effects={}
  1230. local gun=false
  1231. local shoot=false
  1232. local sine = 0
  1233. local change = 1
  1234. player=nil
  1235. pcall(function()char.LeftWing:destroy()end)
  1236. pcall(function()char.Halo:destroy()end)
  1237. local toggleTag = true
  1238. local txt = Instance.new("BillboardGui", Head)
  1239. txt.Adornee = nil
  1240. txt.Name = "NameDetect"
  1241. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1242. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1243. local text = Instance.new("TextLabel", txt)
  1244. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1245. text.FontSize = "Size8"
  1246. text.TextScaled = true
  1247. text.TextTransparency = 0
  1248. text.BackgroundTransparency = 1
  1249. text.TextTransparency = 0
  1250. text.TextStrokeTransparency = 0
  1251. text.Font = "Fantasy"
  1252. text.TextStrokeColor3 = Color3.new(1,1,1)
  1253. text.TextColor3 = Color3.new(0,0,0)
  1254. text.Text = "Solitude"
  1255.  
  1256. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1257. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1258.  
  1259. function RecolorTextAndRename(name,col1,col2)
  1260. text.TextStrokeColor3 = col2
  1261. text.TextColor3 = col1
  1262. text.Text = name
  1263. end
  1264. mouse=Player:GetMouse()
  1265. --save shoulders
  1266. RSH, LSH=nil, nil
  1267. --welds
  1268. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1269. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1270. LH=Torso["Left Hip"]
  1271. RH=Torso["Right Hip"]
  1272. TorsoColor=Torso.BrickColor
  1273. function NoOutline(Part)
  1274. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1275. end
  1276. player=Player
  1277. ch=Character
  1278. RSH=ch.Torso["Right Shoulder"]
  1279. LSH=ch.Torso["Left Shoulder"]
  1280. --
  1281. RSH.Parent=nil
  1282. LSH.Parent=nil
  1283. --
  1284. RW.Name="Right Shoulder"
  1285. RW.Part0=ch.Torso
  1286. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1287. RW.C1=cf(0, 0.5, 0)
  1288. RW.Part1=ch["Right Arm"]
  1289. RW.Parent=ch.Torso
  1290. --
  1291. LW.Name="Left Shoulder"
  1292. LW.Part0=ch.Torso
  1293. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1294. LW.C1=cf(0, 0.5, 0)
  1295. LW.Part1=ch["Left Arm"]
  1296. LW.Parent=ch.Torso
  1297.  
  1298. local Stats=Instance.new("BoolValue")
  1299. Stats.Name="Stats"
  1300. Stats.Parent=Character
  1301. local Atk=Instance.new("NumberValue")
  1302. Atk.Name="Damage"
  1303. Atk.Parent=Stats
  1304. Atk.Value=1
  1305. local Def=Instance.new("NumberValue")
  1306. Def.Name="Defense"
  1307. Def.Parent=Stats
  1308. Def.Value=1
  1309. local Speed=Instance.new("NumberValue")
  1310. Speed.Name="Speed"
  1311. Speed.Parent=Stats
  1312. Speed.Value=1
  1313. local Mvmt=Instance.new("NumberValue")
  1314. Mvmt.Name="Movement"
  1315. Mvmt.Parent=Stats
  1316. Mvmt.Value=1
  1317.  
  1318. local donum=0
  1319.  
  1320.  
  1321. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1322. local fp=it("Part")
  1323. fp.formFactor=formfactor
  1324. fp.Parent=parent
  1325. fp.Reflectance=reflectance
  1326. fp.Transparency=transparency
  1327. fp.CanCollide=false
  1328. fp.Locked=true
  1329. fp.BrickColor=brickcolor
  1330. fp.Name=name
  1331. fp.Size=size
  1332. fp.Position=Torso.Position
  1333. NoOutline(fp)
  1334. fp.Material="SmoothPlastic"
  1335. fp:BreakJoints()
  1336. return fp
  1337. end
  1338.  
  1339. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1340. local mesh=it(Mesh)
  1341. mesh.Parent=part
  1342. if Mesh=="SpecialMesh" then
  1343. mesh.MeshType=meshtype
  1344. if meshid~="nil" then
  1345. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1346. end
  1347. end
  1348. mesh.Offset=offset
  1349. mesh.Scale=scale
  1350. return mesh
  1351. end
  1352.  
  1353. function weld(parent,part0,part1,c0)
  1354. local weld=it("Weld")
  1355. weld.Parent=parent
  1356. weld.Part0=part0
  1357. weld.Part1=part1
  1358. weld.C0=c0
  1359. return weld
  1360. end
  1361.  
  1362. local Color1=Torso.BrickColor
  1363.  
  1364. local bodvel=Instance.new("BodyVelocity")
  1365. local bg=Instance.new("BodyGyro")
  1366.  
  1367. --// Artificial HB \\--
  1368.  
  1369. local ArtificialHB = Instance.new("BindableEvent", script)
  1370. ArtificialHB.Name = "Heartbeat"
  1371.  
  1372. script:WaitForChild("Heartbeat")
  1373.  
  1374. local tf = 0
  1375. local allowframeloss = false
  1376. local tossremainder = false
  1377. local lastframe = tick()
  1378. local frame = 1/60
  1379. ArtificialHB:Fire()
  1380.  
  1381. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1382. tf = tf + s
  1383. if tf >= frame then
  1384. if allowframeloss then
  1385. script.Heartbeat:Fire()
  1386. lastframe = tick()
  1387. else
  1388. for i = 1, math.floor(tf / frame) do
  1389. ArtificialHB:Fire()
  1390. end
  1391. lastframe = tick()
  1392. end
  1393. if tossremainder then
  1394. tf = 0
  1395. else
  1396. tf = tf - frame * math.floor(tf / frame)
  1397. end
  1398. end
  1399. end)
  1400.  
  1401. function swait(num)
  1402. if num == 0 or num == nil then
  1403. ArtificialHB.Event:wait()
  1404. else
  1405. for i = 0, num do
  1406. ArtificialHB.Event:wait()
  1407. end
  1408. end
  1409. end
  1410.  
  1411. -------- RAINBOW LEAVE IT TO ME
  1412. local r = 255
  1413. local g = 0
  1414. local b = 0
  1415. coroutine.resume(coroutine.create(function()
  1416. while wait() do
  1417. for i = 0, 254/5 do
  1418. swait()
  1419. g = g + 5
  1420. end
  1421. for i = 0, 254/5 do
  1422. swait()
  1423. r = r - 5
  1424. end
  1425. for i = 0, 254/5 do
  1426. swait()
  1427. b = b + 5
  1428. end
  1429. for i = 0, 254/5 do
  1430. swait()
  1431. g = g - 5
  1432. end
  1433. for i = 0, 254/5 do
  1434. swait()
  1435. r = r + 5
  1436. end
  1437. for i = 0, 254/5 do
  1438. swait()
  1439. b = b - 5
  1440. end
  1441. end
  1442. end))
  1443.  
  1444.  
  1445. so = function(id,par,vol,pit)
  1446. coroutine.resume(coroutine.create(function()
  1447. local sou = Instance.new("Sound",par or workspace)
  1448. sou.Volume=vol
  1449. sou.Pitch=pit or 1
  1450. sou.SoundId=id
  1451. swait()
  1452. sou:play()
  1453. game:GetService("Debris"):AddItem(sou,6)
  1454. end))
  1455. end
  1456.  
  1457. function clerp(a,b,t)
  1458. return a:lerp(b,t)
  1459. end
  1460.  
  1461. local function CFrameFromTopBack(at, top, back)
  1462. local right = top:Cross(back)
  1463. return CFrame.new(at.x, at.y, at.z,
  1464. right.x, top.x, back.x,
  1465. right.y, top.y, back.y,
  1466. right.z, top.z, back.z)
  1467. end
  1468.  
  1469. function Triangle(a, b, c)
  1470. local edg1 = (c-a):Dot((b-a).unit)
  1471. local edg2 = (a-b):Dot((c-b).unit)
  1472. local edg3 = (b-c):Dot((a-c).unit)
  1473. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1474. a, b, c = a, b, c
  1475. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1476. a, b, c = b, c, a
  1477. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1478. a, b, c = c, a, b
  1479. else
  1480. assert(false, "unreachable")
  1481. end
  1482.  
  1483. local len1 = (c-a):Dot((b-a).unit)
  1484. local len2 = (b-a).magnitude - len1
  1485. local width = (a + (b-a).unit*len1 - c).magnitude
  1486.  
  1487. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1488.  
  1489. local list = {}
  1490.  
  1491. if len1 > 0.01 then
  1492. local w1 = Instance.new('WedgePart', m)
  1493. game:GetService("Debris"):AddItem(w1,5)
  1494. w1.Material = "SmoothPlastic"
  1495. w1.FormFactor = 'Custom'
  1496. w1.BrickColor = BrickColor.new("Really black")
  1497. w1.Transparency = 0
  1498. w1.Reflectance = 0
  1499. w1.Material = "SmoothPlastic"
  1500. w1.CanCollide = false
  1501. local l1 = Instance.new("PointLight",w1)
  1502. l1.Color = Color3.new(170,0,0)
  1503. NoOutline(w1)
  1504. local sz = Vector3.new(0.2, width, len1)
  1505. w1.Size = sz
  1506. local sp = Instance.new("SpecialMesh",w1)
  1507. sp.MeshType = "Wedge"
  1508. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1509. w1:BreakJoints()
  1510. w1.Anchored = true
  1511. w1.Parent = workspace
  1512. w1.Transparency = 0.7
  1513. table.insert(Effects,{w1,"Disappear",.01})
  1514. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1515. table.insert(list,w1)
  1516. end
  1517.  
  1518. if len2 > 0.01 then
  1519. local w2 = Instance.new('WedgePart', m)
  1520. game:GetService("Debris"):AddItem(w2,5)
  1521. w2.Material = "SmoothPlastic"
  1522. w2.FormFactor = 'Custom'
  1523. w2.BrickColor = BrickColor.new("Really black")
  1524. w2.Transparency = 0
  1525. w2.Reflectance = 0
  1526. w2.Material = "SmoothPlastic"
  1527. w2.CanCollide = false
  1528. local l2 = Instance.new("PointLight",w2)
  1529. l2.Color = Color3.new(170,0,0)
  1530. NoOutline(w2)
  1531. local sz = Vector3.new(0.2, width, len2)
  1532. w2.Size = sz
  1533. local sp = Instance.new("SpecialMesh",w2)
  1534. sp.MeshType = "Wedge"
  1535. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1536. w2:BreakJoints()
  1537. w2.Anchored = true
  1538. w2.Parent = workspace
  1539. w2.Transparency = 0.7
  1540. table.insert(Effects,{w2,"Disappear",.01})
  1541. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1542. table.insert(list,w2)
  1543. end
  1544. return unpack(list)
  1545. end
  1546.  
  1547.  
  1548. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1549. if hit.Parent == nil then
  1550. return
  1551. end
  1552. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1553. for _, v in pairs(hit.Parent:children()) do
  1554. if v:IsA("Humanoid") then
  1555. h = v
  1556. end
  1557. end
  1558. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1559. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1560. return
  1561. end
  1562. local c = Create("ObjectValue")({
  1563. Name = "creator",
  1564. Value = game:service("Players").LocalPlayer,
  1565. Parent = h
  1566. })
  1567. game:GetService("Debris"):AddItem(c, 0.5)
  1568. if HitSound ~= nil and HitPitch ~= nil then
  1569. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1570. end
  1571. local Damage = math.random(minim, maxim)
  1572. local blocked = false
  1573. local block = hit.Parent:findFirstChild("Block")
  1574. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1575. blocked = true
  1576. block.Value = block.Value - 1
  1577. print(block.Value)
  1578. end
  1579. if blocked == false then
  1580. HitHealth = h.Health
  1581. h.Health = h.Health - Damage
  1582. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1583. print("gained kill")
  1584. end
  1585. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1586. else
  1587. h.Health = h.Health - Damage / 2
  1588. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1589. end
  1590. if Type == "Knockdown" then
  1591. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1592. hum.PlatformStand = true
  1593. coroutine.resume(coroutine.create(function(HHumanoid)
  1594. swait(1)
  1595. HHumanoid.PlatformStand = false
  1596. end), hum)
  1597. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1598. local bodvol = Create("BodyVelocity")({
  1599. velocity = angle * knockback,
  1600. P = 5000,
  1601. maxForce = Vector3.new(8000, 8000, 8000),
  1602. Parent = hit
  1603. })
  1604. local rl = Create("BodyAngularVelocity")({
  1605. P = 3000,
  1606. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1607. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1608. Parent = hit
  1609. })
  1610. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1611. game:GetService("Debris"):AddItem(rl, 0.5)
  1612. elseif Type == "Normal" then
  1613. local vp = Create("BodyVelocity")({
  1614. P = 500,
  1615. maxForce = Vector3.new(math.huge, 0, math.huge),
  1616. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1617. })
  1618. if knockback > 0 then
  1619. vp.Parent = hit.Parent.Head
  1620. end
  1621. game:GetService("Debris"):AddItem(vp, 0.5)
  1622. elseif Type == "Up" then
  1623. local bodyVelocity = Create("BodyVelocity")({
  1624. velocity = Vector3.new(0, 20, 0),
  1625. P = 5000,
  1626. maxForce = Vector3.new(8000, 8000, 8000),
  1627. Parent = hit
  1628. })
  1629. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1630. local bodyVelocity = Create("BodyVelocity")({
  1631. velocity = Vector3.new(0, 20, 0),
  1632. P = 5000,
  1633. maxForce = Vector3.new(8000, 8000, 8000),
  1634. Parent = hit
  1635. })
  1636. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1637. elseif Type == "Leech" then
  1638. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1639. if hum ~= nil then
  1640. for i = 0, 2 do
  1641. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1642. end
  1643. Humanoid.Health = Humanoid.Health + 10
  1644. end
  1645. elseif Type == "UpKnock" then
  1646. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1647. hum.PlatformStand = true
  1648. if hum ~= nil then
  1649. hitr = true
  1650. end
  1651. coroutine.resume(coroutine.create(function(HHumanoid)
  1652. swait(5)
  1653. HHumanoid.PlatformStand = false
  1654. hitr = false
  1655. end), hum)
  1656. local bodyVelocity = Create("BodyVelocity")({
  1657. velocity = Vector3.new(0, 20, 0),
  1658. P = 5000,
  1659. maxForce = Vector3.new(8000, 8000, 8000),
  1660. Parent = hit
  1661. })
  1662. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1663. local bodyVelocity = Create("BodyVelocity")({
  1664. velocity = Vector3.new(0, 20, 0),
  1665. P = 5000,
  1666. maxForce = Vector3.new(8000, 8000, 8000),
  1667. Parent = hit
  1668. })
  1669. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1670. elseif Type == "Snare" then
  1671. local bp = Create("BodyPosition")({
  1672. P = 2000,
  1673. D = 100,
  1674. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1675. position = hit.Parent.Torso.Position,
  1676. Parent = hit.Parent.Torso
  1677. })
  1678. game:GetService("Debris"):AddItem(bp, 1)
  1679. elseif Type == "Slashnare" then
  1680. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  1681. for i = 1, math.random(4, 5) do
  1682. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1683. end
  1684. local bp = Create("BodyPosition")({
  1685. P = 2000,
  1686. D = 100,
  1687. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1688. position = hit.Parent.Torso.Position,
  1689. Parent = hit.Parent.Torso
  1690. })
  1691. game:GetService("Debris"):AddItem(bp, 1)
  1692. elseif Type == "Spike" then
  1693. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1694. local bp = Create("BodyPosition")({
  1695. P = 2000,
  1696. D = 100,
  1697. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1698. position = hit.Parent.Torso.Position,
  1699. Parent = hit.Parent.Torso
  1700. })
  1701. game:GetService("Debris"):AddItem(bp, 1)
  1702. elseif Type == "Freeze" then
  1703. local BodPos = Create("BodyPosition")({
  1704. P = 50000,
  1705. D = 1000,
  1706. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1707. position = hit.Parent.Torso.Position,
  1708. Parent = hit.Parent.Torso
  1709. })
  1710. local BodGy = Create("BodyGyro")({
  1711. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1712. P = 20000,
  1713. Parent = hit.Parent.Torso,
  1714. cframe = hit.Parent.Torso.CFrame
  1715. })
  1716. hit.Parent.Torso.Anchored = true
  1717. coroutine.resume(coroutine.create(function(Part)
  1718. swait(1.5)
  1719. Part.Anchored = false
  1720. end), hit.Parent.Torso)
  1721. game:GetService("Debris"):AddItem(BodPos, 3)
  1722. game:GetService("Debris"):AddItem(BodGy, 3)
  1723. end
  1724. local debounce = Create("BoolValue")({
  1725. Name = "DebounceHit",
  1726. Parent = hit.Parent,
  1727. Value = true
  1728. })
  1729. game:GetService("Debris"):AddItem(debounce, Delay)
  1730. c = Instance.new("ObjectValue")
  1731. c.Name = "creator"
  1732. c.Value = Player
  1733. c.Parent = h
  1734. game:GetService("Debris"):AddItem(c, 0.5)
  1735. end
  1736. end
  1737. function ShowDamage(Pos, Text, Time, Color)
  1738. local Rate = 0.03333333333333333
  1739. local Pos = Pos or Vector3.new(0, 0, 0)
  1740. local Text = Text or ""
  1741. local Time = Time or 2
  1742. local Color = Color or Color3.new(1, 0, 1)
  1743. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1744. EffectPart.Anchored = true
  1745. local BillboardGui = Create("BillboardGui")({
  1746. Size = UDim2.new(3, 0, 3, 0),
  1747. Adornee = EffectPart,
  1748. Parent = EffectPart
  1749. })
  1750. local TextLabel = Create("TextLabel")({
  1751. BackgroundTransparency = 1,
  1752. Size = UDim2.new(1, 0, 1, 0),
  1753. Text = Text,
  1754. TextColor3 = Color,
  1755. TextScaled = true,
  1756. Font = Enum.Font.ArialBold,
  1757. Parent = BillboardGui
  1758. })
  1759. game.Debris:AddItem(EffectPart, Time + 0.1)
  1760. EffectPart.Parent = game:GetService("Workspace")
  1761. delay(0, function()
  1762. local Frames = Time / Rate
  1763. for Frame = 1, Frames do
  1764. wait(Rate)
  1765. local Percent = Frame / Frames
  1766. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1767. TextLabel.TextTransparency = Percent
  1768. end
  1769. if EffectPart and EffectPart.Parent then
  1770. EffectPart:Destroy()
  1771. end
  1772. end)
  1773. end
  1774. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1775. for _, c in pairs(workspace:children()) do
  1776. local hum = c:findFirstChildOfClass("Humanoid")
  1777. if hum ~= nil then
  1778. local head = c:findFirstChild("Head")
  1779. if head ~= nil then
  1780. local targ = head.Position - Part.Position
  1781. local mag = targ.magnitude
  1782. if magni >= mag and c.Name ~= Player.Name then
  1783. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1784. end
  1785. end
  1786. end
  1787. end
  1788. end
  1789.  
  1790. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1791. for _, c in pairs(workspace:children()) do
  1792. local hum = c:findFirstChild("Humanoid")
  1793. if hum ~= nil then
  1794. local head = c:findFirstChild("Torso")
  1795. if head ~= nil then
  1796. local targ = head.Position - Part.Position
  1797. local mag = targ.magnitude
  1798. if magni >= mag and c.Name ~= Player.Name then
  1799. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1800. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1801. end
  1802. end
  1803. end
  1804. end
  1805. end
  1806.  
  1807. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1808. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1809. end
  1810.  
  1811. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1812. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1813. prt.Anchored=true
  1814. prt.CFrame=cframe
  1815. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1816. --http://www.roblox.com/asset/?id=4770560
  1817. game:GetService("Debris"):AddItem(prt,2)
  1818. CF=prt.CFrame
  1819. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1820. for i=0,1,0.2 do
  1821. wait()
  1822. Part.CFrame=CF*cf(0,0,-0.4)
  1823. end
  1824. for i=0,1,delay do
  1825. wait()
  1826. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1827. Mesh.Scale=Mesh.Scale
  1828. end
  1829. for i=0,1,0.1 do
  1830. wait()
  1831. Part.Transparency=i
  1832. end
  1833. Part.Parent=nil
  1834. end),prt,msh,CF)
  1835. end
  1836.  
  1837. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1838. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1839. prt.Anchored=true
  1840. prt.Material = "Neon"
  1841. prt.CFrame=cframe
  1842. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1843. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1844. game:GetService("Debris"):AddItem(prt,5)
  1845. coroutine.resume(coroutine.create(function(Part,Mesh)
  1846. for i=0,1,delay do
  1847. swait()
  1848. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1849. Part.Transparency=i
  1850. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1851. end
  1852. Part.Parent=nil
  1853. end),prt,msh)
  1854. end
  1855.  
  1856. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1857. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1858. prt.Anchored=true
  1859. prt.Material = "Neon"
  1860. prt.CFrame=cframe
  1861. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1862. game:GetService("Debris"):AddItem(prt,5)
  1863. coroutine.resume(coroutine.create(function(Part,Mesh)
  1864. local rtype = rottype
  1865. for i=0,1,delay do
  1866. swait()
  1867. if rtype == 1 then
  1868. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1869. elseif rtype == 2 then
  1870. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1871. end
  1872. Part.Transparency=i
  1873. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1874. end
  1875. Part.Parent=nil
  1876. end),prt,msh)
  1877. end
  1878.  
  1879. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1880. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1881. prt.Anchored=true
  1882. prt.CFrame=cframe
  1883. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1884. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1885. game:GetService("Debris"):AddItem(prt,5)
  1886. coroutine.resume(coroutine.create(function(Part,Mesh)
  1887. for i=0,1,delay do
  1888. wait()
  1889. Part.Transparency=i
  1890. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1891. end
  1892. Part.Parent=nil
  1893. end),prt,msh)
  1894. end
  1895.  
  1896. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1897. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1898. prt.Anchored=true
  1899. prt.Material = "Neon"
  1900. prt.CFrame=cframe
  1901. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1902. game:GetService("Debris"):AddItem(prt,5)
  1903. coroutine.resume(coroutine.create(function(Part,Mesh)
  1904. local rtype = rottype
  1905. for i=0,1,delay do
  1906. swait()
  1907. if rtype == 1 then
  1908. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1909. elseif rtype == 2 then
  1910. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1911. end
  1912. Part.Transparency=i
  1913. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1914. end
  1915. Part.Parent=nil
  1916. end),prt,msh)
  1917. end
  1918.  
  1919. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1920. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1921. prt.Anchored=true
  1922. prt.Material = "Neon"
  1923. prt.CFrame=cframe
  1924. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1925. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1926. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1927. game:GetService("Debris"):AddItem(prt,5)
  1928. coroutine.resume(coroutine.create(function(Part,Mesh)
  1929. local rtype = rottype
  1930. for i=0,1,delay do
  1931. swait()
  1932. if rtype == 1 then
  1933. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1934. elseif rtype == 2 then
  1935. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1936. end
  1937. dec.Transparency=i
  1938. dec2.Transparency=i
  1939. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1940. end
  1941. Part.Parent=nil
  1942. end),prt,msh)
  1943. end
  1944.  
  1945. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1946. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1947. prt.Anchored=true
  1948. prt.Material = "Neon"
  1949. prt.CFrame=cframe
  1950. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1951. game:GetService("Debris"):AddItem(prt,5)
  1952. coroutine.resume(coroutine.create(function(Part,Mesh)
  1953. local rtype = rottype
  1954. for i=0,1,delay do
  1955. swait()
  1956. if rtype == 1 then
  1957. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1958. elseif rtype == 2 then
  1959. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1960. end
  1961. prt.Transparency=i
  1962. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1963. end
  1964. Part.Parent=nil
  1965. end),prt,msh)
  1966. end
  1967.  
  1968. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1969. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1970. prt.Anchored=true
  1971. prt.Material = "Neon"
  1972. prt.CFrame=cframe
  1973. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1974. game:GetService("Debris"):AddItem(prt,5)
  1975. coroutine.resume(coroutine.create(function(Part,Mesh)
  1976. local rtype = rottype
  1977. for i=0,1,delay do
  1978. swait()
  1979. if rtype == 1 then
  1980. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1981. elseif rtype == 2 then
  1982. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1983. end
  1984. prt.Transparency=i
  1985. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1986. end
  1987. Part.Parent=nil
  1988. end),prt,msh)
  1989. end
  1990.  
  1991. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1992. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1993. prt.Anchored=true
  1994. prt.Material = "Neon"
  1995. prt.CFrame=cframe
  1996. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1997. game:GetService("Debris"):AddItem(prt,5)
  1998. coroutine.resume(coroutine.create(function(Part,Mesh)
  1999. local rtype = rottype
  2000. for i=0,1,delay do
  2001. swait()
  2002. if rtype == 1 then
  2003. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2004. elseif rtype == 2 then
  2005. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2006. end
  2007. prt.Transparency=i
  2008. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2009. end
  2010. Part.Parent=nil
  2011. end),prt,msh)
  2012. end
  2013.  
  2014. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2015. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2016. prt.Anchored=true
  2017. prt.Material = "Neon"
  2018. prt.CFrame=cframe
  2019. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2020. game:GetService("Debris"):AddItem(prt,5)
  2021. coroutine.resume(coroutine.create(function(Part,Mesh)
  2022. local rtype = rottype
  2023. for i=0,1,delay do
  2024. swait()
  2025. if rtype == 1 then
  2026. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2027. elseif rtype == 2 then
  2028. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2029. end
  2030. prt.Transparency=i
  2031. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2032. end
  2033. Part.Parent=nil
  2034. end),prt,msh)
  2035. end
  2036.  
  2037. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2038. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2039. prt.Anchored=false
  2040. prt.CFrame=cframe
  2041. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2042. local wld=weld(prt,prt,Parent,cframe)
  2043. game:GetService("Debris"):AddItem(prt,5)
  2044. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2045. for i=0,1,delay do
  2046. wait()
  2047. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2048. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2049. Part.Transparency=i
  2050. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2051. end
  2052. Part.Parent=nil
  2053. end),prt,msh,wld)
  2054. end
  2055.  
  2056. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2057. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2058. prt.Anchored=false
  2059. prt.CFrame=cframe
  2060. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2061. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2062. game:GetService("Debris"):AddItem(prt,5)
  2063. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2064. for i=0,1,delay do
  2065. wait()
  2066. Weld.C0=euler(i*20,0,0)
  2067. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2068. Part.Transparency=i
  2069. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2070. end
  2071. Part.Parent=nil
  2072. end),prt,msh,wld)
  2073. end
  2074.  
  2075. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2076. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2077. prt.Anchored=true
  2078. prt.CFrame=cframe
  2079. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2080. game:GetService("Debris"):AddItem(prt,2)
  2081. coroutine.resume(coroutine.create(function(Part,Mesh)
  2082. for i=0,1,delay do
  2083. wait()
  2084. Part.CFrame=Part.CFrame
  2085. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2086. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2087. prt2.Anchored=true
  2088. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2089. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2090. game:GetService("Debris"):AddItem(prt2,2)
  2091. coroutine.resume(coroutine.create(function(Part,Mesh)
  2092. for i=0,1,0.1 do
  2093. wait()
  2094. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2095. end
  2096. Part.Parent=nil
  2097. end),prt2,msh2)
  2098. end
  2099. for i=0,1,delay*2 do
  2100. wait()
  2101. Part.CFrame=Part.CFrame
  2102. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2103. end
  2104. Part.Parent=nil
  2105. end),prt,msh)
  2106. end
  2107.  
  2108. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2109. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2110. prt.Anchored=true
  2111. prt.CFrame=cframe
  2112. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2113. game:GetService("Debris"):AddItem(prt,2)
  2114. coroutine.resume(coroutine.create(function(Part,Mesh)
  2115. for i=0,1,delay do
  2116. wait()
  2117. Part.CFrame=Part.CFrame
  2118. Part.Transparency=i
  2119. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2120. end
  2121. Part.Parent=nil
  2122. end),prt,msh)
  2123. end
  2124.  
  2125. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2126. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2127. prt.Anchored=true
  2128. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2129. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2130. game:GetService("Debris"):AddItem(prt,2)
  2131. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2132. CF=Part.CFrame
  2133. Numbb=0
  2134. randnumb=math.random()/10
  2135. rand1=math.random()/10
  2136. for i=0,1,rand1 do
  2137. wait()
  2138. CF=CF*cf(0,math.random()/2,0)
  2139. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2140. Part.CFrame=CF*euler(Numbb,0,0)
  2141. Part.Transparency=i
  2142. Numbb=Numbb+randnumb
  2143. end
  2144. Part.Parent=nil
  2145. end),prt,CF,Numbb,randnumb)
  2146. end
  2147.  
  2148. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2149. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2150. prt.Anchored=true
  2151. prt.CFrame=cframe
  2152. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2153. game:GetService("Debris"):AddItem(prt,5)
  2154. coroutine.resume(coroutine.create(function(Part,Mesh)
  2155. for i=0,1,delay do
  2156. wait()
  2157. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2158. Part.Transparency=i
  2159. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2160. end
  2161. Part.Parent=nil
  2162. end),prt,msh)
  2163. end
  2164.  
  2165. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2166. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2167. prt.Anchored=true
  2168. prt.CFrame=cframe
  2169. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2170. game:GetService("Debris"):AddItem(prt,2)
  2171. coroutine.resume(coroutine.create(function(Part,Mesh)
  2172. for i=0,1,delay do
  2173. wait()
  2174. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2175. Part.Transparency=i
  2176. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2177. end
  2178. Part.Parent=nil
  2179. end),prt,msh)
  2180. end
  2181.  
  2182. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2183. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2184. prt.Anchored=true
  2185. prt.CFrame=cframe*cf(x,y,z)
  2186. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2187. game:GetService("Debris"):AddItem(prt,5)
  2188. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2189. local num=math.random()
  2190. local num2=math.random(-3,2)+math.random()
  2191. local numm=0
  2192. for i=0,1,delay*2 do
  2193. swait()
  2194. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2195. Part.Transparency=i
  2196. numm=numm+0.01
  2197. end
  2198. Part.Parent=nil
  2199. Mesh.Parent=nil
  2200. end),prt,msh,x,y,z)
  2201. end
  2202.  
  2203. function dmgstart(dmg,what)
  2204. hitcon = what.Touched:connect(function(hit)
  2205. local hum = hit.Parent:FindFirstChild("Humanoid")
  2206. if hum and not hum:IsDescendantOf(Character) then
  2207. hum:TakeDamage(dmg)
  2208. end
  2209. end)
  2210. end
  2211.  
  2212. function dmgstop()
  2213. hitcon:disconnect()
  2214. end
  2215.  
  2216. function Cloak()
  2217. Face.Parent=nil
  2218. cloaked=true
  2219. for _,v in pairs(Torso.Parent:children()) do
  2220. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2221. coroutine.resume(coroutine.create(function()
  2222. for i=0,1,0.2 do
  2223. wait()
  2224. v.Transparency=i
  2225. end
  2226. v.Transparency=1
  2227. end))
  2228. end
  2229. if v.className=="Hat" then
  2230. hatp=v.Handle
  2231. coroutine.resume(coroutine.create(function(derp)
  2232. for i=0,1,0.2 do
  2233. wait()
  2234. derp.Transparency=i
  2235. end
  2236. derp.Transparency=1
  2237. end),hatp)
  2238. end
  2239. end
  2240. for _,v in pairs(m:children()) do
  2241. if v.className=="Part" then
  2242. coroutine.resume(coroutine.create(function()
  2243. for i=0,1,0.2 do
  2244. wait()
  2245. v.Transparency=i
  2246. end
  2247. v.Transparency=1
  2248. end))
  2249. end
  2250. end
  2251. end
  2252.  
  2253. function UnCloak()
  2254. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2255. Face.Parent=Head
  2256. cloaked=false
  2257. for _,v in pairs(Torso.Parent:children()) do
  2258. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2259. coroutine.resume(coroutine.create(function()
  2260. for i=0,1,0.1 do
  2261. wait()
  2262. v.Transparency=v.Transparency-0.1
  2263. end
  2264. v.Transparency=0
  2265. end))
  2266. end
  2267. if v.className=="Hat" then
  2268. hatp=v.Handle
  2269. coroutine.resume(coroutine.create(function(derp)
  2270. for i=0,1,0.1 do
  2271. wait()
  2272. derp.Transparency=derp.Transparency-0.1
  2273. end
  2274. derp.Transparency=0
  2275. end),hatp)
  2276. end
  2277. end
  2278. for _,v in pairs(m:children()) do
  2279. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2280. coroutine.resume(coroutine.create(function()
  2281. for i=0,1,0.1 do
  2282. wait()
  2283. v.Transparency=v.Transparency-0.1
  2284. end
  2285. v.Transparency=0
  2286. end))
  2287. v.Transparency=0
  2288. end
  2289. end
  2290. end
  2291.  
  2292. local origcolor = BrickColor.new("Pastel light blue")
  2293. ---- This section of explosions.
  2294. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2295. local expart = Instance.new("Part",char)
  2296. local expart2 = Instance.new("Part",char)
  2297. local rin = Instance.new("Part",char)
  2298. local rin2 = Instance.new("Part",char)
  2299. local partMesh = Instance.new("SpecialMesh",expart)
  2300. partMesh.MeshType = "Sphere"
  2301. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2302. partMesh2.MeshType = "Sphere"
  2303. local partMesh3 = Instance.new("SpecialMesh",rin)
  2304. partMesh3.MeshType = "Brick"
  2305. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2306. partMesh4.MeshType = "Brick"
  2307. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2308. partMesh.Scale = vt(rad,rad,rad)
  2309. expart.Size = vt(1,1,1)
  2310. expart.Transparency = 0
  2311. expart.Anchored = true
  2312. expart.Material = "Neon"
  2313. expart.BrickColor = bc("White")
  2314. expart.CFrame = par.CFrame
  2315. partMesh2.Scale = vt(rad,rad,rad)
  2316. expart2.Size = vt(1.15,1.15,1.15)
  2317. expart2.Transparency = 0.5
  2318. expart2.Anchored = true
  2319. expart2.Material = "Neon"
  2320. expart2.BrickColor = par.BrickColor
  2321. expart2.CFrame = par.CFrame
  2322. rin.Size = vt(1.15,1.15,1.15)
  2323. rin.Transparency = 1
  2324. rin.Anchored = true
  2325. rin.Material = "Neon"
  2326. rin.BrickColor = par.BrickColor
  2327. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2328. rin2.Size = vt(1.15,1.15,1.15)
  2329. rin2.Transparency = 1
  2330. rin2.Anchored = true
  2331. rin2.Material = "Neon"
  2332. rin2.BrickColor = par.BrickColor
  2333. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2334. partMesh3.Scale = vt(0,1,0)
  2335. partMesh4.Scale = vt(0,1,0)
  2336. local dec2 = Instance.new("Decal", rin)
  2337. dec2.Face = "Top"
  2338. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2339. dec2.Parent = rin
  2340. local dec2b = dec2:Clone()
  2341. dec2b.Face = "Bottom"
  2342. dec2b.Parent = rin
  2343.  
  2344. local dec2a = Instance.new("Decal", rin2)
  2345. dec2a.Face = "Top"
  2346. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2347. dec2a.Parent = rin2
  2348. local dec2ab = dec2a:Clone()
  2349. dec2ab.Face = "Bottom"
  2350. dec2ab.Parent = rin2
  2351. expart.CanCollide = false
  2352. expart2.CanCollide = false
  2353. rin.CanCollide = false
  2354. rin2.CanCollide = false
  2355. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2356. local value = 1*rad/6.5
  2357. for i = 0, 199 do
  2358. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2359. expart.CFrame = expart.CFrame
  2360. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2361. expart2.CFrame = expart.CFrame
  2362. value = value - 0.035*rad/30
  2363. if value < 7.5 then
  2364. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2365. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2366. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2367. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2368. end
  2369. if value < 0 then
  2370. dec2.Transparency = dec2.Transparency + 0.025
  2371. dec2a.Transparency = dec2a.Transparency + 0.025
  2372. dec2b.Transparency = dec2b.Transparency + 0.025
  2373. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2374. expart.Transparency = expart.Transparency + 0.025
  2375. expart2.Transparency = expart2.Transparency + 0.025
  2376. rin.Transparency = rin.Transparency + 0.025
  2377. rin2.Transparency = rin2.Transparency + 0.025
  2378. end
  2379. swait()
  2380. end
  2381. game:GetService("Debris"):AddItem(expart, 1)
  2382. game:GetService("Debris"):AddItem(expart2, 1)
  2383. game:GetService("Debris"):AddItem(rin, 1)
  2384. game:GetService("Debris"):AddItem(rin2, 1)
  2385. end
  2386.  
  2387. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2388. local expart = Instance.new("Part",char)
  2389. local expart2 = Instance.new("Part",char)
  2390. local partMesh = Instance.new("SpecialMesh",expart)
  2391. partMesh.MeshType = "Sphere"
  2392. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2393. partMesh2.MeshType = "Sphere"
  2394. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2395. partMesh.Scale = vt(rad,rad,rad)
  2396. expart.Size = vt(1,1,1)
  2397. expart.Transparency = 0
  2398. expart.Anchored = true
  2399. expart.Material = "Neon"
  2400. expart.BrickColor = bc("White")
  2401. expart.CFrame = par.CFrame
  2402. partMesh2.Scale = vt(rad,rad,rad)
  2403. expart2.Size = vt(1.15,1.15,1.15)
  2404. expart2.Transparency = 0.5
  2405. expart2.Anchored = true
  2406. expart2.Material = "Neon"
  2407. expart2.BrickColor = par.BrickColor
  2408. expart2.CFrame = par.CFrame
  2409. expart.CanCollide = false
  2410. expart2.CanCollide = false
  2411. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2412. local value = 1*rad/6.5
  2413. for i = 0, 75 do
  2414. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2415. expart.CFrame = expart.CFrame
  2416. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2417. expart2.CFrame = expart.CFrame
  2418. value = value - 0.035*rad/5
  2419. if value < 0 then
  2420. value = 0
  2421. expart.Transparency = expart.Transparency + 0.05
  2422. expart2.Transparency = expart2.Transparency + 0.05
  2423. end
  2424. swait()
  2425. end
  2426. game:GetService("Debris"):AddItem(expart, 1)
  2427. game:GetService("Debris"):AddItem(expart2, 1)
  2428. end
  2429.  
  2430. function AreaDanger(rad,par,mindam,maxdam)
  2431. local expart = Instance.new("Part",char)
  2432. local partMesh = Instance.new("SpecialMesh",expart)
  2433. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2434. partMesh.MeshType = "Sphere"
  2435. partMesh.Scale = vt(rad,rad,rad)
  2436. expart.Size = vt(1,1,1)
  2437. expart.Transparency = 0.5
  2438. expart.Anchored = true
  2439. expart.Material = "Neon"
  2440. expart.CanCollide = false
  2441. expart.BrickColor = par.BrickColor
  2442. expart.CFrame = par.CFrame
  2443. local value = 1*rad/5
  2444. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2445. for i = 0, 14 do
  2446. wait()
  2447. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2448. expart.CFrame = expart.CFrame
  2449. value = value - 0.035*rad
  2450. if value < 0 then
  2451. value = 0
  2452. end
  2453. end
  2454. wait(0.25)
  2455. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2456. wait(0.5)
  2457. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2458. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2459. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2460. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2461. for i = 0, 14 do
  2462. wait()
  2463. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2464. expart.CFrame = expart.CFrame
  2465. value = value - 0.035*rad/2
  2466. end
  2467. expart.Transparency = 1
  2468. game:GetService("Debris"):AddItem(expart, 5)
  2469. end
  2470.  
  2471. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2472. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2473. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2474. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2475. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2476. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2477. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2478. for i = 0, 24 do
  2479. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2480. end
  2481. for i = 0, 24 do
  2482. local expart = Instance.new("Part",char)
  2483. expart.Transparency = 1
  2484. expart.Anchored = true
  2485. expart.CanCollide = false
  2486. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2487. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2488. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2489. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2490. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2491. for i = 0, 9 do
  2492. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2493. end
  2494. game:GetService("Debris"):AddItem(expart, 2)
  2495. wait(0.1)
  2496. end
  2497. end
  2498.  
  2499. function EXterPlosion(par)
  2500. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2501. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2502. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2503. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2504. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2505. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2506. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2507. for i = 0, 24 do
  2508. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2509. end
  2510. for i = 0, 24 do
  2511. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2512. end
  2513. end
  2514. ----
  2515.  
  2516.  
  2517. function ring(type,pos,scale,value)
  2518. local type = type
  2519. local rng = Instance.new("Part", char)
  2520. rng.Anchored = true
  2521. rng.BrickColor = origcolor
  2522. rng.CanCollide = false
  2523. rng.FormFactor = 3
  2524. rng.Name = "Ring"
  2525. rng.Size = Vector3.new(1, 1, 1)
  2526. rng.Transparency = 0
  2527. rng.TopSurface = 0
  2528. rng.BottomSurface = 0
  2529. rng.CFrame = pos
  2530. local rngm = Instance.new("SpecialMesh", rng)
  2531. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2532. rngm.Scale = scale
  2533. local scaler2 = 1
  2534. if type == "Add" then
  2535. scaler2 = 1*value
  2536. elseif type == "Divide" then
  2537. scaler2 = 1/value
  2538. end
  2539. coroutine.resume(coroutine.create(function()
  2540. for i = 0,10,0.1 do
  2541. swait()
  2542. if type == "Add" then
  2543. scaler2 = scaler2 - 0.01*value
  2544. elseif type == "Divide" then
  2545. scaler2 = scaler2 - 0.01/value
  2546. end
  2547. rng.Transparency = rng.Transparency + 0.01
  2548. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2549. end
  2550. rng:Destroy()
  2551. end))
  2552. end
  2553.  
  2554.  
  2555. function wave(type,pos,scale,value)
  2556. local type = type
  2557. local rng = Instance.new("Part", char)
  2558. rng.Anchored = true
  2559. rng.BrickColor = origcolor
  2560. rng.CanCollide = false
  2561. rng.FormFactor = 3
  2562. rng.Name = "Ring"
  2563. rng.Size = Vector3.new(1, 1, 1)
  2564. rng.Transparency = 0
  2565. rng.TopSurface = 0
  2566. rng.BottomSurface = 0
  2567. rng.CFrame = pos
  2568. local rngm = Instance.new("SpecialMesh", rng)
  2569. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2570. rngm.Scale = scale
  2571. local scaler2 = 1
  2572. if type == "Add" then
  2573. scaler2 = 1*value
  2574. elseif type == "Divide" then
  2575. scaler2 = 1/value
  2576. end
  2577. coroutine.resume(coroutine.create(function()
  2578. for i = 0,10,0.1 do
  2579. swait()
  2580. if type == "Add" then
  2581. scaler2 = scaler2 - 0.01*value
  2582. elseif type == "Divide" then
  2583. scaler2 = scaler2 - 0.01/value
  2584. end
  2585. rng.Transparency = rng.Transparency + 0.01
  2586. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2587. end
  2588. rng:Destroy()
  2589. end))
  2590. end
  2591.  
  2592. function wind(type,pos,scale,value,speed)
  2593. local type = type
  2594. local rng = Instance.new("Part", char)
  2595. rng.Anchored = true
  2596. rng.BrickColor = origcolor
  2597. rng.CanCollide = false
  2598. rng.FormFactor = 3
  2599. rng.Name = "Ring"
  2600. rng.Size = Vector3.new(1, 1, 1)
  2601. rng.Transparency = 0
  2602. rng.TopSurface = 0
  2603. rng.BottomSurface = 0
  2604. rng.CFrame = pos
  2605. local rngm = Instance.new("SpecialMesh", rng)
  2606. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2607. rngm.Scale = scale
  2608. local scaler2 = 1
  2609. if type == "Add" then
  2610. scaler2 = 1*value
  2611. elseif type == "Divide" then
  2612. scaler2 = 1/value
  2613. end
  2614. coroutine.resume(coroutine.create(function()
  2615. for i = 0,10,0.1 do
  2616. swait()
  2617. if type == "Add" then
  2618. scaler2 = scaler2 - 0.01*value
  2619. elseif type == "Divide" then
  2620. scaler2 = scaler2 - 0.01/value
  2621. end
  2622. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2623. rng.Transparency = rng.Transparency + 0.01
  2624. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2625. end
  2626. rng:Destroy()
  2627. end))
  2628. end
  2629.  
  2630. function groundwind(type,pos,scale,value,speed)
  2631. local type = type
  2632. local rng = Instance.new("Part", char)
  2633. rng.Anchored = true
  2634. rng.BrickColor = origcolor
  2635. rng.CanCollide = false
  2636. rng.FormFactor = 3
  2637. rng.Name = "Ring"
  2638. rng.Size = Vector3.new(1, 1, 1)
  2639. rng.Transparency = 0
  2640. rng.TopSurface = 0
  2641. rng.BottomSurface = 0
  2642. rng.CFrame = pos
  2643. local rngm = Instance.new("SpecialMesh", rng)
  2644. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2645. rngm.Scale = scale
  2646. local scaler2 = 1
  2647. if type == "Add" then
  2648. scaler2 = 1*value
  2649. elseif type == "Divide" then
  2650. scaler2 = 1/value
  2651. end
  2652. coroutine.resume(coroutine.create(function()
  2653. for i = 0,10,0.1 do
  2654. swait()
  2655. if type == "Add" then
  2656. scaler2 = scaler2 - 0.01*value
  2657. elseif type == "Divide" then
  2658. scaler2 = scaler2 - 0.01/value
  2659. end
  2660. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2661. rng.Transparency = rng.Transparency + 0.01
  2662. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2663. end
  2664. rng:Destroy()
  2665. end))
  2666. end
  2667.  
  2668. function CameraManager()
  2669. if TwoD and not CamInterrupt then
  2670. if Humanoid.Health > 0 then
  2671. Camera.CameraSubject = Humanoid
  2672. Camera.CameraType = "Scriptable"
  2673. Humanoid.AutoRotate = false
  2674. if Booleans.GyroUse then
  2675. Directer.MaxTorque = Vec3(0, huge, 0)
  2676. else
  2677. Directer.MaxTorque = Vec3(0, 0, 0)
  2678. end
  2679. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2680. if Booleans.CamFollow then
  2681. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2682. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2683. else
  2684. CPart.Position = RootPart.Position
  2685. end
  2686. else
  2687. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2688. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2689. end
  2690. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2691. else
  2692. Camera.CameraSubject = Humanoid
  2693. Camera.CameraType = "Custom"
  2694. Controller.Disabled = false
  2695. end
  2696. end
  2697. end
  2698.  
  2699. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2700. local type = type
  2701. local rng = Instance.new("Part", char)
  2702. rng.Anchored = true
  2703. rng.BrickColor = color
  2704. rng.CanCollide = false
  2705. rng.FormFactor = 3
  2706. rng.Name = "Ring"
  2707. rng.Material = "Neon"
  2708. rng.Size = Vector3.new(1, 1, 1)
  2709. rng.Transparency = 0
  2710. rng.TopSurface = 0
  2711. rng.BottomSurface = 0
  2712. rng.CFrame = pos
  2713. local rngm = Instance.new("SpecialMesh", rng)
  2714. rngm.MeshType = "Sphere"
  2715.  
  2716.  
  2717. if(heart)then
  2718. rngm.MeshType = Enum.MeshType.FileMesh
  2719. rngm.MeshId = "rbxassetid://105992239"
  2720. rngm.Offset = Vector3.new(0,0,-.25)
  2721. end
  2722. rngm.Scale = scale
  2723. if rainbowmode == true and not notaffectbychaosrainbow then
  2724. rng.Color = Color3.new(r/255,g/255,b/255)
  2725. end
  2726. local scaler2 = 1
  2727. if type == "Add" then
  2728. scaler2 = 1*value
  2729. elseif type == "Divide" then
  2730. scaler2 = 1/value
  2731. end
  2732. coroutine.resume(coroutine.create(function()
  2733. for i = 0,10/bonuspeed,0.1 do
  2734. swait()
  2735. if rainbowmode == true and not notaffectbychaosrainbow then
  2736. rng.Color = Color3.new(r/255,g/255,b/255)
  2737. end
  2738. if type == "Add" then
  2739. scaler2 = scaler2 - 0.01*value/bonuspeed
  2740. elseif type == "Divide" then
  2741. scaler2 = scaler2 - 0.01/value*bonuspeed
  2742. end
  2743. if chaosmode == true and not notaffectbychaosrainbow then
  2744. rng.BrickColor = BrickColor.random()
  2745. end
  2746. if glitchymode then
  2747. local val = math.random(1,255)
  2748. local color = Color3.fromRGB(val,val,val)
  2749. rng.Color = color
  2750. end
  2751. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2752. if(invert)then
  2753. if(heart)then
  2754. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2755. else
  2756. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2757. end
  2758. else
  2759. if(heart)then
  2760. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2761. else
  2762. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2763. end
  2764. end
  2765. rng.CFrame = pos
  2766. end
  2767. rng:Destroy()
  2768. end))
  2769. end
  2770.  
  2771. function newBezier(startpos, pos2, pos3, endpos, t)
  2772. local A = clerp(startpos, pos2, t)
  2773. local B = clerp(pos2, pos3, t)
  2774. local C = clerp(pos3, endpos, t)
  2775. local lerp1 = clerp(A, B, t)
  2776. local lerp2 = clerp(B, C, t)
  2777. local cubic = clerp(lerp1, lerp2, t)
  2778. return cubic
  2779. end
  2780.  
  2781.  
  2782. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2783. local type = type
  2784. local rng = Instance.new("Part", char)
  2785. rng.Anchored = true
  2786. rng.BrickColor = color
  2787. rng.CanCollide = false
  2788. rng.FormFactor = 3
  2789. rng.Name = "Ring"
  2790. rng.Material = "Neon"
  2791. rng.Size = Vector3.new(1, 1, 1)
  2792. rng.Transparency = 0
  2793. rng.TopSurface = 0
  2794. rng.BottomSurface = 0
  2795. rng.CFrame = pos
  2796. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2797. local rngm = Instance.new("SpecialMesh", rng)
  2798. rngm.MeshType = "Brick"
  2799. if(heart)then
  2800. rngm.MeshType = Enum.MeshType.FileMesh
  2801. rngm.MeshId = "rbxassetid://105992239"
  2802. rngm.Offset = Vector3.new(0,0,-.25)
  2803. end
  2804. rngm.Scale = vt(x1,y1,z1)
  2805. if rainbowmode == true then
  2806. rng.Color = Color3.new(r/255,g/255,b/255)
  2807. end
  2808. local scaler2 = 1
  2809. local speeder = FastSpeed/10
  2810. if type == "Add" then
  2811. scaler2 = 1*value
  2812. elseif type == "Divide" then
  2813. scaler2 = 1/value
  2814. end
  2815. coroutine.resume(coroutine.create(function()
  2816. for i = 0,10/bonuspeed,0.1 do
  2817. swait()
  2818. if rainbowmode == true then
  2819. rng.Color = Color3.new(r/255,g/255,b/255)
  2820. end
  2821. if type == "Add" then
  2822. scaler2 = scaler2 - 0.01*value/bonuspeed
  2823. elseif type == "Divide" then
  2824. scaler2 = scaler2 - 0.01/value*bonuspeed
  2825. end
  2826. if chaosmode == true then
  2827. rng.BrickColor = BrickColor.random()
  2828. end
  2829. if glitchymode then
  2830. local val = math.random(1,255)
  2831. local color = Color3.fromRGB(val,val,val)
  2832. rng.Color = color
  2833. end
  2834. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2835. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2836. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2837. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2838. end
  2839. rng:Destroy()
  2840. end))
  2841. end
  2842.  
  2843.  
  2844. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2845. local type = type
  2846. local rng = Instance.new("Part", char)
  2847. rng.Anchored = true
  2848. rng.BrickColor = color
  2849. rng.CanCollide = false
  2850. rng.FormFactor = 3
  2851. rng.Name = "Ring"
  2852. rng.Material = "Neon"
  2853. rng.Size = Vector3.new(1, 1, 1)
  2854. rng.Transparency = 0
  2855. rng.TopSurface = 0
  2856. rng.BottomSurface = 0
  2857. rng.CFrame = pos
  2858. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2859. local rngm = Instance.new("SpecialMesh", rng)
  2860. rngm.MeshType = "Brick"
  2861. if(heart)then
  2862. rngm.MeshType = Enum.MeshType.FileMesh
  2863. rngm.MeshId = "rbxassetid://105992239"
  2864. rngm.Offset = Vector3.new(0,0,-.25)
  2865. end
  2866. rngm.Scale = vt(x1,y1,z1)
  2867. if rainbowmode == true then
  2868. rng.Color = Color3.new(r/255,g/255,b/255)
  2869. end
  2870. local scaler2 = 0
  2871. local speeder = FastSpeed/10
  2872. if type == "Add" then
  2873. scaler2 = 1*value
  2874. elseif type == "Divide" then
  2875. scaler2 = 1/value
  2876. end
  2877. coroutine.resume(coroutine.create(function()
  2878. for i = 0,10/bonuspeed,0.1 do
  2879. swait()
  2880. if rainbowmode == true then
  2881. rng.Color = Color3.new(r/255,g/255,b/255)
  2882. end
  2883. if type == "Add" then
  2884. scaler2 = scaler2 - 0.01*value/bonuspeed
  2885. elseif type == "Divide" then
  2886. scaler2 = scaler2 - 0.01/value*bonuspeed
  2887. end
  2888. if chaosmode == true then
  2889. rng.BrickColor = BrickColor.random()
  2890. end
  2891. if glitchymode then
  2892. local val = math.random(1,255)
  2893. local color = Color3.fromRGB(val,val,val)
  2894. rng.Color = color
  2895. end
  2896. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2897. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2898. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  2899. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2900. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2901. end
  2902. rng:Destroy()
  2903. end))
  2904. end
  2905.  
  2906. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2907. local type = type
  2908. local rng = Instance.new("Part", char)
  2909. rng.Anchored = true
  2910. rng.BrickColor = color
  2911. rng.CanCollide = false
  2912. rng.FormFactor = 3
  2913. rng.Name = "Ring"
  2914. rng.Material = "Neon"
  2915. rng.Size = Vector3.new(1, 1, 1)
  2916. rng.Transparency = 0
  2917. rng.TopSurface = 0
  2918. rng.BottomSurface = 0
  2919. rng.CFrame = pos
  2920. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2921. local rngm = Instance.new("SpecialMesh", rng)
  2922. rngm.MeshType = "Sphere"
  2923. rngm.Scale = vt(x1,y1,z1)
  2924. if rainbowmode == true then
  2925. rng.Color = Color3.new(r/255,g/255,b/255)
  2926. end
  2927. local scaler2 = 1
  2928. local speeder = FastSpeed
  2929. if type == "Add" then
  2930. scaler2 = 1*value
  2931. elseif type == "Divide" then
  2932. scaler2 = 1/value
  2933. end
  2934. coroutine.resume(coroutine.create(function()
  2935. for i = 0,10/bonuspeed,0.1 do
  2936. swait()
  2937. if rainbowmode == true then
  2938. rng.Color = Color3.new(r/255,g/255,b/255)
  2939. end
  2940. if type == "Add" then
  2941. scaler2 = scaler2 - 0.01*value/bonuspeed
  2942. elseif type == "Divide" then
  2943. scaler2 = scaler2 - 0.01/value*bonuspeed
  2944. end
  2945. if chaosmode == true then
  2946. rng.BrickColor = BrickColor.random()
  2947. end
  2948. if glitchymode then
  2949. local val = math.random(1,255)
  2950. local color = Color3.fromRGB(val,val,val)
  2951. rng.Color = color
  2952. end
  2953. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2954. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2955. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2956. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2957. end
  2958. rng:Destroy()
  2959. end))
  2960. end
  2961.  
  2962.  
  2963. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2964. local type = type
  2965. local rng = Instance.new("Part", char)
  2966. rng.Anchored = true
  2967. rng.BrickColor = color
  2968. rng.CanCollide = false
  2969. rng.FormFactor = 3
  2970. rng.Name = "Ring"
  2971. rng.Material = "Neon"
  2972. rng.Size = Vector3.new(1, 1, 1)
  2973. rng.Transparency = 1
  2974. rng.TopSurface = 0
  2975. rng.BottomSurface = 0
  2976. rng.CFrame = pos
  2977. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2978. local rngm = Instance.new("SpecialMesh", rng)
  2979. rngm.MeshType = "Sphere"
  2980. rngm.Scale = vt(x1,y1,z1)
  2981. if rainbowmode == true then
  2982. rng.Color = Color3.new(r/255,g/255,b/255)
  2983. end
  2984. local scaler2 = 1
  2985. local speeder = FastSpeed
  2986. if type == "Add" then
  2987. scaler2 = 1*value
  2988. elseif type == "Divide" then
  2989. scaler2 = 1/value
  2990. end
  2991. coroutine.resume(coroutine.create(function()
  2992. for i = 0,10/bonuspeed,0.1 do
  2993. swait()
  2994. if rainbowmode == true then
  2995. rng.Color = Color3.new(r/255,g/255,b/255)
  2996. end
  2997. if type == "Add" then
  2998. scaler2 = scaler2 - 0.01*value/bonuspeed
  2999. elseif type == "Divide" then
  3000. scaler2 = scaler2 - 0.01/value*bonuspeed
  3001. end
  3002. if chaosmode == true then
  3003. rng.BrickColor = BrickColor.random()
  3004. end
  3005. if glitchymode then
  3006. local val = math.random(1,255)
  3007. local color = Color3.fromRGB(val,val,val)
  3008. rng.Color = color
  3009. end
  3010. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3011. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3012. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3013. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3014. end
  3015. rng:Destroy()
  3016. end))
  3017. end
  3018.  
  3019. function dmg(dude)
  3020. if dude.Name ~= Character then
  3021. local bgf = Instance.new("BodyGyro",dude.Head)
  3022. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3023. local val = Instance.new("BoolValue",dude)
  3024. val.Name = "IsHit"
  3025. local ds = coroutine.wrap(function()
  3026. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3027. for i = 1, 10 do
  3028. sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
  3029. end
  3030. dude:WaitForChild("Head"):BreakJoints()
  3031. wait(0.5)
  3032. targetted = nil
  3033. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3034.  
  3035. coroutine.resume(coroutine.create(function()
  3036. for i, v in pairs(dude:GetChildren()) do
  3037. if v:IsA("Accessory") then
  3038. v:Destroy()
  3039. end
  3040. if v:IsA("Humanoid") then
  3041. v:Destroy()
  3042. end
  3043. if v:IsA("CharacterMesh") then
  3044. v:Destroy()
  3045. end
  3046. if v:IsA("Model") then
  3047. v:Destroy()
  3048. end
  3049. if v:IsA("Part") or v:IsA("MeshPart") then
  3050. for x, o in pairs(v:GetChildren()) do
  3051. if o:IsA("Decal") then
  3052. o:Destroy()
  3053. end
  3054. end
  3055. coroutine.resume(coroutine.create(function()
  3056. v.Material = "Neon"
  3057. v.CanCollide = false
  3058. local bld = Instance.new("ParticleEmitter",v)
  3059. bld.LightEmission = 1
  3060. bld.Texture = "rbxassetid://284205403"
  3061. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3062. bld.Rate = 50
  3063. bld.Lifetime = NumberRange.new(1)
  3064. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3065. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3066. bld.Speed = NumberRange.new(0,0)
  3067. bld.VelocitySpread = 50000
  3068. bld.Rotation = NumberRange.new(-500,500)
  3069. bld.RotSpeed = NumberRange.new(-500,500)
  3070. local sbs = Instance.new("BodyPosition", v)
  3071. sbs.P = 3000
  3072. sbs.D = 1000
  3073. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3074. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3075. v.Color = Color3.new(1,1,1)
  3076. coroutine.resume(coroutine.create(function()
  3077. for i = 0, 49 do
  3078. swait(1)
  3079. v.Transparency = v.Transparency + 0.02
  3080. end
  3081. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3082. bld.Speed = NumberRange.new(1,5)
  3083. bld.Acceleration = vt(0,10,0)
  3084. wait(0.5)
  3085. bld.Enabled = false
  3086. wait(3)
  3087. v:Destroy()
  3088. dude:Destroy()
  3089. end))
  3090. end))
  3091. end
  3092. end
  3093. end))
  3094. end)
  3095. ds()
  3096. end
  3097. end
  3098.  
  3099.  
  3100. function FindNearestHead(Position, Distance, SinglePlayer)
  3101. if SinglePlayer then
  3102. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3103. end
  3104. local List = {}
  3105. for i, v in pairs(workspace:GetChildren()) do
  3106. if v:IsA("Model") then
  3107. if v:findFirstChild("Head") then
  3108. if v ~= Character then
  3109. if (v.Head.Position - Position).magnitude <= Distance then
  3110. table.insert(List, v)
  3111. end
  3112. end
  3113. end
  3114. end
  3115. end
  3116. return List
  3117. end
  3118.  
  3119. function FaceMouse()
  3120. Cam = workspace.CurrentCamera
  3121. return {
  3122. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3123. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3124. }
  3125. end
  3126.  
  3127. function FaceMouse2()
  3128. Cam = workspace.CurrentCamera
  3129. return {
  3130. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3131. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3132. }
  3133. end
  3134.  
  3135. local ModeOfGlitch = 1
  3136. -- Functions are ready.
  3137. local storehumanoidWS = 16
  3138.  
  3139. function CorruptBlink()
  3140. for i = 0, 14 do
  3141. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3142. end
  3143. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3144. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3145. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3146. CameraEnshaking(2,10)
  3147. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3148. if v:FindFirstChild('Head') then
  3149. dmg(v)
  3150. end
  3151. end end
  3152. for i = 0, 14 do
  3153. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3154. end
  3155. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3156. end
  3157.  
  3158. function ExtinctiveHeartbreak()
  3159. local targetted = nil
  3160. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3161. targetted = mouse.Target.Parent
  3162. end
  3163. if targetted ~= nil then
  3164. attack = true
  3165. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3166. for i = 0, 9 do
  3167. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3168. end
  3169. for i = 0, 24 do
  3170. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3171. end
  3172. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3173. local originalpos = root.CFrame
  3174. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3175. for i = 0, 9 do
  3176. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3177. end
  3178. for i = 0, 24 do
  3179. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3180. end
  3181. hum.WalkSpeed = 0
  3182. targetted.Head.Anchored = true
  3183. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3184. for i = 0,2,0.1 do
  3185. swait()
  3186. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  3187. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  3188. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  3189. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3190. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  3191. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  3192. end
  3193. coroutine.resume(coroutine.create(function()
  3194. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3195. bld.LightEmission = 0.1
  3196. bld.Texture = "rbxassetid://284205403"
  3197. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3198. bld.Rate = 500
  3199. bld.Lifetime = NumberRange.new(1)
  3200. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3201. bld.Acceleration = vt(0,-25,0)
  3202. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3203. bld.Speed = NumberRange.new(10,50)
  3204. bld.EmissionDirection = "Front"
  3205. bld.VelocitySpread = 25
  3206. bld.Rotation = NumberRange.new(-500,500)
  3207. bld.RotSpeed = NumberRange.new(-500,500)
  3208. end))
  3209. coroutine.resume(coroutine.create(function()
  3210. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3211. bld.LightEmission = 0.1
  3212. bld.Texture = "rbxassetid://284205403"
  3213. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3214. bld.Rate = 500
  3215. bld.Lifetime = NumberRange.new(1)
  3216. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3217. bld.Acceleration = vt(0,-25,0)
  3218. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3219. bld.Speed = NumberRange.new(10,50)
  3220. bld.EmissionDirection = "Front"
  3221. bld.VelocitySpread = 25
  3222. bld.Rotation = NumberRange.new(-500,500)
  3223. bld.RotSpeed = NumberRange.new(-500,500)
  3224. end))
  3225. CameraEnshaking(5,5)
  3226. game:GetService("Debris"):AddItem(bld,3)
  3227. dmg(targetted)
  3228. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3229. for i = 0,1,0.1 do
  3230. swait()
  3231. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  3232. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  3233. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  3234. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3235. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3236. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  3237. end
  3238. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3239. for i = 0, 9 do
  3240. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3241. end
  3242. for i = 0, 24 do
  3243. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3244. end
  3245. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3246. root.CFrame = originalpos
  3247. for i = 0, 9 do
  3248. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really black"),0)
  3249. end
  3250. for i = 0, 24 do
  3251. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3252. end
  3253. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3254. bld.Enabled = false
  3255. attack = false
  3256. hum.WalkSpeed = storehumanoidWS
  3257. end
  3258. end
  3259. function PureBomb()
  3260. attack = true
  3261.  
  3262. local orb = Instance.new("Part", char)
  3263. orb.Anchored = true
  3264. orb.BrickColor = BrickColor.new("Toothpaste")
  3265. orb.CanCollide = false
  3266. orb.FormFactor = 3
  3267. orb.Name = "Ring"
  3268. orb.Material = "Neon"
  3269. orb.Size = Vector3.new(1, 1, 1)
  3270. orb.Transparency = 0
  3271. orb.TopSurface = 0
  3272. orb.BottomSurface = 0
  3273. local orbm = Instance.new("SpecialMesh", orb)
  3274. orbm.MeshType = "Sphere"
  3275. orbm.Name = "SizeMesh"
  3276. orbm.Scale = vt(0,0,0)
  3277. local scaled = 0.1
  3278. local posid = 0
  3279. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3280. for i = 0, 5, 0.1 do
  3281. swait()
  3282. scaled = scaled - 0.001
  3283. posid = posid - scaled
  3284. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3285. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3286. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  3287. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3288. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3289. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3290. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3291. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3292. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3293. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3294. end
  3295. for i = 0, 2, 0.1 do
  3296. swait()
  3297. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3298. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3299. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3300. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3301. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3302. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3303. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3304. end
  3305. coroutine.resume(coroutine.create(function()
  3306. orb.Anchored = false
  3307. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3308. local a = Instance.new("Part",workspace)
  3309. a.Name = "Direction"
  3310. a.Anchored = true
  3311. a.BrickColor = bc("Bright red")
  3312. a.Material = "Neon"
  3313. a.Transparency = 1
  3314. a.CanCollide = false
  3315. local ray = Ray.new(
  3316. orb.CFrame.p, -- origin
  3317. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3318. )
  3319. local ignore = orb
  3320. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3321. a.BottomSurface = 10
  3322. a.TopSurface = 10
  3323. local distance = (orb.CFrame.p - position).magnitude
  3324. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3325. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3326. orb.CFrame = a.CFrame
  3327. a:Destroy()
  3328. local bv = Instance.new("BodyVelocity")
  3329. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3330. bv.velocity = orb.CFrame.lookVector*125
  3331. bv.Parent = orb
  3332. local hitted = false
  3333. game:GetService("Debris"):AddItem(orb, 15)
  3334. wait()
  3335. local hit =orb.Touched:connect(function(hit)
  3336. if hitted == false then
  3337. hitted = true
  3338. CameraEnshaking(10,2.5)
  3339. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3340. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3341. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3342. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3343. for i = 0, 49 do
  3344. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  3345. end
  3346. for i = 0, 9 do
  3347. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3348. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3349. end
  3350. orb.Anchored = true
  3351. orb.Transparency = 1
  3352. wait(8)
  3353. orb:Destroy()
  3354. end
  3355. end)
  3356. end))
  3357. for i = 0, 1, 0.1 do
  3358. swait()
  3359. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3360. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3361. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3362. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3363. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3364. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3365. end
  3366. attack = false
  3367. end
  3368.  
  3369. function ChaosGroundStrike()
  3370. attack = true
  3371. for i = 0, 2, 0.1 do
  3372. swait()
  3373. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3374. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3375. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3376. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3377. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3378. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3379. end
  3380. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3381. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3382. CameraEnshaking(4,12)
  3383. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3384. if v:FindFirstChild('Head') then
  3385. dmg(v)
  3386. end
  3387. end
  3388. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3389. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3390. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3391. for i = 0, 2, 0.1 do
  3392. swait()
  3393. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3394. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3395. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3396. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3397. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3398. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3399. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3400. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3401. end
  3402. attack = false
  3403. end
  3404.  
  3405. function InsaneGroundStrike()
  3406. attack = true
  3407. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3408. for i = 0, 8, 0.1 do
  3409. swait()
  3410. PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3411.  
  3412. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3413. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3414. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3415. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3416. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3417. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3418. end
  3419. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3420. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3421. CameraEnshaking(8,24)
  3422. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3423. if v:FindFirstChild('Head') then
  3424. dmg(v)
  3425. end
  3426. end
  3427. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3428. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3429. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3430. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3431. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3432. for i = 0, 2, 0.1 do
  3433. swait()
  3434. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3435. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3436. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3437. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3438. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3439. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3440. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3441. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3442. end
  3443. attack = false
  3444. end
  3445.  
  3446. function Starfall()
  3447. attack = true
  3448. hum.WalkSpeed = 0
  3449. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3450. for i = 0, 5, 0.1 do
  3451. swait()
  3452. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3453. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3454. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3455. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3456. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3457. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3458. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3459. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3460. end
  3461. local Overed = false
  3462. CameraEnshaking(2,20)
  3463. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3464. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3465. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3466. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3467. local orb = Instance.new("Part", char)
  3468. orb.Anchored = true
  3469. orb.BrickColor = BrickColor.new("Toothpaste")
  3470. orb.CanCollide = false
  3471. orb.FormFactor = 3
  3472. orb.Name = "Remenant"
  3473. orb.Material = "Neon"
  3474. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3475. orb.Size = Vector3.new(1, 1, 1)
  3476. orb.Transparency = 1
  3477. orb.TopSurface = 0
  3478. orb.BottomSurface = 0
  3479. hum.WalkSpeed = storehumanoidWS
  3480. coroutine.resume(coroutine.create(function()
  3481. for i = 0, 9 do
  3482. swait(10)
  3483. local lb = Instance.new("Part")
  3484. lb.Color = MAINRUINCOLOR.Color
  3485. lb.CanCollide = false
  3486. lb.Material = "Neon"
  3487. lb.Anchored = true
  3488. lb.TopSurface = 0
  3489. lb.BottomSurface = 0
  3490. lb.Transparency = 0
  3491. lb.Size = vt(1,1,1)
  3492. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3493. lb.Anchored = false
  3494. lb.Parent = char
  3495. local thingery = Instance.new("SpecialMesh",lb)
  3496. thingery.MeshType = "Sphere"
  3497. thingery.Scale = vt(20,20,20)
  3498. game:GetService("Debris"):AddItem(lb, 10)
  3499. local bv = Instance.new("BodyVelocity")
  3500. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3501. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3502. bv.Parent = lb
  3503. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3504. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3505. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3506. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3507. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3508. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3509. local hitted = false
  3510. coroutine.resume(coroutine.create(function()
  3511. while true do
  3512. swait(1)
  3513. if lb.Parent ~= nil and hitted == false then
  3514. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3515. elseif lb.Parent == nil then
  3516. break
  3517. end
  3518. end
  3519. end))
  3520.  
  3521. game:GetService("Debris"):AddItem(a, 0.1)
  3522.  
  3523. coroutine.resume(coroutine.create(function()
  3524. swait(1)
  3525. lb.Touched:connect(function(hit)
  3526. if hitted == false then
  3527. hitted = true
  3528. lb.Transparency = 1
  3529. lb.Anchored = true
  3530. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3531. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3532. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3533. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3534. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3535. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3536. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3537. CameraEnshaking(1,5)
  3538. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3539. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3540. for i = 0, 9 do
  3541. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3542. end
  3543. for i = 0, 49 do
  3544. swait()
  3545. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3546. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3547. end
  3548. end
  3549. end)
  3550. end))
  3551. end
  3552. Overed = true
  3553. orb:Destroy()
  3554. end))
  3555.  
  3556. attack = false
  3557. end
  3558.  
  3559. function StarfallEX()
  3560. attack = true
  3561. hum.WalkSpeed = 0
  3562. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3563. for i = 0, 5, 0.1 do
  3564. swait()
  3565. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3566. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3567. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3568. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3569. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3570. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3571. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3572. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3573. end
  3574. local Overed = false
  3575. CameraEnshaking(2,20)
  3576. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3577. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3578. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3579. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3580. local orb = Instance.new("Part", char)
  3581. orb.Anchored = true
  3582. orb.BrickColor = BrickColor.new("Toothpaste")
  3583. orb.CanCollide = false
  3584. orb.FormFactor = 3
  3585. orb.Name = "Remenant"
  3586. orb.Material = "Neon"
  3587. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3588. orb.Size = Vector3.new(1, 1, 1)
  3589. orb.Transparency = 1
  3590. orb.TopSurface = 0
  3591. orb.BottomSurface = 0
  3592. hum.WalkSpeed = storehumanoidWS
  3593. coroutine.resume(coroutine.create(function()
  3594. for i = 1, 5 do
  3595. swait(10)
  3596. local lb = Instance.new("Part")
  3597. lb.Color = MAINRUINCOLOR.Color
  3598. lb.CanCollide = false
  3599. lb.Material = "Neon"
  3600. lb.Anchored = true
  3601. lb.TopSurface = 0
  3602. lb.BottomSurface = 0
  3603. lb.Transparency = 0
  3604. lb.Size = vt(1,1,1)
  3605. lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3606. lb.Anchored = false
  3607. lb.Parent = char
  3608. local thingery = Instance.new("SpecialMesh",lb)
  3609. thingery.MeshType = "Sphere"
  3610. thingery.Scale = vt(20,20,20)
  3611. game:GetService("Debris"):AddItem(lb, 10)
  3612. local bv = Instance.new("BodyVelocity")
  3613. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3614. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3615. bv.Parent = lb
  3616. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3617. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3618. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3619. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3620. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3621. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3622. local hitted = false
  3623. coroutine.resume(coroutine.create(function()
  3624. while true do
  3625. swait(1)
  3626. if lb.Parent ~= nil and hitted == false then
  3627. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3628. elseif lb.Parent == nil then
  3629. break
  3630. end
  3631. end
  3632. end))
  3633.  
  3634. game:GetService("Debris"):AddItem(a, 0.1)
  3635.  
  3636. coroutine.resume(coroutine.create(function()
  3637. swait(5)
  3638. lb.Touched:connect(function(hit)
  3639. if hitted == false and not hit:IsDescendantOf(Character) then
  3640. hitted = true
  3641. lb.Transparency = 1
  3642. lb.Anchored = true
  3643. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3644. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3645. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3646. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3647. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3648. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3649. MagniDamage(lb, 45, 90,170, 0, "Normal")
  3650. CameraEnshaking(1,5)
  3651. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3652. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3653. for i = 0, 9 do
  3654. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3655. end
  3656. for i = 0, 49 do
  3657. swait()
  3658. MagniDamage(lb, 60, 20,40, 0, "Normal")
  3659. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3660. end
  3661. end
  3662. end)
  3663. end))
  3664. end
  3665. Overed = true
  3666. orb:Destroy()
  3667. end))
  3668.  
  3669. attack = false
  3670. end
  3671.  
  3672.  
  3673. function StarDivision()
  3674. attack = true
  3675. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  3676. for i = 0, 2, 0.1 do
  3677. swait()
  3678. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3679. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  3680. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
  3681. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  3682. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  3683. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  3684. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  3685. end
  3686. local orb = Instance.new("Part", char)
  3687. orb.BrickColor = MAINRUINCOLOR
  3688. orb.CanCollide = false
  3689. orb.FormFactor = 3
  3690. orb.Name = "Ring"
  3691. orb.Material = "Neon"
  3692. orb.Size = Vector3.new(1, 1, 1)
  3693. orb.Transparency = 0
  3694. orb.TopSurface = 0
  3695. orb.BottomSurface = 0
  3696. local orbm = Instance.new("SpecialMesh", orb)
  3697. orbm.MeshType = "Sphere"
  3698. orbm.Name = "SizeMesh"
  3699. orbm.Scale = vt(2,2,2)
  3700. local a = Instance.new("Part",workspace)
  3701. a.Name = "Direction"
  3702. a.Anchored = true
  3703. a.BrickColor = bc("Bright red")
  3704. a.Material = "Neon"
  3705. a.Transparency = 1
  3706. a.CanCollide = false
  3707. local ray = Ray.new(
  3708. sorb.CFrame.p, -- origin
  3709. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  3710. )
  3711. local ignore = sorb
  3712. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3713. a.BottomSurface = 10
  3714. a.TopSurface = 10
  3715. local distance = (sorb.CFrame.p - position).magnitude
  3716. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3717. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3718. orb.CFrame = a.CFrame
  3719. a:Destroy()
  3720. local bv = Instance.new("BodyVelocity")
  3721. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3722. bv.velocity = orb.CFrame.lookVector*100
  3723. bv.Parent = orb
  3724. local hitted = false
  3725. game:GetService("Debris"):AddItem(orb, 10)
  3726. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  3727. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  3728. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  3729. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  3730. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  3731. coroutine.resume(coroutine.create(function()
  3732. while true do
  3733. swait(1)
  3734. if orb.Parent ~= nil and hitted == false then
  3735. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  3736. elseif orb.Parent == nil then
  3737. break
  3738. end
  3739. end
  3740. end))
  3741. coroutine.resume(coroutine.create(function()
  3742. swait(1)
  3743. orb.Touched:connect(function(hit)
  3744. if hitted == false then
  3745. hitted = true
  3746. game:GetService("Debris"):AddItem(orb, 5)
  3747. orb.Transparency = 1
  3748. orb.Anchored = true
  3749. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3750. elocacenter.Anchored = true
  3751. elocacenter.CFrame = orb.CFrame
  3752. elocacenter.Orientation = vt(0,0,0)
  3753. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3754. eloca1.Anchored = true
  3755. eloca1.CFrame = elocacenter.CFrame
  3756. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3757. eloca2.Anchored = true
  3758. eloca2.CFrame = elocacenter.CFrame
  3759. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3760. eloca3.Anchored = true
  3761. eloca3.CFrame = elocacenter.CFrame
  3762. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3763. eloca4.Anchored = true
  3764. eloca4.CFrame = elocacenter.CFrame
  3765. local lookavec = 0
  3766. local speeds = 0
  3767. CameraEnshaking(1,1)
  3768. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  3769. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3770. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3771. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3772. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3773. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3774. for i = 0, 99 do
  3775. swait()
  3776. lookavec = lookavec + 1
  3777. speeds = speeds + 0.1
  3778. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3779. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3780. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3781.  
  3782. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3783. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3784.  
  3785. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3786. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3787.  
  3788. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3789. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3790. end
  3791.  
  3792. for i = 0, 149 do
  3793. swait()
  3794. speeds = speeds + 0.1
  3795. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3796. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3797. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3798.  
  3799. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3800. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3801.  
  3802. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3803. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3804.  
  3805. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3806. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3807. end
  3808. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  3809. if v:FindFirstChild('Head') then
  3810. dmg(v)
  3811. end
  3812. end
  3813. CameraEnshaking(7,30)
  3814. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  3815. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  3816. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  3817. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  3818. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  3819. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  3820. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  3821. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3822. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3823. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3824. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3825. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  3826. for i = 0, 24 do
  3827. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  3828. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  3829. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  3830. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  3831. end
  3832. coroutine.resume(coroutine.create(function()
  3833. for i = 0, 499 do
  3834. swait(1)
  3835. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  3836. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  3837. end
  3838. elocacenter:Destroy()
  3839. eloca1:Destroy()
  3840. eloca2:Destroy()
  3841. eloca3:Destroy()
  3842. eloca4:Destroy()
  3843. end))
  3844. end
  3845. end)
  3846. end))
  3847. attack = false
  3848. end
  3849.  
  3850.  
  3851. function UniversalCollapse()
  3852. attack = true
  3853. local speedearn = 0
  3854. hum.WalkSpeed = 0
  3855. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  3856. for i = 0, 10, 0.1 do
  3857. swait()
  3858. speedearn = speedearn + 0.1
  3859. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3860. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3861. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3862. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3863. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3864. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  3865. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  3866. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3867. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  3868. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  3869. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  3870. end
  3871. CameraEnshaking(5,45)
  3872. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  3873. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  3874. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3875. if v:FindFirstChild('Head') then
  3876. dmg(v)
  3877. end
  3878. end
  3879. hum.WalkSpeed = storehumanoidWS
  3880. attack = false
  3881. end
  3882. function ChaosBegone()
  3883. attack = true
  3884. local speedearn = 0
  3885. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  3886. for i = 0, 10, 0.1 do
  3887. swait()
  3888. speedearn = speedearn + 0.1
  3889. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3890. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3891. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3892. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3893. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  3894. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3895. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3896. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3897. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3898. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3899. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3900. end
  3901. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  3902. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  3903. CameraEnshaking(5,25)
  3904. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  3905. if v:FindFirstChild('Head') then
  3906. dmg(v)
  3907. end
  3908. end
  3909. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  3910. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  3911. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  3912. for i = 0, 3, 0.1 do
  3913. swait()
  3914. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3915. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3916. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3917. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3918. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3919. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3920. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3921. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3922. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3923. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3924. end
  3925. attack = false
  3926. end
  3927.  
  3928. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  3929. local orb = Instance.new("Part", char)
  3930. orb.Anchored = true
  3931. orb.BrickColor = color
  3932. orb.CanCollide = false
  3933. orb.FormFactor = 3
  3934. orb.Name = "Ring"
  3935. orb.Material = "Neon"
  3936. orb.Size = Vector3.new(1, 1, 1)
  3937. orb.Transparency = 0
  3938. orb.TopSurface = 0
  3939. orb.BottomSurface = 0
  3940. local orbm = Instance.new("SpecialMesh", orb)
  3941. orbm.MeshType = "Sphere"
  3942. orb.CFrame = positted
  3943. orbm.Name = "SizeMesh"
  3944. orbm.Scale = vt(1,1,1)
  3945. coroutine.wrap(function()
  3946. while orb and orb.Parent do
  3947. if glitchymode then
  3948. local val = math.random(1,255)
  3949. local color = Color3.fromRGB(val,val,val)
  3950. orb.Color = color
  3951. end
  3952. swait()
  3953. end
  3954. end)()
  3955. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  3956. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  3957. --[[for i = 0, 2 do
  3958. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  3959. end]]--
  3960. coroutine.resume(coroutine.create(function()
  3961. wait(timer)
  3962. CameraEnshaking(3,ShakePower)
  3963. orb.Transparency = 1
  3964. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  3965. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  3966. --[[for i = 0, 4 do
  3967. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  3968. end]]--
  3969. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  3970. wait(3)
  3971. orb:Destroy()
  3972. end))
  3973. end
  3974.  
  3975. function orb_spawn(positted,timer)
  3976. local orb = Instance.new("Part", char)
  3977. orb.Anchored = true
  3978. orb.BrickColor = BrickColor.new("White")
  3979.  
  3980. orb.CanCollide = false
  3981. orb.FormFactor = 3
  3982. orb.Name = "Ring"
  3983. orb.Material = "Neon"
  3984. orb.Size = Vector3.new(1, 1, 1)
  3985. orb.Transparency = 0
  3986. orb.TopSurface = 0
  3987. orb.BottomSurface = 0
  3988. local orbm = Instance.new("SpecialMesh", orb)
  3989. orbm.MeshType = "Sphere"
  3990. orb.CFrame = positted
  3991. orbm.Name = "SizeMesh"
  3992. orbm.Scale = vt(1,1,1)
  3993. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  3994. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  3995. coroutine.wrap(function()
  3996. while orb and orb.Parent do
  3997. if glitchymode then
  3998. local val = math.random(1,255)
  3999. local color = Color3.fromRGB(val,val,val)
  4000. orb.Color = color
  4001. end
  4002. swait()
  4003. end
  4004. end)()
  4005. for i = 0, 2 do
  4006. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4007. end
  4008.  
  4009. coroutine.resume(coroutine.create(function()
  4010. wait(timer)
  4011. CameraEnshaking(3,2)
  4012. orb.Transparency = 1
  4013. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4014. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4015. for i = 0, 4 do
  4016. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4017. end
  4018. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4019. wait(3)
  4020. orb:Destroy()
  4021. end))
  4022. end
  4023.  
  4024. function scattercorrupt()
  4025. attack = true
  4026. local rot = 0
  4027. local randomrotations = math.random(1,2)
  4028. local lookv = 2.5
  4029. local power = 5
  4030. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4031. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4032. for i = 0, 9 do
  4033. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  4034. end
  4035. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4036. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4037. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4038. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4039. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4040. local hite = Instance.new("Part", char)
  4041. hite.Anchored = true
  4042. hite.CanCollide = false
  4043. hite.FormFactor = 3
  4044. hite.Name = "Ring"
  4045. hite.Material = "Neon"
  4046. hite.Size = Vector3.new(1, 1, 1)
  4047. hite.Transparency = 1
  4048. hite.TopSurface = 0
  4049. hite.BottomSurface = 0
  4050. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4051. local rem = Instance.new("Part", char)
  4052. rem.Anchored = true
  4053. rem.CanCollide = false
  4054. rem.FormFactor = 3
  4055. rem.Name = "Ring"
  4056. rem.Material = "Neon"
  4057. rem.Size = Vector3.new(1, 1, 1)
  4058. rem.Transparency = 1
  4059. rem.TopSurface = 0
  4060. rem.BottomSurface = 0
  4061. rem.CFrame = hite.CFrame
  4062. local rem2 = rem:Clone()
  4063. rem2.Parent = char
  4064. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4065. local rem3 = rem:Clone()
  4066. rem3.Parent = char
  4067. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4068. local rem4 = rem:Clone()
  4069. rem4.Parent = char
  4070. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4071. hite:Destroy()
  4072. coroutine.resume(coroutine.create(function()
  4073. for i = 0, 24 do
  4074. swait(1)
  4075. if randomrotations == 1 then
  4076. rot = rot + 1
  4077. elseif randomrotations == 2 then
  4078. rot = rot - 1
  4079. end
  4080. power = power + 0.5
  4081. lookv = lookv + 7.5
  4082. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4083. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4084. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4085. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4086. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4087. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4088. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4089. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4090. end
  4091. end))
  4092. attack = false
  4093. end
  4094. function yinyangi()
  4095. attack = true
  4096. for i = 0, 2, 0.1 do
  4097. swait()
  4098. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  4099. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  4100. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  4101. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4102. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4103. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4104. end
  4105. local bv = Instance.new("BodyVelocity")
  4106. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4107. bv.velocity = root.CFrame.lookVector*175
  4108. bv.Parent = root
  4109. for Rotations = 0, 9 do
  4110.  
  4111. for i = 0, 1, 0.5 do
  4112. swait()
  4113. bv.velocity = root.CFrame.lookVector*175
  4114. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4115. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4116. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  4117. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4118. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4119. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4120. end
  4121.  
  4122. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4123. for i = 0, 1, 0.5 do
  4124. swait()
  4125. bv.velocity = root.CFrame.lookVector*175
  4126. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4127. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4128. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  4129. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4130. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4131. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4132. end
  4133.  
  4134. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4135. for i = 0, 1, 0.5 do
  4136. swait()
  4137. bv.velocity = root.CFrame.lookVector*175
  4138. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4139. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4140. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  4141. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4142. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4143. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4144. end
  4145.  
  4146. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4147. for i = 0, 1, 0.5 do
  4148. swait()
  4149. bv.velocity = root.CFrame.lookVector*175
  4150. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4151. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4152. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  4153. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4154. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4155. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4156. end
  4157.  
  4158. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4159. end
  4160. bv:Destroy()
  4161. attack = false
  4162. end
  4163.  
  4164. function JusticeBeam()
  4165. attack = true
  4166.  
  4167. local rngb = Instance.new("Part", char)
  4168. rngb.Anchored = true
  4169. rngb.BrickColor = origcolor
  4170. rngb.CanCollide = false
  4171. rngb.FormFactor = 3
  4172. rngb.Name = "Ring"
  4173. rngb.Material = "Neon"
  4174. rngb.Size = Vector3.new(1, 0.05, 1)
  4175. rngb.Transparency = 1
  4176. rngb.TopSurface = 0
  4177. rngb.BottomSurface = 0
  4178. local rngmb = Instance.new("SpecialMesh", rngb)
  4179. rngmb.MeshType = "Brick"
  4180. rngmb.Name = "SizeMesh"
  4181. rngmb.Scale = vt(0,1,0)
  4182.  
  4183. local orb = rngb:Clone()
  4184. orb.Parent = char
  4185. orb.Transparency = 0
  4186. orb.BrickColor = BrickColor.new("White")
  4187. orb.Size = vt(1,1,1)
  4188. local orbmish = orb.SizeMesh
  4189. orbmish.Scale = vt(0,0,0)
  4190. orbmish.MeshType = "Sphere"
  4191.  
  4192. local orbe = rngb:Clone()
  4193. orbe.Parent = char
  4194. orbe.Transparency = 0.5
  4195. orbe.BrickColor = BrickColor.new("New Yeller")
  4196. orbe.Size = vt(1,1,1)
  4197. local orbmish2 = orbe.SizeMesh
  4198. orbmish2.Scale = vt(0,0,0)
  4199. orbmish2.MeshType = "Sphere"
  4200. orbe.Color = Color3.new(1,1,1)
  4201.  
  4202. rngb:Destroy()
  4203. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4204. local scaled = 1
  4205. for i = 0,5,0.1 do
  4206. swait()
  4207. scaled = scaled - 0.02
  4208. if rainbowmode == true then
  4209. orbe.Color = Color3.new(r/255,g/255,b/255)
  4210. end
  4211. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4212. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4213. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4214. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4215. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4216. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4217. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4218. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4219. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4220. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4221. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4222. RootPart.CFrame = FaceMouse()[1]
  4223. end]]--
  4224. for i = 0,5,0.1 do
  4225. swait()
  4226. if rainbowmode == true then
  4227. orbe.Color = Color3.new(r/255,g/255,b/255)
  4228. end
  4229. if glitchymode then
  4230. local val = math.random(1,255)
  4231. local color = Color3.fromRGB(val,val,val)
  4232. orbe.Color = color
  4233. end
  4234. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4235. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4236. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4237. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4238. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4239. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4240. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4241. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4242. end
  4243. orbe.Transparency = 1
  4244. orb.Transparency = 1
  4245. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4246. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4247. local a2 = Instance.new("Part",Character)
  4248. a2.Name = "Direction"
  4249. a2.Anchored = true
  4250. a2.BrickColor = bc("New Yeller")
  4251. a2.Color = Color3.new(1,1,1)
  4252. a2.Material = "Neon"
  4253. a2.Transparency = 0.5
  4254. a2.Shape = "Cylinder"
  4255. a2.CanCollide = false
  4256. local ba = Instance.new("Part",Character)
  4257. ba.Name = "HitDirect"
  4258. ba.Anchored = true
  4259. ba.BrickColor = bc("Cool yellow")
  4260. ba.Material = "Neon"
  4261. ba.Transparency = 1
  4262. ba.CanCollide = false
  4263. local ray = Ray.new(
  4264. orb.CFrame.p, -- origin
  4265. root.CFrame.lookVector.unit * 1000 -- direction
  4266. )
  4267. local ignore = Character
  4268. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4269. a2.Transparency = .75
  4270. a2.BottomSurface = 10
  4271. a2.TopSurface = 10
  4272. local distance = (orb.CFrame.p - position).magnitude
  4273. a2.Size = Vector3.new(distance, 1, 1)
  4274. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4275. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4276. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4277. game:GetService("Debris"):AddItem(a2, 20)
  4278. game:GetService("Debris"):AddItem(ba, 20)
  4279. local msh2 = Instance.new("SpecialMesh",a2)
  4280. msh2.MeshType = "Cylinder"
  4281. msh2.Scale = vt(1,6*5,6*5)
  4282.  
  4283. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  4284. for i = 1, 80*2 do
  4285. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4286. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4287. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4288. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4289. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4290. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4291. swait()
  4292. CameraEnshaking(1,5)
  4293. a2.Color = Color3.new(1,1,1)
  4294. a2.Transparency = .25
  4295. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4296. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4297. ray = Ray.new(
  4298. orb.CFrame.p, -- origin
  4299. root.CFrame.lookVector.unit * 1000 -- direction
  4300. )
  4301. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4302. distance = (orb.CFrame.p - position).magnitude
  4303. if typrot == 1 then
  4304. rotation = rotation + 2.5
  4305. elseif typrot == 2 then
  4306. rotation = rotation - 2.5
  4307. end
  4308. a2.Size = Vector3.new(distance, 1, 1)
  4309. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4310. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4311. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4312. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  4313. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4314. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4315. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4316. end
  4317. a2:Destroy()
  4318. ba:Destroy()
  4319. orb:Destroy()
  4320. orbe:Destroy()
  4321. attack = false
  4322. end
  4323.  
  4324. function Wip()
  4325. attack = true
  4326.  
  4327. local rngb = Instance.new("Part", char)
  4328. rngb.Anchored = true
  4329. rngb.BrickColor = origcolor
  4330. rngb.CanCollide = false
  4331. rngb.FormFactor = 3
  4332. rngb.Name = "Ring"
  4333. rngb.Material = "Neon"
  4334. rngb.Size = Vector3.new(1, 0.05, 1)
  4335. rngb.Transparency = 1
  4336. rngb.TopSurface = 0
  4337. rngb.BottomSurface = 0
  4338. local rngmb = Instance.new("SpecialMesh", rngb)
  4339. rngmb.MeshType = "Brick"
  4340. rngmb.Name = "SizeMesh"
  4341. rngmb.Scale = vt(0,1,0)
  4342.  
  4343. local orb = rngb:Clone()
  4344. orb.Parent = char
  4345. orb.Transparency = 0
  4346. orb.BrickColor = BrickColor.new("White")
  4347. orb.Size = vt(1,1,1)
  4348. local orbmish = orb.SizeMesh
  4349. orbmish.Scale = vt(0,0,0)
  4350. orbmish.MeshType = "Sphere"
  4351.  
  4352. local orbe = rngb:Clone()
  4353. orbe.Parent = char
  4354. orbe.Transparency = 0.5
  4355. orbe.BrickColor = BrickColor.new("New Yeller")
  4356. orbe.Size = vt(1,1,1)
  4357. local orbmish2 = orbe.SizeMesh
  4358. orbmish2.Scale = vt(0,0,0)
  4359. orbmish2.MeshType = "Sphere"
  4360. orbe.Color = Color3.new(r/255,g/255,b/255)
  4361.  
  4362. hum.AutoRotate = false
  4363. rngb:Destroy()
  4364. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4365. local scaled = 1
  4366. for i = 0,5,0.1 do
  4367. swait()
  4368. scaled = scaled - 0.02
  4369. if rainbowmode == true then
  4370. orbe.Color = Color3.new(r/255,g/255,b/255)
  4371. end
  4372. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4373. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4374. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4375. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4376. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4377. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4378. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4379. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4380. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4381. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4382. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4383. RootPart.CFrame = FaceMouse()[1]
  4384. end]]--
  4385. for i = 0,5,0.1 do
  4386. swait()
  4387. if rainbowmode == true then
  4388. orbe.Color = Color3.new(r/255,g/255,b/255)
  4389. end
  4390. if glitchymode then
  4391. local val = math.random(1,255)
  4392. local color = Color3.fromRGB(val,val,val)
  4393. orbe.Color = color
  4394. end
  4395. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4396. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4397. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4398. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4399. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4400. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4401. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4402. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4403. RootPart.CFrame = FaceMouse()[1]
  4404. end
  4405. orbe.Transparency = 1
  4406. orb.Transparency = 1
  4407. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4408. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4409. local a = Instance.new("Part",Character)
  4410. a.Name = "Direction"
  4411. a.Anchored = true
  4412. a.BrickColor = bc("White")
  4413. a.Material = "Neon"
  4414. a.Transparency = 0
  4415. a.Shape = "Cylinder"
  4416. a.CanCollide = false
  4417. local a2 = Instance.new("Part",Character)
  4418. a2.Name = "Direction"
  4419. a2.Anchored = true
  4420. a2.BrickColor = bc("New Yeller")
  4421. a2.Color = Color3.new(r/255,g/255,b/255)
  4422. a2.Material = "Neon"
  4423. a2.Transparency = 0.5
  4424. a2.Shape = "Cylinder"
  4425. a2.CanCollide = false
  4426. local ba = Instance.new("Part",Character)
  4427. ba.Name = "HitDirect"
  4428. ba.Anchored = true
  4429. ba.BrickColor = bc("Cool yellow")
  4430. ba.Material = "Neon"
  4431. ba.Transparency = 1
  4432. ba.CanCollide = false
  4433. local ray = Ray.new(
  4434. orb.CFrame.p, -- origin
  4435. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4436. )
  4437. local ignore = Character
  4438. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4439. a.BottomSurface = 10
  4440. a.TopSurface = 10
  4441. a2.BottomSurface = 10
  4442. a2.TopSurface = 10
  4443. local distance = (orb.CFrame.p - position).magnitude
  4444. a.Size = Vector3.new(distance, 1, 1)
  4445. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4446. a2.Size = Vector3.new(distance, 1, 1)
  4447. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4448. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4449. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4450. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4451. game:GetService("Debris"):AddItem(a, 20)
  4452. game:GetService("Debris"):AddItem(a2, 20)
  4453. game:GetService("Debris"):AddItem(ba, 20)
  4454. local msh = Instance.new("SpecialMesh",a)
  4455. msh.MeshType = "Cylinder"
  4456. msh.Scale = vt(1,5*5,5*5)
  4457. local msh2 = Instance.new("SpecialMesh",a2)
  4458. msh2.MeshType = "Cylinder"
  4459. msh2.Scale = vt(1,6*5,6*5)
  4460.  
  4461. for i = 0,10,0.1 do
  4462. swait()
  4463. CameraEnshaking(1,5)
  4464. a2.Color = Color3.new(r/255,g/255,b/255)
  4465. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4466. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4467. ray = Ray.new(
  4468. orb.CFrame.p, -- origin
  4469. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4470. )
  4471. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4472. distance = (orb.CFrame.p - position).magnitude
  4473. if typrot == 1 then
  4474. rotation = rotation + 2.5
  4475. elseif typrot == 2 then
  4476. rotation = rotation - 2.5
  4477. end
  4478. RootPart.CFrame = FaceMouse()[1]
  4479. a.Size = Vector3.new(distance, 1, 1)
  4480. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4481. a2.Size = Vector3.new(distance, 1, 1)
  4482. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4483. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4484. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4485. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4486. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4487. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4488. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4489. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4490. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4491. end
  4492. a:Destroy()
  4493. a2:Destroy()
  4494. ba:Destroy()
  4495. orb:Destroy()
  4496. orbe:Destroy()
  4497. hum.AutoRotate = true
  4498. attack = false
  4499. end
  4500.  
  4501.  
  4502. function UniversalSpark()
  4503. attack = true
  4504.  
  4505. local rngb = Instance.new("Part", char)
  4506. rngb.Anchored = true
  4507. rngb.BrickColor = origcolor
  4508. rngb.CanCollide = false
  4509. rngb.FormFactor = 3
  4510. rngb.Name = "Ring"
  4511. rngb.Material = "Neon"
  4512. rngb.Size = Vector3.new(1, 0.05, 1)
  4513. rngb.Transparency = 1
  4514. rngb.TopSurface = 0
  4515. rngb.BottomSurface = 0
  4516. local rngmb = Instance.new("SpecialMesh", rngb)
  4517. rngmb.MeshType = "Brick"
  4518. rngmb.Name = "SizeMesh"
  4519. rngmb.Scale = vt(0,1,0)
  4520.  
  4521. local orb = rngb:Clone()
  4522. orb.Parent = char
  4523. orb.Transparency = 0
  4524. orb.BrickColor = BrickColor.new("White")
  4525. orb.Size = vt(1,1,1)
  4526. local orbmish = orb.SizeMesh
  4527. orbmish.Scale = vt(0,0,0)
  4528. orbmish.MeshType = "Sphere"
  4529.  
  4530. local orbe = rngb:Clone()
  4531. orbe.Parent = char
  4532. orbe.Transparency = 0.5
  4533. orbe.BrickColor = BrickColor.new("New Yeller")
  4534. orbe.Size = vt(1,1,1)
  4535. local orbmish2 = orbe.SizeMesh
  4536. orbmish2.Scale = vt(0,0,0)
  4537. orbmish2.MeshType = "Sphere"
  4538. orbe.Color = Color3.new(r/255,g/255,b/255)
  4539.  
  4540. rngb:Destroy()
  4541. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4542. local scaled = 1
  4543. for i = 0,5,0.1 do
  4544. swait()
  4545. scaled = scaled - 0.02
  4546. if rainbowmode == true then
  4547. orbe.Color = Color3.new(r/255,g/255,b/255)
  4548. end
  4549. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4550. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4551. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4552. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4553. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4554. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4555. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4556. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4557. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4558. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4559. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4560. RootPart.CFrame = FaceMouse()[1]
  4561. end]]--
  4562. for i = 0,5,0.1 do
  4563. swait()
  4564. if rainbowmode == true then
  4565. orbe.Color = Color3.new(r/255,g/255,b/255)
  4566. end
  4567. if glitchymode then
  4568. local val = math.random(1,255)
  4569. local color = Color3.fromRGB(val,val,val)
  4570. orbe.Color = color
  4571. end
  4572. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4573. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4574. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4575. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4576. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4577. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4578. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4579. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4580. RootPart.CFrame = FaceMouse()[1]
  4581. end
  4582. orbe.Transparency = 1
  4583. orb.Transparency = 1
  4584. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4585. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  4586. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  4587. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4588.  
  4589. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4590. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  4591. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4592. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  4593. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  4594. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  4595. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  4596. local xd= Instance.new("Sound",char)
  4597. xd.SoundId = "rbxassetid://445796828"
  4598. xd.Pitch = 0.75
  4599. xd.Looped = true
  4600. xd.Volume = 1.25
  4601. xd:Play()
  4602. local a = Instance.new("Part",Character)
  4603. a.Name = "Direction"
  4604. a.Anchored = true
  4605. a.BrickColor = bc("Alder")
  4606. a.Color = MAINRUINCOLOR.Color
  4607. a.Material = "Neon"
  4608. a.Transparency = 0.5
  4609. a.Shape = "Cylinder"
  4610. a.CanCollide = false
  4611. local a2 = Instance.new("Part",Character)
  4612. a2.Name = "Direction"
  4613. a2.Anchored = true
  4614. a2.BrickColor = bc("New Yeller")
  4615. a2.Color = MAINRUINCOLOR.Color
  4616. a2.Material = "Neon"
  4617. a2.Transparency = 0.5
  4618. a2.Shape = "Cylinder"
  4619. a2.CanCollide = false
  4620. local ba = Instance.new("Part",Character)
  4621. ba.Name = "HitDirect"
  4622. ba.Anchored = true
  4623. ba.BrickColor = bc("Cool yellow")
  4624. ba.Material = "Neon"
  4625. ba.Transparency = 1
  4626. ba.CanCollide = false
  4627. local ray = Ray.new(
  4628. orb.CFrame.p, -- origin
  4629. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4630. )
  4631. local ignore = Character
  4632. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4633. a.BottomSurface = 10
  4634. a.TopSurface = 10
  4635. a2.BottomSurface = 10
  4636. a2.TopSurface = 10
  4637. local distance = (orb.CFrame.p - position).magnitude
  4638. a.Size = Vector3.new(distance, 1, 1)
  4639. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4640. a2.Size = Vector3.new(distance, 1, 1)
  4641. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4642. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4643. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4644. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4645. game:GetService("Debris"):AddItem(a, 60)
  4646. game:GetService("Debris"):AddItem(a2, 60)
  4647. game:GetService("Debris"):AddItem(ba, 60)
  4648. local outerscale = 0
  4649. local msh = Instance.new("SpecialMesh",a)
  4650. msh.MeshType = "Cylinder"
  4651. msh.Scale = vt(1,0,0)
  4652. local msh2 = Instance.new("SpecialMesh",a2)
  4653. msh2.MeshType = "Cylinder"
  4654. msh2.Scale = vt(1,0,0)
  4655. for i = 0,2,0.1 do
  4656. swait()
  4657. CameraEnshaking(1,1)
  4658. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  4659. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  4660. outerscale = outerscale - 0.015
  4661. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4662. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4663. ray = Ray.new(
  4664. orb.CFrame.p, -- origin
  4665. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4666. )
  4667. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4668. distance = (orb.CFrame.p - position).magnitude
  4669. if typrot == 1 then
  4670. rotation = rotation + 2.5
  4671. elseif typrot == 2 then
  4672. rotation = rotation - 2.5
  4673. end
  4674. RootPart.CFrame = FaceMouse()[1]
  4675. a.Size = Vector3.new(distance, 1, 1)
  4676. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4677. a2.Size = Vector3.new(distance, 1, 1)
  4678. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4679. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4680. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4681. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4682. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4683. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4684. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4685. end
  4686. for z = 0, 2 do
  4687. for i = 0,4,0.1 do
  4688. swait()
  4689. CameraEnshaking(1,1)
  4690. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4691. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4692. outerscale = outerscale + 0.015
  4693. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4694. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4695. ray = Ray.new(
  4696. orb.CFrame.p, -- origin
  4697. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4698. )
  4699. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4700. distance = (orb.CFrame.p - position).magnitude
  4701. if typrot == 1 then
  4702. rotation = rotation + 2.5
  4703. elseif typrot == 2 then
  4704. rotation = rotation - 2.5
  4705. end
  4706. RootPart.CFrame = FaceMouse()[1]
  4707. a.Size = Vector3.new(distance, 1, 1)
  4708. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4709. a2.Size = Vector3.new(distance, 1, 1)
  4710. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4711. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4712. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4713. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4714. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4715. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4716. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4717. end
  4718. for i = 0,4,0.1 do
  4719. swait()
  4720. CameraEnshaking(1,1)
  4721. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4722. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4723. outerscale = outerscale - 0.015
  4724. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4725. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4726. ray = Ray.new(
  4727. orb.CFrame.p, -- origin
  4728. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4729. )
  4730. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4731. distance = (orb.CFrame.p - position).magnitude
  4732. if typrot == 1 then
  4733. rotation = rotation + 2.5
  4734. elseif typrot == 2 then
  4735. rotation = rotation - 2.5
  4736. end
  4737. RootPart.CFrame = FaceMouse()[1]
  4738. a.Size = Vector3.new(distance, 1, 1)
  4739. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4740. a2.Size = Vector3.new(distance, 1, 1)
  4741. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4742. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4743. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4744. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4745. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4746. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4747. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4748. end
  4749. end
  4750. for i = 0,4,0.1 do
  4751. swait()
  4752. CameraEnshaking(1,1)
  4753. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4754. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4755. xd.Volume = xd.Volume - 0.025
  4756. a.Transparency = a.Transparency + 0.025
  4757. a2.Transparency = a2.Transparency + 0.025
  4758. outerscale = outerscale - 0.015
  4759. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4760. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4761. ray = Ray.new(
  4762. orb.CFrame.p, -- origin
  4763. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4764. )
  4765. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4766. distance = (orb.CFrame.p - position).magnitude
  4767. if typrot == 1 then
  4768. rotation = rotation + 2.5
  4769. elseif typrot == 2 then
  4770. rotation = rotation - 2.5
  4771. end
  4772. RootPart.CFrame = FaceMouse()[1]
  4773. a.Size = Vector3.new(distance, 1, 1)
  4774. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4775. a2.Size = Vector3.new(distance, 1, 1)
  4776. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4777. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4778. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4779. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4780. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4781. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4782. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4783. end
  4784. xd:Destroy()
  4785. a:Destroy()
  4786. a2:Destroy()
  4787. ba:Destroy()
  4788. orb:Destroy()
  4789. orbe:Destroy()
  4790. attack = false
  4791. end
  4792.  
  4793.  
  4794.  
  4795. function attackone()
  4796. attack = true
  4797. for i = 0,1,0.1 do
  4798. swait()
  4799. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  4800. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  4801. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4802. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  4803. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
  4804. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  4805. end
  4806. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4807.  
  4808. local hitb = Instance.new("Part", char)
  4809. hitb.Anchored = true
  4810. hitb.CanCollide = false
  4811. hitb.FormFactor = 3
  4812. hitb.Name = "Ring"
  4813. hitb.Material = "Neon"
  4814. hitb.Size = Vector3.new(1, 1, 1)
  4815. hitb.Transparency = 1
  4816. hitb.TopSurface = 0
  4817. hitb.BottomSurface = 0
  4818. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4819. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4820. hitb:Destroy()
  4821. for i = 0,1,0.1 do
  4822. swait()
  4823. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  4824. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  4825. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  4826. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  4827. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
  4828. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
  4829. end
  4830.  
  4831. attack = false
  4832. end
  4833.  
  4834. function attacktwo()
  4835. attack = true
  4836. for i = 0,1,0.1 do
  4837. swait()
  4838. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  4839. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  4840. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4841. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  4842. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
  4843. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  4844. end
  4845. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  4846. local hitb = Instance.new("Part", char)
  4847. hitb.Anchored = true
  4848. hitb.CanCollide = false
  4849. hitb.FormFactor = 3
  4850. hitb.Name = "Ring"
  4851. hitb.Material = "Neon"
  4852. hitb.Size = Vector3.new(1, 1, 1)
  4853. hitb.Transparency = 1
  4854. hitb.TopSurface = 0
  4855. hitb.BottomSurface = 0
  4856. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4857. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  4858. hitb:Destroy()
  4859. for i = 0,1,0.1 do
  4860. swait()
  4861. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  4862. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  4863. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  4864. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  4865. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
  4866. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
  4867. end
  4868. attack = false
  4869. end
  4870.  
  4871. function attackthree()
  4872. attack = true
  4873. for i = 0,1,0.1 do
  4874. swait()
  4875. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  4876. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  4877. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  4878. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4879. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4880. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4881. end
  4882. local distlook = 5
  4883. for i = 0, 4 do
  4884. swait(2)
  4885. CameraEnshaking(2,3)
  4886. local hite = Instance.new("Part", char)
  4887. hite.Anchored = true
  4888. hite.CanCollide = false
  4889. hite.FormFactor = 3
  4890. hite.Name = "Ring"
  4891. hite.Material = "Neon"
  4892. hite.Size = Vector3.new(1, 1, 1)
  4893. hite.Transparency = 1
  4894. hite.TopSurface = 0
  4895. hite.BottomSurface = 0
  4896. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  4897. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  4898. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  4899. MagniDamage(hite, 10, 15,35, 0, "Normal")
  4900. for i = 0, 2 do
  4901. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  4902. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  4903. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  4904. end
  4905. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  4906. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  4907. game:GetService("Debris"):AddItem(hite, 5)
  4908. distlook = distlook + 10
  4909. end
  4910. attack = false
  4911. end
  4912.  
  4913. function FinalCalamity()
  4914. end
  4915.  
  4916. function resetmode()
  4917. rainbowmode = false
  4918. chaosmode = false
  4919. glitchymode = false
  4920. tl1.Enabled = false
  4921. tl2.Enabled = false
  4922. tl3.Enabled = false
  4923. local lust = ModeOfGlitch == 69
  4924. ModeOfGlitch = 1
  4925. storehumanoidWS = 16
  4926. if(not lust)then
  4927. newTheme("rbxassetid://1564523997",48.6,1,1)
  4928. end
  4929. coroutine.resume(coroutine.create(function()
  4930. attack = true
  4931. hum.WalkSpeed = 0
  4932. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  4933. for i = 0,4,0.1 do
  4934. swait()
  4935. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  4936. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  4937. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  4938. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4939. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  4940. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4941. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4942. end
  4943. if(lust)then
  4944. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  4945. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
  4946. for i = 0, 49 do
  4947. PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true)
  4948. end
  4949.  
  4950. for i = 0,4,0.05 do
  4951. swait()
  4952. Pitch = 1-i/4
  4953. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  4954. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  4955. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  4956. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4957. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  4958. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4959. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4960. end
  4961. for i = 0,3,0.1 do
  4962. swait()
  4963. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  4964. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  4965. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  4966. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4967. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  4968. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4969. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4970. end
  4971. newTheme("rbxassetid://1564523997",48.6,1,1)
  4972. end
  4973. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  4974. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  4975. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  4976. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  4977. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  4978. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  4979. RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
  4980. CameraEnshaking(5,2.5)
  4981. MAINRUINCOLOR = BrickColor.new("Really black")
  4982. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4983. for i = 0, 49 do
  4984. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  4985. end
  4986. for i = 0,3,0.1 do
  4987. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  4988. end
  4989. for i, v in pairs(mw2:GetChildren()) do
  4990. if v:IsA("Part") then
  4991. v.BrickColor = BrickColor.new("Really black")
  4992. v.Material = "Neon"
  4993. end
  4994. end
  4995. for i, v in pairs(mw1:GetChildren()) do
  4996. if v:IsA("Part") then
  4997. v.Transparency = 1
  4998. v.BrickColor = BrickColor.new("Really black")
  4999. v.Material = "Neon"
  5000. end
  5001. end
  5002. for i, v in pairs(m:GetChildren()) do
  5003. if v:IsA("Part") then
  5004. v.BrickColor = BrickColor.new("Really black")
  5005. v.Material = "Glass"
  5006. end
  5007. end
  5008. for i, v in pairs(m2:GetChildren()) do
  5009. if v:IsA("Part") then
  5010. v.BrickColor = BrickColor.new("Dark stone grey")
  5011. v.Material = "Granite"
  5012. end
  5013. end
  5014. for i, v in pairs(m3:GetChildren()) do
  5015. if v:IsA("Part") then
  5016. v.BrickColor = BrickColor.new("Really black")
  5017. v.Material = "Neon"
  5018. end
  5019. end
  5020. for i, v in pairs(extrawingmod1:GetChildren()) do
  5021. if v:IsA("Part") then
  5022. v.Transparency = 1
  5023. v.BrickColor = BrickColor.new("White")
  5024. v.Material = "Neon"
  5025. end
  5026. end
  5027. for i, v in pairs(extrawingmod2:GetChildren()) do
  5028. if v:IsA("Part") then
  5029. v.Transparency = 1
  5030. v.BrickColor = BrickColor.new("White")
  5031. v.Material = "Neon"
  5032. end
  5033. end
  5034. for i = 0,2,0.1 do
  5035. swait()
  5036. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5037. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5038. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5039. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5040. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5041. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5042. end
  5043. hum.WalkSpeed = storehumanoidWS
  5044. attack = false
  5045. end))
  5046. end
  5047.  
  5048. function lustmode()
  5049.  
  5050. ModeOfGlitch = 69
  5051. storehumanoidWS = 16
  5052. rainbowmode = false
  5053. chaosmode = false
  5054. glitchymode = false
  5055. tl1.Enabled = false
  5056. tl2.Enabled = false
  5057. tl3.Enabled = false
  5058. newTheme("rbxassetid://1203355187",0,1,1)
  5059. coroutine.wrap(function()
  5060. attack = true
  5061. hum.WalkSpeed = 0
  5062. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5063. for i = 0,4,0.1 do
  5064. swait()
  5065. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5066. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5067. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5068. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5069. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5070. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5071. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5072. end
  5073. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5074. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
  5075.  
  5076. for i = 0,4,0.1 do
  5077. swait()
  5078. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5079. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5080. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5081. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5082. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5083. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5084. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5085. end
  5086. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5087. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5088. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5089. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5090. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
  5091. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
  5092. CameraEnshaking(5,2.5)
  5093. MAINRUINCOLOR = BrickColor.new("Pink")
  5094. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5095. for i = 0, 49 do
  5096. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0,true)
  5097. end
  5098. for i = 0,3,0.1 do
  5099. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0,true)
  5100. end
  5101. RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color)
  5102. for i, v in pairs(mw2:GetChildren()) do
  5103. if v:IsA("Part") then
  5104. v.BrickColor = MAINRUINCOLOR
  5105. v.Material = "Neon"
  5106. end
  5107. end
  5108. for i, v in pairs(mw1:GetChildren()) do
  5109. if v:IsA("Part") then
  5110. v.Transparency = 1
  5111. v.BrickColor = MAINRUINCOLOR
  5112. v.Material = "Neon"
  5113. end
  5114. end
  5115. for i, v in pairs(m:GetChildren()) do
  5116. if v:IsA("Part") then
  5117. v.BrickColor = BrickColor.new("Pink")
  5118. v.Material = "Ice"
  5119. end
  5120. end
  5121. for i, v in pairs(m2:GetChildren()) do
  5122. if v:IsA("Part") then
  5123. v.BrickColor = BrickColor.new("Pink")
  5124. v.Material = "Glass"
  5125. end
  5126. end
  5127. for i, v in pairs(m3:GetChildren()) do
  5128. if v:IsA("Part") then
  5129. v.BrickColor = BrickColor.new("Pink")
  5130. v.Material = "Neon"
  5131. end
  5132. end
  5133. for i, v in pairs(extrawingmod1:GetChildren()) do
  5134. if v:IsA("Part") then
  5135. v.Transparency = 1
  5136. v.BrickColor = BrickColor.new("Pink")
  5137. v.Material = "Neon"
  5138. end
  5139. end
  5140. for i, v in pairs(extrawingmod2:GetChildren()) do
  5141. if v:IsA("Part") then
  5142. v.Transparency = 1
  5143. v.BrickColor = BrickColor.new("Pink")
  5144. v.Material = "Neon"
  5145. end
  5146. end
  5147. for i = 0,2,0.1 do
  5148. swait()
  5149. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5150. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5151. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5152. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
  5153. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
  5154. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
  5155. end
  5156. hum.WalkSpeed = storehumanoidWS
  5157. attack = false
  5158. end)()
  5159. end
  5160.  
  5161. function insanitymode()
  5162. storehumanoidWS = 16
  5163. hum.WalkSpeed = 0
  5164. rainbowmode = false
  5165. glitchymode = false
  5166. chaosmode = true
  5167. tl1.Enabled = true
  5168. tl2.Enabled = true
  5169. tl3.Enabled = true
  5170. local lust = ModeOfGlitch == 69
  5171. newTheme("rbxassetid://919231299",0,1,1)
  5172. coroutine.resume(coroutine.create(function()
  5173. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5174. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5175. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5176. attack = true
  5177. hum.WalkSpeed = 0
  5178. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5179. for i = 0,4,0.1 do
  5180. swait()
  5181. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5182. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5183. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5184. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5185. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5186. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5187. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5188. end
  5189. for i = 0,8,0.1 do
  5190. swait()
  5191. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5192. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,.035,MAINRUINCOLOR,0)
  5193. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5194. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5195. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5196. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5197. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5198. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5199. end
  5200.  
  5201. for i = 0,3,0.1 do
  5202. swait()
  5203. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5204. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5205. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5206. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5207. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5208. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5209. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5210. end
  5211. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5212. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5213. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5214. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5215. CameraEnshaking(5,2.5)
  5216. MAINRUINCOLOR = BrickColor.new("Black")
  5217. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5218. for i = 0, 49 do
  5219. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5220. end
  5221. for i = 0,3,0.1 do
  5222. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  5223. end
  5224. ModeOfGlitch = 666666
  5225. for i, v in pairs(mw2:GetChildren()) do
  5226. if v:IsA("Part") then
  5227. v.BrickColor = MAINRUINCOLOR
  5228. v.Material = "Neon"
  5229. end
  5230. end
  5231. for i, v in pairs(mw1:GetChildren()) do
  5232. if v:IsA("Part") then
  5233. v.Transparency = 0.75
  5234. v.BrickColor = BrickColor.random()
  5235. v.Material = "Neon"
  5236. end
  5237. end
  5238. for i, v in pairs(m:GetChildren()) do
  5239. if v:IsA("Part") then
  5240. v.BrickColor = BrickColor.new("Black")
  5241. v.Material = "Neon"
  5242. end
  5243. end
  5244. for i, v in pairs(m2:GetChildren()) do
  5245. if v:IsA("Part") then
  5246. v.BrickColor = BrickColor.random()
  5247. v.Material = "Neon"
  5248. end
  5249. end
  5250. for i, v in pairs(m3:GetChildren()) do
  5251. if v:IsA("Part") then
  5252. v.BrickColor = BrickColor.new("Black")
  5253. v.Material = "Neon"
  5254. end
  5255. end
  5256. for i, v in pairs(extrawingmod1:GetChildren()) do
  5257. if v:IsA("Part") then
  5258. v.Transparency = .75
  5259. v.BrickColor = BrickColor.Random()
  5260. v.Material = "Neon"
  5261. end
  5262. end
  5263. for i, v in pairs(extrawingmod2:GetChildren()) do
  5264. if v:IsA("Part") then
  5265. v.Transparency = 0
  5266. v.BrickColor = BrickColor.new("Black")
  5267. v.Material = "Neon"
  5268. end
  5269. end
  5270. for i = 0,2,0.1 do
  5271. swait()
  5272. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  5273. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  5274. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5275. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5276. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5277. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5278. end
  5279. hum.WalkSpeed = storehumanoidWS
  5280. attack = false
  5281. end))
  5282. end
  5283.  
  5284. local attacktype = 1
  5285. mouse.Button1Down:connect(function()
  5286. if attack == false and attacktype == 1 then
  5287. attacktype = 2
  5288. attackone()
  5289. elseif attack == false and attacktype == 2 then
  5290. attacktype = 3
  5291. attacktwo()
  5292. elseif attack == false and attacktype == 3 then
  5293. attacktype = 1
  5294. attackthree()
  5295. elseif attack == false and attacktype == 4 then
  5296. attacktype = 1
  5297. --attackfour()
  5298. end
  5299. end)
  5300.  
  5301. function Judgement()
  5302. attack = true
  5303. hum.WalkSpeed = 0
  5304. local p = Instance.new("Part",root)
  5305. p.Anchored = true
  5306. p.CanCollide = false
  5307. p.BrickColor = MAINRUINCOLOR
  5308. p.Material = Enum.Material.Neon
  5309. p.Size = Vector3.new(1,1,1)
  5310. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5311. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5312. local m = Instance.new("SpecialMesh",p)
  5313. m.MeshType = "Cylinder"
  5314. m.Scale = Vector3.new(2000,2,2)
  5315. local targ = Instance.new("Part",root)
  5316. targ.Transparency = 1
  5317. targ.CanCollide = false
  5318. targ.Size = Vector3.new(1,1,1)
  5319. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5320. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  5321. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  5322. for i = 1,15 do
  5323. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5324. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5325. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5326. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5327. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5328. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2)
  5329. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2)
  5330. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  5331. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  5332. m.Scale = m.Scale+Vector3.new(0,1,1)
  5333. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5334. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5335. swait()
  5336. end
  5337. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5338. for i = 1,200 do
  5339. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5340. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  5341. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  5342. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5343. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5344. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  5345. swait()
  5346. end
  5347. for i =1,15 do
  5348. m.Scale = m.Scale-Vector3.new(1,1,1)
  5349. p.Transparency = i / 15
  5350. swait()
  5351. end
  5352. p:Destroy()
  5353. hum.WalkSpeed = storehumanoidWS
  5354. attack = false
  5355. end
  5356.  
  5357. local ODerDB = false
  5358. function ChooseODer()
  5359. if(not ODerDB)then
  5360. coroutine.wrap(function()
  5361.  
  5362. local allowOD = true
  5363. local whom = (mouse.Target and mouse.Target.Parent)
  5364. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  5365. ODerDB = true
  5366. for _,v in next, ODers do
  5367. if(v == whom)then
  5368. print'nO OD SELF'
  5369. allowOD = false
  5370. end
  5371. end
  5372. if(allowOD)then
  5373. local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05))
  5374. local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  5375.  
  5376. ref.CFrame = Torso.CFrame
  5377. ref.Anchored = true
  5378. local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5379. local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5380. local MPos = whom.Head.CFrame*cf(0,4,0)
  5381. for i = 0, 1, .05 do
  5382. swait()
  5383. ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  5384.  
  5385. sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5386. if whom:FindFirstChild'Head' == nil then
  5387. break
  5388. end
  5389. end
  5390. ref:destroy()
  5391. if whom:FindFirstChild'Head' then
  5392. table.insert(ODers,whom)
  5393. if(#ODers > 2)then
  5394. table.remove(ODers,1)
  5395. end
  5396. sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5397. end
  5398. end
  5399. ODerDB = false
  5400. end
  5401. end)()
  5402. end
  5403. end
  5404.  
  5405. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  5406. attack = true
  5407. hum.WalkSpeed = 0
  5408. storehumanoidWS = 75
  5409. hum.JumpPower = 0
  5410. newThemeCust("rbxassetid://1420353940",0,1,1)
  5411. kan.TimePosition = 0
  5412. ModeOfGlitch = 8376532578634534
  5413. repeat swait() until kan.IsLoaded
  5414. chatfunc("YoUr DeAtH iS cOmInG",text.TextStrokeColor3)
  5415. for i = 0, 14, .1 do
  5416. swait()
  5417. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5418. 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)
  5419. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5420. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5421. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5422. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5423. end
  5424. chatfunc("...",text.TextStrokeColor3)
  5425. for i = 0, 12, .1 do
  5426. swait()
  5427. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5428. 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)
  5429. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5430. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  5431. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5432. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5433. end
  5434. chatfunc("YoU cAnT eScApE!!!",Color3.new(1,1,1))
  5435. for i = 0, 16, .1 do
  5436. swait()
  5437. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5438. 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)
  5439. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5440. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5441. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5442. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5443. end
  5444. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5445. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5446. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5447. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5448. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  5449. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  5450. RecolorTextAndRename("UnKnOwN mOdE",Color3.new(0,0,0),Color3.new(1,1,1))
  5451. CameraEnshaking(5,2.5)
  5452. MAINRUINCOLOR = BrickColor.new("Really black")
  5453. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5454. tl1.Enabled = true
  5455. tl2.Enabled = true
  5456. tl3.Enabled = true
  5457. for i = 0, 49 do
  5458. 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)
  5459. end
  5460. for i = 0,3,0.1 do
  5461. 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)
  5462. end
  5463. for i, v in pairs(mw2:GetChildren()) do
  5464. if v:IsA("Part") then
  5465. v.BrickColor = BrickColor.new("Really black")
  5466. v.Material = "Glass"
  5467. end
  5468. end
  5469. for i, v in pairs(mw1:GetChildren()) do
  5470. if v:IsA("Part") then
  5471. v.Transparency = 0
  5472. v.BrickColor = BrickColor.new("Really black")
  5473. v.Material = "Glass"
  5474. end
  5475. end
  5476. for i, v in pairs(m:GetChildren()) do
  5477. if v:IsA("Part") then
  5478. v.BrickColor = BrickColor.new("Really black")
  5479. v.Material = "Glass"
  5480. end
  5481. end
  5482. for i, v in pairs(m2:GetChildren()) do
  5483. if v:IsA("Part") then
  5484. v.BrickColor = BrickColor.new("Dark stone grey")
  5485. v.Material = "Granite"
  5486. end
  5487. end
  5488. for i, v in pairs(m3:GetChildren()) do
  5489. if v:IsA("Part") then
  5490. v.BrickColor = BrickColor.new("Really black")
  5491. v.Material = "Glass"
  5492. end
  5493. end
  5494. for i, v in pairs(extrawingmod1:GetChildren()) do
  5495. if v:IsA("Part") then
  5496. v.Transparency = 0
  5497. v.BrickColor = BrickColor.new("Dark stone grey")
  5498. v.Material = "Glass"
  5499. end
  5500. end
  5501. for i, v in pairs(extrawingmod2:GetChildren()) do
  5502. if v:IsA("Part") then
  5503. v.Transparency = 0
  5504. v.BrickColor = BrickColor.new("Dark stone grey")
  5505. v.Material = "Glass"
  5506. end
  5507. end
  5508. for i = 0,2,0.1 do
  5509. swait()
  5510. 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)
  5511. 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)
  5512. 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)
  5513. 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)
  5514. 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)
  5515. 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)
  5516. end
  5517. hum.JumpPower = 50
  5518. hum.WalkSpeed = storehumanoidWS
  5519. attack = false
  5520. end
  5521.  
  5522. function FuckMeSidewaysAndCallMeGay()
  5523. local whom = (mouse.Target and mouse.Target.Parent)
  5524. --[[local fuckThisBoi = false
  5525. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  5526. for _,v in next, ODers do
  5527. if(v == whom)then
  5528. fuckThisBoi = false
  5529. end
  5530. end
  5531. end
  5532. if(not fuckThisBoi)then
  5533. attack = false
  5534. warn'to fuck that boi you need to target them with z'
  5535. else]]
  5536. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  5537. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  5538. local hum = whom:FindFirstChildOfClass'Humanoid'
  5539. local ocf = RootPart.CFrame
  5540. hum.WalkSpeed = 0
  5541. hum.JumpPower = 0
  5542. hed.Anchored = true
  5543. RootPart.Anchored = true
  5544. Humanoid.WalkSpeed = 0
  5545. Humanoid.JumpPower = 0
  5546. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5547. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5548. for i = 0, 9 do
  5549. 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)
  5550. end
  5551. for i = 0, 24 do
  5552. 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)
  5553. end
  5554. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5555. attack = true
  5556. local speed = 1
  5557. local heck;
  5558. local stopitlol = false;
  5559. heck = mouse.KeyUp:connect(function(k)
  5560. if(k:lower() == 'm')then
  5561. stopitlol = true
  5562. heck:disconnect()
  5563. end
  5564. end)
  5565. local times = 0
  5566. repeat swait()
  5567. speed = speed - .01
  5568. times = times + 1
  5569. if(speed < .1)then
  5570. speed = .1
  5571. end
  5572. for i = 0, speed, .05 do
  5573. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5574. swait()
  5575. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5576. 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)
  5577. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5578. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5579. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5580. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5581. end
  5582. CameraEnshaking(5,5)
  5583.  
  5584. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  5585.  
  5586. for i = 0, speed, .05 do
  5587. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5588. swait()
  5589. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5590. 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)
  5591. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5592. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5593. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5594. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5595. end
  5596. until stopitlol and times >= 3
  5597. for i = 1, 3 do
  5598. for i = 0, 1.5, .05 do
  5599. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5600. swait()
  5601. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5602. 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)
  5603. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5604. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5605. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5606. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5607. end
  5608. CameraEnshaking(5,25)
  5609.  
  5610. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5611.  
  5612.  
  5613. coroutine.resume(coroutine.create(function()
  5614. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5615. bld.LightEmission = 0.1
  5616. bld.Texture = "rbxassetid://284205403"
  5617. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5618. bld.Rate = 500
  5619. bld.Lifetime = NumberRange.new(1)
  5620. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5621. bld.Acceleration = vt(0,-25,0)
  5622. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5623. bld.Speed = NumberRange.new(10,50)
  5624. bld.EmissionDirection = "Back"
  5625. bld.VelocitySpread = 25
  5626. bld.Rotation = NumberRange.new(-500,500)
  5627. bld.RotSpeed = NumberRange.new(-500,500)
  5628. bld.Enabled = false
  5629. bld:Emit(250)
  5630. end))
  5631. coroutine.resume(coroutine.create(function()
  5632. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5633. bld.LightEmission = 0.1
  5634. bld.Texture = "rbxassetid://284205403"
  5635. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5636. bld.Rate = 500
  5637. bld.Lifetime = NumberRange.new(1)
  5638. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5639. bld.Acceleration = vt(0,-25,0)
  5640. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5641. bld.Speed = NumberRange.new(10,50)
  5642. bld.EmissionDirection = "Back"
  5643. bld.VelocitySpread = 25
  5644. bld.Rotation = NumberRange.new(-500,500)
  5645. bld.RotSpeed = NumberRange.new(-500,500)
  5646. bld.Enabled = false
  5647. bld:Emit(250)
  5648. end))
  5649. for i = 0, 1.5, .05 do
  5650. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5651. swait()
  5652. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5653. 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)
  5654. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5655. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5656. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5657. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5658. end
  5659. end
  5660. for i = 0, 4, .05 do
  5661. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5662. swait()
  5663. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  5664. 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)
  5665. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  5666. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5667. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5668. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5669. end
  5670. CameraEnshaking(5,25)
  5671. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  5672. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5673.  
  5674. dmg(whom)
  5675. coroutine.resume(coroutine.create(function()
  5676. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5677. bld.LightEmission = 0.1
  5678. bld.Texture = "rbxassetid://284205403"
  5679. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5680. bld.Rate = 500
  5681. bld.Lifetime = NumberRange.new(1)
  5682. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5683. bld.Acceleration = vt(0,-25,0)
  5684. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5685. bld.Speed = NumberRange.new(10,50)
  5686. bld.EmissionDirection = "Back"
  5687. bld.VelocitySpread = 25
  5688. bld.Rotation = NumberRange.new(-500,500)
  5689. bld.RotSpeed = NumberRange.new(-500,500)
  5690. bld.Enabled = true
  5691. end))
  5692. coroutine.resume(coroutine.create(function()
  5693. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5694. bld.LightEmission = 0.1
  5695. bld.Texture = "rbxassetid://284205403"
  5696. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5697. bld.Rate = 500
  5698. bld.Lifetime = NumberRange.new(1)
  5699. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5700. bld.Acceleration = vt(0,-25,0)
  5701. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5702. bld.Speed = NumberRange.new(10,50)
  5703. bld.EmissionDirection = "Back"
  5704. bld.VelocitySpread = 25
  5705. bld.Rotation = NumberRange.new(-500,500)
  5706. bld.RotSpeed = NumberRange.new(-500,500)
  5707. bld.Enabled = true
  5708. end))
  5709. for i = 0, 3, .05 do
  5710. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5711. swait()
  5712. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  5713. 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)
  5714. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  5715. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5716. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5717. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5718. end
  5719.  
  5720. RootPart.CFrame = ocf
  5721. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5722. for i = 0, 9 do
  5723. 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)
  5724. end
  5725. for i = 0, 24 do
  5726. 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)
  5727. end
  5728. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5729. RootPart.Anchored = false
  5730. Humanoid.WalkSpeed = storehumanoidWS
  5731. Humanoid.JumpPower = 50
  5732. attack = false
  5733. end
  5734. end
  5735.  
  5736. local input = ""
  5737.  
  5738. mouse.KeyDown:connect(function(k)
  5739. if(k == "w" or k == "a" or k == "s" or k == "d")then
  5740. input = input .. k
  5741. local newInput = input
  5742. coroutine.wrap(function()
  5743. for i = 1, 25 do
  5744. if(newInput ~= input)then break end
  5745. swait()
  5746. end
  5747. if(newInput == input)then input = "" end
  5748. end)()
  5749. if(input == "wwaass" and not AllowRape)then
  5750. AllowRape = true
  5751. warn("Rape unlocked! Have fun ;)")
  5752. elseif(input == "wwaassdd" and not AllowCata)then
  5753. AllowCata = true
  5754. warn("You unlocked CATASTROPHE.")
  5755. elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then
  5756. ChaosBegone()
  5757. end
  5758. end
  5759. end)
  5760.  
  5761. mouse.KeyDown:connect(function(k)
  5762. if k == "h" then
  5763.  
  5764. end
  5765.  
  5766. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  5767. ModeOfGlitch = 2
  5768. storehumanoidWS = 16
  5769. hum.WalkSpeed = 16
  5770. rainbowmode = false
  5771. chaosmode = false
  5772. glitchymode = false
  5773. tl1.Enabled = false
  5774. tl2.Enabled = false
  5775. tl3.Enabled = false
  5776. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  5777. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  5778. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  5779. newTheme("rbxassetid://1539245059",0,1,1)
  5780. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5781. for i, v in pairs(mw2:GetChildren()) do
  5782. if v:IsA("Part") then
  5783. v.BrickColor = MAINRUINCOLOR
  5784. v.Material = "Neon"
  5785. end
  5786. end
  5787. for i, v in pairs(mw1:GetChildren()) do
  5788. if v:IsA("Part") then
  5789. v.Transparency = 1
  5790. v.BrickColor = MAINRUINCOLOR
  5791. v.Material = "Neon"
  5792. end
  5793. end
  5794. for i, v in pairs(m:GetChildren()) do
  5795. if v:IsA("Part") then
  5796. v.BrickColor = BrickColor.new("White")
  5797. v.Material = "Ice"
  5798. end
  5799. end
  5800. for i, v in pairs(m2:GetChildren()) do
  5801. if v:IsA("Part") then
  5802. v.BrickColor = BrickColor.new("Pastel light blue")
  5803. v.Material = "Glass"
  5804. end
  5805. end
  5806. for i, v in pairs(m3:GetChildren()) do
  5807. if v:IsA("Part") then
  5808. v.BrickColor = BrickColor.new("Toothpaste")
  5809. v.Material = "Neon"
  5810. end
  5811. end
  5812. for i, v in pairs(extrawingmod1:GetChildren()) do
  5813. if v:IsA("Part") then
  5814. v.Transparency = 1
  5815. v.BrickColor = BrickColor.new("White")
  5816. v.Material = "Neon"
  5817. end
  5818. end
  5819. for i, v in pairs(extrawingmod2:GetChildren()) do
  5820. if v:IsA("Part") then
  5821. v.Transparency = 1
  5822. v.BrickColor = BrickColor.new("White")
  5823. v.Material = "Neon"
  5824. end
  5825. end
  5826. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  5827. resetmode()
  5828. end
  5829. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  5830. lustmode()
  5831. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  5832. resetmode()
  5833. end
  5834. if k == "m" and attack == false and ModeOfGlitch == 1 then
  5835. RiddleMeThisRiddleMeThat()
  5836. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  5837. resetmode()
  5838. end
  5839. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  5840. ModeOfGlitch = 3
  5841. storehumanoidWS = 16
  5842. hum.WalkSpeed = 16
  5843. rainbowmode = false
  5844. chaosmode = false
  5845. glitchymode = true
  5846. tl1.Enabled = true
  5847. tl2.Enabled = true
  5848. tl3.Enabled = true
  5849. RecolorTextAndRename("MoDe InSaNiTy",Color3.new(0,0,0),Color3.new(0.35,0,1))
  5850. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  5851. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  5852. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  5853. MAINRUINCOLOR = BrickColor.new("White")
  5854. for i, v in pairs(mw2:GetChildren()) do
  5855. if v:IsA("Part") then
  5856. v.BrickColor = MAINRUINCOLOR
  5857. v.Material = "Neon"
  5858. end
  5859. end
  5860. for i, v in pairs(mw1:GetChildren()) do
  5861. if v:IsA("Part") then
  5862. v.Transparency = 0
  5863. v.BrickColor = MAINRUINCOLOR
  5864. v.Material = "Neon"
  5865. end
  5866. end
  5867. for i, v in pairs(m:GetChildren()) do
  5868. if v:IsA("Part") then
  5869. v.BrickColor = BrickColor.new("Really black")
  5870. v.Material = "Ice"
  5871. end
  5872. end
  5873. for i, v in pairs(m2:GetChildren()) do
  5874. if v:IsA("Part") then
  5875. v.BrickColor = BrickColor.new("Dark indigo")
  5876. v.Material = "Glass"
  5877. end
  5878. end
  5879. for i, v in pairs(m3:GetChildren()) do
  5880. if v:IsA("Part") then
  5881. v.Transparency = 1
  5882. v.BrickColor = BrickColor.new("Royal purple")
  5883. v.Material = "Neon"
  5884. end
  5885. end
  5886. for i, v in pairs(extrawingmod1:GetChildren()) do
  5887. if v:IsA("Part") then
  5888. v.Transparency = 1
  5889. v.BrickColor = BrickColor.new("White")
  5890. v.Material = "Neon"
  5891. end
  5892. end
  5893. for i, v in pairs(extrawingmod2:GetChildren()) do
  5894. if v:IsA("Part") then
  5895. v.Transparency = 1
  5896. v.BrickColor = BrickColor.new("White")
  5897. v.Material = "Neon"
  5898. end
  5899. end
  5900. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  5901. resetmode()
  5902. end
  5903. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  5904. ModeOfGlitch = 4
  5905. storehumanoidWS = 16
  5906. hum.WalkSpeed = 16
  5907. rainbowmode = false
  5908. glitchymode = false
  5909. chaosmode = true
  5910. tl1.Enabled = true
  5911. tl2.Enabled = true
  5912. tl3.Enabled = true
  5913. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  5914. newTheme("rbxassetid://1369263130",0,1,1)
  5915. MAINRUINCOLOR = BrickColor.new("Black")
  5916. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5917. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5918. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5919. for i, v in pairs(mw2:GetChildren()) do
  5920. if v:IsA("Part") then
  5921. v.BrickColor = MAINRUINCOLOR
  5922. v.Material = "Neon"
  5923. end
  5924. end
  5925. for i, v in pairs(mw1:GetChildren()) do
  5926. if v:IsA("Part") then
  5927. v.Transparency = 0.75
  5928. v.BrickColor = BrickColor.random()
  5929. v.Material = "Neon"
  5930. end
  5931. end
  5932. for i, v in pairs(m:GetChildren()) do
  5933. if v:IsA("Part") then
  5934. v.BrickColor = BrickColor.new("Black")
  5935. v.Material = "Neon"
  5936. end
  5937. end
  5938. for i, v in pairs(m2:GetChildren()) do
  5939. if v:IsA("Part") then
  5940. v.BrickColor = BrickColor.random()
  5941. v.Material = "Neon"
  5942. end
  5943. end
  5944. for i, v in pairs(m3:GetChildren()) do
  5945. if v:IsA("Part") then
  5946. v.BrickColor = BrickColor.new("Black")
  5947. v.Material = "Neon"
  5948. end
  5949. end
  5950. for i, v in pairs(extrawingmod1:GetChildren()) do
  5951. if v:IsA("Part") then
  5952. v.Transparency = 1
  5953. v.BrickColor = BrickColor.new("White")
  5954. v.Material = "Neon"
  5955. end
  5956. end
  5957. for i, v in pairs(extrawingmod2:GetChildren()) do
  5958. if v:IsA("Part") then
  5959. v.Transparency = 1
  5960. v.BrickColor = BrickColor.new("White")
  5961. v.Material = "Neon"
  5962. end
  5963. end
  5964. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  5965. resetmode()
  5966. end
  5967.  
  5968. if k == "m" and attack == false and ModeOfGlitch == 4 then
  5969. insanitymode()
  5970. elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
  5971. resetmode()
  5972. end
  5973. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  5974. ModeOfGlitch = 5
  5975. storehumanoidWS = 16
  5976. hum.WalkSpeed = 16
  5977. rainbowmode = false
  5978. chaosmode = false
  5979. glitchymode = false
  5980. tl1.Enabled = true
  5981. tl2.Enabled = true
  5982. tl3.Enabled = true
  5983. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  5984. newTheme("rbxassetid://661079869",0,1.02,1)
  5985. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  5986. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  5987. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  5988. for i, v in pairs(mw2:GetChildren()) do
  5989. if v:IsA("Part") then
  5990. v.BrickColor = MAINRUINCOLOR
  5991. v.Material = "Neon"
  5992. end
  5993. end
  5994. for i, v in pairs(mw1:GetChildren()) do
  5995. if v:IsA("Part") then
  5996. v.Transparency = 0
  5997. v.BrickColor = MAINRUINCOLOR
  5998. v.Material = "Neon"
  5999. end
  6000. end
  6001. for i, v in pairs(m:GetChildren()) do
  6002. if v:IsA("Part") then
  6003. v.BrickColor = BrickColor.new("Cool yellow")
  6004. v.Material = "Ice"
  6005. end
  6006. end
  6007. for i, v in pairs(m2:GetChildren()) do
  6008. if v:IsA("Part") then
  6009. v.BrickColor = BrickColor.new("Bright yellow")
  6010. v.Material = "Ice"
  6011. end
  6012. end
  6013. for i, v in pairs(m3:GetChildren()) do
  6014. if v:IsA("Part") then
  6015. v.BrickColor = BrickColor.new("Bright yellow")
  6016. v.Material = "Neon"
  6017. end
  6018. end
  6019. for i, v in pairs(extrawingmod1:GetChildren()) do
  6020. if v:IsA("Part") then
  6021. v.Transparency = 1
  6022. v.BrickColor = BrickColor.new("White")
  6023. v.Material = "Neon"
  6024. end
  6025. end
  6026. for i, v in pairs(extrawingmod2:GetChildren()) do
  6027. if v:IsA("Part") then
  6028. v.Transparency = 1
  6029. v.BrickColor = BrickColor.new("White")
  6030. v.Material = "Neon"
  6031. end
  6032. end
  6033. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  6034. resetmode()
  6035. end
  6036. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  6037. ModeOfGlitch = 6
  6038. storehumanoidWS = 75
  6039. hum.WalkSpeed = 75
  6040. rainbowmode = false
  6041. chaosmode = false
  6042. glitchymode = false
  6043. tl1.Enabled = true
  6044. tl2.Enabled = true
  6045. tl3.Enabled = true
  6046. RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1))
  6047. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6048. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6049. newTheme("rbxassetid://1102271169",0,1,1)
  6050. MAINRUINCOLOR = BrickColor.new("White")
  6051. for i, v in pairs(mw2:GetChildren()) do
  6052. if v:IsA("Part") then
  6053. v.BrickColor = MAINRUINCOLOR
  6054. v.Material = "Neon"
  6055. end
  6056. end
  6057. for i, v in pairs(mw1:GetChildren()) do
  6058. if v:IsA("Part") then
  6059. v.Transparency = 0
  6060. v.BrickColor = MAINRUINCOLOR
  6061. v.Material = "Neon"
  6062. end
  6063. end
  6064. for i, v in pairs(m:GetChildren()) do
  6065. if v:IsA("Part") then
  6066. v.BrickColor = BrickColor.new("White")
  6067. v.Material = "Ice"
  6068. end
  6069. end
  6070. for i, v in pairs(m2:GetChildren()) do
  6071. if v:IsA("Part") then
  6072. v.BrickColor = BrickColor.new("White")
  6073. v.Material = "Ice"
  6074. end
  6075. end
  6076. for i, v in pairs(m3:GetChildren()) do
  6077. if v:IsA("Part") then
  6078. v.BrickColor = BrickColor.new("White")
  6079. v.Material = "Neon"
  6080. end
  6081. end
  6082. for i, v in pairs(extrawingmod1:GetChildren()) do
  6083. if v:IsA("Part") then
  6084. v.Transparency = 1
  6085. v.BrickColor = BrickColor.new("White")
  6086. v.Material = "Neon"
  6087. end
  6088. end
  6089. for i, v in pairs(extrawingmod2:GetChildren()) do
  6090. if v:IsA("Part") then
  6091. v.Transparency = 1
  6092. v.BrickColor = BrickColor.new("White")
  6093. v.Material = "Neon"
  6094. end
  6095. end
  6096. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  6097. resetmode()
  6098. end
  6099. if k == "u" and attack == false then
  6100.  
  6101. storehumanoidWS = 50
  6102. hum.WalkSpeed = 50
  6103. rainbowmode = true
  6104. chaosmode = false
  6105. glitchymode = false
  6106. tl1.Enabled = true
  6107. tl2.Enabled = true
  6108. tl3.Enabled = true
  6109.  
  6110. if(ModeOfGlitch == 6127843)then
  6111. vaporwave = not vaporwave
  6112. end
  6113.  
  6114. if(not vaporwave)then
  6115. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  6116. newTheme("rbxassetid://147930134",0,1,1)
  6117. else
  6118. RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1))
  6119. newTheme("rbxassetid://1308711379",0,1,1)
  6120. end
  6121.  
  6122.  
  6123. ModeOfGlitch = 6127843
  6124. MAINRUINCOLOR = BrickColor.new("White")
  6125. for i, v in pairs(mw2:GetChildren()) do
  6126. if v:IsA("Part") then
  6127. v.BrickColor = MAINRUINCOLOR
  6128. v.Material = "Neon"
  6129. end
  6130. end
  6131. for i, v in pairs(mw1:GetChildren()) do
  6132. if v:IsA("Part") then
  6133. v.Transparency = 0
  6134. v.BrickColor = MAINRUINCOLOR
  6135. v.Material = "Neon"
  6136. end
  6137. end
  6138. for i, v in pairs(m:GetChildren()) do
  6139. if v:IsA("Part") then
  6140. v.BrickColor = BrickColor.new("White")
  6141. v.Material = "Neon"
  6142. end
  6143. end
  6144. for i, v in pairs(m2:GetChildren()) do
  6145. if v:IsA("Part") then
  6146. v.BrickColor = BrickColor.new("White")
  6147. v.Material = "Neon"
  6148. end
  6149. end
  6150. for i, v in pairs(m3:GetChildren()) do
  6151. if v:IsA("Part") then
  6152. v.BrickColor = BrickColor.new("White")
  6153. v.Material = "Neon"
  6154. end
  6155. end
  6156. for i, v in pairs(extrawingmod1:GetChildren()) do
  6157. if v:IsA("Part") then
  6158. v.Transparency = 1
  6159. v.BrickColor = BrickColor.new("White")
  6160. v.Material = "Neon"
  6161. end
  6162. end
  6163. for i, v in pairs(extrawingmod2:GetChildren()) do
  6164. if v:IsA("Part") then
  6165. v.Transparency = 1
  6166. v.BrickColor = BrickColor.new("White")
  6167. v.Material = "Neon"
  6168. end
  6169. end
  6170. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  6171. resetmode()
  6172. end
  6173. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  6174. ModeOfGlitch = 1000000
  6175. storehumanoidWS = 100
  6176. hum.WalkSpeed = 100
  6177. rainbowmode = false
  6178. chaosmode = false
  6179. glitchymode = false
  6180. tl1.Enabled = true
  6181. tl2.Enabled = true
  6182. tl3.Enabled = true
  6183. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  6184. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
  6185. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
  6186. newTheme("rbxassetid://1359036559",0,1,1)
  6187. MAINRUINCOLOR = BrickColor.new("Bright violet")
  6188. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6189. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6190. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6191. for i, v in pairs(mw2:GetChildren()) do
  6192. if v:IsA("Part") then
  6193. v.BrickColor = MAINRUINCOLOR
  6194. v.Material = "Neon"
  6195. end
  6196. end
  6197. for i, v in pairs(mw1:GetChildren()) do
  6198. if v:IsA("Part") then
  6199. v.Transparency = 0
  6200. v.BrickColor = MAINRUINCOLOR
  6201. v.Material = "Neon"
  6202. end
  6203. end
  6204. for i, v in pairs(m:GetChildren()) do
  6205. if v:IsA("Part") then
  6206. v.Color = Color3.new(0.5,0,1)
  6207. v.Material = "Neon"
  6208. end
  6209. end
  6210. for i, v in pairs(m2:GetChildren()) do
  6211. if v:IsA("Part") then
  6212. v.Color = Color3.new(0.25,0,1)
  6213. v.Material = "Neon"
  6214. end
  6215. end
  6216. for i, v in pairs(m3:GetChildren()) do
  6217. if v:IsA("Part") then
  6218. v.Color = Color3.new(0.45,0,1)
  6219. v.Material = "Neon"
  6220. end
  6221. end
  6222. for i, v in pairs(extrawingmod1:GetChildren()) do
  6223. if v:IsA("Part") then
  6224. v.Transparency = 0.75
  6225. v.Color = Color3.new(0.25,0,1)
  6226. v.Material = "Neon"
  6227. end
  6228. end
  6229. for i, v in pairs(extrawingmod2:GetChildren()) do
  6230. if v:IsA("Part") then
  6231. v.Transparency = 0.75
  6232. v.Color = Color3.new(0.5,0,1)
  6233. v.Material = "Neon"
  6234. end
  6235. end
  6236. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  6237. resetmode()
  6238. end
  6239. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then
  6240. newThemeCust("rbxassetid://1504604335",0,1,1)
  6241. attack = true
  6242. hum.WalkSpeed = 0
  6243. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6244. for i = 0, 24, 0.1 do
  6245. swait()
  6246. 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)
  6247. 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)
  6248. 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)
  6249. 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)
  6250. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6251. 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)
  6252. 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)
  6253. end
  6254. CameraEnshaking(1,1)
  6255. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6256. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6257. wait(0.55)
  6258. CameraEnshaking(1,2)
  6259. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6260. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6261. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6262. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6263. wait(0.55)
  6264. CameraEnshaking(1,3)
  6265. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6266. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6267. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6268. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6269. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6270. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6271. wait(0.55)
  6272. CameraEnshaking(10,5)
  6273. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6274. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6275. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6276. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6277. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6278. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6279. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6280. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6281. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6282. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6283. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6284. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6285. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6286. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6287. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6288. for i = 0, 49 do
  6289. 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)
  6290. 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)
  6291. 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)
  6292. 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)
  6293. end
  6294. ModeOfGlitch = 12345678987654321
  6295. storehumanoidWS = 200
  6296. hum.WalkSpeed = 200
  6297. rainbowmode = false
  6298. chaosmode = false
  6299. glitchymode = false
  6300. tl1.Enabled = true
  6301. tl2.Enabled = true
  6302. tl3.Enabled = true
  6303. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
  6304. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
  6305. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  6306. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6307. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6308. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6309. for i, v in pairs(mw2:GetChildren()) do
  6310. if v:IsA("Part") then
  6311. v.BrickColor = MAINRUINCOLOR
  6312. v.Material = "Neon"
  6313. end
  6314. end
  6315. for i, v in pairs(mw1:GetChildren()) do
  6316. if v:IsA("Part") then
  6317. v.Transparency = 0
  6318. v.BrickColor = MAINRUINCOLOR
  6319. v.Material = "Neon"
  6320. end
  6321. end
  6322. for i, v in pairs(m:GetChildren()) do
  6323. if v:IsA("Part") then
  6324. v.Color = Color3.new(0.5,0,1)
  6325. v.Material = "Neon"
  6326. end
  6327. end
  6328. for i, v in pairs(m2:GetChildren()) do
  6329. if v:IsA("Part") then
  6330. v.Color = Color3.new(0.5,0,1)
  6331. v.Material = "Neon"
  6332. end
  6333. end
  6334. for i, v in pairs(m3:GetChildren()) do
  6335. if v:IsA("Part") then
  6336. v.Color = Color3.new(0.5,0,1)
  6337. v.Material = "Neon"
  6338. end
  6339. end
  6340. for i, v in pairs(extrawingmod1:GetChildren()) do
  6341. if v:IsA("Part") then
  6342. v.Transparency = 0
  6343. v.Color = Color3.new(0.5,0,1)
  6344. v.Material = "Neon"
  6345. end
  6346. end
  6347. for i, v in pairs(extrawingmod2:GetChildren()) do
  6348. if v:IsA("Part") then
  6349. v.Transparency = 0
  6350. v.Color = Color3.new(0.5,0,1)
  6351. v.Material = "Neon"
  6352. end
  6353. attack = false
  6354. end
  6355. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  6356. resetmode()
  6357. end
  6358. if k == "l" and toggleTag == false then
  6359. toggleTag = true
  6360. text.TextTransparency = 0
  6361. text.TextStrokeTransparency = 0
  6362. elseif k == "l" and toggleTag == true then
  6363. toggleTag = false
  6364. text.TextTransparency = 1
  6365. text.TextStrokeTransparency = 1
  6366. end
  6367. if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then
  6368. ExtinctiveHeartbreak()
  6369. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6370. PureBomb()
  6371. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6372. scattercorrupt()
  6373. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6374. Judgement()
  6375. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6376. ChaosGroundStrike()
  6377. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  6378. InsaneGroundStrike()
  6379.  
  6380. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  6381. ChooseODer()
  6382. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  6383. Starfall()
  6384. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6385. yinyangi()
  6386. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  6387. Wip()
  6388. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  6389. StarfallEX()
  6390. end
  6391. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  6392. StarDivision()
  6393. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  6394. JusticeBeam()
  6395. end
  6396. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  6397. UniversalCollapse()
  6398. end
  6399. if k == "b" and attack == false and ModeOfGlitch == 4 then
  6400.  
  6401. end
  6402. if k == "n" and attack == false then
  6403. CorruptBlink()
  6404. end
  6405. if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
  6406. FuckMeSidewaysAndCallMeGay()
  6407. end
  6408. end)
  6409. coroutine.resume(coroutine.create(function()
  6410. while true do
  6411. swait(2)
  6412. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  6413. 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)
  6414. end
  6415.  
  6416. end
  6417. end))
  6418.  
  6419.  
  6420. coroutine.resume(coroutine.create(function()
  6421. while true do
  6422. if ModeOfGlitch == 1000000 then
  6423. swait(0.5)
  6424. end
  6425. swait()
  6426. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  6427. 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)
  6428. end
  6429. if ModeOfGlitch == 12345678987654321 then
  6430. 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)
  6431. end
  6432. end
  6433. end))
  6434.  
  6435.  
  6436. function RandomMaterial()
  6437. local getRandom;
  6438. local material;
  6439. local function IsTerrainMaterial(mat)
  6440. local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  6441. return isMaterial
  6442. end
  6443. getRandom = function()
  6444. local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  6445. if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  6446. end
  6447. getRandom()
  6448. repeat wait() until material
  6449. return material
  6450. end
  6451. function RandomCaps(str)
  6452. local new = ""
  6453. for i = 1, #str do
  6454. if(math.random(1,2) == 1)then
  6455. new = new .. (str:sub(i,i):upper())
  6456. else
  6457. new = new .. str:sub(i,i)
  6458. end
  6459. end
  6460. return new
  6461. end
  6462.  
  6463. coroutine.resume(coroutine.create(function()
  6464. while true do
  6465. for i = 1, #ODers do
  6466. local ODer = ODers[i]
  6467. if(ODer)then
  6468. local hed = ODer:FindFirstChild'Head'
  6469. if(ODer.Parent and hed)then
  6470. 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)
  6471. else
  6472. table.remove(ODers,i)
  6473. end
  6474. else
  6475. table.remove(ODers,i)
  6476. end
  6477. end
  6478. if(not kan)then
  6479. kan = Instance.new("Sound",char)
  6480. end
  6481. kan.Parent = char
  6482. if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end
  6483. kan.Pitch = Pitch
  6484. kan.SoundId = MID
  6485. kan.Name = "wrecked"
  6486. kan.Looped = true
  6487. kan:Resume()
  6488. swait()
  6489. if glitchymode == true then
  6490. local val = math.random(1,255)
  6491. local color = Color3.fromRGB(val,val,val)
  6492. pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  6493. pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  6494. tl1.Color = ColorSequence.new(color)
  6495. tl2.Color = ColorSequence.new(color)
  6496. tl3.Color = ColorSequence.new(color)
  6497. tr1.Color = ColorSequence.new(color)
  6498. tr2.Color = ColorSequence.new(color)
  6499. tr3.Color = ColorSequence.new(color)
  6500. for i, v in pairs(mw1:GetChildren()) do
  6501. if v:IsA("Part") then
  6502. v.Transparency = 0
  6503. v.Color = color
  6504. v.Material = "Neon"
  6505. end
  6506. end
  6507. for i, v in pairs(mw2:GetChildren()) do
  6508. if v:IsA("Part") then
  6509. v.Color = color
  6510. v.Material = "Neon"
  6511. end
  6512. end
  6513. for i, v in pairs(m2:GetChildren()) do
  6514. if v:IsA("Part") then
  6515. v.Color = color
  6516. v.Material = "Neon"
  6517. end
  6518. end
  6519. RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"YoUr FoRm Is FrAgUlT"),Color3.new(0,0,0),color)
  6520. end
  6521. if chaosmode or glitchymode then
  6522. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6523. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6524. else
  6525. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  6526. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  6527. end
  6528. if chaosmode == true then
  6529. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6530. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6531. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6532. RecolorTextAndRename((ModeOfGlitch == 666666 and "TRUE CHAOS" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color)
  6533. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
  6534. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
  6535. for i, v in pairs(mw1:GetChildren()) do
  6536. if v:IsA("Part") then
  6537. v.Transparency = 0.75
  6538. v.BrickColor = BrickColor.random()
  6539. v.Material = "Neon"
  6540. end
  6541. end
  6542. for i, v in pairs(extrawingmod1:GetChildren()) do
  6543. if v:IsA("Part") and ModeOfGlitch == 666666 then
  6544. v.Transparency = 0.75
  6545. v.BrickColor = BrickColor.random()
  6546. v.Material = "Neon"
  6547. elseif v:IsA("Part") then
  6548. v.Transparency = 1
  6549. end
  6550. end
  6551. for i, v in pairs(m2:GetChildren()) do
  6552. if v:IsA("Part") then
  6553. v.BrickColor = BrickColor.random()
  6554. v.Material = "Neon"
  6555. end
  6556. end
  6557. end
  6558. end
  6559. end))
  6560. Humanoid.Name = "STARGLITCHER"
  6561. Humanoid.MaxHealth = math.huge
  6562. Humanoid.Health = math.huge
  6563. Instance.new("ForceField",char).Visible = false
  6564. Humanoid.Animator.Parent = nil
  6565. idleanim=.4
  6566. while true do
  6567. if rainbowmode == false and chaosmode == false and glitchymode == false then
  6568. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6569. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6570. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6571. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6572. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6573. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6574. end
  6575. if rainbowmode == true then
  6576. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  6577. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  6578. if(not vaporwave)then
  6579. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6580. else
  6581. RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6582. end
  6583. MAINRUINCOLOR = BrickColor.new("White")
  6584. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6585. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6586. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6587. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6588. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6589. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6590. for i, v in pairs(m:GetChildren()) do
  6591. if v:IsA("Part") then
  6592. v.Color = Color3.new(r/255,g/255,b/255)
  6593. end
  6594. end
  6595. for i, v in pairs(m2:GetChildren()) do
  6596. if v:IsA("Part") then
  6597. v.Color = Color3.new(r/255,g/255,b/255)
  6598. end
  6599. end
  6600. for i, v in pairs(m3:GetChildren()) do
  6601. if v:IsA("Part") then
  6602. v.Color = Color3.new(r/255,g/255,b/255)
  6603. end
  6604. end
  6605. for i, v in pairs(mw1:GetChildren()) do
  6606. if v:IsA("Part") then
  6607. v.Color = Color3.new(r/255,g/255,b/255)
  6608. v.Material = "Neon"
  6609. end
  6610. end
  6611. for i, v in pairs(mw2:GetChildren()) do
  6612. if v:IsA("Part") then
  6613. v.Color = Color3.new(r/255,g/255,b/255)
  6614. v.Material = "Neon"
  6615. end
  6616. end
  6617. end
  6618. CameraManager()
  6619. swait()
  6620. 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)
  6621. 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)
  6622. 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)
  6623. 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)
  6624. 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)
  6625. 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)
  6626.  
  6627. 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)
  6628. 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)
  6629. 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)
  6630. 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)
  6631. 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)
  6632. 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)
  6633. sine = sine + change
  6634. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6635. local velderp=RootPart.Velocity.y
  6636. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6637. if equipped==true or equipped==false then
  6638. if attack==false then
  6639. idle=idle+1
  6640. else
  6641. idle=0
  6642. end
  6643. if idle>=500 then
  6644. if attack==false then
  6645. --Sheath()
  6646. end
  6647. end
  6648. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6649. Anim="Jump"
  6650. if attack==false then
  6651. 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)
  6652. 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)
  6653. 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)
  6654. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6655. 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)
  6656. 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)
  6657. end
  6658. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6659. Anim="Fall"
  6660. if attack==false then
  6661. 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)
  6662. 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)
  6663. 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)
  6664. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6665. 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)
  6666. 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)
  6667. end
  6668. elseif torvel<1 and hitfloor~=nil then
  6669. Anim="Idle"
  6670. if attack==false then
  6671. if ModeOfGlitch == 1 then
  6672. 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)
  6673. 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)
  6674. 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)
  6675. 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)
  6676. 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)
  6677. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6678.  
  6679. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  6680. 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)
  6681. 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)
  6682. 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)
  6683. 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)
  6684. 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)
  6685. 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)
  6686.  
  6687. elseif ModeOfGlitch == 3 then
  6688. 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)
  6689. 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)
  6690. 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)
  6691. 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)
  6692. 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)
  6693. 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)
  6694. elseif ModeOfGlitch == 4 then
  6695. 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)
  6696. 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)
  6697. 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)
  6698. 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)
  6699. 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)
  6700. 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)
  6701. elseif ModeOfGlitch == 69 then
  6702. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  6703. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  6704. 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)
  6705. 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)
  6706. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  6707. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  6708. elseif ModeOfGlitch == 8376532578634534 then
  6709. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6710. 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)
  6711. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6712. 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)
  6713. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6714. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6715.  
  6716. elseif ModeOfGlitch == 666666 then
  6717. 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)
  6718. 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)
  6719. 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)
  6720. 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)
  6721. 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)
  6722. 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)
  6723.  
  6724. elseif ModeOfGlitch == 5 then
  6725. 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)
  6726. 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)
  6727. 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)
  6728. 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)
  6729. 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)
  6730. 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)
  6731.  
  6732. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
  6733. 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)
  6734. 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)
  6735. 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)
  6736. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  6737. 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)
  6738. 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)
  6739.  
  6740. elseif ModeOfGlitch == 12345678987654321 then
  6741. 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)
  6742. 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)
  6743. 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)
  6744. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  6745. 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)
  6746. 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)
  6747. end
  6748. end
  6749. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6750. Anim="Walk"
  6751. if attack==false then
  6752. if ModeOfGlitch == 1 then
  6753. 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)
  6754. 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)
  6755. 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)
  6756. 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)
  6757. 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)
  6758. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6759. elseif ModeOfGlitch == 4 then
  6760. 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)
  6761. 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)
  6762. 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)
  6763. 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)
  6764. 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)
  6765. 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)
  6766. elseif ModeOfGlitch == 666666 then
  6767. 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)
  6768. 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)
  6769. 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)
  6770. 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)
  6771. 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)
  6772. 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)
  6773.  
  6774. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  6775. 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)
  6776. 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)
  6777. 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)
  6778. 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)
  6779. 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)
  6780. 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)
  6781. end
  6782. end
  6783. elseif torvel>=22 and hitfloor~=nil then
  6784. Anim="Run"
  6785. if attack==false then
  6786. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  6787. 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)
  6788. 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)
  6789. 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)
  6790. 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)
  6791. 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)
  6792. 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)
  6793. elseif ModeOfGlitch == 666666 then
  6794. 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)
  6795. 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)
  6796. 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)
  6797. 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)
  6798. 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)
  6799. 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)
  6800.  
  6801. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
  6802. 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)
  6803. 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)
  6804. 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)
  6805. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6806. 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)
  6807. 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)
  6808. end
  6809. end
  6810. end
  6811. end
  6812. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement