Advertisement
EARTHWORM_SALLY

Untitled

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