Advertisement
Oscar55555

Untitled

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