Advertisement
DerpzDeNugget

DERPZGLITCHERV2.1 [Fixes]

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