Advertisement
Rider_Lol

Untitled

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