Advertisement
Grimm822

ya

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