Advertisement
DerpzDeNugget

DERPZGLITCHERV2

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