Advertisement
bruh9191

Untitled

Feb 22nd, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 231.93 KB | None | 0 0
  1. -- Script --
  2.  
  3. plr = game:GetService("Players").tommy73738
  4. Player = plr
  5. char = plr.Character
  6. hum = char.Humanoid
  7. mouse = plr:GetMouse()
  8. local cam = game.Workspace.CurrentCamera
  9. Camera = cam
  10. local CamInterrupt = false
  11. local TwoD = false
  12. local TargetInfo = {nil, nil}
  13. cam.CameraType = "Custom"
  14. t = char.Torso
  15. h = char.Head
  16. ra = char["Right Arm"]
  17. la = char["Left Arm"]
  18. rl = char["Right Leg"]
  19. ll = char["Left Leg"]
  20. tors = char.Torso
  21. lleg = char["Left Leg"]
  22. root = char.HumanoidRootPart
  23. hed = char.Head
  24. rleg = char["Right Leg"]
  25. rarm = char["Right Arm"]
  26. larm = char["Left Arm"]
  27. radian = math.rad
  28. random = math.random
  29. Vec3 = Vector3.new
  30. Inst = Instance.new
  31. cFrame = CFrame.new
  32. Euler = CFrame.fromEulerAnglesXYZ
  33. vt = Vector3.new
  34. bc = BrickColor.new
  35. br = BrickColor.random
  36. it = Instance.new
  37. cf = CFrame.new
  38. local Player_Size = 0
  39. cam = game.Workspace.CurrentCamera
  40. CF = CFrame.new
  41. angles = CFrame.Angles
  42. attack = false
  43. Euler = CFrame.fromEulerAnglesXYZ
  44. Rad = math.rad
  45. IT = Instance.new
  46. BrickC = BrickColor.new
  47. Cos = math.cos
  48. Acos = math.acos
  49. Sin = math.sin
  50. Asin = math.asin
  51. Abs = math.abs
  52. Mrandom = math.random
  53. Floor = math.floor
  54. IT = Instance.new
  55. CF = CFrame.new
  56. VT = Vector3.new
  57. RAD = math.rad
  58. C3 = Color3.new
  59. UD2 = UDim2.new
  60. BRICKC = BrickColor.new
  61. ANGLES = CFrame.Angles
  62. EULER = CFrame.fromEulerAnglesXYZ
  63. COS = math.cos
  64. ACOS = math.acos
  65. SIN = math.sin
  66. ASIN = math.asin
  67. ABS = math.abs
  68. MRANDOM = math.random
  69. FLOOR = math.floor
  70. local SINE = 0
  71. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  72. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  73. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  74. local ModeOfGlitch = 1
  75. CF = CFrame.new
  76. local hed = char.Head
  77. local root = char.HumanoidRootPart
  78. local rootj = root.RootJoint
  79. local tors = char.Torso
  80. Player_Size = 1
  81. Cos = math.cos
  82. Sin = math.sin
  83. Rad = math.rad
  84. CF = CFrame.new
  85. local DoDamage = true
  86. local FlyingTypes = false
  87. local visWings={0,0,0,0,0,0}
  88.  
  89. local Booleans = {
  90. CamFollow = true,
  91. GyroUse = true
  92. }
  93.  
  94. function lerp(object, newCFrame, alpha)
  95. return object:lerp(newCFrame, alpha)
  96. end
  97.  
  98. local Directer = Inst("BodyGyro", root)
  99. Directer.MaxTorque = Vec3(0, 0, 0)
  100. Directer.P = 600000
  101. local CPart = Inst("Part")
  102. CPart.Anchored = true
  103. CPart.CanCollide = false
  104. CPart.Locked = true
  105. CPart.Transparency = 1
  106.  
  107.  
  108.  
  109. local CRAZED = false
  110. local rainbowmode = false
  111. local chaosmode = false
  112. local Error = false
  113. local unstablemode = false
  114. local MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  115. local SECONDRUINCOLOR = BrickColor.new("Pastel blue-green")
  116.  
  117. local cp="2071274388"
  118. local kan = Instance.new("Sound",Torso)
  119. kan.Volume = 1.25
  120. kan.TimePosition = 0
  121. kan.PlaybackSpeed = 1
  122. kan.Pitch = 1
  123. kan.SoundId = "rbxassetid://2071274388"
  124. kan.Name = "wrecked"
  125. kan.Looped = true
  126. kan:Play()
  127.  
  128. local currentThemePlaying = kan.SoundId
  129. local currentPitch = kan.Pitch
  130. local currentVol = kan.Volume
  131. function newTheme(ID,timepos,pitch,vol)
  132. local kanz = kan
  133. --kanz:Stop()
  134. kanz.Volume = vol
  135. --kanz.TimePosition = timepos
  136. kanz.PlaybackSpeed = pitch
  137. kanz.Pitch = pitch
  138. kanz.SoundId = ID
  139. kanz.Name = "wrecked"
  140. kanz.Looped = true
  141. currentThemePlaying = kanz.SoundId
  142. currentVol = kanz.Volume
  143. currentPitch = kanz.Pitch
  144. end
  145.  
  146.  
  147. function newThemeCust(ID,timepos,pitch,vol)
  148. local kanz = kan
  149. kanz:Stop()
  150. kanz.Volume = vol
  151. kanz.TimePosition = timepos
  152. kanz.PlaybackSpeed = pitch
  153. kanz.Pitch = pitch
  154. kanz.SoundId = ID
  155. kanz.Name = "wrecked"
  156. kanz.Looped = true
  157. currentThemePlaying = kanz.SoundId
  158. currentVol = kanz.Volume
  159. currentPitch = kanz.Pitch
  160. kanz:Play()
  161. end
  162.  
  163. local mutedtog = false
  164.  
  165. ArtificialHB = Instance.new("BindableEvent", script)
  166. ArtificialHB.Name = "ArtificialHB"
  167.  
  168. script:WaitForChild("ArtificialHB")
  169. Frame_Speed = 1 / 60
  170. frame = Frame_Speed
  171. tf = 0
  172. allowframeloss = false
  173. tossremainder = false
  174. lastframe = tick()
  175. script.ArtificialHB:Fire()
  176.  
  177. game:GetService("RunService").Heartbeat:connect(function(s, p)
  178. tf = tf + s
  179. if tf >= frame then
  180. if allowframeloss then
  181. script.ArtificialHB:Fire()
  182. lastframe = tick()
  183. else
  184. for i = 1, math.floor(tf / frame) do
  185. script.ArtificialHB:Fire()
  186. end
  187. lastframe = tick()
  188. end
  189. if tossremainder then
  190. tf = 0
  191. else
  192. tf = tf - frame * math.floor(tf / frame)
  193. end
  194. end
  195. end)
  196.  
  197. ------------------
  198. function swait(num)
  199. if num == 0 or num == nil then
  200. ArtificialHB.Event:wait()
  201. else
  202. for i = 1, num do
  203. ArtificialHB.Event:wait()
  204. end
  205. end
  206. end
  207.  
  208. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  209.  
  210. --// Require stuff \\--
  211. FXFolder=script.Effects
  212. function CamShake(who,data)
  213. coroutine.wrap(function()
  214. if(FXFolder:FindFirstChild'CamShake')then
  215. local cam = FXFolder.CamShake:Clone()
  216. cam:WaitForChild'intensity'.Value = data.Intensity or 5
  217. cam:WaitForChild'duration'.Value = data.Duration or 5
  218. cam:WaitForChild'speed'.Value = data.Speed or 10;
  219. if(data.Origin)then NewInstance((typeof(data.Origin) == 'Instance' and "ObjectValue" or typeof(data.Origin) == 'Vector3' and 'Vector3Value' or typeof(data.Origin)=='CFrame' and 'CFrameValue'),cam,{Name='origin',Value=data.Origin}) end
  220. cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5)
  221. cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5)
  222. cam:WaitForChild'startdist'.Value = data.DropDist or 25;
  223. cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150;
  224.  
  225. cam.Parent = who
  226. wait()
  227. cam.Disabled = false
  228. end
  229. end)()
  230. end
  231.  
  232. function CamShakeAll(data)
  233. for _,v in next, game:service'Players':players() do
  234. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data)
  235. end
  236. end
  237.  
  238.  
  239. local toggleTag = true
  240. local bilguit = Instance.new("BillboardGui", hed)
  241. bilguit.Adornee = nil
  242. bilguit.Name = "ModeName"
  243. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  244. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  245. local modet = Instance.new("TextLabel", bilguit)
  246. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  247. modet.FontSize = "Size8"
  248. modet.TextScaled = true
  249. modet.TextTransparency = 0
  250. modet.BackgroundTransparency = 1
  251. modet.TextTransparency = 0
  252. modet.TextStrokeTransparency = 0
  253. modet.Font = "Antique"
  254. modet.TextStrokeColor3 = Color3.new(1,0,0)
  255. modet.TextColor3 = Color3.new(0.25,0,0)
  256. modet.Text = "COMMOTIAUS"
  257.  
  258.  
  259. function chatfunc(text,color,typet,font,timeex)
  260. local chat = coroutine.wrap(function()
  261. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  262. Character:FindFirstChild("TalkingBillBoard"):destroy()
  263. end
  264. local naeeym2 = Instance.new("BillboardGui",Character)
  265. naeeym2.Size = UDim2.new(0,100,0,40)
  266. naeeym2.StudsOffset = Vector3.new(0,3,0)
  267. naeeym2.Adornee = Character.Head
  268. naeeym2.Name = "TalkingBillBoard"
  269. local tecks2 = Instance.new("TextLabel",naeeym2)
  270. tecks2.BackgroundTransparency = 1
  271. tecks2.BorderSizePixel = 0
  272. tecks2.Text = ""
  273. tecks2.Font = font
  274. tecks2.TextSize = 30
  275. tecks2.TextStrokeTransparency = 0
  276. tecks2.TextColor3 = color
  277. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  278. tecks2.Size = UDim2.new(1,0,0.5,0)
  279. local tecks3 = Instance.new("TextLabel",naeeym2)
  280. tecks3.BackgroundTransparency = 1
  281. tecks3.BorderSizePixel = 0
  282. tecks3.Text = ""
  283. tecks3.Font = font
  284. tecks3.TextSize = 30
  285. tecks3.TextStrokeTransparency = 0
  286. if typet == "Inverted" then
  287. tecks3.TextColor3 = Color3.new(0,0,0)
  288. tecks3.TextStrokeColor3 = color
  289. elseif typet == "Normal" then
  290. tecks3.TextColor3 = color
  291. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  292. end
  293. tecks3.Size = UDim2.new(1,0,0.5,0)
  294. modet.TextTransparency = modet.TextTransparency + 1
  295. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  296. for i = 0, 74*timeex do
  297. swait()
  298. modet.TextTransparency = 1
  299. modet.TextStrokeTransparency = 1
  300. tecks2.Text = text
  301. tecks3.Text = text
  302. end
  303. local randomrot = math.random(1,2)
  304. if randomrot == 1 then
  305. for i = 1, 50 do
  306. swait()
  307. tecks2.Text = text
  308. tecks3.Text = text
  309. modet.TextTransparency = modet.TextTransparency - .02
  310. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  311. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  312. tecks2.TextTransparency = tecks2.TextTransparency + .04
  313. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  314. tecks3.TextTransparency = tecks2.TextTransparency + .04
  315. end
  316. elseif randomrot == 2 then
  317. for i = 1, 50 do
  318. swait()
  319. tecks2.Text = text
  320. tecks3.Text = text
  321. modet.TextTransparency = modet.TextTransparency - .02
  322. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  323. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  324. tecks2.TextTransparency = tecks2.TextTransparency + .04
  325. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  326. tecks3.TextTransparency = tecks2.TextTransparency + .04
  327. end
  328. end
  329. modet.TextTransparency = 0
  330. modet.TextStrokeTransparency = 0
  331. if toggleTag == false then
  332. modet.TextTransparency = 1
  333. modet.TextStrokeTransparency = 1
  334. end
  335. naeeym2:Destroy()
  336. end)
  337. chat()
  338. end
  339.  
  340. local rai = {"USER","User","USer","USEr","uSER","usER","useR","uSer","usEr","useR","PlAyEr","666"}
  341.  
  342. function bosschatfunc(text,color,watval)
  343. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  344. coroutine.resume(coroutine.create(function()
  345. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  346. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  347. end
  348. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  349. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  350. scrg.Name = "Dialog"
  351. local txtlb = Instance.new("TextLabel",scrg)
  352. txtlb.Text = ""
  353. txtlb.Font = "Arcade"
  354. txtlb.TextColor3 = Color3.new(0,0,0)
  355. txtlb.TextStrokeTransparency = 0
  356. txtlb.BackgroundTransparency = 0.75
  357. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  358. txtlb.TextStrokeColor3 = color
  359. txtlb.TextScaled = true
  360. txtlb.Size = UDim2.new(1,0,0.25,0)
  361. txtlb.TextXAlignment = "Left"
  362. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  363. local txtlb2 = Instance.new("TextLabel",scrg)
  364. txtlb2.Text = modet.Text.." USER:"
  365. txtlb2.Font = "Arcade"
  366. txtlb2.TextColor3 = Color3.new(0,0,0)
  367. txtlb2.TextStrokeTransparency = 0
  368. txtlb2.BackgroundTransparency = 1
  369. txtlb2.TextStrokeColor3 = color
  370. txtlb2.TextSize = 40
  371. txtlb2.Size = UDim2.new(1,0,0.25,0)
  372. txtlb2.TextXAlignment = "Left"
  373. txtlb2.Position = UDim2.new(0,0,1,0)
  374. local fvalen = 0.55
  375. local fval = -0.49
  376. local flol = 1.75
  377. local flil = 1.6
  378. for i = 0, 9 do
  379. swait()
  380. fval = fval + 0.05
  381. flol = flol - 0.1
  382. flil = flil - 0.1
  383. txtlb.Text = ""
  384. txtlb.Position = UDim2.new(0,0,flol,0)
  385. txtlb2.Position = UDim2.new(0,0,flil,0)
  386. end
  387. txtlb.Text = text
  388. wait(watval)
  389. local valinc = 0
  390. for i = 0, 99 do
  391. swait()
  392. valinc = valinc + 0.0001
  393. flol = flol + valinc
  394. flil = flil + valinc
  395. txtlb.Rotation = txtlb.Rotation + valinc*20
  396. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  397. txtlb.Position = UDim2.new(0,0,flol,0)
  398. txtlb2.Position = UDim2.new(0,0,flil,0)
  399. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  400. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  401. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  402. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  403. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  404. end
  405. scrg:Destroy()
  406. end))
  407. end
  408. end
  409.  
  410. --[[
  411. function CamShake(who,data)
  412. coroutine.wrap(function()
  413. if(FXFolder:FindFirstChild'CamShake')then
  414. local cam = FXFolder.CamShake:Clone()
  415. cam:WaitForChild'intensity'.Value = data.Intensity or 5
  416. cam:WaitForChild'duration'.Value = data.Duration or 5
  417. cam:WaitForChild'speed'.Value = data.Speed or 10;
  418. if(data.Origin)then NewInstance((typeof(data.Origin) == 'Instance' and "ObjectValue" or typeof(data.Origin) == 'Vector3' and 'Vector3Value' or typeof(data.Origin)=='CFrame' and 'CFrameValue'),cam,{Name='origin',Value=data.Origin}) end
  419. cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5)
  420. cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5)
  421. cam:WaitForChild'startdist'.Value = data.DropDist or 25;
  422. cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150;
  423.  
  424. cam.Parent = who
  425. wait()
  426. cam.Disabled = false
  427. end
  428. end)()
  429. end
  430.  
  431. function CamShakeAll(data)
  432. for _,v in next, game:service'Players':players() do
  433. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data)
  434. end
  435. end
  436. --]]
  437. function newbosschatfunc(text,color1,color2,delay)
  438. for _,v in next, game:service'Players':players() do
  439. coroutine.wrap(function()
  440. if(FXFolder:FindFirstChild'BossChat' and v.Character)then
  441. local cha = FXFolder.BossChat:Clone()
  442. cha.Color1.Value=color1
  443. cha.Color2.Value=color2
  444. cha.Text.Value=text
  445. cha.Ghghghghgh.Value=delay
  446. cha.Mode.Value=ModeOfGlitch
  447. cha.ModeName.Value=modet.Text
  448. cha.Music.Value=kan
  449. cha.Parent=v.Character
  450. wait()
  451. cha.Disabled = false
  452. game:service'Debris':AddItem(cha,(delay/60)*4)
  453. end
  454. end)()
  455. end
  456. end
  457. local Create = LoadLibrary("RbxUtility").Create
  458.  
  459. CFuncs = {
  460. ["Part"] = {
  461. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  462. local Part = Create("Part"){
  463. Parent = Parent,
  464. Reflectance = Reflectance,
  465. Transparency = Transparency,
  466. CanCollide = false,
  467. Locked = true,
  468. BrickColor = BrickColor.new(tostring(BColor)),
  469. Name = Name,
  470. Size = Size,
  471. Material = Material,
  472. }
  473. RemoveOutlines(Part)
  474. return Part
  475. end;
  476. };
  477.  
  478. ["Mesh"] = {
  479. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  480. local Msh = Create(Mesh){
  481. Parent = Part,
  482. Offset = OffSet,
  483. Scale = Scale,
  484. }
  485. if Mesh == "SpecialMesh" then
  486. Msh.MeshType = MeshType
  487. Msh.MeshId = MeshId
  488. end
  489. return Msh
  490. end;
  491. };
  492.  
  493. ["Mesh"] = {
  494. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  495. local Msh = Create(Mesh){
  496. Parent = Part,
  497. Offset = OffSet,
  498. Scale = Scale,
  499. }
  500. if Mesh == "SpecialMesh" then
  501. Msh.MeshType = MeshType
  502. Msh.MeshId = MeshId
  503. end
  504. return Msh
  505. end;
  506. };
  507.  
  508. ["Weld"] = {
  509. Create = function(Parent, Part0, Part1, C0, C1)
  510. local Weld = Create("Weld"){
  511. Parent = Parent,
  512. Part0 = Part0,
  513. Part1 = Part1,
  514. C0 = C0,
  515. C1 = C1,
  516. }
  517. return Weld
  518. end;
  519. };
  520.  
  521. ["Sound"] = {
  522. Create = function(id, par, vol, pit)
  523. local S = Create("Sound"){
  524. Volume = vol,
  525. Name = "EffectSoundo",
  526. Pitch = pit or 1,
  527. SoundId = id,
  528. Parent = par or workspace,
  529. }
  530. S:play()
  531. game:GetService("Debris"):AddItem(S, 10)
  532. end;
  533. };
  534.  
  535. ["TimeSound"] = {
  536. Create = function(id, par, vol, pit, timepos)
  537. local S = Create("Sound"){
  538. Volume = vol,
  539. Name = "EffectSoundo",
  540. Pitch = pit or 1,
  541. SoundId = id,
  542. TimePosition = timepos,
  543. Parent = par or workspace,
  544. }
  545. wait()
  546. S:play()
  547. game:GetService("Debris"):AddItem(S, 10)
  548. end;
  549. };
  550. ["EchoSound"] = {
  551. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  552. local Sas = Create("Sound"){
  553. Volume = vol,
  554. Name = "EffectSoundo",
  555. Pitch = pit or 1,
  556. SoundId = id,
  557. TimePosition = timepos,
  558. Parent = par or workspace,
  559. }
  560. local E = Create("EchoSoundEffect"){
  561. Delay = echodelay,
  562. Name = "Echo",
  563. Feedback = fedb,
  564. DryLevel = dryl,
  565. Parent = Sas,
  566. }
  567. wait()
  568. Sas:play()
  569. game:GetService("Debris"):AddItem(Sas, delays)
  570. end;
  571. };
  572.  
  573. ["LongSound"] = {
  574. Create = function(id, par, vol, pit)
  575. local S = Create("Sound"){
  576. Volume = vol,
  577. Pitch = pit or 1,
  578. SoundId = id,
  579. Parent = par or workspace,
  580. }
  581. wait()
  582. S:play()
  583. game:GetService("Debris"):AddItem(S, 60)
  584. end;
  585. };
  586.  
  587. ["ParticleEmitter"] = {
  588. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  589. local fp = Create("ParticleEmitter"){
  590. Parent = Parent,
  591. Color = ColorSequence.new(Color1, Color2),
  592. LightEmission = LightEmission,
  593. Size = Size,
  594. Texture = Texture,
  595. Transparency = Transparency,
  596. ZOffset = ZOffset,
  597. Acceleration = Accel,
  598. Drag = Drag,
  599. LockedToPart = LockedToPart,
  600. VelocityInheritance = VelocityInheritance,
  601. EmissionDirection = EmissionDirection,
  602. Enabled = Enabled,
  603. Lifetime = LifeTime,
  604. Rate = Rate,
  605. Rotation = Rotation,
  606. RotSpeed = RotSpeed,
  607. Speed = Speed,
  608. VelocitySpread = VelocitySpread,
  609. }
  610. return fp
  611. end;
  612. };
  613.  
  614. CreateTemplate = {
  615.  
  616. };
  617. }
  618.  
  619.  
  620.  
  621. New = function(Object, Parent, Name, Data)
  622. local Object = Instance.new(Object)
  623. for Index, Value in pairs(Data or {}) do
  624. Object[Index] = Value
  625. end
  626. Object.Parent = Parent
  627. Object.Name = Name
  628. return Object
  629. end
  630. local halocolor = BrickColor.new("Pastel light blue")
  631. local halocolor2 = BrickColor.new("Cool yellow")
  632. local starcolor = BrickColor.new("Bright yellow")
  633. local lunacolor = BrickColor.new("Navy blue")
  634. local lunacolor2 = BrickColor.new("Bright blue")
  635. local wepcolor = BrickColor.new("Really black")
  636. local maincolor = BrickColor.new("Really black")
  637. local m = Instance.new("Model",char)
  638. local m2 = Instance.new("Model",char)
  639. local m3 = Instance.new("Model",char)
  640. local mw1 = Instance.new("Model",char)
  641. local mw2 = Instance.new("Model",char)
  642. local mwN = Instance.new("Model",char)
  643. local mwY = Instance.new("Model",char)
  644.  
  645. local est = {"error","Errors","eRror","erRor","errOr","erroR","ERror","ErRor","ErrOr","ErroR","eRRor","eRrOr","eRroR","erROr","erRoR","errOR","ERROR"}
  646.  
  647.  
  648.  
  649. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  650. local gui = it(GuiType)
  651. gui.Parent = parent
  652. gui.Text = text
  653. gui.BackgroundTransparency = backtrans
  654. gui.BackgroundColor3 = backcol
  655. gui.SizeConstraint = "RelativeXY"
  656. gui.TextXAlignment = "Center"
  657. gui.TextYAlignment = "Center"
  658. gui.Position = pos
  659. gui.Size = size
  660. gui.Font = "SourceSans"
  661. gui.FontSize = "Size14"
  662. gui.TextWrapped = false
  663. gui.TextStrokeTransparency = 0
  664. gui.TextColor = BrickColor.new("White")
  665. return gui
  666. end
  667. --------------------------- GUI STUFF
  668. local basgui = it("GuiMain")
  669. basgui.Parent = plr.PlayerGui
  670. basgui.Name = "VISgui"
  671. local fullscreenz = it("Frame")
  672. fullscreenz.Parent = basgui
  673. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  674. fullscreenz.BackgroundTransparency = .5
  675. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  676. fullscreenz.AnchorPoint=Vector2.new(1,.5)
  677. fullscreenz.Size = UDim2.new(.2, 0, 1.2, 0)
  678. fullscreenz.Position = UDim2.new(1.01, 0, .5, 0)
  679. fullscreenz.BorderSizePixel=12
  680. fullscreenz.ZIndex=2
  681. local fullscreenz2 = it("Frame")
  682. fullscreenz2.Parent = fullscreenz
  683. fullscreenz2.BackgroundTransparency = 1
  684. fullscreenz2.AnchorPoint=Vector2.new(.5,.5)
  685. fullscreenz2.Size = UDim2.new(1, 0, 1, 0)
  686. fullscreenz2.Position = UDim2.new(.5, 0, .5, 0)
  687. fullscreenz2.ClipsDescendants=true
  688.  
  689. local hh1 = it("Frame")
  690. hh1.Parent = fullscreenz
  691. hh1.BackgroundColor3 = Color3.new(255, 255, 255)
  692. hh1.BackgroundTransparency = .5
  693. hh1.BorderColor3 = Color3.new(17, 17, 17)
  694. hh1.AnchorPoint=Vector2.new(.5,.5)
  695. hh1.Size = UDim2.new(.04, 0, 1.2, 0)
  696. hh1.Position = UDim2.new(-.1, 0, .5, 0)
  697. hh1.BorderSizePixel=0
  698. hh1.ZIndex=4
  699.  
  700.  
  701. local hh2 = it("Frame")
  702. hh2.Parent = fullscreenz
  703. hh2.BackgroundColor3 = Color3.new(255, 255, 255)
  704. hh2.BackgroundTransparency = .5
  705. hh2.BorderColor3 = Color3.new(17, 17, 17)
  706. hh2.AnchorPoint=Vector2.new(.5,.5)
  707. hh2.Size = UDim2.new(.025, 0, 1.2, 0)
  708. hh2.Position = UDim2.new(-.14, 0, .5, 0)
  709. hh2.BorderSizePixel=0
  710. hh2.ZIndex=4
  711.  
  712.  
  713. local hh3 = it("Frame")
  714. hh3.Parent = fullscreenz
  715. hh3.BackgroundColor3 = Color3.new(255, 255, 255)
  716. hh3.BackgroundTransparency = .5
  717. hh3.BorderColor3 = Color3.new(17, 17, 17)
  718. hh3.AnchorPoint=Vector2.new(.5,.5)
  719. hh3.Size = UDim2.new(.01, 0, 1.2, 0)
  720. hh3.Position = UDim2.new(-.16, 0, .5, 0)
  721. hh3.BorderSizePixel=0
  722. hh3.ZIndex=4
  723.  
  724.  
  725. local vis1 = it("Frame")
  726. vis1.Parent = fullscreenz2
  727. vis1.BackgroundColor3 = Color3.new(255, 255, 255)
  728. vis1.BackgroundTransparency = .5
  729. vis1.BorderColor3 = Color3.new(17, 17, 17)
  730. vis1.AnchorPoint=Vector2.new(.5,1)
  731. vis1.Size = UDim2.new(.1, 0, 1, 0)
  732. vis1.Position = UDim2.new(.93, 0, 1, 0)
  733. vis1.BorderSizePixel=0
  734. vis1.ZIndex=2
  735. local vis2=vis1:Clone()
  736. vis2.Parent = fullscreenz2
  737. vis2.Size = UDim2.new(.07, 0, 1, 0)
  738. vis2.Position = UDim2.new(.81, 0, 1, 0)
  739.  
  740. local vis3=vis1:Clone()
  741. vis3.Parent = fullscreenz2
  742. vis3.Size = UDim2.new(.045, 0, 1, 0)
  743. vis3.Position = UDim2.new(.74, 0, 1, 0)
  744.  
  745. local vis4=vis1:Clone()
  746. vis4.Parent = fullscreenz2
  747. vis4.Size = UDim2.new(.03, 0, 1, 0)
  748. vis4.Position = UDim2.new(.69, 0, 1, 0)
  749.  
  750. local vis5=vis1:Clone()
  751. vis5.Parent = fullscreenz2
  752. vis5.Size = UDim2.new(.012, 0, 1, 0)
  753. vis5.Position = UDim2.new(.65, 0, 1, 0)
  754.  
  755. --fullscreenz
  756. local nedf = it("TextLabel",fullscreenz)
  757. nedf.AnchorPoint=Vector2.new(1,1)
  758. nedf.Font = "Arcade"
  759. nedf.BackgroundTransparency = 1
  760. nedf.BorderSizePixel = 0.65
  761. nedf.Size = UDim2.new(1,0,.2,0)
  762. nedf.Position = UDim2.new(.9,0,0.95,0)
  763. nedf.TextColor3 = Color3.new(0,0,0)
  764. nedf.TextStrokeColor3 = Color3.new(0,0,0)
  765. nedf.TextScaled = true
  766. nedf.TextStrokeTransparency = 0
  767. nedf.Text = "ETHEREAL GLITCHER"
  768. nedf.TextSize = 24
  769. nedf.ZIndex=101
  770.  
  771.  
  772. function ggg()
  773. local afa = it("ImageLabel",fullscreenz2)
  774. afa.BackgroundTransparency = 1
  775. afa.BorderSizePixel = 0
  776. afa.AnchorPoint=Vector2.new(.5,.5)
  777. afa.Parent = fullscreenz2
  778. afa.ImageTransparency = 0
  779. afa.Size = UDim2.new(0,40,0,40)
  780. local mfmf=math.random(10,90)/100
  781. afa.Position = UDim2.new(mfmf,0,1.2,0)
  782. afa.ImageColor3 = MAINRUINCOLOR.Color
  783. afa.Image = "rbxassetid://2710333451"
  784. afa.Rotation=math.random(-360,360)
  785. afa.ZIndex=3
  786. coroutine.resume(coroutine.create(function(g)
  787. local kokha=math.random(30,200)/30
  788. local hh1=math.random(-100,100)/50
  789. local hh2=math.random(100,400)/22
  790. for i=0,1.1,kokha/100 do
  791. swait()
  792. g.Position = g.Position+UDim2.new(0,hh1,0,-hh2)
  793. g.ImageTransparency=i
  794. g.Rotation=g.Rotation+3
  795. end
  796. g:Remove()
  797. end),afa)
  798. end
  799.  
  800. local hhahaha=false
  801. function nice(teext,h1,h2)
  802. local ned = it("TextLabel",fullscreenz)
  803. ned.AnchorPoint=Vector2.new(1,1)
  804. ned.Font = "Arcade"
  805. ned.BackgroundTransparency = 1
  806. ned.BorderSizePixel = 0.65
  807. ned.Size = UDim2.new(2.2,0,.2,0)
  808. ned.Position = UDim2.new(1.4,0,0.85,0)
  809. ned.TextColor3 = h1
  810. ned.TextStrokeColor3 = h2
  811. ned.TextScaled = true
  812. ned.TextStrokeTransparency = 0
  813. ned.Text = teext
  814. ned.TextSize = 24
  815. ned.Rotation = 90
  816. ned.TextXAlignment = "Right"
  817. ned.TextYAlignment = "Bottom"
  818. ned.ZIndex=100
  819. hhahaha=false
  820. coroutine.resume(coroutine.create(function()
  821. swait(3)
  822. hhahaha=true
  823. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  824. for i=1.1,0,-.02 do
  825. swait()
  826. ned.TextTransparency=i
  827. ned.TextStrokeTransparency = i
  828. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  829. if hhahaha==false then
  830. break
  831. end
  832. end
  833.  
  834. local hai=0
  835. local hai2=1
  836. repeat
  837. swait()
  838. ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
  839. if ModeOfGlitch == 5 then
  840. ned.TextColor3=Color3.new(math.random(0,255)/255,0,0)
  841. end
  842. until hhahaha==false
  843. ned:TweenPosition(UDim2.new(1.4,0,0.1,0), "In", "Quart", 1,true)
  844. for i=0,1.1,.02 do
  845. swait()
  846. ned.ZIndex=100-100*i
  847. ned.TextTransparency=i
  848. ned.TextStrokeTransparency = i
  849. end
  850. ned:Remove()
  851. end))
  852. end
  853.  
  854. local hhahaha2=true
  855. function nice2(h1,h2)
  856. local ned = it("TextLabel",fullscreenz)
  857. ned.AnchorPoint=Vector2.new(1,1)
  858. ned.Font = "Arcade"
  859. ned.BackgroundTransparency = 1
  860. ned.BorderSizePixel = 0.65
  861. ned.Size = UDim2.new(2.2,0,.1,0)
  862. ned.Position = UDim2.new(1.9,0,0.88,0)
  863. ned.TextColor3 = h1
  864. ned.TextStrokeColor3 = h2
  865. ned.TextScaled = true
  866. ned.TextStrokeTransparency = 0
  867. --ned.Text = teext
  868. ned.TextSize = 24
  869. ned.Rotation = 90
  870. ned.TextXAlignment = "Right"
  871. ned.TextYAlignment = "Bottom"
  872. ned.ZIndex=100
  873. hhahaha2=false
  874. coroutine.resume(coroutine.create(function()
  875. swait(3)
  876. hhahaha2=true
  877. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  878. for i=1.1,0,-.02 do
  879. swait()
  880. ned.TextTransparency=i
  881. ned.TextStrokeTransparency = i
  882. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  883. local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
  884. ned.Text=(mps.Name)
  885. if hhahaha2==false then
  886. break
  887. end
  888. end
  889.  
  890. local lastnam=ned.Text
  891. local hai=0
  892. local hai2=1
  893. local lastMode = ModeOfGlitch
  894. repeat
  895. ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
  896. pcall(function() local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
  897. ned.Text=(mps.Name) end)
  898. if ModeOfGlitch == 5 then
  899. ned.TextColor3=Color3.new(math.random(0,255)/255,0,0)
  900. end
  901.  
  902. swait()
  903. lastnam=ned.Text
  904. until hhahaha2==false
  905. ned:TweenPosition(UDim2.new(1.9,0,0.08,0), "In", "Quart", 1,true)
  906. for i=0,1.1,.02 do
  907. swait()
  908. ned.Text=lastnam
  909. ned.ZIndex=100-100*i
  910. ned.TextTransparency=i
  911. ned.TextStrokeTransparency = i
  912. end
  913. ned:Remove()
  914. end))
  915. end
  916.  
  917. local extrawingmod1 = Instance.new("Model",char)
  918. local extrawingmod2 = Instance.new("Model",char)
  919.  
  920. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  921. local p = Instance.new("Part")
  922. p.TopSurface = 0
  923. p.BottomSurface = 0
  924. p.Parent = parent
  925. p.Size = Vector3.new(0.1,0.1,0.1)
  926. p.Transparency = transparency
  927. p.Reflectance = reflectance
  928. p.CanCollide = false
  929. p.Locked = true
  930. p.BrickColor = brickcolor
  931. p.Material = material
  932. return p
  933. end
  934.  
  935. function CreateMesh(parent,meshtype,x1,y1,z1)
  936. local mesh = Instance.new("SpecialMesh",parent)
  937. mesh.MeshType = meshtype
  938. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  939. return mesh
  940. end
  941.  
  942. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  943. local mesh = Instance.new("SpecialMesh",parent)
  944. mesh.MeshType = "FileMesh"
  945. mesh.MeshId = meshid
  946. mesh.Scale = Vector3.new(x1,y1,z1)
  947. return mesh
  948. end
  949.  
  950.  
  951. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  952. local mesh = Instance.new("SpecialMesh",parent)
  953. mesh.MeshType = "FileMesh"
  954. mesh.MeshId = meshid
  955. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  956. mesh.Scale = Vector3.new(x1,y1,z1)
  957. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  958. return mesh
  959. end
  960.  
  961. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  962. local weld = Instance.new("Weld")
  963. weld.Parent = parent
  964. weld.Part0 = part0
  965. weld.Part1 = part1
  966. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  967. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  968. return weld
  969. end
  970.  
  971.  
  972. --------------
  973. -------------- ground effect
  974. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  975. CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  976. local effar = Instance.new("ParticleEmitter",cen)
  977. effar.Texture = "rbxassetid://2344870656"
  978. effar.LightEmission = 1
  979. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  980. effar.Rate = 50
  981. effar.Enabled = false
  982. effar.EmissionDirection = "Front"
  983. effar.Lifetime = NumberRange.new(1)
  984. effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
  985. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  986. effar.Speed = NumberRange.new(80,90)
  987. effar.Acceleration = Vector3.new(0,10,0)
  988. effar.Drag = 5
  989. effar.Rotation = NumberRange.new(-500,500)
  990. effar.SpreadAngle = Vector2.new(0,900)
  991. effar.RotSpeed = NumberRange.new(-500,500)
  992.  
  993. ----
  994. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  995. 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))
  996. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  997. 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))
  998.  
  999. local handlex = CreateParta(mwN,1,1,"Neon",maincolor)
  1000. CreateMesh(handle,"Brick",0,0,0)
  1001. 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))
  1002. local valuaring = 10
  1003. for i = 0, 49 do
  1004. valuaring = valuaring + 10
  1005. rn = CreateParta(mwY,0,0,"Neon",MAINRUINCOLOR)
  1006. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1007. 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))
  1008. end
  1009.  
  1010. local refec = Instance.new("ParticleEmitter",handlex)
  1011. refec.Texture = "rbxassetid://249270319"
  1012. refec.LightEmission = 0.95
  1013. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  1014. refec.Rate = 50
  1015. refec.Lifetime = NumberRange.new(0.5)
  1016. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  1017. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  1018. refec.Speed = NumberRange.new(0,2)
  1019. refec.Drag = 5
  1020. refec.LockedToPart = true
  1021. refec.Rotation = NumberRange.new(-500,500)
  1022. refec.VelocitySpread = 9000
  1023. refec.RotSpeed = NumberRange.new(-500,500)
  1024.  
  1025. local handle = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
  1026. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1027. 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))
  1028.  
  1029. --"rbxassetid://31727915"
  1030. --Sword
  1031.  
  1032. local sword = script.BloodCurse.BloodCurse:WaitForChild'hitbox'
  1033. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  1034. v.Anchored = false
  1035. end
  1036. w1 = Instance.new("Weld")
  1037. w1.Parent = ra
  1038. w1.Part0 = ra
  1039. w1.Part1 = sword
  1040. w1.C0 = ra.CFrame:Inverse()
  1041. w1.C1 = sword.CFrame:Inverse()
  1042. w1.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(00-0.05*math.cos(0+1 / 32)),RAD(0-0.05*math.cos(0+1 / 32)),RAD(00-0.05*math.cos(0+1 / 32)))
  1043.  
  1044. --Sword2
  1045.  
  1046. local cursedsword = script.CursedSword.CursedSword:WaitForChild'hitbox'
  1047. for i,v in pairs(script.CursedSword.CursedSword:GetChildren()) do
  1048. v.Anchored = false
  1049. end
  1050. w2 = Instance.new("Weld")
  1051. w2.Parent = ra
  1052. w2.Part0 = ra
  1053. w2.Part1 = sword
  1054. w2.C0 = ra.CFrame:Inverse()
  1055. w2.C1 = sword.CFrame:Inverse()
  1056. w2.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(0),RAD(0),RAD(0))
  1057.  
  1058. --- Left wing.
  1059.  
  1060.  
  1061.  
  1062. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1063. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1064. local lwing1weld = CreateWeld(lwing1,handle,lwing1,1.5,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1065.  
  1066. local ae4 = script.E:Clone()
  1067. ae4.Parent = mw1
  1068. ae4.Color = MAINRUINCOLOR.Color
  1069. ae4.Anchored = false
  1070. CreateWeld(ae4,lwing1,ae4,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1071.  
  1072. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1073. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1074. local lwing2weld = CreateWeld(lwing2,handle,lwing2,3,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1075.  
  1076. local ae5 = script.E:Clone()
  1077. ae5.Parent = mw1
  1078. ae5.Color = MAINRUINCOLOR.Color
  1079. ae5.Anchored = false
  1080. CreateWeld(ae5,lwing2,ae5,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1081.  
  1082. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1083. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1084. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.5,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1085.  
  1086. local ae6 = script.E:Clone()
  1087. ae6.Parent = mw1
  1088. ae6.Color = MAINRUINCOLOR.Color
  1089. ae6.Anchored = false
  1090. CreateWeld(ae6,lwing3,ae6,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1091.  
  1092. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1093. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1094. 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))
  1095.  
  1096. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1097. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1098. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1099. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1101. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1102. A0 = Instance.new('Attachment',wed)
  1103. A0.Position = vt(0,0.25*2,0.25*2)
  1104. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1105. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1106. CreateWeld(wed,lwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1107. A1 = Instance.new('Attachment',wed)
  1108. A1.Position = vt(0,-0.25*2,-2*2)
  1109. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1110. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  1111. CreateWeld(wed,lwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1112.  
  1113. tl4 = Instance.new('Trail',wed)
  1114. tl4.Attachment0 = A1
  1115. tl4.Attachment1 = A0
  1116. tl4.Texture = "rbxassetid://2108945559"
  1117. tl4.LightEmission = 1
  1118. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1119. tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1120. tl4.Lifetime = 0.6
  1121. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1122. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1123. 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))
  1124.  
  1125. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1127. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1128. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1129. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1130. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1131. A0 = Instance.new('Attachment',wed)
  1132. A0.Position = vt(0,0.25*2,0.25*2)
  1133. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1135. CreateWeld(wed,lwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1136. A1 = Instance.new('Attachment',wed)
  1137. A1.Position = vt(0,-0.25*2,-2*2)
  1138. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1139. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1140. CreateWeld(wed,lwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1141.  
  1142. tl5 = Instance.new('Trail',wed)
  1143. tl5.Attachment0 = A1
  1144. tl5.Attachment1 = A0
  1145. tl5.Texture = "rbxassetid://2108945559"
  1146. tl5.LightEmission = 1
  1147. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1148. tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1149. tl5.Lifetime = 0.6
  1150. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1151. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1152. 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))
  1153.  
  1154. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1155. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1156. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1157. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1158. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1159. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1160. A0 = Instance.new('Attachment',wed)
  1161. A0.Position = vt(0,0.25*2,0.25*2)
  1162. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1163. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1164. CreateWeld(wed,lwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1165. A1 = Instance.new('Attachment',wed)
  1166. A1.Position = vt(0,-0.25*2,-2*2)
  1167. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1168. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1169. CreateWeld(wed,lwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1170. tl6 = Instance.new('Trail',wed)
  1171. tl6.Attachment0 = A1
  1172. tl6.Attachment1 = A0
  1173. tl6.Texture = "rbxassetid://2108945559"
  1174. tl6.LightEmission = 1
  1175. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1176. tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1177. tl6.Lifetime = 0.6
  1178.  
  1179.  
  1180. tl4.Enabled = false
  1181. tl5.Enabled = false
  1182. tl6.Enabled = false
  1183. -- Right wing.
  1184.  
  1185. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1186. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1187. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-1.5,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1188.  
  1189. local ae1 = script.E:Clone()
  1190. ae1.Parent = mw2
  1191. ae1.Transparency = 1
  1192. ae1.Anchored = false
  1193. CreateWeld(ae1,rwing1,ae1,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1194.  
  1195. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1196. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1197. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-3,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1198.  
  1199. local ae2 = script.E:Clone()
  1200. ae2.Parent = mw2
  1201. ae2.Transparency = 1
  1202. ae2.Anchored = false
  1203. CreateWeld(ae2,rwing2,ae2,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1204.  
  1205. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1206. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1207. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.5,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1208.  
  1209. local ae3 = script.E:Clone()
  1210. ae3.Parent = mw2
  1211. ae3.Transparency = 1
  1212. ae3.Anchored = false
  1213. CreateWeld(ae3,rwing3,ae3,0,0,-1.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1214.  
  1215.  
  1216. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1217. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1218. 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))
  1219.  
  1220. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1221. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1222. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1223. A0 = Instance.new('Attachment',wed)
  1224. A0.Position = vt(0,0.25*2,0.25*2)
  1225. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1226. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1227. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1228. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1229. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1230. CreateWeld(wed,rwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1231. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1232. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1233. CreateWeld(wed,rwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1234. A1 = Instance.new('Attachment',wed)
  1235. A1.Position = vt(0,2,0.25)
  1236.  
  1237. tr4 = Instance.new('Trail',wed)
  1238. tr4.Attachment0 = A1
  1239. tr4.Attachment1 = A0
  1240. tr4.Texture = "rbxassetid://2108945559"
  1241. tr4.LightEmission = 1
  1242. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1243. tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1244. tr4.Lifetime = 0.6
  1245.  
  1246. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1247. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1248. 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))
  1249.  
  1250. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1251. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1252. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1253. A0 = Instance.new('Attachment',wed)
  1254. A0.Position = vt(0,0.25*2,0.25*2)
  1255. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1256. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1257. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1258. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1259. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1260. CreateWeld(wed,rwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1261. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1262. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1263. CreateWeld(wed,rwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1264. A1 = Instance.new('Attachment',wed)
  1265. A1.Position = vt(0,2,0.25)
  1266.  
  1267. tr5 = Instance.new('Trail',wed)
  1268. tr5.Attachment0 = A1
  1269. tr5.Attachment1 = A0
  1270. tr5.Texture = "rbxassetid://2108945559"
  1271. tr5.LightEmission = 1
  1272. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1273. tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1274. tr5.Lifetime = 0.6
  1275.  
  1276. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1277. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1278. 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))
  1279.  
  1280. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1281. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1282. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1283. A0 = Instance.new('Attachment',wed)
  1284. A0.Position = vt(0,0.25*2,0.25*2)
  1285. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1286. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1287. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1288. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1289. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1290. CreateWeld(wed,rwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1291. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1292. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1293. CreateWeld(wed,rwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1294. A1 = Instance.new('Attachment',wed)
  1295. A1.Position = vt(0,2,0.25)
  1296.  
  1297. tr6 = Instance.new('Trail',wed)
  1298. tr6.Attachment0 = A1
  1299. tr6.Attachment1 = A0
  1300. tr6.Texture = "rbxassetid://2108945559"
  1301. tr6.LightEmission = 1
  1302. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1303. tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1304. tr6.Lifetime = 0.6
  1305.  
  1306. ae4.Trail.Enabled=false
  1307. ae5.Trail.Enabled=false
  1308. ae6.Trail.Enabled=false
  1309. tr4.Enabled = false
  1310. tr5.Enabled = false
  1311. tr6.Enabled = false
  1312. ---- HERES THE RING
  1313.  
  1314.  
  1315. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1316. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1317. 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))
  1318. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1319. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1320. 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))
  1321. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1322. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1323. 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))
  1324.  
  1325.  
  1326. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1327. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1328. 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))
  1329.  
  1330. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1331. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1332. 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))
  1333.  
  1334.  
  1335.  
  1336. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1337. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1338. 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))
  1339.  
  1340. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1341. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1342. 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))
  1343.  
  1344. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1345. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1346. 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))
  1347.  
  1348. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1349. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1350. 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))
  1351. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1352. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1353. 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))
  1354.  
  1355. --- second ring
  1356.  
  1357. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1358. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1359. 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))
  1360. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1361. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1362. 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))
  1363. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1364. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1365. 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))
  1366.  
  1367. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1368. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1369. 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))
  1370.  
  1371. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1372. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1373. 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))
  1374.  
  1375.  
  1376.  
  1377. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1378. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1379. 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))
  1380.  
  1381. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1382. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1383. 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))
  1384.  
  1385. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1386. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1387. 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))
  1388.  
  1389. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1390. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1391. 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))
  1392. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1393. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1394. 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))]]--
  1395.  
  1396.  
  1397.  
  1398. for i, v in pairs(m:GetChildren()) do
  1399. if v:IsA("Part") then
  1400. v.BrickColor = BrickColor.new("Really black")
  1401. v.Material = "Glass"
  1402. end
  1403. end
  1404. for i, v in pairs(m2:GetChildren()) do
  1405. if v:IsA("Part") then
  1406. v.BrickColor = BrickColor.new("Crimson")
  1407. v.Material = "Granite"
  1408. end
  1409. end
  1410. for i, v in pairs(m3:GetChildren()) do
  1411. if v:IsA("Part") then
  1412. v.BrickColor = MAINRUINCOLOR
  1413. v.Material = "Neon"
  1414. end
  1415. end
  1416. for i, v in pairs(mw2:GetChildren()) do
  1417. if v:IsA("Part") then
  1418. v.BrickColor = MAINRUINCOLOR
  1419. v.Material = "Neon"
  1420. end
  1421. end
  1422. for i, v in pairs(mw1:GetChildren()) do
  1423. if v:IsA("Part") then
  1424. v.Transparency = 1
  1425. v.BrickColor = MAINRUINCOLOR
  1426. v.Material = "Neon"
  1427. end
  1428. end
  1429. for i, v in pairs(extrawingmod1:GetChildren()) do
  1430. if v:IsA("Part") then
  1431. v.Transparency = 1
  1432. v.BrickColor = BrickColor.new("White")
  1433. v.Material = "Neon"
  1434. end
  1435. end
  1436. for i, v in pairs(extrawingmod2:GetChildren()) do
  1437. if v:IsA("Part") then
  1438. v.Transparency = 1
  1439. v.BrickColor = BrickColor.new("White")
  1440. v.Material = "Neon"
  1441. end
  1442. end
  1443. ------
  1444.  
  1445.  
  1446. function RemoveOutlines(part)
  1447. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1448. end
  1449. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1450. local Part = Create("Part")({
  1451. Parent = Parent,
  1452. Reflectance = Reflectance,
  1453. Transparency = Transparency,
  1454. CanCollide = false,
  1455. Locked = true,
  1456. BrickColor = BrickColor.new(tostring(BColor)),
  1457. Name = Name,
  1458. Size = Size,
  1459. Material = Material
  1460. })
  1461. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1462. RemoveOutlines(Part)
  1463. return Part
  1464. end
  1465. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1466. local Msh = Create(Mesh)({
  1467. Parent = Part,
  1468. Offset = OffSet,
  1469. Scale = Scale
  1470. })
  1471. if Mesh == "SpecialMesh" then
  1472. Msh.MeshType = MeshType
  1473. Msh.MeshId = MeshId
  1474. end
  1475. return Msh
  1476. end
  1477. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1478. local Weld = Create("Weld")({
  1479. Parent = Parent,
  1480. Part0 = Part0,
  1481. Part1 = Part1,
  1482. C0 = C0,
  1483. C1 = C1
  1484. })
  1485. return Weld
  1486. end
  1487.  
  1488. Character=Player.Character
  1489. PlayerGui=Player.PlayerGui
  1490. Backpack=Player.Backpack
  1491. Torso=Character.Torso
  1492. Head=Character.Head
  1493. Humanoid=Character.Humanoid
  1494. m=Instance.new('Model',Character)
  1495. LeftArm=Character["Left Arm"]
  1496. LeftLeg=Character["Left Leg"]
  1497. RightArm=Character["Right Arm"]
  1498. RightLeg=Character["Right Leg"]
  1499. LS=Torso["Left Shoulder"]
  1500. LH=Torso["Left Hip"]
  1501. RS=Torso["Right Shoulder"]
  1502. RH=Torso["Right Hip"]
  1503. Face = Head.face
  1504. Neck=Torso.Neck
  1505. it=Instance.new
  1506. attacktype=1
  1507. vt=Vector3.new
  1508. cf=CFrame.new
  1509. euler=CFrame.fromEulerAnglesXYZ
  1510. angles=CFrame.Angles
  1511. cloaked=false
  1512. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1513. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1514. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1515. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1516. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1517. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1518. RootPart=Character.HumanoidRootPart
  1519. RootJoint=RootPart.RootJoint
  1520. RootCF=euler(-1.57,0,3.14)
  1521. attack = false
  1522. attackdebounce = false
  1523. deb=false
  1524. equipped=true
  1525. hand=false
  1526. MMouse=nil
  1527. combo=0
  1528. mana=0
  1529. trispeed=.2
  1530. attackmode='none'
  1531. local idle=0
  1532. local Anim="Idle"
  1533. local Effects={}
  1534. local gun=false
  1535. local shoot=false
  1536. local sine = 0
  1537. local change = 1
  1538.  
  1539.  
  1540. function RecolorTextAndRename(name,col1,col2,font)
  1541. modet.TextStrokeColor3 = col2
  1542. modet.TextColor3 = col1
  1543. modet.Font = font
  1544. modet.Text = name
  1545. --[[ned.Text = name
  1546. ned.TextColor3 = col1
  1547. ned.TextStrokeColor3 = col2]]
  1548. nice(name,col1,col2)
  1549. nice2(col1,col2)
  1550. end
  1551.  
  1552. local disably = false
  1553.  
  1554. local r = 255
  1555. local g = 0
  1556. local b = 0
  1557.  
  1558.  
  1559. LW=Torso["Left Shoulder"]
  1560. LH=Torso["Left Hip"]
  1561. RW=Torso["Right Shoulder"]
  1562. RH=Torso["Right Hip"]
  1563.  
  1564. --save shoulders
  1565. --[[RSH, LSH=nil, nil
  1566. --welds
  1567. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1568. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1569. LH=Torso["Left Hip"]
  1570. RH=Torso["Right Hip"]
  1571. TorsoColor=Torso.BrickColor
  1572. function NoOutline(Part)
  1573. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1574. end
  1575. ch=Character
  1576. RSH=ch.Torso["Right Shoulder"]
  1577. LSH=ch.Torso["Left Shoulder"]
  1578. --
  1579. RSH.Parent=nil
  1580. LSH.Parent=nil ]]--
  1581. --
  1582. RW.Name="Right Shoulder"
  1583. RW.Part0=char.Torso
  1584. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1585. RW.C1=cf(0, 0.5, 0)
  1586. RW.Part1=char["Right Arm"]
  1587. RW.Parent=char.Torso
  1588. --
  1589. LW.Name="Left Shoulder"
  1590. LW.Part0=char.Torso
  1591. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1592. LW.C1=cf(0, 0.5, 0)
  1593. LW.Part1=char["Left Arm"]
  1594. LW.Parent=char.Torso
  1595.  
  1596. local Stats=Instance.new("BoolValue")
  1597. Stats.Name="Stats"
  1598. Stats.Parent=Character
  1599. local Atk=Instance.new("NumberValue")
  1600. Atk.Name="Damage"
  1601. Atk.Parent=Stats
  1602. Atk.Value=1
  1603. local Def=Instance.new("NumberValue")
  1604. Def.Name="Defense"
  1605. Def.Parent=Stats
  1606. Def.Value=1
  1607. local Speed=Instance.new("NumberValue")
  1608. Speed.Name="Speed"
  1609. Speed.Parent=Stats
  1610. Speed.Value=1
  1611. local Mvmt=Instance.new("NumberValue")
  1612. Mvmt.Name="Movement"
  1613. Mvmt.Parent=Stats
  1614. Mvmt.Value=1
  1615.  
  1616. local donum=0
  1617.  
  1618.  
  1619. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1620. local fp=it("Part")
  1621. fp.formFactor=formfactor
  1622. fp.Parent=parent
  1623. fp.Reflectance=reflectance
  1624. fp.Transparency=transparency
  1625. fp.CanCollide=false
  1626. fp.Locked=true
  1627. fp.BrickColor=brickcolor
  1628. fp.Name=name
  1629. fp.Size=size
  1630. fp.Position=Torso.Position
  1631. NoOutline(fp)
  1632. fp.Material="SmoothPlastic"
  1633. fp:BreakJoints()
  1634. return fp
  1635. end
  1636.  
  1637. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1638. local mesh=it(Mesh)
  1639. mesh.Parent=part
  1640. if Mesh=="SpecialMesh" then
  1641. mesh.MeshType=meshtype
  1642. if meshid~="nil" then
  1643. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1644. end
  1645. end
  1646. mesh.Offset=offset
  1647. mesh.Scale=scale
  1648. return mesh
  1649. end
  1650.  
  1651. function weld(parent,part0,part1,c0)
  1652. local weld=it("Weld")
  1653. weld.Parent=parent
  1654. weld.Part0=part0
  1655. weld.Part1=part1
  1656. weld.C0=c0
  1657. return weld
  1658. end
  1659.  
  1660. local Color1=Torso.BrickColor
  1661.  
  1662. local bodvel=Instance.new("BodyVelocity")
  1663. local bg=Instance.new("BodyGyro")
  1664.  
  1665. --------- SazEreno's Artificial HB --------------
  1666.  
  1667. -------- RAINBOW LEAVE IT TO ME
  1668.  
  1669.  
  1670. so = function(id,par,vol,pit)
  1671. local sou = Instance.new("Sound",par or workspace)
  1672. sou.Volume=vol
  1673. sou.Pitch=pit or 1
  1674. sou.SoundId=id
  1675. swait()
  1676. sou:play()
  1677. game:GetService("Debris"):AddItem(sou,6)
  1678. end
  1679.  
  1680. function clerp(a,b,t)
  1681. local qa = {QuaternionFromCFrame(a)}
  1682. local qb = {QuaternionFromCFrame(b)}
  1683. local ax, ay, az = a.x, a.y, a.z
  1684. local bx, by, bz = b.x, b.y, b.z
  1685. local _t = 1-t
  1686. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1687. end
  1688.  
  1689. function aclerp(startCF,endCF,alpha)
  1690. return startCF:lerp(endCF, alpha)
  1691. end
  1692.  
  1693. function QuaternionFromCFrame(cf)
  1694. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1695. local trace = m00 + m11 + m22
  1696. if trace > 0 then
  1697. local s = math.sqrt(1 + trace)
  1698. local recip = 0.5/s
  1699. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1700. else
  1701. local i = 0
  1702. if m11 > m00 then
  1703. i = 1
  1704. end
  1705. if m22 > (i == 0 and m00 or m11) then
  1706. i = 2
  1707. end
  1708. if i == 0 then
  1709. local s = math.sqrt(m00-m11-m22+1)
  1710. local recip = 0.5/s
  1711. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1712. elseif i == 1 then
  1713. local s = math.sqrt(m11-m22-m00+1)
  1714. local recip = 0.5/s
  1715. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1716. elseif i == 2 then
  1717. local s = math.sqrt(m22-m00-m11+1)
  1718. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1719. end
  1720. end
  1721. end
  1722.  
  1723. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1724. local xs, ys, zs = x + x, y + y, z + z
  1725. local wx, wy, wz = w*xs, w*ys, w*zs
  1726. local xx = x*xs
  1727. local xy = x*ys
  1728. local xz = x*zs
  1729. local yy = y*ys
  1730. local yz = y*zs
  1731. local zz = z*zs
  1732. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1733. end
  1734.  
  1735. function QuaternionSlerp(a, b, t)
  1736. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1737. local startInterp, finishInterp;
  1738. if cosTheta >= 0.0001 then
  1739. if (1 - cosTheta) > 0.0001 then
  1740. local theta = math.acos(cosTheta)
  1741. local invSinTheta = 1/math.sin(theta)
  1742. startInterp = math.sin((1-t)*theta)*invSinTheta
  1743. finishInterp = math.sin(t*theta)*invSinTheta
  1744. else
  1745. startInterp = 1-t
  1746. finishInterp = t
  1747. end
  1748. else
  1749. if (1+cosTheta) > 0.0001 then
  1750. local theta = math.acos(-cosTheta)
  1751. local invSinTheta = 1/math.sin(theta)
  1752. startInterp = math.sin((t-1)*theta)*invSinTheta
  1753. finishInterp = math.sin(t*theta)*invSinTheta
  1754. else
  1755. startInterp = t-1
  1756. finishInterp = t
  1757. end
  1758. end
  1759. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1760. end
  1761.  
  1762. local function CFrameFromTopBack(at, top, back)
  1763. local right = top:Cross(back)
  1764. return CFrame.new(at.x, at.y, at.z,
  1765. right.x, top.x, back.x,
  1766. right.y, top.y, back.y,
  1767. right.z, top.z, back.z)
  1768. end
  1769.  
  1770. function Triangle(a, b, c)
  1771. local edg1 = (c-a):Dot((b-a).unit)
  1772. local edg2 = (a-b):Dot((c-b).unit)
  1773. local edg3 = (b-c):Dot((a-c).unit)
  1774. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1775. a, b, c = a, b, c
  1776. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1777. a, b, c = b, c, a
  1778. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1779. a, b, c = c, a, b
  1780. else
  1781. assert(false, "unreachable")
  1782. end
  1783.  
  1784. local len1 = (c-a):Dot((b-a).unit)
  1785. local len2 = (b-a).magnitude - len1
  1786. local width = (a + (b-a).unit*len1 - c).magnitude
  1787.  
  1788. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1789.  
  1790. local list = {}
  1791.  
  1792. if len1 > 0.01 then
  1793. local w1 = Instance.new('WedgePart', m)
  1794. game:GetService("Debris"):AddItem(w1,5)
  1795. w1.Material = "SmoothPlastic"
  1796. w1.FormFactor = 'Custom'
  1797. w1.BrickColor = MAINRUINCOLOR
  1798. w1.Transparency = 0
  1799. w1.Reflectance = 0
  1800. w1.Material = "SmoothPlastic"
  1801. w1.CanCollide = false
  1802. local l1 = Instance.new("PointLight",w1)
  1803. l1.Color = Color3.new(170,0,0)
  1804. NoOutline(w1)
  1805. local sz = Vector3.new(0.2, width, len1)
  1806. w1.Size = sz
  1807. local sp = Instance.new("SpecialMesh",w1)
  1808. sp.MeshType = "Wedge"
  1809. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1810. w1:BreakJoints()
  1811. w1.Anchored = true
  1812. w1.Parent = workspace
  1813. w1.Transparency = 0.7
  1814. table.insert(Effects,{w1,"Disappear",.01})
  1815. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1816. table.insert(list,w1)
  1817. end
  1818.  
  1819. if len2 > 0.01 then
  1820. local w2 = Instance.new('WedgePart', m)
  1821. game:GetService("Debris"):AddItem(w2,5)
  1822. w2.Material = "SmoothPlastic"
  1823. w2.FormFactor = 'Custom'
  1824. w2.BrickColor = MAINRUINCOLOR
  1825. w2.Transparency = 0
  1826. w2.Reflectance = 0
  1827. w2.Material = "SmoothPlastic"
  1828. w2.CanCollide = false
  1829. local l2 = Instance.new("PointLight",w2)
  1830. l2.Color = Color3.new(170,0,0)
  1831. NoOutline(w2)
  1832. local sz = Vector3.new(0.2, width, len2)
  1833. w2.Size = sz
  1834. local sp = Instance.new("SpecialMesh",w2)
  1835. sp.MeshType = "Wedge"
  1836. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1837. w2:BreakJoints()
  1838. w2.Anchored = true
  1839. w2.Parent = workspace
  1840. w2.Transparency = 0.7
  1841. table.insert(Effects,{w2,"Disappear",.01})
  1842. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1843. table.insert(list,w2)
  1844. end
  1845. return unpack(list)
  1846. end
  1847.  
  1848.  
  1849. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1850. if DoDamage == true then
  1851. if hit.Parent == nil then
  1852. return
  1853. end
  1854. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1855. for _, v in pairs(hit.Parent:children()) do
  1856. if v:IsA("Humanoid") then
  1857. h = v
  1858. end
  1859. end
  1860. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1861. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1862. return
  1863. end
  1864. local c = Create("ObjectValue")({
  1865. Name = "creator",
  1866. Value = game:GetService("Players").tommy73738,
  1867. Parent = h
  1868. })
  1869. game:GetService("Debris"):AddItem(c, 0.5)
  1870. if HitSound ~= nil and HitPitch ~= nil then
  1871. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1872. end
  1873. local Damage = math.random(minim, maxim)
  1874. local blocked = false
  1875. local block = hit.Parent:findFirstChild("Block")
  1876. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1877. blocked = true
  1878. block.Value = block.Value - 1
  1879. print(block.Value)
  1880. end
  1881. if blocked == false then
  1882. local HitHealth = h.Health
  1883. h.MaxHealth = 100
  1884. h.Health = h.Health - Damage
  1885. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1886. --print("gained kill")
  1887. dmg(h.Parent)
  1888. end
  1889. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color)
  1890. else
  1891. h.Health = h.Health - Damage / 2
  1892. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color)
  1893. end
  1894. if Type == "Knockdown" then
  1895. local hum = hit.Parent.Humanoid
  1896. hum.PlatformStand = true
  1897. coroutine.resume(coroutine.create(function(HHumanoid)
  1898. swait(1)
  1899. HHumanoid.PlatformStand = false
  1900. end), hum)
  1901. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1902. local bodvol = Create("BodyVelocity")({
  1903. velocity = angle * knockback,
  1904. P = 5000,
  1905. maxForce = Vector3.new(8000, 8000, 8000),
  1906. Parent = hit
  1907. })
  1908. local rl = Create("BodyAngularVelocity")({
  1909. P = 3000,
  1910. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1911. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1912. Parent = hit
  1913. })
  1914. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1915. game:GetService("Debris"):AddItem(rl, 0.5)
  1916. elseif Type == "Normal" then
  1917. local vp = Create("BodyVelocity")({
  1918. P = 500,
  1919. maxForce = Vector3.new(math.huge, 0, math.huge),
  1920. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1921. })
  1922. if knockback > 0 then
  1923. vp.Parent = hit.Parent.Head
  1924. end
  1925. game:GetService("Debris"):AddItem(vp, 0.5)
  1926. elseif Type == "Up" then
  1927. local bodyVelocity = Create("BodyVelocity")({
  1928. velocity = Vector3.new(0, 20, 0),
  1929. P = 5000,
  1930. maxForce = Vector3.new(8000, 8000, 8000),
  1931. Parent = hit
  1932. })
  1933. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1934. local bodyVelocity = Create("BodyVelocity")({
  1935. velocity = Vector3.new(0, 20, 0),
  1936. P = 5000,
  1937. maxForce = Vector3.new(8000, 8000, 8000),
  1938. Parent = hit
  1939. })
  1940. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1941. elseif Type == "Leech" then
  1942. local hum = hit.Parent.Humanoid
  1943. if hum ~= nil then
  1944. for i = 0, 2 do
  1945. 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)
  1946. end
  1947. Humanoid.Health = Humanoid.Health + 10
  1948. end
  1949. elseif Type == "UpKnock" then
  1950. local hum = hit.Parent.Humanoid
  1951. hum.PlatformStand = true
  1952. if hum ~= nil then
  1953. hitr = true
  1954. end
  1955. coroutine.resume(coroutine.create(function(HHumanoid)
  1956. swait(5)
  1957. HHumanoid.PlatformStand = false
  1958. hitr = false
  1959. end), hum)
  1960. local bodyVelocity = Create("BodyVelocity")({
  1961. velocity = Vector3.new(0, 20, 0),
  1962. P = 5000,
  1963. maxForce = Vector3.new(8000, 8000, 8000),
  1964. Parent = hit
  1965. })
  1966. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1967. local bodyVelocity = Create("BodyVelocity")({
  1968. velocity = Vector3.new(0, 20, 0),
  1969. P = 5000,
  1970. maxForce = Vector3.new(8000, 8000, 8000),
  1971. Parent = hit
  1972. })
  1973. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1974. elseif Type == "Snare" then
  1975. local bp = Create("BodyPosition")({
  1976. P = 2000,
  1977. D = 100,
  1978. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1979. position = hit.Parent.Torso.Position,
  1980. Parent = hit.Parent.Torso
  1981. })
  1982. game:GetService("Debris"):AddItem(bp, 1)
  1983. elseif Type == "Slashnare" then
  1984. 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)
  1985. for i = 1, math.random(4, 5) do
  1986. 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)
  1987. end
  1988. local bp = Create("BodyPosition")({
  1989. P = 2000,
  1990. D = 100,
  1991. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1992. position = hit.Parent.Torso.Position,
  1993. Parent = hit.Parent.Torso
  1994. })
  1995. game:GetService("Debris"):AddItem(bp, 1)
  1996. elseif Type == "Spike" then
  1997. -- CreateBigIceSword(hit.Parent.Torso.CFrame)
  1998. local bp = Create("BodyPosition")({
  1999. P = 2000,
  2000. D = 100,
  2001. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2002. position = hit.Parent.Torso.Position,
  2003. Parent = hit.Parent.Torso
  2004. })
  2005. game:GetService("Debris"):AddItem(bp, 1)
  2006. elseif Type == "Freeze" then
  2007. local BodPos = Create("BodyPosition")({
  2008. P = 50000,
  2009. D = 1000,
  2010. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2011. position = hit.Parent.Torso.Position,
  2012. Parent = hit.Parent.Torso
  2013. })
  2014. local BodGy = Create("BodyGyro")({
  2015. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2016. P = 20000,
  2017. Parent = hit.Parent.Torso,
  2018. cframe = hit.Parent.Torso.CFrame
  2019. })
  2020. hit.Parent.Torso.Anchored = true
  2021. coroutine.resume(coroutine.create(function(Part)
  2022. swait(1.5)
  2023. Part.Anchored = false
  2024. end), hit.Parent.Torso)
  2025. game:GetService("Debris"):AddItem(BodPos, 3)
  2026. game:GetService("Debris"):AddItem(BodGy, 3)
  2027. end
  2028. local debounce = Create("BoolValue")({
  2029. Name = "DebounceHit",
  2030. Parent = hit.Parent,
  2031. Value = true
  2032. })
  2033. game:GetService("Debris"):AddItem(debounce, Delay)
  2034. c = Instance.new("ObjectValue")
  2035. c.Name = "creator"
  2036. c.Value = Player
  2037. c.Parent = h
  2038. game:GetService("Debris"):AddItem(c, 0.5)
  2039. end
  2040. elseif DoDamage == false then
  2041. print("Damage is disabled")
  2042. end
  2043.  
  2044. end
  2045. function ShowDamage(Pos, Text, Time, Color)
  2046. coroutine.resume(coroutine.create(function()
  2047. local Rate = 0.03333333333333333
  2048. local Pos = Pos or Vector3.new(0, 0, 0)
  2049. local Text = Text or ""
  2050. local Color = Color or Color3.new(1, 0, 1)
  2051. local EffectPart = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2052. EffectPart.Anchored = true
  2053. EffectPart.CFrame = CFrame.new(Pos)
  2054. local BillboardGui = Create("BillboardGui")({
  2055. Size = UDim2.new(6, 0, 6, 0),
  2056. Adornee = EffectPart,
  2057. Parent = EffectPart,
  2058. AlwaysOnTop=true,
  2059. Active=true
  2060. })
  2061. local TextLabel = Create("TextLabel")({
  2062. BackgroundTransparency = 1,
  2063. AnchorPoint=Vector2.new(.5,.5),
  2064. Position = UDim2.new(.5, 0, .5, 0),
  2065. Size = UDim2.new(1, 0, 1, 0),
  2066. Text = Text,
  2067. TextColor3 = MAINRUINCOLOR.Color,
  2068. TextStrokeColor3 = SECONDRUINCOLOR.Color,
  2069. TextStrokeTransparency=0,
  2070. TextScaled = true,
  2071. Font = Enum.Font.Bodoni,
  2072. Parent = BillboardGui,
  2073. ZIndex=4,
  2074. })
  2075.  
  2076. local aaa=math.random(-360,360)
  2077. local bbb=math.random(-360,360)
  2078.  
  2079. local F1 = Create("Frame")({
  2080. AnchorPoint=Vector2.new(.5,.5),
  2081. Position = UDim2.new(.5, 0, .5, 0),
  2082. Size = UDim2.new(.4,0,.4,0),
  2083. BackgroundColor3 =MAINRUINCOLOR.Color,
  2084. BorderColor3 =SECONDRUINCOLOR.Color,
  2085. BorderSizePixel=4,
  2086. Parent = BillboardGui,
  2087. Rotation=aaa
  2088. })
  2089. local F2 = Create("Frame")({
  2090. AnchorPoint=Vector2.new(.5,.5),
  2091. Position = UDim2.new(.5, 0, .5, 0),
  2092. Size = UDim2.new(.4,0,.4,0),
  2093. BackgroundColor3 =MAINRUINCOLOR.Color,
  2094. BorderColor3 =SECONDRUINCOLOR.Color,
  2095. BorderSizePixel=4,
  2096. Parent = BillboardGui,
  2097. Rotation=-aaa
  2098. })
  2099. local F3 = Create("Frame")({
  2100. AnchorPoint=Vector2.new(.5,.5),
  2101. Position = UDim2.new(.5, 0, .5, 0),
  2102. Size = UDim2.new(.2,0,.2,0),
  2103. BackgroundColor3 =MAINRUINCOLOR.Color,
  2104. BorderColor3 =SECONDRUINCOLOR.Color,
  2105. BorderSizePixel=4,
  2106. Parent = BillboardGui,
  2107. ZIndex=2,
  2108. Rotation=bbb
  2109. })
  2110. local F4 = Create("Frame")({
  2111. AnchorPoint=Vector2.new(.5,.5),
  2112. Position = UDim2.new(.5, 0, .5, 0),
  2113. Size = UDim2.new(.2,0,.2,0),
  2114. BackgroundColor3 =MAINRUINCOLOR.Color,
  2115. BorderColor3 =SECONDRUINCOLOR.Color,
  2116. BorderSizePixel=4,
  2117. Parent = BillboardGui,
  2118. ZIndex=2,
  2119. Rotation=-bbb
  2120. })
  2121.  
  2122. --[[delay(0, function() -- no thank
  2123. local Frames = Time / Rate
  2124. for Frame = 1, Frames do
  2125. wait(Rate)
  2126. local Percent = Frame / Frames
  2127. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2128. TextLabel.TextTransparency = Percent
  2129. end
  2130. if EffectPart and EffectPart.Parent then
  2131. EffectPart:Destroy()
  2132. end
  2133. end)]]
  2134. local ha=EffectPart
  2135. local oring=ha.CFrame*CFrame.new(0,3.4,0)
  2136. F1:TweenPosition(UDim2.new(.2,0,.5,0), "Out", "Quint", 1,true)
  2137. F2:TweenPosition(UDim2.new(.8,0,.5,0), "Out", "Quint", 1,true)
  2138. F3:TweenPosition(UDim2.new(-.1,0,.5,0), "Out", "Quint", 1.5,true)
  2139. F4:TweenPosition(UDim2.new(1.1,0,.5,0), "Out", "Quint", 1.5,true)
  2140. for aaa=0,1.1,Time do
  2141. swait()
  2142. ha.CFrame=clerp(ha.CFrame,oring,.1)
  2143. F1.BackgroundTransparency=0+1*aaa
  2144. F2.BackgroundTransparency=0+1*aaa
  2145. F3.BackgroundTransparency=0+.5*aaa
  2146. F4.BackgroundTransparency=0+.5*aaa
  2147. F1.Rotation=F1.Rotation+math.random(5,10)
  2148. F2.Rotation=F2.Rotation-math.random(5,10)
  2149. F3.Rotation=F3.Rotation+math.random(3,6)
  2150. F4.Rotation=F4.Rotation-math.random(3,6)
  2151. end
  2152. for aaa=0,1,.1 do
  2153. swait()
  2154. TextLabel.TextTransparency=aaa
  2155. TextLabel.TextStrokeTransparency=aaa
  2156. F3.BackgroundTransparency=.5+.5*aaa
  2157. F4.BackgroundTransparency=.5+.5*aaa
  2158. F3.Rotation=F3.Rotation+math.random(3,6)
  2159. F4.Rotation=F4.Rotation-math.random(3,6)
  2160. end
  2161. --ha:Remove()
  2162. end))
  2163. end
  2164. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2165. for _, c in pairs(workspace:children()) do
  2166. local hum = c:findFirstChildOfClass("Humanoid")
  2167. if hum ~= nil then
  2168. local head = c:findFirstChild("Head")
  2169. if head ~= nil then
  2170. local targ = head.Position - Part.Position
  2171. local mag = targ.magnitude
  2172. if magni >= mag and c.Name ~= Player.Name then
  2173. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2174. end
  2175. end
  2176. end
  2177. end
  2178. end
  2179.  
  2180. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2181. for _, c in pairs(workspace:children()) do
  2182. local hum = c:findFirstChild("Humanoid")
  2183. if hum ~= nil then
  2184. local head = c:findFirstChild("Torso")
  2185. if head ~= nil then
  2186. local targ = head.Position - Part.Position
  2187. local mag = targ.magnitude
  2188. if magni >= mag and c.Name ~= Player.Name then
  2189. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2190. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2191. end
  2192. end
  2193. end
  2194. end
  2195. end
  2196.  
  2197. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2198. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2199. end
  2200.  
  2201. function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color)
  2202. local type = type
  2203. local rng = Instance.new("Part", char)
  2204. rng.Anchored = true
  2205. rng.BrickColor = color
  2206. rng.CanCollide = false
  2207. rng.FormFactor = 3
  2208. rng.Name = "Ring"
  2209. rng.Material = "Neon"
  2210. rng.Size = Vector3.new(1, 1, 1)
  2211. rng.Transparency = 0
  2212. if typeoftrans == "In" then
  2213. rng.Transparency = 1
  2214. end
  2215. rng.TopSurface = 0
  2216. rng.BottomSurface = 0
  2217. rng.CFrame = pos
  2218. local rngm = Instance.new("SpecialMesh", rng)
  2219. rngm.MeshType = "FileMesh"
  2220. rngm.MeshId = "rbxassetid://20329976"
  2221. rngm.Scale = scale
  2222. local scaler2 = 1
  2223. local scaler2b = 1
  2224. if type == "Add" then
  2225. scaler2 = 1*value
  2226. scaler2b = 1*value2
  2227. elseif type == "Divide" then
  2228. scaler2 = 1/value
  2229. scaler2b = 1/value2
  2230. end
  2231. local randomrot = math.random(1,2)
  2232. coroutine.resume(coroutine.create(function()
  2233. for i = 0,10/bonuspeed,0.1 do
  2234. swait()
  2235. if type == "Add" then
  2236. scaler2 = scaler2 - 0.01*value/bonuspeed
  2237. scaler2b = scaler2b - 0.01*value/bonuspeed
  2238. elseif type == "Divide" then
  2239. scaler2 = scaler2 - 0.01/value*bonuspeed
  2240. scaler2b = scaler2b - 0.01/value*bonuspeed
  2241. end
  2242. if randomrot == 1 then
  2243. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
  2244. elseif randomrot == 2 then
  2245. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
  2246. end
  2247. if typeoftrans == "Out" then
  2248. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2249. elseif typeoftrans == "In" then
  2250. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2251. end
  2252. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed)
  2253. end
  2254. rng:Destroy()
  2255. end))
  2256. end
  2257.  
  2258. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2259. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2260. prt.Anchored=true
  2261. prt.CFrame=cframe*cf(x,y,z)
  2262. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2263. game:GetService("Debris"):AddItem(prt,5)
  2264. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2265. local num=math.random()
  2266. local num2=math.random(-3,2)+math.random()
  2267. local numm=0
  2268. for i=0,1,delay*2 do
  2269. swait()
  2270. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2271. Part.Transparency=i
  2272. numm=numm+0.01
  2273. end
  2274. Part.Parent=nil
  2275. Mesh.Parent=nil
  2276. end),prt,msh,x,y,z)
  2277. end
  2278.  
  2279. function dmgstart(dmg,what)
  2280. hitcon = what.Touched:connect(function(hit)
  2281. local hum = hit.Parent:FindFirstChild("Humanoid")
  2282. if hum and not hum:IsDescendantOf(Character) then
  2283. hum:TakeDamage(dmg)
  2284. end
  2285. end)
  2286. end
  2287.  
  2288. function dmgstop()
  2289. hitcon:disconnect()
  2290. end
  2291.  
  2292. function Cloak()
  2293. Face.Parent=nil
  2294. cloaked=true
  2295. coroutine.wrap(function()
  2296. for i = 0, 1, .05 do
  2297. for _,v in next, Character:GetDescendants() do
  2298. if(v:IsA'BasePart' and v ~= RootPart)then
  2299. v.Transparency=i>v.Transparency and i or v.Transparency
  2300. end
  2301. end
  2302. swait()
  2303. end
  2304. end)()
  2305. end
  2306.  
  2307. function UnCloak()
  2308. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2309. Face.Parent=Head
  2310. cloaked=false
  2311. coroutine.wrap(function()
  2312. for i = 1, 0, -.05 do
  2313. for _,v in next, Character:GetDescendants() do
  2314. if(v:IsA'BasePart' and v ~= RootPart)then
  2315. v.Transparency=i
  2316. end
  2317. end
  2318. swait()
  2319. end
  2320. end)()
  2321. end
  2322.  
  2323. local origcolor = BrickColor.new("Pastel light blue")
  2324. ---- This section of explosions.
  2325.  
  2326. ----
  2327.  
  2328.  
  2329. function ring(type,pos,scale,value)
  2330. local type = type
  2331. local rng = Instance.new("Part", char)
  2332. rng.Anchored = true
  2333. rng.BrickColor = origcolor
  2334. rng.CanCollide = false
  2335. rng.FormFactor = 3
  2336. rng.Name = "Ring"
  2337. rng.Size = Vector3.new(1, 1, 1)
  2338. rng.Transparency = 0
  2339. rng.TopSurface = 0
  2340. rng.BottomSurface = 0
  2341. rng.CFrame = pos
  2342. local rngm = Instance.new("SpecialMesh", rng)
  2343. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2344. rngm.Scale = scale
  2345. local scaler2 = 1
  2346. if type == "Add" then
  2347. scaler2 = 1*value
  2348. elseif type == "Divide" then
  2349. scaler2 = 1/value
  2350. end
  2351. coroutine.resume(coroutine.create(function()
  2352. for i = 0,10,0.1 do
  2353. swait()
  2354. if type == "Add" then
  2355. scaler2 = scaler2 - 0.01*value
  2356. elseif type == "Divide" then
  2357. scaler2 = scaler2 - 0.01/value
  2358. end
  2359. rng.Transparency = rng.Transparency + 0.01
  2360. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2361. end
  2362. rng:Destroy()
  2363. end))
  2364. end
  2365.  
  2366.  
  2367. function wave(type,pos,scale,value)
  2368. local type = type
  2369. local rng = Instance.new("Part", char)
  2370. rng.Anchored = true
  2371. rng.BrickColor = origcolor
  2372. rng.CanCollide = false
  2373. rng.FormFactor = 3
  2374. rng.Name = "Ring"
  2375. rng.Size = Vector3.new(1, 1, 1)
  2376. rng.Transparency = 0
  2377. rng.TopSurface = 0
  2378. rng.BottomSurface = 0
  2379. rng.CFrame = pos
  2380. local rngm = Instance.new("SpecialMesh", rng)
  2381. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2382. rngm.Scale = scale
  2383. local scaler2 = 1
  2384. if type == "Add" then
  2385. scaler2 = 1*value
  2386. elseif type == "Divide" then
  2387. scaler2 = 1/value
  2388. end
  2389. coroutine.resume(coroutine.create(function()
  2390. for i = 0,10,0.1 do
  2391. swait()
  2392. if type == "Add" then
  2393. scaler2 = scaler2 - 0.01*value
  2394. elseif type == "Divide" then
  2395. scaler2 = scaler2 - 0.01/value
  2396. end
  2397. rng.Transparency = rng.Transparency + 0.01
  2398. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2399. end
  2400. rng:Destroy()
  2401. end))
  2402. end
  2403.  
  2404. function wind(type,pos,scale,value,speed)
  2405. local type = type
  2406. local rng = Instance.new("Part", char)
  2407. rng.Anchored = true
  2408. rng.BrickColor = origcolor
  2409. rng.CanCollide = false
  2410. rng.FormFactor = 3
  2411. rng.Name = "Ring"
  2412. rng.Size = Vector3.new(1, 1, 1)
  2413. rng.Transparency = 0
  2414. rng.TopSurface = 0
  2415. rng.BottomSurface = 0
  2416. rng.CFrame = pos
  2417. local rngm = Instance.new("SpecialMesh", rng)
  2418. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2419. rngm.Scale = scale
  2420. local scaler2 = 1
  2421. if type == "Add" then
  2422. scaler2 = 1*value
  2423. elseif type == "Divide" then
  2424. scaler2 = 1/value
  2425. end
  2426. coroutine.resume(coroutine.create(function()
  2427. for i = 0,10,0.1 do
  2428. swait()
  2429. if type == "Add" then
  2430. scaler2 = scaler2 - 0.01*value
  2431. elseif type == "Divide" then
  2432. scaler2 = scaler2 - 0.01/value
  2433. end
  2434. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2435. rng.Transparency = rng.Transparency + 0.01
  2436. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2437. end
  2438. rng:Destroy()
  2439. end))
  2440. end
  2441.  
  2442. function groundwind(type,pos,scale,value,speed)
  2443. local type = type
  2444. local rng = Instance.new("Part", char)
  2445. rng.Anchored = true
  2446. rng.BrickColor = origcolor
  2447. rng.CanCollide = false
  2448. rng.FormFactor = 3
  2449. rng.Name = "Ring"
  2450. rng.Size = Vector3.new(1, 1, 1)
  2451. rng.Transparency = 0
  2452. rng.TopSurface = 0
  2453. rng.BottomSurface = 0
  2454. rng.CFrame = pos
  2455. local rngm = Instance.new("SpecialMesh", rng)
  2456. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2457. rngm.Scale = scale
  2458. local scaler2 = 1
  2459. if type == "Add" then
  2460. scaler2 = 1*value
  2461. elseif type == "Divide" then
  2462. scaler2 = 1/value
  2463. end
  2464. coroutine.resume(coroutine.create(function()
  2465. for i = 0,10,0.1 do
  2466. swait()
  2467. if type == "Add" then
  2468. scaler2 = scaler2 - 0.01*value
  2469. elseif type == "Divide" then
  2470. scaler2 = scaler2 - 0.01/value
  2471. end
  2472. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2473. rng.Transparency = rng.Transparency + 0.01
  2474. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2475. end
  2476. rng:Destroy()
  2477. end))
  2478. end
  2479.  
  2480. function CameraManager()
  2481. if TwoD and not CamInterrupt then
  2482. if Humanoid.Health > 0 then
  2483. Camera.CameraSubject = Humanoid
  2484. Camera.CameraType = "Scriptable"
  2485. Humanoid.AutoRotate = false
  2486. if Booleans.GyroUse then
  2487. Directer.MaxTorque = Vec3(0, huge, 0)
  2488. else
  2489. Directer.MaxTorque = Vec3(0, 0, 0)
  2490. end
  2491. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2492. if Booleans.CamFollow then
  2493. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2494. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2495. else
  2496. CPart.Position = RootPart.Position
  2497. end
  2498. else
  2499. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2500. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2501. end
  2502. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2503. else
  2504. Camera.CameraSubject = Humanoid
  2505. Camera.CameraType = "Custom"
  2506. Controller.Disabled = false
  2507. end
  2508. end
  2509. end
  2510.  
  2511. function ring(type,pos,scale,value)
  2512. local type = type
  2513. local rng = Instance.new("Part", char)
  2514. rng.Anchored = true
  2515. rng.BrickColor = origcolor
  2516. rng.CanCollide = false
  2517. rng.FormFactor = 3
  2518. rng.Name = "Ring"
  2519. rng.Size = Vector3.new(1, 1, 1)
  2520. rng.Transparency = 0
  2521. rng.TopSurface = 0
  2522. rng.BottomSurface = 0
  2523. rng.CFrame = pos
  2524. local rngm = Instance.new("SpecialMesh", rng)
  2525. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2526. rngm.Scale = scale
  2527. local scaler2 = 1
  2528. if type == "Add" then
  2529. scaler2 = 1*value
  2530. elseif type == "Divide" then
  2531. scaler2 = 1/value
  2532. end
  2533. coroutine.resume(coroutine.create(function()
  2534. for i = 0,10,0.1 do
  2535. swait()
  2536. if type == "Add" then
  2537. scaler2 = scaler2 - 0.01*value
  2538. elseif type == "Divide" then
  2539. scaler2 = scaler2 - 0.01/value
  2540. end
  2541. rng.Transparency = rng.Transparency + 0.01
  2542. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2543. end
  2544. rng:Destroy()
  2545. end))
  2546. end
  2547.  
  2548.  
  2549. function wave(type,pos,scale,value)
  2550. local type = type
  2551. local rng = Instance.new("Part", char)
  2552. rng.Anchored = true
  2553. rng.BrickColor = origcolor
  2554. rng.CanCollide = false
  2555. rng.FormFactor = 3
  2556. rng.Name = "Ring"
  2557. rng.Size = Vector3.new(1, 1, 1)
  2558. rng.Transparency = 0
  2559. rng.TopSurface = 0
  2560. rng.BottomSurface = 0
  2561. rng.CFrame = pos
  2562. local rngm = Instance.new("SpecialMesh", rng)
  2563. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2564. rngm.Scale = scale
  2565. local scaler2 = 1
  2566. if type == "Add" then
  2567. scaler2 = 1*value
  2568. elseif type == "Divide" then
  2569. scaler2 = 1/value
  2570. end
  2571. coroutine.resume(coroutine.create(function()
  2572. for i = 0,10,0.1 do
  2573. swait()
  2574. if type == "Add" then
  2575. scaler2 = scaler2 - 0.01*value
  2576. elseif type == "Divide" then
  2577. scaler2 = scaler2 - 0.01/value
  2578. end
  2579. rng.Transparency = rng.Transparency + 0.01
  2580. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2581. end
  2582. rng:Destroy()
  2583. end))
  2584. end
  2585.  
  2586. function sphere(bonuspeed,type,pos,scale,value,color)
  2587. local type = type
  2588. local rng = Instance.new("Part", char)
  2589. rng.Anchored = true
  2590. rng.BrickColor = color
  2591. rng.CanCollide = false
  2592. rng.FormFactor = 3
  2593. rng.Name = "Ring"
  2594. rng.Material = "Neon"
  2595. rng.Size = Vector3.new(1, 1, 1)
  2596. rng.Transparency = 0
  2597. rng.TopSurface = 0
  2598. rng.BottomSurface = 0
  2599. rng.CFrame = pos
  2600. local rngm = Instance.new("SpecialMesh", rng)
  2601. rngm.MeshType = "Sphere"
  2602. rngm.Scale = scale
  2603. if rainbowmode == true then
  2604. rng.Color = Color3.new(r/255,g/255,b/255)
  2605. end
  2606. local scaler2 = 1
  2607. if type == "Add" then
  2608. scaler2 = 1*value
  2609. elseif type == "Divide" then
  2610. scaler2 = 1/value
  2611. end
  2612. coroutine.resume(coroutine.create(function()
  2613. for i = 0,10/bonuspeed,0.1 do
  2614. swait()
  2615. if rainbowmode == true then
  2616. rng.Color = Color3.new(r/255,g/255,b/255)
  2617. end
  2618. if type == "Add" then
  2619. scaler2 = scaler2 - 0.01*value/bonuspeed
  2620. elseif type == "Divide" then
  2621. scaler2 = scaler2 - 0.01/value*bonuspeed
  2622. end
  2623. if chaosmode == true then
  2624. rng.BrickColor = BrickColor.random()
  2625. end
  2626. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2627. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2628. end
  2629. rng:Destroy()
  2630. end))
  2631. end
  2632.  
  2633. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2634. local type = type
  2635. local rng = Instance.new("Part", char)
  2636. rng.Anchored = true
  2637. rng.BrickColor = color
  2638. rng.CanCollide = false
  2639. rng.FormFactor = 3
  2640. rng.Name = "Ring"
  2641. rng.Material = "Neon"
  2642. rng.Size = Vector3.new(1, 1, 1)
  2643. rng.Transparency = 0
  2644. rng.TopSurface = 0
  2645. rng.BottomSurface = 0
  2646. rng.CFrame = pos
  2647. local rngm = Instance.new("SpecialMesh", rng)
  2648. rngm.MeshType = "Sphere"
  2649. rngm.Scale = scale
  2650. local scaler2 = 1
  2651. local scaler2b = 1
  2652. local scaler2c = 1
  2653. if type == "Add" then
  2654. scaler2 = 1*value
  2655. scaler2b = 1*value2
  2656. scaler2c = 1*value3
  2657. elseif type == "Divide" then
  2658. scaler2 = 1/value
  2659. scaler2b = 1/value2
  2660. scaler2c = 1/value3
  2661. end
  2662. coroutine.resume(coroutine.create(function()
  2663. for i = 0,10/bonuspeed,0.1 do
  2664. swait()
  2665. if type == "Add" then
  2666. scaler2 = scaler2 - 0.01*value/bonuspeed
  2667. scaler2b = scaler2b - 0.01*value/bonuspeed
  2668. scaler2c = scaler2c - 0.01*value/bonuspeed
  2669. elseif type == "Divide" then
  2670. scaler2 = scaler2 - 0.01/value*bonuspeed
  2671. scaler2b = scaler2b - 0.01/value*bonuspeed
  2672. scaler2c = scaler2c - 0.01/value*bonuspeed
  2673. end
  2674. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2675. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2676. end
  2677. rng:Destroy()
  2678. end))
  2679. end
  2680.  
  2681.  
  2682. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2683. local type = type
  2684. local rotenable = rotatingop
  2685. local rng = Instance.new("Part", char)
  2686. rng.Anchored = true
  2687. rng.BrickColor = color
  2688. rng.CanCollide = false
  2689. rng.FormFactor = 3
  2690. rng.Name = "Ring"
  2691. rng.Material = "Neon"
  2692. rng.Size = Vector3.new(1, 1, 1)
  2693. rng.Transparency = 0
  2694. if typeoftrans == "In" then
  2695. rng.Transparency = 1
  2696. end
  2697. rng.TopSurface = 0
  2698. rng.BottomSurface = 0
  2699. rng.CFrame = pos
  2700. local rngm = Instance.new("SpecialMesh", rng)
  2701. rngm.MeshType = "FileMesh"
  2702. if typeofshape == "Normal" then
  2703. rngm.MeshId = "rbxassetid://662586858"
  2704. elseif typeofshape == "Round" then
  2705. rngm.MeshId = "rbxassetid://662585058"
  2706. end
  2707. rngm.Scale = scale
  2708. local scaler2 = 1/10
  2709. if type == "Add" then
  2710. scaler2 = 1*value/10
  2711. elseif type == "Divide" then
  2712. scaler2 = 1/value/10
  2713. end
  2714. local randomrot = math.random(1,2)
  2715. coroutine.resume(coroutine.create(function()
  2716. for i = 0,10/bonuspeed,0.1 do
  2717. swait()
  2718. if type == "Add" then
  2719. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2720. elseif type == "Divide" then
  2721. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2722. end
  2723. if rotenable == true then
  2724. if randomrot == 1 then
  2725. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2726. elseif randomrot == 2 then
  2727. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2728. end
  2729. end
  2730. if typeoftrans == "Out" then
  2731. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2732. elseif typeoftrans == "In" then
  2733. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2734. end
  2735. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2736. end
  2737. rng:Destroy()
  2738. end))
  2739. end
  2740.  
  2741. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2742. local type = type
  2743. local rng = Instance.new("Part", char)
  2744. rng.Anchored = true
  2745. rng.BrickColor = color
  2746. rng.CanCollide = false
  2747. rng.FormFactor = 3
  2748. rng.Name = "Ring"
  2749. rng.Material = "Neon"
  2750. rng.Size = Vector3.new(1, 1, 1)
  2751. rng.Transparency = 0
  2752. rng.TopSurface = 0
  2753. rng.BottomSurface = 0
  2754. rng.CFrame = pos
  2755. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2756. local rngm = Instance.new("SpecialMesh", rng)
  2757. rngm.MeshType = "Brick"
  2758. rngm.Scale = vt(x1,y1,z1)
  2759. if rainbowmode == true then
  2760. rng.Color = Color3.new(r/255,g/255,b/255)
  2761. end
  2762. local scaler2 = 1
  2763. local speeder = FastSpeed/10
  2764. if type == "Add" then
  2765. scaler2 = 1*value
  2766. elseif type == "Divide" then
  2767. scaler2 = 1/value
  2768. end
  2769. coroutine.resume(coroutine.create(function()
  2770. for i = 0,10/bonuspeed,0.1 do
  2771. swait()
  2772. if rainbowmode == true then
  2773. rng.Color = Color3.new(r/255,g/255,b/255)
  2774. end
  2775. if type == "Add" then
  2776. scaler2 = scaler2 - 0.01*value/bonuspeed
  2777. elseif type == "Divide" then
  2778. scaler2 = scaler2 - 0.01/value*bonuspeed
  2779. end
  2780. if chaosmode == true then
  2781. rng.BrickColor = BrickColor.random()
  2782. end
  2783. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2784. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2785. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2786. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2787. end
  2788. rng:Destroy()
  2789. end))
  2790. end
  2791.  
  2792. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2793. local type = type
  2794. local rng = Instance.new("Part", char)
  2795. rng.Anchored = true
  2796. rng.BrickColor = color
  2797. rng.CanCollide = false
  2798. rng.FormFactor = 3
  2799. rng.Name = "Ring"
  2800. if ModeOfGlitch ~= 666666 then
  2801. rng.Material = "Neon"
  2802. elseif ModeOfGlitch == 666666 then
  2803. rng.Material = "Glass"
  2804. end
  2805. rng.Size = Vector3.new(1, 1, 1)
  2806. rng.Transparency = 0
  2807. rng.TopSurface = 0
  2808. rng.BottomSurface = 0
  2809. rng.CFrame = pos
  2810. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2811. local rngm = Instance.new("SpecialMesh", rng)
  2812. rngm.MeshType = "Brick"
  2813. rngm.Scale = vt(x1,y1,z1)
  2814. if rainbowmode == true then
  2815. rng.Color = Color3.new(r/255,g/255,b/255)
  2816. end
  2817. local scaler2 = 1
  2818. local speeder = FastSpeed/10
  2819. if type == "Add" then
  2820. scaler2 = 1*value
  2821. elseif type == "Divide" then
  2822. scaler2 = 1/value
  2823. end
  2824. coroutine.resume(coroutine.create(function()
  2825. for i = 0,10/bonuspeed,0.1 do
  2826. swait()
  2827. if rainbowmode == true then
  2828. rng.Color = Color3.new(r/255,g/255,b/255)
  2829. end
  2830. if type == "Add" then
  2831. scaler2 = scaler2 - 0.01*value/bonuspeed
  2832. elseif type == "Divide" then
  2833. scaler2 = scaler2 - 0.01/value*bonuspeed
  2834. end
  2835. if chaosmode == true then
  2836. rng.BrickColor = BrickColor.random()
  2837. end
  2838. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2839. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2840. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2841. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2842. end
  2843. rng:Destroy()
  2844. end))
  2845. end
  2846.  
  2847. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2848. local type = type
  2849. local rng = Instance.new("Part", char)
  2850. rng.Anchored = true
  2851. rng.BrickColor = color
  2852. rng.CanCollide = false
  2853. rng.FormFactor = 3
  2854. rng.Name = "Ring"
  2855. rng.Material = "Neon"
  2856. rng.Size = Vector3.new(1, 1, 1)
  2857. rng.Transparency = 0
  2858. rng.TopSurface = 0
  2859. rng.BottomSurface = 0
  2860. rng.CFrame = pos
  2861. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2862. local rngm = Instance.new("SpecialMesh", rng)
  2863. rngm.MeshType = "Brick"
  2864. rngm.Scale = vt(x1,y1,z1)
  2865. if rainbowmode == true then
  2866. rng.Color = Color3.new(r/255,g/255,b/255)
  2867. end
  2868. local scaler2 = 0
  2869. local speeder = FastSpeed/10
  2870. if type == "Add" then
  2871. scaler2 = 1*value
  2872. elseif type == "Divide" then
  2873. scaler2 = 1/value
  2874. end
  2875. coroutine.resume(coroutine.create(function()
  2876. for i = 0,10/bonuspeed,0.1 do
  2877. swait()
  2878. if rainbowmode == true then
  2879. rng.Color = Color3.new(r/255,g/255,b/255)
  2880. end
  2881. if type == "Add" then
  2882. scaler2 = scaler2 - 0.01*value/bonuspeed
  2883. elseif type == "Divide" then
  2884. scaler2 = scaler2 - 0.01/value*bonuspeed
  2885. end
  2886. if chaosmode == true then
  2887. rng.BrickColor = BrickColor.random()
  2888. end
  2889. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2890. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2891. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2892. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2893. end
  2894. rng:Destroy()
  2895. end))
  2896. end
  2897.  
  2898. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  2899. local type = type
  2900. local rng = Instance.new("Part", char)
  2901. rng.Anchored = true
  2902. rng.BrickColor = color
  2903. rng.Color = color3
  2904. rng.CanCollide = false
  2905. rng.FormFactor = 3
  2906. rng.Name = "Ring"
  2907. rng.Material = "Neon"
  2908. rng.Size = Vector3.new(1, 1, 1)
  2909. rng.Transparency = 0
  2910. rng.TopSurface = 0
  2911. rng.BottomSurface = 0
  2912. rng.CFrame = pos
  2913. local rngm = Instance.new("SpecialMesh", rng)
  2914. rngm.MeshType = "Brick"
  2915. rngm.Scale = scale
  2916. local scaler2 = 1
  2917. local scaler2b = 1
  2918. local scaler2c = 1
  2919. if type == "Add" then
  2920. scaler2 = 1*value
  2921. scaler2b = 1*value2
  2922. scaler2c = 1*value3
  2923. elseif type == "Divide" then
  2924. scaler2 = 1/value
  2925. scaler2b = 1/value2
  2926. scaler2c = 1/value3
  2927. end
  2928. coroutine.resume(coroutine.create(function()
  2929. for i = 0,10/bonuspeed,0.1 do
  2930. swait()
  2931. if type == "Add" then
  2932. scaler2 = scaler2 - 0.01*value/bonuspeed
  2933. scaler2b = scaler2b - 0.01*value/bonuspeed
  2934. scaler2c = scaler2c - 0.01*value/bonuspeed
  2935. elseif type == "Divide" then
  2936. scaler2 = scaler2 - 0.01/value*bonuspeed
  2937. scaler2b = scaler2b - 0.01/value*bonuspeed
  2938. scaler2c = scaler2c - 0.01/value*bonuspeed
  2939. end
  2940. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2941. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2942. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2943. end
  2944. rng:Destroy()
  2945. end))
  2946. end
  2947.  
  2948. function block2(bonuspeed,aaa,type,pos,scale,value,value2,value3,color,color3)
  2949. local type = type
  2950. local rng = Instance.new("Part", char)
  2951. rng.Anchored = true
  2952. rng.BrickColor = color
  2953. rng.Color = color3
  2954. rng.CanCollide = false
  2955. rng.FormFactor = 3
  2956. rng.Name = "Ring"
  2957. rng.Material = "Neon"
  2958. rng.Size = Vector3.new(1, 1, 1)
  2959. rng.Transparency = 0
  2960. rng.TopSurface = 0
  2961. rng.BottomSurface = 0
  2962. rng.CFrame = pos
  2963. local rngm = Instance.new("SpecialMesh", rng)
  2964. rngm.MeshType = "Brick"
  2965. rngm.Scale = scale
  2966. local scaler2 = 1
  2967. local scaler2b = 1
  2968. local scaler2c = 1
  2969. if type == "Add" then
  2970. scaler2 = 1*value
  2971. scaler2b = 1*value2
  2972. scaler2c = 1*value3
  2973. elseif type == "Divide" then
  2974. scaler2 = 1/value
  2975. scaler2b = 1/value2
  2976. scaler2c = 1/value3
  2977. end
  2978. coroutine.resume(coroutine.create(function()
  2979. for i = 0,10/bonuspeed,aaa do
  2980. swait()
  2981. if type == "Add" then
  2982. scaler2 = scaler2 - 0.01*value/bonuspeed
  2983. scaler2b = scaler2b - 0.01*value/bonuspeed
  2984. scaler2c = scaler2c - 0.01*value/bonuspeed
  2985. elseif type == "Divide" then
  2986. scaler2 = scaler2 - 0.01/value*bonuspeed
  2987. scaler2b = scaler2b - 0.01/value*bonuspeed
  2988. scaler2c = scaler2c - 0.01/value*bonuspeed
  2989. end
  2990. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2991. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2992. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2993. end
  2994. rng:Destroy()
  2995. end))
  2996. end
  2997.  
  2998. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2999. local type = type
  3000. local rng = Instance.new("Part", char)
  3001. rng.Anchored = true
  3002. rng.BrickColor = color
  3003. rng.CanCollide = false
  3004. rng.FormFactor = 3
  3005. rng.Name = "Ring"
  3006. rng.Material = "Neon"
  3007. rng.Size = Vector3.new(1, 1, 1)
  3008. rng.Transparency = 0
  3009. rng.TopSurface = 0
  3010. rng.BottomSurface = 0
  3011. rng.CFrame = pos
  3012. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3013. local rngm = Instance.new("SpecialMesh", rng)
  3014. rngm.MeshType = "Sphere"
  3015. rngm.Scale = vt(x1,y1,z1)
  3016. if rainbowmode == true then
  3017. rng.Color = Color3.new(r/255,g/255,b/255)
  3018. end
  3019. local scaler2 = 1
  3020. local speeder = FastSpeed
  3021. if type == "Add" then
  3022. scaler2 = 1*value
  3023. elseif type == "Divide" then
  3024. scaler2 = 1/value
  3025. end
  3026. coroutine.resume(coroutine.create(function()
  3027. for i = 0,10/bonuspeed,0.1 do
  3028. swait()
  3029. if rainbowmode == true then
  3030. rng.Color = Color3.new(r/255,g/255,b/255)
  3031. end
  3032. if type == "Add" then
  3033. scaler2 = scaler2 - 0.01*value/bonuspeed
  3034. elseif type == "Divide" then
  3035. scaler2 = scaler2 - 0.01/value*bonuspeed
  3036. end
  3037. if chaosmode == true then
  3038. rng.BrickColor = BrickColor.random()
  3039. end
  3040. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3041. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3042. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3043. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3044. end
  3045. rng:Destroy()
  3046. end))
  3047. end
  3048.  
  3049.  
  3050. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3051. local type = type
  3052. local rng = Instance.new("Part", char)
  3053. rng.Anchored = true
  3054. rng.BrickColor = color
  3055. rng.CanCollide = false
  3056. rng.FormFactor = 3
  3057. rng.Name = "Ring"
  3058. rng.Material = "Neon"
  3059. rng.Size = Vector3.new(1, 1, 1)
  3060. rng.Transparency = 1
  3061. rng.TopSurface = 0
  3062. rng.BottomSurface = 0
  3063. rng.CFrame = pos
  3064. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3065. local rngm = Instance.new("SpecialMesh", rng)
  3066. rngm.MeshType = "Sphere"
  3067. rngm.Scale = vt(x1,y1,z1)
  3068. if rainbowmode == true then
  3069. rng.Color = Color3.new(r/255,g/255,b/255)
  3070. end
  3071.  
  3072. local scaler2 = 1
  3073. local speeder = FastSpeed
  3074. if type == "Add" then
  3075. scaler2 = 1*value
  3076. elseif type == "Divide" then
  3077. scaler2 = 1/value
  3078. end
  3079. coroutine.resume(coroutine.create(function()
  3080. for i = 0,10/bonuspeed,0.1 do
  3081. swait()
  3082. if rainbowmode == true then
  3083. rng.Color = Color3.new(r/255,g/255,b/255)
  3084. end
  3085. if type == "Add" then
  3086. scaler2 = scaler2 - 0.01*value/bonuspeed
  3087. elseif type == "Divide" then
  3088. scaler2 = scaler2 - 0.01/value*bonuspeed
  3089. end
  3090. if chaosmode == true then
  3091. rng.BrickColor = BrickColor.random()
  3092. end
  3093. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3094. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3095. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3096. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3097. end
  3098. rng:Destroy()
  3099. end))
  3100. end
  3101.  
  3102. function dmg(dude)
  3103. if dude.Name ~= Character then
  3104. local keptcolor = MAINRUINCOLOR
  3105. local bgf = Instance.new("BodyGyro",dude.Head)
  3106. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3107. --[[local val = Instance.new("BoolValue",dude)
  3108. val.Name = "IsHit"]]--
  3109. local ds = coroutine.wrap(function()
  3110. dude:WaitForChild("Head"):BreakJoints()
  3111. for i, v in pairs(dude:GetChildren()) do
  3112. if v:IsA("Part") or v:IsA("BasePart") then
  3113. v.Name = "DEMINISHED"
  3114. end
  3115. end
  3116. wait(0.5)
  3117. targetted = nil
  3118. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3119. coroutine.resume(coroutine.create(function()
  3120. for i, v in pairs(dude:GetChildren()) do
  3121. if v:IsA("Accessory") then
  3122. v:Destroy()
  3123. end
  3124. if v:IsA("Humanoid") then
  3125. v:Destroy()
  3126. end
  3127. if v:IsA("CharacterMesh") then
  3128. v:Destroy()
  3129. end
  3130. if v:IsA("Model") then
  3131. v:Destroy()
  3132. end
  3133. if v:IsA("Part") or v:IsA("BasePart") then
  3134. for x, o in pairs(v:GetChildren()) do
  3135. if o:IsA("Decal") then
  3136. o:Destroy()
  3137. end
  3138. end
  3139. coroutine.resume(coroutine.create(function()
  3140. v.Material = "Neon"
  3141. v.CanCollide = false
  3142. v.Anchored = false
  3143. local bld = Instance.new("ParticleEmitter",v)
  3144. bld.LightEmission = 0.75
  3145. bld.Texture = "rbxassetid://363275192" ---284205403
  3146. bld.Color = ColorSequence.new(keptcolor.Color)
  3147. bld.Rate = 500
  3148. bld.Lifetime = NumberRange.new(1)
  3149. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3150. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3151. bld.Speed = NumberRange.new(2,5)
  3152. bld.VelocitySpread = 50000
  3153. bld.Rotation = NumberRange.new(-500,500)
  3154. bld.RotSpeed = NumberRange.new(-500,500)
  3155. local sbs = Instance.new("BodyPosition", v)
  3156. sbs.P = 3000
  3157. sbs.D = 1000
  3158. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3159. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3160. v.Color = keptcolor.Color
  3161. coroutine.resume(coroutine.create(function()
  3162. for i = 0, 49 do
  3163. swait(1)
  3164. v:BreakJoints()
  3165. v.Transparency = v.Transparency + 0.02
  3166. end
  3167. v:BreakJoints()
  3168. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3169. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3170. bld.Speed = NumberRange.new(10,25)
  3171. bld.Drag = 5
  3172. bld.Acceleration = vt(0,2,0)
  3173. wait(0.5)
  3174. bld.Enabled = false
  3175. wait(8)
  3176. v:Destroy()
  3177. dude:Destroy()
  3178. end))
  3179. end))
  3180. end
  3181. end
  3182. end))
  3183. end)
  3184. ds()
  3185. end
  3186. end
  3187.  
  3188.  
  3189. function FindNearestHead(Position, Distance, SinglePlayer)
  3190. if SinglePlayer then
  3191. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3192. end
  3193. local List = {}
  3194. for i, v in pairs(workspace:GetChildren()) do
  3195. if v:IsA("Model") then
  3196. if v:findFirstChild("Head") then
  3197. if v ~= Character then
  3198. if (v.Head.Position - Position).magnitude <= Distance then
  3199. table.insert(List, v)
  3200. end
  3201. end
  3202. end
  3203. end
  3204. end
  3205. return List
  3206. end
  3207.  
  3208. function FaceMouse()
  3209. Cam = workspace.CurrentCamera
  3210. return {
  3211. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3212. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3213. }
  3214. end
  3215.  
  3216. function FaceMouse2()
  3217. Cam = workspace.CurrentCamera
  3218. return {
  3219. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3220. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3221. }
  3222. end
  3223.  
  3224.  
  3225. -- Functions are ready.
  3226. local storehumanoidWS = 16
  3227.  
  3228. function createBGCircle(size,parent,color)
  3229. local bgui = Instance.new("BillboardGui",parent)
  3230. bgui.Size = UDim2.new(size, 0, size, 0)
  3231. local imgc = Instance.new("ImageLabel",bgui)
  3232. imgc.BackgroundTransparency = 1
  3233. imgc.ImageTransparency = 0
  3234. imgc.Size = UDim2.new(1,0,1,0)
  3235. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  3236. imgc.ImageColor3 = color
  3237. return bgui,imgc
  3238. end
  3239.  
  3240. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  3241. local bgui,imgc = createBGCircle(size,guipar,color)
  3242. bgui.AlwaysOnTop = true
  3243. imgc.Image = "rbxassetid://" ..img
  3244. local rrot = math.random(1,2)
  3245. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  3246. coroutine.resume(coroutine.create(function()
  3247. for i = 0, 24*delay do
  3248. swait()
  3249. if rotationenabled == true then
  3250. if rrot == 1 then
  3251. imgc.Rotation = imgc.Rotation + rotsp
  3252. elseif rrot == 2 then
  3253. imgc.Rotation = imgc.Rotation - rotsp
  3254. end
  3255. end
  3256. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  3257. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  3258. end
  3259. bgui:Destroy()
  3260. end))
  3261. end
  3262.  
  3263.  
  3264.  
  3265. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled,mainenabled)
  3266. for i, v in pairs(mwY:GetChildren()) do
  3267. if v:IsA("Part") then
  3268. v.Color = (typeof(one) == 'Color3' and one or one.Color)
  3269. v.Material = "Neon"
  3270. end
  3271. end
  3272. for i, v in pairs(mw2:GetDescendants()) do
  3273. if v:IsA("Part") or v:IsA("BasePart") then
  3274. v.Color = (typeof(one) == 'Color3' and one or one.Color)
  3275. v.Material = "Neon"
  3276. if mainenabled == true then
  3277. v.Transparency = 0
  3278. elseif mainenabled == false then
  3279. v.Transparency = 1
  3280. end
  3281. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3282. v.Color = ColorSequence.new((typeof(one) == 'Color3' and one or one.Color))
  3283. if mainenabled == true then
  3284. v.Enabled = true
  3285. elseif mainenabled == false then
  3286. v.Enabled = false
  3287. end
  3288. end
  3289. end
  3290. for i, v in pairs(mw1:GetDescendants()) do
  3291. if v:IsA("Part") or v:IsA("BasePart") then
  3292. v.Color = (typeof(two) == 'Color3' and two or two.Color)
  3293. v.Material = "Neon"
  3294. if secondaryenabled == true then
  3295. v.Transparency = 0
  3296. elseif secondaryenabled == false then
  3297. v.Transparency = 1
  3298. end
  3299. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3300. v.Color = ColorSequence.new((typeof(two) == 'Color3' and two or two.Color))
  3301. if secondaryenabled == true then
  3302. v.Enabled = true
  3303. elseif secondaryenabled == false then
  3304. v.Enabled = false
  3305. end
  3306. end
  3307. end
  3308. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  3309. symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),5,3,1,847061203,root,true,10,1)
  3310. symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),4,0,0,0,root,true,-5,1)
  3311. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3312. for i, v in pairs(m:GetChildren()) do
  3313. if v:IsA("Part") then
  3314. v.BrickColor = three
  3315. v.Material = "Ice"
  3316. end
  3317. end
  3318. for i, v in pairs(m2:GetChildren()) do
  3319. if v:IsA("Part") then
  3320. v.BrickColor = four
  3321. v.Material = "Ice"
  3322. end
  3323. end
  3324. for i, v in pairs(m3:GetChildren()) do
  3325. if v:IsA("Part") then
  3326. v.BrickColor = five
  3327. v.Material = "Neon"
  3328. end
  3329. end
  3330. for i, v in pairs(extrawingmod1:GetChildren()) do
  3331. if v:IsA("Part") then
  3332. v.Transparency = exonetran
  3333. v.BrickColor = exone
  3334. v.Material = "Neon"
  3335. end
  3336. end
  3337. if sectrailenabled == true then
  3338. tl4.Enabled = true
  3339. tl5.Enabled = true
  3340. tl6.Enabled = true
  3341. tr4.Enabled = true
  3342. tr5.Enabled = true
  3343. tr6.Enabled = true
  3344. tl4.Color = ColorSequence.new(exone.Color)
  3345. tl5.Color = ColorSequence.new(exone.Color)
  3346. tl6.Color = ColorSequence.new(exone.Color)
  3347. tr4.Color = ColorSequence.new(extwo.Color)
  3348. tr5.Color = ColorSequence.new(extwo.Color)
  3349. tr6.Color = ColorSequence.new(extwo.Color)
  3350. elseif sectrailenabled == false then
  3351. tl4.Enabled = false
  3352. tl5.Enabled = false
  3353. tl6.Enabled = false
  3354. tr4.Enabled = false
  3355. tr5.Enabled = false
  3356. tr6.Enabled = false
  3357. end
  3358. for i, v in pairs(extrawingmod2:GetChildren()) do
  3359. if v:IsA("Part") then
  3360. v.Transparency = extwotran
  3361. v.BrickColor = extwo
  3362. v.Material = "Neon"
  3363. end
  3364. end
  3365. end
  3366.  
  3367. function attacktwo()
  3368. attack = true
  3369. hum.WalkSpeed = 2
  3370. local keptcolor = MAINRUINCOLOR
  3371. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  3372. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  3373. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  3374. for i = 0, 14 do
  3375. PixelBlock(1,math.random(1,3),"Add",rarm.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,SECONDRUINCOLOR,0)
  3376. end
  3377. for i = 0,1,0.1 do
  3378. swait()
  3379. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  3380. RH.C0=clerp(RH.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(-5)),.3)
  3381. 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(30),math.rad(0)),.3)
  3382. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  3383. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  3384. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  3385. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  3386. end
  3387. for i = 0, 1 do
  3388. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  3389. for i = 0,1,0.6 do
  3390. swait()
  3391. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  3392. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  3393. RH.C0=clerp(RH.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(-5)),.6)
  3394. 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(30),math.rad(0)),.6)
  3395. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3396. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3397. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3398. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3399. end
  3400. for i = 0,1,0.6 do
  3401. swait()
  3402. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  3403. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  3404. RH.C0=clerp(RH.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(-5)),.6)
  3405. 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(30),math.rad(0)),.6)
  3406. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  3407. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3408. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3409. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3410. end
  3411. for i = 0,1,0.6 do
  3412. swait()
  3413. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  3414. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  3415. RH.C0=clerp(RH.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(-5)),.6)
  3416. 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(30),math.rad(0)),.6)
  3417. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  3418. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3419. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3420. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3421. end
  3422. for i = 0,1,0.6 do
  3423. swait()
  3424. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  3425. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  3426. RH.C0=clerp(RH.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(-5)),.6)
  3427. 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(30),math.rad(0)),.6)
  3428. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  3429. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3430. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3431. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3432. end
  3433. local rot = 0
  3434. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  3435. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  3436. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  3437. CreateMesh(dis,"Sphere",10,1,10)
  3438. local at1 = Instance.new("Attachment",dis)
  3439. at1.Position = vt(-5,0,0)
  3440. local at2 = Instance.new("Attachment",dis)
  3441. at2.Position = vt(5,0,0)
  3442. local trl = Instance.new('Trail',wed)
  3443. trl.Attachment0 = at1
  3444. trl.Attachment1 = at2
  3445. trl.Texture = "rbxassetid://1049219073"
  3446. trl.LightEmission = 1
  3447. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3448. trl.Color = ColorSequence.new(dis.Color)
  3449. trl.Lifetime = 0.6
  3450. local a = Instance.new("Part",workspace)
  3451. a.Name = "Direction"
  3452. a.Anchored = true
  3453. a.BrickColor = bc("Bright red")
  3454. a.Material = "Neon"
  3455. a.Transparency = 1
  3456. a.CanCollide = false
  3457. local ray = Ray.new(
  3458. dis.CFrame.p, -- origin
  3459. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  3460. )
  3461. local ignore = dis
  3462. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3463. a.BottomSurface = 10
  3464. a.TopSurface = 10
  3465. local distance = (dis.CFrame.p - position).magnitude
  3466. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3467. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  3468. dis.CFrame = a.CFrame
  3469. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  3470. a:Destroy()
  3471. local bv = Instance.new("BodyVelocity")
  3472. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3473. bv.velocity = dis.CFrame.lookVector*250
  3474. bv.Parent = dis
  3475. game:GetService("Debris"):AddItem(dis, 5)
  3476. local hitted = false
  3477. coroutine.resume(coroutine.create(function()
  3478. dis.Touched:connect(function(hit)
  3479. if hitted == false and hit.Parent ~= char then
  3480. hitted = true
  3481. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  3482. CamShakeAll({
  3483. Duration=0.4; -- Lasts for .1 seconds
  3484. Intensity=3; -- Intensity of 5
  3485. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  3486. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  3487. DropDist=60; -- Camera dist from origin when the shake starts to gradually get weaker
  3488. IneffectiveDist=80; -- Camera dist from origin when the shake goes away
  3489. Origin=dis.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  3490. })
  3491. MagniDamage(dis, 30, 13,36, 0, "Normal")
  3492. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  3493. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  3494. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
  3495. local eff = Instance.new("ParticleEmitter",dis)
  3496. eff.Texture = "rbxassetid://2344870656"
  3497. eff.LightEmission = 1
  3498. eff.Color = ColorSequence.new(dis.Color)
  3499. eff.Rate = 10000000
  3500. eff.Enabled = true
  3501. eff.EmissionDirection = "Front"
  3502. eff.Lifetime = NumberRange.new(1)
  3503. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  3504. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3505. eff.Speed = NumberRange.new(150)
  3506. eff.Drag = 5
  3507. eff.Rotation = NumberRange.new(-500,500)
  3508. eff.SpreadAngle = Vector2.new(0,900)
  3509. eff.RotSpeed = NumberRange.new(-500,500)
  3510. delay(0.2, function() eff.Enabled = false end)
  3511. coroutine.resume(coroutine.create(function()
  3512. for i = 0, 9 do
  3513. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  3514. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3515. local at1 = Instance.new("Attachment",disr)
  3516. at1.Position = vt(-5,0,0)
  3517. local at2 = Instance.new("Attachment",disr)
  3518. at2.Position = vt(5,0,0)
  3519. local trl = Instance.new('Trail',disr)
  3520. trl.Attachment0 = at1
  3521. trl.FaceCamera = true
  3522. trl.Attachment1 = at2
  3523. trl.Texture = "rbxassetid://2342682798"
  3524. trl.LightEmission = 1
  3525. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3526. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  3527. trl.Lifetime = 0.5
  3528. local bv = Instance.new("BodyVelocity")
  3529. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3530. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  3531. bv.Parent = disr
  3532. local val = 0
  3533. coroutine.resume(coroutine.create(function()
  3534. swait(30)
  3535. for i = 0, 9 do
  3536. swait()
  3537. val = val + 0.1
  3538. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  3539. end
  3540. game:GetService("Debris"):AddItem(disr, 3)
  3541. end))
  3542. end
  3543. local eff = Instance.new("ParticleEmitter",dis)
  3544. eff.Texture = "rbxassetid://2273224484"
  3545. eff.LightEmission = 1
  3546. eff.Color = ColorSequence.new(keptcolor.Color)
  3547. eff.Rate = 500000
  3548. eff.Lifetime = NumberRange.new(0.5,2)
  3549. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3550. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3551. eff.Speed = NumberRange.new(20,250)
  3552. eff.Drag = 5
  3553. eff.Rotation = NumberRange.new(-500,500)
  3554. eff.VelocitySpread = 9000
  3555. eff.RotSpeed = NumberRange.new(-50,50)
  3556. wait(0.25)
  3557. eff.Enabled = false
  3558. end))
  3559. for i = 0, 9 do
  3560. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,SECONDRUINCOLOR)
  3561. end
  3562. for i = 0, 19 do
  3563. PixelBlock(1,math.random(5,20),"Add",dis.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,keptcolor,0)
  3564. end
  3565. dis.Anchored = true
  3566. dis.Transparency = 1
  3567. wait(8)
  3568. dis:Destroy()
  3569. end
  3570. end)
  3571. end))
  3572. rot = rot - 15
  3573. end
  3574. for i = 0,2,0.1 do
  3575. swait()
  3576. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  3577. 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(5)),.3)
  3578. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  3579. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  3580. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  3581. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  3582. end
  3583. attack = false
  3584. hum.WalkSpeed = storehumanoidWS
  3585. end
  3586.  
  3587. function attackone()
  3588. attack = true
  3589. symbolizeBlink(sorb,0,2109052855,MAINRUINCOLOR.Color,1.5,5,0.9,1614005837,sorb,true,10,1)
  3590. symbolizeBlink(sorb,0,2109052855,SECONDRUINCOLOR.Color,1.6,5,1,1923591005,sorb,true,10,1)
  3591. symbolizeBlink(sorb,0,2092248396,MAINRUINCOLOR.Color,3,0,0,0,sorb,true,10,1.25)
  3592. symbolizeBlink(sorb,0,2344870656,SECONDRUINCOLOR.Color,10,0,0,0,sorb,true,10,1.5)
  3593. for i = 0,1,0.1 do
  3594. swait()
  3595. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  3596. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  3597. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  3598. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3599. 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(-15),math.rad(0),math.rad(0)),.3)
  3600. 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(0),math.rad(0)),.3)
  3601. end
  3602. coroutine.resume(coroutine.create(function()
  3603. local hite = Instance.new("Part", char)
  3604. hite.Anchored = true
  3605. hite.CanCollide = false
  3606. hite.FormFactor = 3
  3607. hite.Name = "Ring"
  3608. hite.Material = "Neon"
  3609. hite.Size = Vector3.new(1, 1, 1)
  3610. hite.Transparency = 1
  3611. hite.TopSurface = 0
  3612. hite.BottomSurface = 0
  3613. local eff = Instance.new("ParticleEmitter",hite)
  3614. eff.Texture = "rbxassetid://2273224484"
  3615. eff.LightEmission = 1
  3616. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3617. eff.Rate = 90000000
  3618. eff.Lifetime = NumberRange.new(0.5,2)
  3619. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3620. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3621. eff.Speed = NumberRange.new(20,90)
  3622. eff.Drag = 5
  3623. eff.Rotation = NumberRange.new(-500,500)
  3624. eff.VelocitySpread = 9000
  3625. eff.RotSpeed = NumberRange.new(-50,50)
  3626. local distlook = 12.5
  3627. for i = 0, 4 do
  3628. swait(4)
  3629. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  3630. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,SECONDRUINCOLOR)
  3631. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  3632. CamShakeAll({
  3633. Duration=0.25; -- Lasts for .1 seconds
  3634. Intensity=1.75; -- Intensity of 5
  3635. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  3636. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  3637. DropDist=35; -- Camera dist from origin when the shake starts to gradually get weaker
  3638. IneffectiveDist=65; -- Camera dist from origin when the shake goes away
  3639. Origin=hite.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  3640. })
  3641. MagniDamage(hite, 11.5, 10,25, 0, "Normal")
  3642. for i = 0, 21 do
  3643. 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)
  3644. 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,SECONDRUINCOLOR,0)
  3645. end
  3646. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 3, 1)
  3647. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 0.6)
  3648. game:GetService("Debris"):AddItem(hite, 5)
  3649. distlook = distlook + 15
  3650. end
  3651. wait(0.5)
  3652. eff.Enabled = false
  3653. wait(3.1)
  3654. eff:Destroy()
  3655. end))
  3656. for i = 0,2,0.1 do
  3657. swait()
  3658. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  3659. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  3660. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  3661. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  3662. 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(-10)),.5)
  3663. 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(0),math.rad(-10)),.5)
  3664. end
  3665. attack = false
  3666. end
  3667.  
  3668. function attackthree()
  3669. attack = true
  3670. hum.WalkSpeed = 5
  3671. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.5)
  3672. for i = 0,3.5,0.1 do
  3673. swait()
  3674. sphereMK(2.5,-4.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,SECONDRUINCOLOR,200)
  3675. slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR)
  3676. 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)
  3677. 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)
  3678. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  3679. 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)
  3680. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  3681. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  3682. end
  3683. for i = 0, 24 do
  3684. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,MAINRUINCOLOR)
  3685. end
  3686. CamShakeAll({
  3687. Duration=1; -- Lasts for .1 seconds
  3688. Intensity=2; -- Intensity of 5
  3689. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  3690. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  3691. DropDist=50; -- Camera dist from origin when the shake starts to gradually get weaker
  3692. IneffectiveDist=120; -- Camera dist from origin when the shake goes away
  3693. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  3694. })
  3695. MagniDamage(root,50,20,45,0,"Normal")
  3696. coroutine.resume(coroutine.create(function()
  3697. for i = 0, 46 do
  3698. swait()
  3699. sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
  3700. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,SECONDRUINCOLOR)
  3701. end
  3702. end))
  3703. CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
  3704. CFuncs["Sound"].Create("rbxassetid://847061203", root, 6,1)
  3705. CFuncs["Sound"].Create("rbxassetid://239000203", root, 5,1)
  3706. CFuncs["Sound"].Create("rbxassetid://579687077", root, 5,0.75)
  3707. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
  3708. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  3709. CFuncs["Sound"].Create("rbxassetid://782353443", root, 4.5, 1)
  3710. for i = 0,3,0.1 do
  3711. swait()
  3712. 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)),.5)
  3713. 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)),.5)
  3714. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  3715. 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))),.5)
  3716. 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))),.5)
  3717. 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))),.5)
  3718. end
  3719. hum.WalkSpeed = storehumanoidWS
  3720. attack = false
  3721. end
  3722.  
  3723. local blush = Instance.new("Decal",hed)
  3724. blush.Texture = "rbxassetid://898404027"
  3725. blush.Face = "Front"
  3726. blush.Parent = nil
  3727. blush.Transparency = 1
  3728. ----------------------------------- Abilities
  3729.  
  3730. function ExtinctiveHeartbreak()
  3731. local targetted = nil
  3732. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3733. targetted = mouse.Target.Parent
  3734. end
  3735. if targetted ~= nil then
  3736. attack = true
  3737. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3738. for i = 0, 9 do
  3739. 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,MAINRUINCOLOR,0)
  3740. end
  3741. for i = 0, 24 do
  3742. 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,MAINRUINCOLOR,0)
  3743. end
  3744. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3745. local originalpos = root.CFrame
  3746. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3747. for i = 0, 9 do
  3748. 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,MAINRUINCOLOR,0)
  3749. end
  3750. for i = 0, 24 do
  3751. 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,MAINRUINCOLOR,0)
  3752. end
  3753. hum.WalkSpeed = 0
  3754. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3755. local radm = math.random(1,3)
  3756. if radm == 1 then
  3757. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  3758. elseif radm == 2 then
  3759. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  3760. elseif radm == 3 then
  3761. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  3762. end
  3763. for i = 0,2,0.1 do
  3764. swait()
  3765. 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(-10),math.rad(0)),.4)
  3766. 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)
  3767. 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)
  3768. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3769. 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)
  3770. 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)
  3771. end
  3772. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  3773. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  3774. for i = 0,2,0.1 do
  3775. swait()
  3776. coroutine.resume(coroutine.create(function()
  3777. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  3778. for i,v in pairs(targetted:GetChildren()) do
  3779. if v:IsA("Part") or v:IsA("BasePart") then
  3780. v.Velocity = vt(0,0,0)
  3781. end
  3782. end
  3783. end))
  3784. 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)
  3785. 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(10),math.rad(0)),.8)
  3786. 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)
  3787. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3788. 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)
  3789. 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)
  3790. end
  3791. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  3792. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  3793. for i = 0, 1 do
  3794. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  3795. end
  3796. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  3797. chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  3798. for i = 0,4,0.1 do
  3799. swait()
  3800. coroutine.resume(coroutine.create(function()
  3801. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  3802. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3803. local at1 = Instance.new("Attachment",dis)
  3804. at1.Position = vt(-25000,0,0)
  3805. local at2 = Instance.new("Attachment",dis)
  3806. at2.Position = vt(25000,0,0)
  3807. local trl = Instance.new('Trail',dis)
  3808. trl.Attachment0 = at1
  3809. trl.FaceCamera = true
  3810. trl.Attachment1 = at2
  3811. trl.Texture = "rbxassetid://1049219073"
  3812. trl.LightEmission = 1
  3813. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3814. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  3815. trl.Lifetime = 5
  3816. local bv = Instance.new("BodyVelocity")
  3817. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3818. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  3819. bv.Parent = dis
  3820. game:GetService("Debris"):AddItem(dis, 5)
  3821. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  3822. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  3823. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  3824. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  3825. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  3826. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  3827. sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
  3828. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  3829. for i = 0, 2 do
  3830. slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,SECONDRUINCOLOR)
  3831. end
  3832. symbolizeBlink(targetted.Head,0,2092248396,MAINRUINCOLOR.Color,math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  3833. for i,v in pairs(targetted:GetChildren()) do
  3834. if v:IsA("Part") or v:IsA("BasePart") then
  3835. v.Velocity = vt(0,0,0)
  3836. end
  3837. end
  3838. end))
  3839. CamShakeAll({
  3840. Duration=.1; -- Lasts for .1 seconds
  3841. Intensity=5; -- Intensity of 5
  3842. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  3843. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  3844. DropDist=200; -- Camera dist from origin when the shake starts to gradually get weaker
  3845. IneffectiveDist=300; -- Camera dist from origin when the shake goes away
  3846. Origin=sorb.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  3847. })
  3848. 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)
  3849. 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(10),math.rad(0)),.8)
  3850. 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)
  3851. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  3852. 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(40)),.8)
  3853. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
  3854. end
  3855. for i = 0, 49 do
  3856. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  3857. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3858. local at1 = Instance.new("Attachment",dis)
  3859. at1.Position = vt(-50000,0,0)
  3860. local at2 = Instance.new("Attachment",dis)
  3861. at2.Position = vt(50000,0,0)
  3862. local trl = Instance.new('Trail',dis)
  3863. trl.Attachment0 = at1
  3864. trl.FaceCamera = true
  3865. trl.Attachment1 = at2
  3866. trl.Texture = "rbxassetid://1049219073"
  3867. trl.LightEmission = 1
  3868. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3869. trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  3870. trl.Lifetime = 5
  3871. local bv = Instance.new("BodyVelocity")
  3872. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3873. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  3874. bv.Parent = dis
  3875. game:GetService("Debris"):AddItem(dis, 5)
  3876. end
  3877. for i = 0, 49 do
  3878. sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
  3879. slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,MAINRUINCOLOR)
  3880. end
  3881. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  3882. for i = 0, 1 do
  3883. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  3884. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  3885. end
  3886. for i = 0, 4 do
  3887. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  3888. end
  3889. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,1)
  3890. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,2)
  3891. symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,4)
  3892. dmg(targetted)
  3893. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3894. for i = 0, 9 do
  3895. 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,MAINRUINCOLOR,0)
  3896. end
  3897. for i = 0, 24 do
  3898. 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,MAINRUINCOLOR,0)
  3899. end
  3900. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3901. root.CFrame = originalpos
  3902. for i = 0, 9 do
  3903. 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,MAINRUINCOLOR,0)
  3904. end
  3905. for i = 0, 24 do
  3906. 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,MAINRUINCOLOR,0)
  3907. end
  3908. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3909. attack = false
  3910. hum.WalkSpeed = storehumanoidWS
  3911. end
  3912. end
  3913.  
  3914. local stealth = false
  3915. function StealthWarped()
  3916. if stealth then
  3917. return
  3918. end
  3919. attack = true
  3920. stealth = true
  3921. hum.WalkSpeed = 0
  3922. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  3923. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  3924. for i = 0, 4, 0.1 do
  3925. swait()
  3926. block(10,"Add",sorb.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  3927. block(10,"Add",sorb2.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  3928. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  3929. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  3930. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  3931. end
  3932. sphere2(4,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  3933. sphere2(2,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  3934. sphere2(4,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  3935. sphere2(2,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  3936. CFuncs["Sound"].Create("rbxassetid://840567549", root, 10, 1)
  3937. newTheme("rbxassetid://0",48.6,1,0.8)
  3938. char.Head.Transparency = 0.5
  3939. char["Left Arm"].Transparency = 0.5
  3940. char["Left Leg"].Transparency = 0.5
  3941. char["Right Arm"].Transparency = 0.5
  3942. char["Right Leg"].Transparency = 0.5
  3943. char.Torso.Transparency = 0.5
  3944. attack = false
  3945. hum.WalkSpeed = 60
  3946. storehumanoidWS = 60
  3947. swait(400)
  3948. char.Head.Transparency = 0
  3949. char["Left Arm"].Transparency = 0
  3950. char["Left Leg"].Transparency = 0
  3951. char["Right Arm"].Transparency = 0
  3952. char["Right Leg"].Transparency = 0
  3953. char.Torso.Transparency = 0
  3954. stealth = false
  3955. storehumanoidWS = 16
  3956. hum.WalkSpeed = storehumanoidWS
  3957. newTheme("rbxassetid://1119453744",48.6,1,0.8)
  3958. end
  3959.  
  3960. function QuickSnap()
  3961. hum.WalkSpeed = 1
  3962. attack = true
  3963. for i = 0,0.5,0.1 do
  3964. swait()
  3965. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3966. 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(0)),.2)
  3967. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3968. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.2)
  3969. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(50)),.2)
  3970. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-50)),.2)
  3971. end
  3972. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  3973. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,SECONDRUINCOLOR)
  3974. for i = 0, 24 do
  3975. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,SECONDRUINCOLOR)
  3976. end
  3977. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  3978. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  3979. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  3980. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  3981. local eff = Instance.new("ParticleEmitter",sorb2)
  3982. eff.Texture = "rbxassetid://2273224484"
  3983. eff.LightEmission = 1
  3984. eff.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
  3985. eff.Rate = 900000000
  3986. eff.Lifetime = NumberRange.new(0.5,2)
  3987. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3988. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3989. eff.Speed = NumberRange.new(50,250)
  3990. eff.Drag = 5
  3991. eff.Rotation = NumberRange.new(-500,500)
  3992. eff.VelocitySpread = 9000
  3993. eff.RotSpeed = NumberRange.new(-50,50)
  3994. local eff2 = eff:Clone()
  3995. eff2.Parent = sorb
  3996. eff2.LightEmission = 0
  3997. eff2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3998. for i = 0,4,0.1 do
  3999. swait(1)
  4000. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  4001. local dis = CreateParta(char,0.25,1,"Neon",SECONDRUINCOLOR)
  4002. CreateMesh(dis,"Sphere",1,1,1)
  4003. dis.Anchored = true
  4004. dis.CFrame = sorb2.CFrame
  4005. local dis2 = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  4006. CreateMesh(dis2,"Sphere",1,1,1)
  4007. dis2.Anchored = true
  4008. dis2.CFrame = sorb.CFrame
  4009. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  4010. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  4011. game:GetService("Debris"):AddItem(dis, 5)
  4012. game:GetService("Debris"):AddItem(dis2, 5)
  4013. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 1.5),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 3))),.2)
  4014. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 1.5),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 3))),.2)
  4015. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 1.5))*angles(math.rad(25 - 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 3))),.2)
  4016. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 1.5)),math.rad(0),math.rad(0 + 1 * math.cos(sine / 3))),.2)
  4017. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70 + 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(70)),.2)
  4018. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70 + 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(-70)),.2)
  4019. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,MAINRUINCOLOR,0)
  4020. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,SECONDRUINCOLOR,0)
  4021. coroutine.resume(coroutine.create(function()
  4022. swait(5)
  4023. coroutine.resume(coroutine.create(function()
  4024. CamShakeAll({
  4025. Duration=0.25; -- Lasts for .1 seconds
  4026. Intensity=0.9; -- Intensity of 5
  4027. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4028. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  4029. DropDist=75; -- Camera dist from origin when the shake starts to gradually get weaker
  4030. IneffectiveDist=125; -- Camera dist from origin when the shake goes away
  4031. Origin=dis.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4032. })
  4033. CamShakeAll({
  4034. Duration=0.25; -- Lasts for .1 seconds
  4035. Intensity=0.9; -- Intensity of 5
  4036. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4037. Rotation=Vector3.new(2,2,6); -- What axises the shake effects and how much (rotation)
  4038. DropDist=75; -- Camera dist from origin when the shake starts to gradually get weaker
  4039. IneffectiveDist=125; -- Camera dist from origin when the shake goes away
  4040. Origin=dis2.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4041. })
  4042. end))
  4043. swait(20)
  4044. dis.Transparency = 1
  4045. dis2.Transparency = 1
  4046. MagniDamage(dis, 55, 50,99, 0, "Normal")
  4047. MagniDamage(dis2, 55, 50,99, 0, "Normal")
  4048. for i = 0, 2 do
  4049. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
  4050. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
  4051. end
  4052. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  4053. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  4054. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  4055. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  4056. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  4057. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  4058. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  4059. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  4060. dis:Destroy()
  4061. dis2:Destroy()
  4062. end))
  4063. end
  4064. eff.Enabled=false
  4065. eff2.Enabled=false
  4066. attack = false
  4067. hum.WalkSpeed = storehumanoidWS
  4068. wait(2)
  4069. eff:Destroy()
  4070. eff2:Destroy()
  4071. end
  4072.  
  4073. function Ballesta_Shards()
  4074. attack = true
  4075. hum.WalkSpeed = 2
  4076. local keptcolor = BrickColor.new("Really red")
  4077. local keptcolor2 = SECONDRUINCOLOR
  4078. local rval = 0
  4079. local eval = 1
  4080. for i = 0,3,0.1 do
  4081. swait()
  4082. rval = rval + 30
  4083. eval = eval + 1.5
  4084. slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*rval/25,0.002,0.01*rval/25),math.random(5,20)/250,keptcolor2)
  4085. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  4086. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  4087. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  4088. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3)
  4089. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3)
  4090. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3)
  4091. end
  4092. for i = 0, 19 do
  4093. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.002,0.01),math.random(150,250)/250,keptcolor2)
  4094. end
  4095. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 4,1)
  4096. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4097. CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
  4098. CFuncs["Sound"].Create("rbxassetid://199145739", root, 3,1)
  4099. MagniDamage(root, 50, 40,50, 0, "Normal")
  4100. sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor,keptcolor.Color)
  4101. sphere2(3,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor2,keptcolor2.Color)
  4102.  
  4103. coroutine.resume(coroutine.create(function()
  4104. for i = 0, 51 do
  4105. swait()
  4106. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  4107. dis.BrickColor = keptcolor
  4108. dis.Anchored = true
  4109. local at1 = Instance.new("Attachment",dis)
  4110. at1.Position = vt(-0.25,0,0)
  4111. local at2 = Instance.new("Attachment",dis)
  4112. at2.Position = vt(0.25,0,0)
  4113. local trl = Instance.new('Trail',dis)
  4114. trl.Attachment0 = at1
  4115. trl.FaceCamera = true
  4116. trl.Attachment1 = at2
  4117. trl.Texture = "rbxassetid://1049219073"
  4118. trl.LightEmission = 1
  4119. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4120. trl.Color = ColorSequence.new(dis.Color)
  4121. trl.Lifetime = 0.6
  4122. dis.Velocity = vt(math.random(-50,50),math.random(125,210),math.random(-50,50))
  4123. CFuncs["Sound"].Create("rbxassetid://199145967", dis, 0.1,1)
  4124. dis.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(5,25),math.random(-3,3))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4125. CreateMesh(dis,"Sphere",0.5,0.5,4)
  4126. dis.Anchored = false
  4127. coroutine.resume(coroutine.create(function()
  4128. wait(1)
  4129. local a = Instance.new("Part",workspace)
  4130. a.Name = "Direction"
  4131. a.Anchored = true
  4132. a.BrickColor = bc("Bright red")
  4133. a.Material = "Neon"
  4134. a.Transparency = 1
  4135. a.CanCollide = false
  4136. local ray = Ray.new(
  4137. dis.CFrame.p, -- origin
  4138. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4139. )
  4140. local ignore = dis
  4141. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4142. a.BottomSurface = 10
  4143. a.TopSurface = 10
  4144. local distance = (dis.CFrame.p - position).magnitude
  4145. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4146. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4147. dis.CFrame = a.CFrame
  4148. a:Destroy()
  4149. local bv = Instance.new("BodyVelocity")
  4150. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4151. bv.velocity = dis.CFrame.lookVector*200
  4152. bv.Parent = dis
  4153. game:GetService("Debris"):AddItem(dis, 5)
  4154. local hitted = false
  4155. coroutine.resume(coroutine.create(function()
  4156. dis.Touched:connect(function(hit)
  4157. if hitted == false and hit.Parent ~= char then
  4158. hitted = true
  4159. CFuncs["Sound"].Create("rbxassetid://199146035", dis, 1.5,1)
  4160. MagniDamage(dis, 20, 10,20, 0, "Normal")
  4161. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor2,keptcolor2.Color)
  4162. sphere2(8,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4163. coroutine.resume(coroutine.create(function()
  4164. local eff = Instance.new("ParticleEmitter",dis)
  4165. eff.Texture = "rbxassetid://2344870656"
  4166. eff.LightEmission = 1
  4167. eff.Color = ColorSequence.new(dis.Color)
  4168. eff.Rate = 10000000
  4169. eff.Enabled = true
  4170. --eff.EmissionDirection = "Front"
  4171. eff.Lifetime = NumberRange.new(0.5)
  4172. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,20,0),NumberSequenceKeypoint.new(1,30,0)})
  4173. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4174. eff.Speed = NumberRange.new(100)
  4175. eff.Drag = 5
  4176. eff.Rotation = NumberRange.new(-500,500)
  4177. eff.SpreadAngle = Vector2.new(0,900)
  4178. eff.RotSpeed = NumberRange.new(-500,500)
  4179. wait(0.1)
  4180. eff.Enabled = false
  4181. end))
  4182. coroutine.resume(coroutine.create(function()
  4183. local eff = Instance.new("ParticleEmitter",dis)
  4184. eff.Texture = "rbxassetid://695499847"
  4185. eff.LightEmission = 1
  4186. eff.Color = ColorSequence.new(dis.Color)
  4187. eff.Rate = 500000
  4188. eff.Lifetime = NumberRange.new(0.5,2)
  4189. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4190. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4191. eff.Speed = NumberRange.new(20,150)
  4192. eff.Drag = 5
  4193. eff.Rotation = NumberRange.new(-500,500)
  4194. eff.VelocitySpread = 9000
  4195. eff.RotSpeed = NumberRange.new(-150,150)
  4196. wait(0.5)
  4197. eff.Enabled = false
  4198. end))
  4199. dis.Anchored = true
  4200. dis.Transparency = 1
  4201. wait(8)
  4202. dis:Destroy()
  4203. end
  4204. end)
  4205. end))
  4206. end))
  4207. end
  4208. end))
  4209. coroutine.resume(coroutine.create(function()
  4210. local eff = Instance.new("ParticleEmitter",root)
  4211. eff.Texture = "rbxassetid://695499847"
  4212. eff.LightEmission = 0
  4213. eff.Color = ColorSequence.new(BrickColor.new("Crimson").Color)
  4214. eff.Rate = 500000
  4215. eff.Lifetime = NumberRange.new(0.5,2)
  4216. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,3,0),NumberSequenceKeypoint.new(1,0,0)})
  4217. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4218. eff.Speed = NumberRange.new(30,250)
  4219. eff.Drag = 5
  4220. eff.Rotation = NumberRange.new(-500,500)
  4221. eff.VelocitySpread = 9000
  4222. eff.RotSpeed = NumberRange.new(-150,150)
  4223. wait(1.5)
  4224. eff.Enabled = false
  4225. end))
  4226. local eval2 = 1
  4227. sphere2(1,"Add",root.CFrame,vt(12.5,1,12.5),-0.05,3,-0.05,keptcolor)
  4228. sphere2(1,"Add",root.CFrame,vt(25,1,25),-0.1,6,-0.1,keptcolor2)
  4229. CamShakeAll({
  4230. Duration=0.6; -- Lasts for .1 seconds
  4231. Intensity=2; -- Intensity of 5
  4232. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4233. Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation)
  4234. DropDist=130; -- Camera dist from origin when the shake starts to gradually get weaker
  4235. IneffectiveDist=165; -- Camera dist from origin when the shake goes away
  4236. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4237. })
  4238. for i = 0,9,0.1 do
  4239. swait()
  4240. rval = rval + 20
  4241. eval = eval + 1.5
  4242. eval2 = eval2 + 10
  4243. slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*eval2/60,0.002,0.01*eval2/60),math.random(5,20)/250,MAINRUINCOLOR)
  4244. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
  4245. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
  4246. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  4247. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4248. RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
  4249. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1)
  4250. end
  4251. attack = false
  4252. hum.WalkSpeed = storehumanoidWS
  4253. end
  4254.  
  4255.  
  4256. function CursedSlash()
  4257. attack = true
  4258. hum.WalkSpeed = 2
  4259. local keptcolor = BrickColor.new("Black")
  4260. local keptcolor2 = SECONDRUINCOLOR
  4261. for i = 0,3,0.1 do
  4262. swait()
  4263. slash(math.random(80,90),90,true,"Round","Add","In",sword.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-90,90))),vt(0.01*2/60,0.002,0.01*2/60),math.random(5,20)/250,MAINRUINCOLOR)
  4264. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1)
  4265. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1)
  4266. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20 - 1 * math.cos(sine / 44))),.1)
  4267. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0 - 1.5 * math.cos(sine / 32)), math.rad(0 - 0.5 * math.cos(sine / 32)), math.rad(0 - 0.5 * math.cos(sine / 32))), 0.1)
  4268. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(162 - 2 * math.cos(sine / 32)), math.rad(35), math.rad(-5 + 1.5 * math.cos(sine / 32))), 0.1)
  4269. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(15 - 2 * math.cos(sine / 32)), math.rad(0), math.rad(15 - 2 * math.cos(sine / 32))), 0.1)
  4270. end
  4271. MagniDamage(sword, 2, 15,30, 0, "Normal")
  4272. CamShakeAll({
  4273. Duration=0.6; -- Lasts for .1 seconds
  4274. Intensity=2; -- Intensity of 5
  4275. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4276. Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation)
  4277. DropDist=130; -- Camera dist from origin when the shake starts to gradually get weaker
  4278. IneffectiveDist=165; -- Camera dist from origin when the shake goes away
  4279. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4280. })
  4281. for i = 0,9,0.1 do
  4282. swait()
  4283. slash(math.random(40,70)/10,5,true,"Round","Add","Out",sword.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-90,90))),vt(0.01*2/60,0.002,0.01*2/60),math.random(5,20)/250,MAINRUINCOLOR)
  4284. MagniDamage(sword, 10, 1,5, 0, "Normal")
  4285. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1)
  4286. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1)
  4287. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20 - 1 * math.cos(sine / 44))),.1)
  4288. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4289. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),-0.2)*angles(math.rad(17),math.rad(-360),math.rad(-15)),.1)
  4290. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.1)
  4291. end
  4292. attack = false
  4293. hum.WalkSpeed = storehumanoidWS
  4294. end
  4295. function desstomp()
  4296. attack = true
  4297. bosschatfunc("To the depths of hell...",MAINRUINCOLOR.Color,4)
  4298. for i = 0, 8, 0.1 do
  4299. swait()
  4300. 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)
  4301. 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)
  4302. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4303. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4304. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4305. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4306. end
  4307. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  4308. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  4309. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  4310. if v:FindFirstChild('Head') then
  4311. dmg(v)
  4312. end
  4313. end
  4314. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,MAINRUINCOLOR)
  4315. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,MAINRUINCOLOR)
  4316. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,MAINRUINCOLOR)
  4317. bosschatfunc("YOU GO!",MAINRUINCOLOR.Color,4)
  4318. CamShakeAll({
  4319. Duration=0.2; -- Lasts for .1 seconds
  4320. Intensity=4; -- Intensity of 5
  4321. Position=Vector3.new(2,2,2); -- What axises the shake effects and how much (position)
  4322. Rotation=Vector3.new(2,2,4); -- What axises the shake effects and how much (rotation)
  4323. DropDist=200; -- Camera dist from origin when the shake starts to gradually get weaker
  4324. IneffectiveDist=250; -- Camera dist from origin when the shake goes away
  4325. Origin=root.Position; -- Where the shake is coming from (Part, CFrame, or Vector3)
  4326. })
  4327. for i = 0, 6, 0.1 do
  4328. swait()
  4329. 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,MAINRUINCOLOR,0)
  4330. 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,MAINRUINCOLOR,0)
  4331. 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)
  4332. 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)
  4333. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4334. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  4335. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4)
  4336. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4)
  4337. end
  4338. attack = false
  4339. end
  4340. function destaunt()
  4341. attack = true
  4342. bosschatfunc("Did you expect a different and more recognisable name? My bad.",MAINRUINCOLOR.Color,4)
  4343. for i = 0,20,0.1 do
  4344. swait()
  4345. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  4346. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  4347. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1)
  4348. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 5 * math.cos(sine / 10)),math.rad(0),math.rad(34)),.1)
  4349. RW.C0=clerp(RW.C0,cf(1.3,0.5 + 0.1 * math.cos(sine / 70),-0.9)*angles(math.rad(120 + 1 * math.cos(sine / 0.0001) ),math.rad(0),math.rad(-90 + 1 * math.cos(sine / 0.0001))),.1)
  4350. LW.C0=clerp(LW.C0,cf(-1.1,0.6 + 0.1 * math.cos(sine / 28),0.2)*angles(math.rad(220),math.rad(0),math.rad(45 + 1 * math.cos(sine / 50))),.1)
  4351. end
  4352. attack = false
  4353. end
  4354. -------------------------------------
  4355.  
  4356. if Humanoid:findFirstChild("Animator")~=nil then
  4357. Humanoid:findFirstChild("Animator").Parent=nil
  4358. end
  4359.  
  4360. if Character:findFirstChild("Animate")~=nil then
  4361. Character:findFirstChild("Animate").Parent=nil
  4362. end
  4363. local TransformCD = false
  4364. hum.WalkSpeed = 16
  4365. -------------------------------------
  4366.  
  4367. local NewInstance = function(instance,parent,properties)
  4368. local inst = Instance.new(instance,parent)
  4369. if(properties)then
  4370. for i,v in next, properties do
  4371. pcall(function() inst[i] = v end)
  4372. end
  4373. end
  4374. return inst;
  4375. end
  4376.  
  4377. local attacktype = 1
  4378. mouse.Button1Down:connect(function()
  4379. if attack == false and attacktype == 1 then
  4380. attacktype = 2
  4381. attackone()
  4382. elseif attack == false and attacktype == 2 then
  4383. attacktype = 3
  4384. attacktwo()
  4385. elseif attack == false and attacktype == 3 then
  4386. attacktype = 1
  4387. attackthree()
  4388. elseif attack == false and attacktype == 4 then
  4389. attacktype = 1
  4390. --attackfour()
  4391. end
  4392. end)
  4393.  
  4394. local modeInformation={
  4395. {Name='COMMOTIAUS',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://2071274388",Volume=1.2,TextColor=BrickColor.new("Bright bluish green").Color,Stroke=Color3.new(0,0.3,1),Font='SciFi',MainColor=BrickColor.new("Bright bluish green"),SecColor=BrickColor.new("Pastel light blue"),WingColor1=BrickColor.new("Bright bluish green"),WingColor2=BrickColor.new("Bright bluish green"),ExWing1={Trans=1,Color=BrickColor.new("Bright bluish green")},ExWing2={Trans=1,Color=BrickColor.new("Bright bluish green")},SecondWing=true,SecondTrail=false,MainTrail=false};
  4396. {Name='DURABITINE',ThemePitch=1,Walkspeed=12,Rainbow=false,Chaos=false,Theme="rbxassetid://692083837",Volume=1.2,TextColor=BrickColor.new("Earth green").Color,Stroke=BrickColor.new("Forest green").Color,Font='Bodoni',MainColor=BrickColor.new("Earth green"),SecColor=BrickColor.new("Forest green"),WingColor1=BrickColor.new("Earth green"),WingColor2=BrickColor.new("Forest green"),ExWing1={Trans=1,Color=BrickColor.new("Earth green")},ExWing2={Trans=1,Color=BrickColor.new("Earth green")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4397. {Name='ENCHANTER',ThemePitch=1,Walkspeed=19,Rainbow=false,Chaos=false,Theme="rbxassetid://436447939",Volume=1.2,TextColor=Color3.new(0.1,0.1,0.1),Stroke=BrickColor.new"Royal purple".Color,Font='Antique',MainColor=BrickColor.new("Mulberry"),SecColor=BrickColor.new("Royal purple"),WingColor1=BrickColor.new("Mulberry"),WingColor2=BrickColor.new("Royal purple"),ExWing1={Trans=1,Color=BrickColor.new("Mulberry")},ExWing2={Trans=1,Color=BrickColor.new("Mulberry")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4398. {Name='LACONISM',ThemePitch=.8,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://2668496921",Volume=1.3,TextColor=Color3.new(0,0,0),Stroke=BrickColor.new("Really black").Color,Font='Cartoon',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4399. {Name='METALEMPSYSIS',ThemePitch=1,Walkspeed=37,Rainbow=false,Chaos=false,Theme="rbxassetid://1880845619",Volume=1.1,TextColor=Color3.new(0,0,0),Stroke=Color3.new(0.02,0.02,0.02),Font='SciFi',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4400. {Name='AMBUSTUME',ThemePitch=1,Walkspeed=37,Rainbow=false,Chaos=false,Theme="rbxassetid://1290419263",Volume=0.9,TextColor=Color3.new(143/255, 76/255, 42/255),Stroke=Color3.new(86/255, 36/255, 36/255),Font='Bodoni',MainColor=BrickColor.new("Rust"),SecColor=BrickColor.new("Cocoa"),WingColor1=BrickColor.new("Rust"),WingColor2=BrickColor.new("Rust"),ExWing1={Trans=1,Color=BrickColor.new("Cocoa")},ExWing2={Trans=1,Color=BrickColor.new("Cocoa")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4401. {Name='CURSED',ThemePitch=0.5,Walkspeed=20,Rainbow=false,Chaos=false,Theme="rbxassetid://343860759",Volume=1.2,TextColor=Color3.new(0,0,0),Stroke=BrickColor.new"Dark stone grey".Color,Font='Bodoni',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=false};
  4402. {Name='ACCESSIONIST',ThemePitch=1,Walkspeed=100,Rainbow=false,Chaos=false,Theme="rbxassetid://227551982",Volume=1.2,TextColor=Color3.new(239/255, 184/255, 56/255),Stroke=BrickColor.new"White".Color,Font='SourceSansBold',MainColor=BrickColor.new("White"),SecColor=BrickColor.new("Daisy orange"),WingColor1=BrickColor.new("White"),WingColor2=BrickColor.new("Daisy orange"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Daisy orange")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4403. {Name='DESCENTED',ThemePitch=0.81,Walkspeed=55,Rainbow=false,Chaos=false,Theme="rbxassetid://150384451",Volume=1.2,TextColor=BrickColor.new"Alder".Color,Stroke=BrickColor.new"Cyan".Color,Font='Garamond',MainColor=BrickColor.new("Alder"),SecColor=BrickColor.new("Cyan"),WingColor1=BrickColor.new("Alder"),WingColor2=BrickColor.new("Cyan"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Cyan")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4404. {Name='DISGUITIVE',ThemePitch=1,Walkspeed=125,Rainbow=false,Chaos=false,Theme="rbxassetid://189701469",Volume=1.2,TextColor=Color3.new(0,0,0.5),Stroke=BrickColor.new"Really blue".Color,Font='Arcade',MainColor=BrickColor.new("Navy blue"),SecColor=BrickColor.new("Navy blue"),WingColor1=BrickColor.new("Navy blue"),WingColor2=BrickColor.new("Really blue"),ExWing1={Trans=1,Color=BrickColor.new("Mulberry")},ExWing2={Trans=1,Color=BrickColor.new("Mulberry")},SecondWing=false,SecondTrail=false,MainTrail=true};
  4405. {Name='SHAMBOLIACY',ThemePitch=1,Walkspeed=65,Rainbow=false,Chaos=false,Theme="rbxassetid://668243190",Volume=1.25,TextColor=Color3.new(0.1,0.1,0.1),Stroke=Color3.new(0.35,0,0),Font='SciFi',MainColor=BrickColor.new("Maroon"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Maroon"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4406. {Name='STEALTH',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://1119453744",Volume=0.8,TextColor=Color3.new(0.15,0.15,0.15),Stroke=Color3.new(0.3,0.3,0.3),Font='Antique',MainColor=BrickColor.new("Dark stone grey"),SecColor=BrickColor.new("Light blue"),WingColor1=BrickColor.new("Dark stone grey"),WingColor2=BrickColor.new("Light blue"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4407. {Name='RETINENTIA',ThemePitch=1,Walkspeed=12,Rainbow=false,Chaos=false,Theme="rbxassetid://579259104",Volume=0.8,TextColor=Color3.new(.8,.8,.8),Stroke=Color3.new(0.1,0.1,0.1),Font='Bodoni',MainColor=BrickColor.new("Medium stone grey"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Dark stone grey"),WingColor2=BrickColor.new("White"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=false,SecondTrail=false,MainTrail=true};
  4408. {Name='SYMBOLICITY',ThemePitch=1,Walkspeed=125,Rainbow=false,Chaos=false,Theme="rbxassetid://899090278",Volume=1.25,TextColor=Color3.new(1,0,0),Stroke=Color3.new(1,1,1),Font='Arcade',MainColor=BrickColor.new("Really red"),SecColor=BrickColor.new("White"),WingColor1=BrickColor.new("Really red"),WingColor2=BrickColor.new("White"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4409. {Name='ANTECEDENT',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://657143125",Volume=1.25,TextColor=Color3.new(1,0,.31),Stroke=Color3.new(1,0,1),Font='Arcade',MainColor=BrickColor.new("Really red"),SecColor=BrickColor.new("Hot pink"),WingColor1=Color3.new(1,0,.31),WingColor2=Color3.new(1,0,.31),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4410. {Name='EQUILIBRIUM',ThemePitch=1,Walkspeed=32,Rainbow=false,Chaos=false,Theme="rbxassetid://837090776",Volume=1.25,TextColor=Color3.new(1,1,1),Stroke=Color3.new(0,0,0),Font='Gotham',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Institutional white"),WingColor1=Color3.new(0,0,0),WingColor2=Color3.new(1,1,1),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4411. }
  4412.  
  4413.  
  4414. --Ench 565863302
  4415.  
  4416. --407122850 2128439818 1134696007
  4417. --^ die
  4418.  
  4419. --[[local modeInformation2={ v v v for future flying modetypes
  4420. {Name='SILENTIAC',ThemePitch=1,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://209322206",TextColor=Color3.new(0,0,0),Stroke=BrickColor.new("Really black").Color,Font='Cartoon',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4421. {Name='ACCESSION',ThemePitch=1,Walkspeed=70,Rainbow=false,Chaos=false,Theme="rbxassetid://227551982",TextColor=Color3.new(239, 184, 56),Stroke=BrickColor.new"White".Color,Font='SourceSansBold',MainColor=BrickColor.new("White"),SecColor=BrickColor.new("Daisy orange"),WingColor1=BrickColor.new("White"),WingColor2=BrickColor.new("Daisy orange"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Daisy orange")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4422. {Name='DESCENTED',ThemePitch=0.81,Walkspeed=70,Rainbow=false,Chaos=false,Theme="rbxassetid://150384451",TextColor=BrickColor.new"Alder".Color,Stroke=BrickColor.new"Cyan".Color,Font='Garamond',MainColor=BrickColor.new("Alder"),SecColor=BrickColor.new("Cyan"),WingColor1=BrickColor.new("Alder"),WingColor2=BrickColor.new("Cyan"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Cyan")},SecondWing=true,SecondTrail=false,MainTrail=true};
  4423. }]]
  4424.  
  4425. RecolorTextAndRename("COMMOTIAUS",MAINRUINCOLOR.Color,Color3.new(0,0.3,1),Enum.Font.SciFi)
  4426.  
  4427. mouse.KeyDown:connect(function(k)
  4428. if stealth==false and k == "q" and attack == false and TransformCD == false or stealth==false and k == "e" and attack == false and FlyingTypes==false and TransformCD == false then
  4429. local pmode=ModeOfGlitch
  4430. attack = true
  4431. hum.WalkSpeed = 5
  4432. TransformCD = true
  4433. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.8)
  4434.  
  4435. for i = 0,2,0.1 do
  4436. swait()
  4437. sphereMK(5,-4.5,"Add",sorb.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,225)
  4438. sphereMK(5,-4.5,"Add",sorb2.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,225)
  4439. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.1)* angles(math.rad(20),math.rad(0),math.rad(0)),0.3)
  4440. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  4441. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  4442. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  4443. 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(-1.5),math.rad(0),math.rad(20)),.3)
  4444. 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(0),math.rad(-20)),.3)
  4445. end
  4446. swait(4)
  4447. if k == "e" then
  4448. ModeOfGlitch = ModeOfGlitch + 1
  4449. elseif k == "q" then
  4450. ModeOfGlitch = ModeOfGlitch - 1
  4451. end
  4452. if ModeOfGlitch > #modeInformation then
  4453. ModeOfGlitch = 1
  4454. end
  4455. if ModeOfGlitch < 1 then
  4456. ModeOfGlitch = #modeInformation
  4457. end
  4458. local info = modeInformation[ModeOfGlitch]
  4459. if(info and pmode~=ModeOfGlitch)then
  4460. storehumanoidWS = info.Walkspeed
  4461. hum.WalkSpeed = info.Walkspeed
  4462. MAINRUINCOLOR = info.MainColor
  4463. SECONDRUINCOLOR = info.SecColor
  4464. sphere2(3,"Add",tors.CFrame,vt(1,1,1),0.25,0.25,0.25,MAINRUINCOLOR)
  4465. sphere2(4,"Add",tors.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR)
  4466. sphere2(5,"Add",tors.CFrame,vt(1,1,1),0.75,0.75,0.75,MAINRUINCOLOR)
  4467. for i = 0, 24 do
  4468. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,MAINRUINCOLOR)
  4469. end
  4470. CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
  4471. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
  4472. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4473. CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
  4474. hum.WalkSpeed = storehumanoidWS
  4475. rainbowmode = info.Rainbow
  4476. chaosmode = info.Chaos
  4477. cp = info.Theme:gsub("rbxassetid://","")
  4478. newTheme(info.Theme,0,info.ThemePitch,info.Volume)
  4479. RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font)
  4480. RecolorThing(info.WingColor1,info.WingColor2,info.WingColor1,info.WingColor1,info.WingColor1,info.ExWing1.Trans,info.ExWing1.Color,info.ExWing2.Trans,info.ExWing1.Color,info.SecondWing,info.SecondTrail,info.MainTrail)
  4481. if ModeOfGlitch==11 then
  4482. for i, v in pairs(mw2:GetDescendants()) do
  4483. if v:IsA("Part") or v:IsA("BasePart") then
  4484. v.Color = Color3.new(0.35,0,0)
  4485. v.Material = "Neon"
  4486. v.Transparency = 0
  4487. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  4488. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  4489. v.Enabled = true
  4490. end
  4491. end
  4492. end
  4493. for i = 0,2.5,0.1 do
  4494. swait()
  4495. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,-0.1)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.3)
  4496. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.3)
  4497. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(35)), 0.3)
  4498. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-35)), 0.3)
  4499. 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(-1.5),math.rad(0),math.rad(-20)),.3)
  4500. 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(0),math.rad(20)),.3)
  4501. end
  4502. attack = false
  4503. wait(0.3)
  4504. TransformCD = false
  4505. end
  4506. end
  4507. if k == "i" and mutedtog == false then
  4508. mutedtog = true
  4509. kan.Volume = 0
  4510. elseif k == "i" and mutedtog == true then
  4511. mutedtog = false
  4512. kan.Volume = 1.25
  4513. end
  4514. if k == "h" then
  4515. local ggagag=math.random(1,4)
  4516. if ggagag==1 then
  4517. newbosschatfunc("ok.",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
  4518. elseif ggagag==2 then
  4519. newbosschatfunc("s",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
  4520. elseif ggagag==3 then
  4521. newbosschatfunc("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
  4522. elseif ggagag==4 then
  4523. newbosschatfunc("g",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
  4524. end
  4525. end
  4526. if k == "z" and attack == false and ModeOfGlitch == 1 then
  4527. ExtinctiveHeartbreak()
  4528. elseif k == "z" and attack == false and ModeOfGlitch == 12 then
  4529. StealthWarped()
  4530. elseif k == "z" and attack == false and ModeOfGlitch == 11 then
  4531. Ballesta_Shards()
  4532. elseif k == "z" and attack == false and ModeOfGlitch == 7 then
  4533. CursedSlash()
  4534. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  4535. QuickSnap()
  4536. elseif k == "z" and attack == false and ModeOfGlitch == 10 then
  4537. desstomp()
  4538. elseif k == "b" and attack == false and ModeOfGlitch == 10 then
  4539. destaunt()
  4540. end
  4541. end)
  4542.  
  4543. plr.Chatted:connect(function(message)
  4544. newbosschatfunc(message,MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,200)
  4545. end)
  4546.  
  4547. local no=0
  4548. local no2=0
  4549. local spin=0
  4550. coroutine.resume(coroutine.create(function()
  4551. while true do
  4552. swait()
  4553. spin=spin+1
  4554.  
  4555.  
  4556. if ModeOfGlitch ~= 7 then
  4557. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  4558. if v:IsA("Part") then
  4559. v.Transparency = 1
  4560. end
  4561. end
  4562. elseif ModeOfGlitch == 7 then
  4563. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  4564. if v:IsA("Part") then
  4565. v.Transparency = 0
  4566. end
  4567. end
  4568. end
  4569.  
  4570.  
  4571.  
  4572. if ModeOfGlitch == 5 and attack==false or ModeOfGlitch==10 and attack==false then
  4573. no=no+1
  4574. if no>3 then
  4575. no=0
  4576. local rsiz = math.random(1,3)
  4577. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  4578. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  4579. end
  4580. end
  4581.  
  4582.  
  4583. if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch==12 or ModeOfGlitch==14 then
  4584. effar.Enabled = true
  4585. effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4586. rotperm = rotperm + 2
  4587. no2=no2+1
  4588. if no2>4 then
  4589. no2=0
  4590. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(0 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
  4591. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
  4592. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
  4593. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
  4594. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(0 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
  4595. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
  4596. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
  4597. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
  4598. end
  4599. if ModeOfGlitch==10 then
  4600. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15+GetClientProperty(kan,'PlaybackLoudness')/850,0.01,0.15+GetClientProperty(kan,'PlaybackLoudness')/850,SECONDRUINCOLOR)
  4601. else
  4602. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15,0.01,0.15,SECONDRUINCOLOR)
  4603. end
  4604. else
  4605. effar.Enabled = false
  4606. end
  4607.  
  4608. if ModeOfGlitch == 1 then
  4609. local hitfloor2,posfloor2=rayCast(RootPart.Position,-RootPart.CFrame.upVector,100,Character)
  4610. if hitfloor2 then
  4611. sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,-1)
  4612. sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(90+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0)
  4613. sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(180+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0)
  4614. sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(270+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0)
  4615. end
  4616. elseif ModeOfGlitch == 4 then
  4617. block2(10,4,"Add",CFrame.new(RootPart.Position)*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))*CFrame.new(0,0,math.random(-150,150)/10),vt(math.random(10,80)/30,math.random(10,80)/30,math.random(10,80)/30),0,0,0,MAINRUINCOLOR,SECONDRUINCOLOR.Color)
  4618. block2(10,4,"Add",CFrame.new(RootPart.Position)*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))*CFrame.new(0,0,math.random(-150,150)/10),vt(math.random(10,80)/30,math.random(10,80)/30,math.random(10,80)/30),0,0,0,MAINRUINCOLOR,SECONDRUINCOLOR.Color)
  4619. elseif ModeOfGlitch == 8 or ModeOfGlitch == 10 or ModeOfGlitch==12 or ModeOfGlitch==14 then
  4620. sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-7,7),-5,math.random(-7,7))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,MAINRUINCOLOR,0)
  4621. sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-7,7),-5,math.random(-7,7))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,SECONDRUINCOLOR,0)
  4622. elseif ModeOfGlitch == 11 then
  4623. if hitfloor ~= nil then
  4624. sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,MAINRUINCOLOR,0)
  4625. sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,SECONDRUINCOLOR,0)
  4626. end
  4627. elseif ModeOfGlitch == 2 or ModeOfGlitch == 3 or ModeOfGlitch==5 or ModeOfGlitch==6 then
  4628. sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.2,0.2,3,0,MAINRUINCOLOR,0)
  4629. elseif ModeOfGlitch == 13 then
  4630. no=no+1
  4631. if no>4 then
  4632. no=0
  4633. sphereMK(2,math.random(5,15)/60,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),1,1,1,0,MAINRUINCOLOR,0)
  4634. sphereMK(2,math.random(5,15)/60,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),1,1,1,0,SECONDRUINCOLOR,0)
  4635. end
  4636. elseif ModeOfGlitch==15 and GetClientProperty(kan,'PlaybackLoudness')/850 > .4 then
  4637. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.05+GetClientProperty(kan,'PlaybackLoudness')/1000,0.01,0.05+GetClientProperty(kan,'PlaybackLoudness')/1000,SECONDRUINCOLOR)
  4638.  
  4639. elseif ModeOfGlitch==16 then
  4640. sphere2(8,"Add",root.CFrame*CFrame.new(-2+4*math.sin(sine / 24)+.5*math.sin(sine/8),1.4+3*math.cos(sine / 28)+2*math.sin(sine / 34),1-3*math.sin(sine / 21)),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
  4641. sphere2(8,"Add",root.CFrame*CFrame.new(2-4*math.sin(sine / 24)-.5*math.sin(sine/8),-1.4-3*math.cos(sine / 28)-2*math.sin(sine / 34),-1+3*math.sin(sine / 21)),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
  4642.  
  4643. end
  4644. end
  4645. end))
  4646.  
  4647.  
  4648. for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
  4649. v.Anchored = false
  4650. end
  4651.  
  4652. rotperm = 0
  4653.  
  4654.  
  4655. Humanoid.Name = "ETHEREAL"
  4656. Humanoid.MaxHealth = math.huge
  4657. Humanoid.Health = math.huge
  4658. Instance.new("ForceField",char).Visible = false
  4659.  
  4660. local bguis = Instance.new("BillboardGui",tors)
  4661. bguis.Size = UDim2.new(25, 0, 25, 0)
  4662. local imgca = Instance.new("ImageLabel",bguis)
  4663. imgca.BackgroundTransparency = 1
  4664. imgca.ImageTransparency = 1
  4665. imgca.Size = UDim2.new(1,0,1,0)
  4666. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  4667. imgca.ImageColor3 = Color3.new(0,0,0)
  4668. local rvalu = 0
  4669.  
  4670. idleanim=.4
  4671. local hai=0
  4672. local hai2=1
  4673. local khhkh=0
  4674. local asine1=0
  4675. local asine2=0
  4676. local asine3=0
  4677. local hahahaaa={"Black","Crimson","Maroon","Bright red","Cocoa","Really red"}
  4678. while true do
  4679. ggg()
  4680. if ModeOfGlitch==5 then
  4681. hai=hai+1
  4682. if hai>math.random(2,5) then
  4683. hai=0
  4684. if hai2==1 then
  4685. hai2=2
  4686. MAINRUINCOLOR = BrickColor.new("Really black")
  4687. SECONDRUINCOLOR = BrickColor.new("Really black")
  4688. else
  4689. hai2=1
  4690. MAINRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)])
  4691. SECONDRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)])
  4692. end
  4693. end
  4694. end
  4695. if khhkh<50 then
  4696. khhkh=khhkh+1
  4697. end
  4698.  
  4699. if khhkh>12 then
  4700.  
  4701. asine1=asine1+change
  4702. end
  4703.  
  4704. if khhkh>24 then
  4705. asine2=asine2+change
  4706. end
  4707.  
  4708. if khhkh>36 then
  4709. asine3=asine3+change
  4710. end
  4711. if mutedtog == false then
  4712. kan.Volume = currentVol
  4713. elseif mutedtog == true then
  4714. kan.Volume = 0
  4715. end
  4716. local what = math.random()*0.6
  4717. if ModeOfGlitch == 5 then
  4718. modet.TextStrokeColor3 = Color3.new(what,0,0)
  4719. modet.TextColor3 = Color3.new(math.random(0,255)/255,0,0)
  4720. for i, v in pairs(mwY:GetChildren()) do
  4721. if v:IsA("Part") then
  4722. v.Color = Color3.new(MRANDOM(0,1),0,0)
  4723. v.Material = "Neon"
  4724. end
  4725. end
  4726. for i, v in pairs(mw2:GetDescendants()) do
  4727. if v:IsA("Part") or v:IsA("BasePart") then
  4728. v.Color = Color3.new(what,0,0)
  4729. v.Material = "Neon"
  4730. v.Transparency = 0
  4731. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  4732. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  4733. v.Enabled = true
  4734. end
  4735. end
  4736. for i, v in pairs(mw1:GetDescendants()) do
  4737. if v:IsA("Part") or v:IsA("BasePart") then
  4738. v.Color = Color3.new(MRANDOM(0,1),0,0)
  4739. v.Material = "Neon"
  4740. v.Transparency = 0
  4741. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  4742. v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
  4743. v.Enabled = true
  4744. end
  4745. end
  4746. end
  4747. local what = math.random()*0.6
  4748. if ModeOfGlitch == 4 then
  4749. local gay = math.random()
  4750. modet.TextStrokeColor3 = Color3.new(gay,gay,gay)
  4751. modet.TextColor3 = Color3.new(gay,gay,gay)
  4752. for i, v in pairs(mwY:GetChildren()) do
  4753. if v:IsA("Part") then
  4754. v.Color = Color3.new(gay,gay,gay)
  4755. v.Material = "Neon"
  4756. end
  4757. end
  4758. for i, v in pairs(mw2:GetDescendants()) do
  4759. if v:IsA("Part") or v:IsA("BasePart") then
  4760. v.Color = Color3.new(gay,gay,gay)
  4761. v.Material = "Neon"
  4762. v.Transparency = 0
  4763. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  4764. v.Color = ColorSequence.new(Color3.new(gay,gay,gay))
  4765. v.Enabled = true
  4766. end
  4767. end
  4768. for i, v in pairs(mw1:GetDescendants()) do
  4769. if v:IsA("Part") or v:IsA("BasePart") then
  4770. v.Color = Color3.new(gay,gay,gay)
  4771. v.Material = "Neon"
  4772. v.Transparency = 0
  4773. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  4774. v.Color = ColorSequence.new(Color3.new(gay,gay,gay))
  4775. v.Enabled = true
  4776. end
  4777. end
  4778. end
  4779. kan:ClearAllChildren()
  4780. local succ = pcall(function()
  4781. kan.PlaybackSpeed = currentPitch
  4782. end)
  4783. if(not succ)then
  4784. local tp = kan.TimePosition
  4785. kan = Instance.new("Sound",Torso)
  4786. kan.PlaybackSpeed = currentPitch
  4787. kan.TimePosition = tp
  4788. kan.Name = "wrecked"
  4789. kan.Looped = true
  4790. kan:Play()
  4791. end
  4792. pcall(function()
  4793. kan.Pitch = currentPitch
  4794. kan.Volume = currentVol
  4795. kan.SoundId = currentThemePlaying
  4796. kan.Looped = true
  4797. kan.Parent = Torso
  4798. kan:Resume()
  4799. end)
  4800. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 090 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  4801. imgca.ImageTransparency = 1
  4802. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 101 or ModeOfGlitch == 103 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  4803. imgca.ImageColor3 = MAINRUINCOLOR.Color
  4804. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  4805. elseif ModeOfGlitch == 090 then
  4806. imgca.ImageColor3 = Color3.new(r/255,g/255,b/255)
  4807. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  4808. end
  4809. imgca.Rotation = imgca.Rotation + 5 + GetClientProperty(kan,'PlaybackLoudness')/100
  4810. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  4811. modet.Rotation = - 5 * math.cos(sine / 32)
  4812. nedf.Rotation = 0 - 2 * math.cos(sine / 24)
  4813. --nedf.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  4814. fullscreenz.BackgroundColor3 = SECONDRUINCOLOR.Color
  4815. fullscreenz.BorderColor3 = MAINRUINCOLOR.Color
  4816. hh1.BackgroundColor3 = MAINRUINCOLOR.Color
  4817. hh2.BackgroundColor3 = MAINRUINCOLOR.Color
  4818. hh3.BackgroundColor3 = MAINRUINCOLOR.Color
  4819. hh1.Position=UDim2.new(-.1-.02*math.cos(asine3/66), 0, .5, 0)
  4820. hh2.Position=UDim2.new(-.14-.02*math.cos(asine2/66), 0, .5, 0)
  4821. hh3.Position=UDim2.new(-.16-.02*math.cos(asine1/66), 0, .5, 0)
  4822. hh1.Rotation=0+.8*math.sin(asine1/66)
  4823. hh2.Rotation=0+.8*math.sin(asine2/66)
  4824. nedf.TextColor3=SECONDRUINCOLOR.Color
  4825. nedf.TextStrokeColor3=MAINRUINCOLOR.Color
  4826. fullscreenz.Rotation=0+.8*math.sin(sine/66)
  4827. vis1.BackgroundColor3 = MAINRUINCOLOR.Color
  4828. vis2.BackgroundColor3 = MAINRUINCOLOR.Color
  4829. vis3.BackgroundColor3 = MAINRUINCOLOR.Color
  4830. vis4.BackgroundColor3 = MAINRUINCOLOR.Color
  4831. vis5.BackgroundColor3 = MAINRUINCOLOR.Color
  4832.  
  4833. vis1.Size = UDim2.new(.1, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/330, 0)
  4834. vis2.Size = UDim2.new(.07, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/410, 0)
  4835. vis3.Size = UDim2.new(.045, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/470, 0)
  4836. vis4.Size = UDim2.new(.03, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/540, 0)
  4837. vis5.Size = UDim2.new(.012, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/590, 0)
  4838.  
  4839. CameraManager()
  4840. swait()
  4841. kan:Resume()
  4842. if ModeOfGlitch == 2 or ModeOfGlitch == 15 or ModeOfGlitch == 16 then
  4843. rvalu = rvalu + 0.25 + GetClientProperty(kan,'PlaybackLoudness')/90
  4844. else
  4845. rvalu = rvalu + 0.5
  4846. end
  4847. if ModeOfGlitch==2 then
  4848. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4849. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4850. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(60 + rvalu)),.3)
  4851. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(180 + rvalu)),.3)
  4852. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(-60 + rvalu)),.3)
  4853. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(120 - rvalu)),.3)
  4854. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(-120 - rvalu)),.3)
  4855. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(0 - rvalu)),.3)
  4856. elseif ModeOfGlitch == 3 or ModeOfGlitch==16 then
  4857. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4858. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4859. rwing1weld.C1=clerp(rwing1weld.C1,cf(-5.25,3+ 1 * math.cos(sine / 23.5),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(135+ 10 * math.cos(sine / 47))),.3)
  4860. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,-6 + 0.75 * math.cos(sine / 34),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 47))),.3)
  4861. rwing3weld.C1=clerp(rwing3weld.C1,cf(5.25,3+ 1 * math.cos(sine / 23.5),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(-135+ 10 * math.cos(sine / 47))),.3)
  4862. lwing1weld.C1=clerp(lwing1weld.C1,cf(-3.75,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(-135+ 10 * math.cos(sine / 47))),.3)
  4863. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1 + 0.75 * math.cos(sine / 34),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 + 10 * math.cos(sine / 47))),.3)
  4864. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(135+ 10 * math.cos(sine / 47))),.3)
  4865. elseif ModeOfGlitch==4 then
  4866. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4867. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4868. lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  4869. lwing2weld.C1=clerp(lwing2weld.C1,cf(5+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  4870. lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  4871. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  4872. rwing2weld.C1=clerp(rwing2weld.C1,cf(-5+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  4873. rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
  4874. elseif ModeOfGlitch == 5 then
  4875. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  4876. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  4877. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  4878. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  4879. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  4880. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  4881. elseif ModeOfGlitch==11 then
  4882. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4883. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4884. lwing1weld.C1=clerp(lwing1weld.C1,cf(-3- 0.75 * math.cos(sine / 32),1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 - 7.5 * math.cos(sine / 16))),.3)
  4885. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  4886. lwing3weld.C1=clerp(lwing3weld.C1,cf(3+ 0.75 * math.cos(sine / 32),1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 16))),.3)
  4887. rwing1weld.C1=clerp(rwing1weld.C1,cf(-3- 0.75 * math.cos(sine / 32),4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 - 7.5 * math.cos(sine / 16))),.3)
  4888. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4889. rwing3weld.C1=clerp(rwing3weld.C1,cf(3+ 0.75 * math.cos(sine / 32),4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 + 7.5 * math.cos(sine / 16))),.3)
  4890. elseif ModeOfGlitch==12 or ModeOfGlitch==13 then
  4891. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4892. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4893. lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25-0.25*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 5 * math.cos(sine / 16))),.3)
  4894. lwing2weld.C1=clerp(lwing2weld.C1,cf(5-0.5*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 16))),.3)
  4895. lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75-0.75*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 16))),.3)
  4896. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25+0.25*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 5 * math.cos(sine / 16))),.3)
  4897. rwing2weld.C1=clerp(rwing2weld.C1,cf(-5+0.5*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 7.5 * math.cos(sine / 16))),.3)
  4898. rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75+0.75*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 10 * math.cos(sine / 16))),.3)
  4899. elseif ModeOfGlitch==14 then
  4900. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4901. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4902. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(60 - 3600 * math.cos(sine / 360))),.3)
  4903. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(180 - 3600 * math.cos(sine / 360))),.3)
  4904. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(-60 - 3600 * math.cos(sine / 360))),.3)
  4905. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  4906. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  4907. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  4908. elseif ModeOfGlitch==15 then
  4909. for i = 6, 2, -1 do
  4910. visWings[i]=visWings[i-1]
  4911. end
  4912. visWings[1]=GetClientProperty(kan,'PlaybackLoudness')/250
  4913. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4914. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4915. lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0+visWings[3],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 1.25 * math.cos(sine / 32))),.3)
  4916. lwing2weld.C1=clerp(lwing2weld.C1,cf(5,0+visWings[2],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 1.875 * math.cos(sine / 32))),.3)
  4917. lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75,0+visWings[1],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 2.5 * math.cos(sine / 32))),.3)
  4918. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0+visWings[6],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 1.25 * math.cos(sine / 32))),.3)
  4919. rwing2weld.C1=clerp(rwing2weld.C1,cf(-5,0+visWings[5],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 1.875 * math.cos(sine / 32))),.3)
  4920. rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75,0+visWings[4],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 2.5 * math.cos(sine / 32))),.3)
  4921.  
  4922. else
  4923. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4924. handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4925. lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 5 * math.cos(sine / 32))),.3)
  4926. lwing2weld.C1=clerp(lwing2weld.C1,cf(5,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  4927. lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 32))),.3)
  4928. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 5 * math.cos(sine / 32))),.3)
  4929. rwing2weld.C1=clerp(rwing2weld.C1,cf(-5,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 7.5 * math.cos(sine / 32))),.3)
  4930. rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 10 * math.cos(sine / 32))),.3)
  4931. end
  4932. sine = sine + change
  4933. SINE=SINE+change
  4934. if(ModeOfGlitch==16)then
  4935.  
  4936. end
  4937.  
  4938. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  4939. local velderp=RootPart.Velocity.y
  4940. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  4941. if equipped==true or equipped==false then
  4942. if attack==false then
  4943. idle=idle+1
  4944. else
  4945. idle=0
  4946. end
  4947. if idle>=500 then
  4948. if attack==false then
  4949. --Sheath()
  4950. end
  4951. end
  4952. if RootPart.Velocity.y > 1 and hitfloor==nil then
  4953. Anim="Jump"
  4954. if attack==false then
  4955. RH.C0=clerp(RH.C0,cf(1,-0.35 - 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)),.1)
  4956. 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)
  4957. 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)
  4958. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  4959. 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)
  4960. 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)
  4961. end
  4962. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  4963. Anim="Fall"
  4964. if attack==false then
  4965. RH.C0=clerp(RH.C0,cf(1,-0.35 - 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)),.1)
  4966. 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)
  4967. 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)
  4968. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  4969. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  4970. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  4971. end
  4972. elseif torvel<1 and hitfloor~=nil then
  4973. Anim="Idle"
  4974. if attack==false then
  4975. if ModeOfGlitch == 2 then
  4976. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  4977. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  4978. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  4979. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(0),math.rad(0 - 5 * math.sin(sine / 95))),0.1)
  4980. RW.C0=clerp(RW.C0,cf(1,0.4,-0.45)*angles(math.rad(82 + 6 * math.cos(sine / 72)),math.rad(3 - 1 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  4981. LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 * math.cos(sine / 66)),math.rad(4 - 2 * math.cos(sine / 59)),math.rad(61 - 4 * math.cos(sine / 45))),.1)
  4982. elseif ModeOfGlitch == 3 then
  4983. local snap = math.random(1,32)
  4984. if snap == 1 then
  4985. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)+MRANDOM(-35,15)),math.rad(0 + 1 * math.cos(sine / 57)+MRANDOM(-65,65)),math.rad(0 - 30 * math.cos(sine / 47)+MRANDOM(-65,65))),.4)
  4986. end
  4987. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  4988. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  4989. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  4990. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0 - 30 * math.cos(sine / 47))),.1)
  4991. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 - 10 * math.cos(sine / 47))),.1)
  4992. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 10 * math.cos(sine / 47))),.1)
  4993. elseif ModeOfGlitch == 4 then
  4994. local snap = math.random(1,24)
  4995. if snap == 1 then
  4996. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-50,50)),math.rad(10+math.random(-50,50)),math.rad(0+math.random(-50,50))),.5)
  4997. end
  4998. local snap = math.random(1,78)
  4999. if snap == 1 then
  5000. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-100,100)),math.rad(10+math.random(-100,100)),math.rad(0+math.random(-100,100))),.5)
  5001. end
  5002. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3.5+ 1 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1)
  5003. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3.5+ 1 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1)
  5004. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 45),1 + 0.25 * math.cos(sine / 45))*angles(math.rad(0 - 2 * math.cos(sine / 45)+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1)
  5005. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)+math.random(-5,5)),math.rad(0 + 1 * math.cos(sine / 58)+math.random(-5,5)),math.rad(0 + 2 * math.cos(sine / 53)+math.random(-5,5))),.1)
  5006. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(2 + 5 * math.cos(sine / 74)+math.random(-5,5)),math.rad(1 - 3 * math.cos(sine / 53)+math.random(-5,5)),math.rad(14 + 5 * math.sin(sine / 45)+math.random(-5,5))),.1)
  5007. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5 - 3 * math.cos(sine / 73)+math.random(-5,5)),math.rad(2 - 1 * math.cos(sine / 55)+math.random(-5,5)),math.rad(-14 - 6 * math.sin(sine / 45)+math.random(-5,5))),.1)
  5008. elseif ModeOfGlitch == 5 then
  5009. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(80),math.rad(17 - 2 * math.cos(sine / 32)))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  5010. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(-82),math.rad(-17 - 2 * math.cos(sine / 32)))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  5011. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 24))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  5012. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1.8 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  5013. RW.C0=clerp(RW.C0,cf(1.35,0.4 + 0.025 * math.cos(sine / 30),0)*angles(math.rad(25 + 3 * math.cos(sine / 30)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 30))),.1)
  5014. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 30),0)*angles(math.rad(-25 + 2 * math.cos(sine / 30)),math.rad(0),math.rad(-12 + 5 * math.cos(sine / 30))),.1)
  5015. elseif ModeOfGlitch == 6 then -- soon to change anim
  5016. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(80),math.rad(17 - 2 * math.cos(sine / 32)))*angles(math.rad(-3),math.rad(5.5 - 2 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  5017. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(-82),math.rad(-17 - 2 * math.cos(sine / 32)))*angles(math.rad(-6),math.rad(-22 - 2 * math.cos(sine / 56)),math.rad(12 + 2 * math.cos(sine / 32))),.1)
  5018. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 24))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(22 + 2 * math.cos(sine / 56))),.1)
  5019. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1.8 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(-22 - 2 * math.cos(sine / 56))),.1)
  5020. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  5021. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  5022. elseif ModeOfGlitch == 7 then -- Cursed by Unfair
  5023. local rsiz = math.random(1,2)
  5024. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  5025. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  5026. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1)
  5027. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1)
  5028. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20 - 1 * math.cos(sine / 44))),.1)
  5029. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)+MRANDOM(-5,5)),math.rad(0 + 1 * math.cos(sine / 57)+MRANDOM(-5,5)),math.rad(20 + 10 * math.cos(sine / 47)+MRANDOM(-5,5))),.1)
  5030. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 3 * math.cos(sine / 43)),math.rad(35 - 2 * math.cos(sine / 52)),math.rad(13 + 0.9 * math.cos(sine / 45))),.1)
  5031. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(134 - 0.2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(47 - 0.2 * math.cos(sine / 45))),.1)
  5032. elseif ModeOfGlitch == 8 then -- Accession by Unfair
  5033. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  5034. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  5035. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  5036. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0 - 0.3 * math.cos(sine / 47))),.1)
  5037. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3)
  5038. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3)
  5039. elseif ModeOfGlitch == 9 then -- Descented by Unfair
  5040. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  5041. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  5042. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  5043. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  5044. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.05 * math.cos(sine / 45),0.45)*angles(math.rad(-23 + 6 * math.cos(sine / 74)),math.rad(1 - 2 * math.cos(sine / 53)),math.rad(-53 + 3 * math.cos(sine / 45))),.1)
  5045. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.05 * math.cos(sine / 45),-0.5)*angles(math.rad(84 - 3 * math.cos(sine / 73)),math.rad(8 - 5 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.1)
  5046. elseif ModeOfGlitch == 10 then
  5047. local snap = math.random(1,100)
  5048. if snap == 1 then
  5049. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  5050. end
  5051. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  5052. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  5053. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1)
  5054. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(34)),.1)
  5055. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 70),0)*angles(math.rad(0 + 1 * math.cos(sine / 0.0001) ),math.rad(0),math.rad(10 + 1 * math.cos(sine / 0.0001))),.1)
  5056. LW.C0=clerp(LW.C0,cf(-1.1,0.6 + 0.1 * math.cos(sine / 28),0.2)*angles(math.rad(220),math.rad(0),math.rad(45 + 1 * math.cos(sine / 50))),.1)
  5057. elseif ModeOfGlitch == 11 then
  5058. 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(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  5059. 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(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  5060. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 4 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  5061. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 6 * math.cos(sine / 32)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 5 * math.sin(sine / 32))),.1)
  5062. RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
  5063. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  5064. elseif ModeOfGlitch == 12 then
  5065. RH.C0=clerp(RH.C0,cf(1,-1.3,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(30),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 - 2 * math.cos(sine / 39))),.1)
  5066. 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 - 1 * math.cos(sine / 56)),math.rad(0 + 6 * math.cos(sine / 31))),.1)
  5067. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-66 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5068. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  5069. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  5070. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  5071. elseif ModeOfGlitch == 13 then
  5072. 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)
  5073. 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)
  5074. 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)
  5075. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(20),math.rad(0)),.1)
  5076. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(180),math.rad(45),math.rad(0)),.1)
  5077. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(10)),.1)
  5078. elseif ModeOfGlitch == 14 then
  5079. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5080. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5081. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 32),2 + 0.35 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 18)),math.rad(0),math.rad(0)),.1)
  5082. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-15 - 5 * math.cos(sine / 62))),.1)
  5083. RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.05 * math.cos(sine / 28),0.3)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.1)
  5084. LW.C0=clerp(LW.C0,cf(-1.2,0.5 + 0.05 * math.cos(sine / 28),0.3)*angles(math.rad(-30),math.rad(0),math.rad(20)),.1)
  5085.  
  5086. elseif(ModeOfGlitch == 15)then -- Antecedent
  5087. local snap = math.random(1,10)
  5088. if snap == 1 then
  5089. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(0 + math.random(-5,5))),1)
  5090. end
  5091. 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(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  5092. 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(-6),math.rad(-10 +10 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  5093. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10-10 * math.cos(sine / 56))),.1)
  5094. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(-10 + 10 * math.cos(sine / 56))),.1)
  5095. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-3 + 9 * math.cos(sine / 45))),.1)
  5096. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0+.1*math.sin(sine/52))*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(-10+10 * math.cos(sine / 52)),math.rad(-12 + 5 * math.cos(sine / 45))),.1)
  5097. elseif(ModeOfGlitch == 16)then -- Balanced
  5098. --Balanced Anim by Derpz
  5099. -- ^ thanks Derpz
  5100. local color = math.random(0,1)
  5101. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new(Color3.new(color,color,color)),Color3.new(color,color,color))
  5102.  
  5103. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 30),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)
  5104. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 30),0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  5105. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 30))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5106. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1)
  5107. RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.05 * math.cos(sine / 50),0.3)*angles(math.rad(-50),math.rad(0),math.rad(-50 - 5 * math.cos(sine / 50))),.1)
  5108. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 50),0)*angles(math.rad(180),math.rad(0),math.rad(-20 + 5 * math.cos(sine / 50))),.1)
  5109.  
  5110. else
  5111. local snap = math.random(1,10)
  5112. if snap == 1 then
  5113. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  5114. end
  5115. 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(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  5116. 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(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  5117. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  5118. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  5119. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  5120. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  5121. end
  5122. end
  5123. elseif torvel>2 and Humanoid.WalkSpeed<32 and hitfloor~=nil then
  5124. Anim="Walk"
  5125. if attack==false then
  5126. if ModeOfGlitch == 3 then
  5127. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5128. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5129. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  5130. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8) - 30 * math.cos(sine / 47))),.1)
  5131. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 - 10 * math.cos(sine / 47))),.1)
  5132. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 10 * math.cos(sine / 47))),.1)
  5133. elseif ModeOfGlitch == 4 then
  5134. local snap = math.random(1,24)
  5135. if snap == 1 then
  5136. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-50,50)),math.rad(10+math.random(-50,50)),math.rad(0+math.random(-50,50))),.5)
  5137. end
  5138. local snap = math.random(1,48)
  5139. if snap == 1 then
  5140. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-100,100)),math.rad(10+math.random(-100,100)),math.rad(0+math.random(-100,100))),.5)
  5141. end
  5142. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5143. 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(0)),.1)
  5144. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1+ 0.1 * math.cos(sine / 29))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  5145. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35),math.rad(10),math.rad(0)),0.5)
  5146. RW.C0=clerp(RW.C0,cf(1.5+math.random(-.5,.5),0.5+math.random(-.5,.5),0+math.random(-.5,.5))*angles(math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1)
  5147. LW.C0=clerp(LW.C0,cf(-1.5+math.random(-.5,.5),0.5+math.random(-.5,.5),0+math.random(-.5,.5))*angles(math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1)
  5148. elseif ModeOfGlitch == 7 then
  5149. local rsiz = math.random(1,2)
  5150. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  5151. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  5152. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5153. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5154. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  5155. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 3 * math.cos(sine / 4)+MRANDOM(-5,5)),math.rad(0 + root.RotVelocity.Y/1.5+MRANDOM(-5,5)),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8)+MRANDOM(-5,5))),.1)
  5156. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.025 * math.cos(sine / 8))*angles(math.rad(-25 - 5 * math.cos(sine / 4)),math.rad(0),math.rad(25 - 0.015 * math.cos(sine / 4))),.1)
  5157. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 15 * math.cos(sine / 4))),.1)
  5158. elseif ModeOfGlitch==12 then
  5159. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1)
  5160. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1)
  5161. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.45 * math.cos(sine / 49),0,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(50),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  5162. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1)
  5163. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.3 * math.cos(sine / 43)),math.rad(-35 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1)
  5164. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1)
  5165. else
  5166. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5167. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  5168. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  5169. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  5170. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 15 * math.cos(sine / 4))),.1)
  5171. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 15 * math.cos(sine / 4))),.1)
  5172. end
  5173. end
  5174. elseif torvel>=4 and Humanoid.WalkSpeed>=32 and hitfloor~=nil then
  5175. Anim="Run"
  5176. if attack==false then
  5177. if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch == 14 or ModeOfGlitch==12 then
  5178. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1)
  5179. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1)
  5180. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 29),0 + 0.125 * math.cos(sine / 34),1 + 0.25 * math.cos(sine / 28))*angles(math.rad(50),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  5181. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1)
  5182. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.3 * math.cos(sine / 43)),math.rad(-35 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1)
  5183. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1)
  5184. else
  5185. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*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)
  5186. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*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)
  5187. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
  5188. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
  5189. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
  5190. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
  5191. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,MAINRUINCOLOR,0)
  5192. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,SECONDRUINCOLOR,0)
  5193. end
  5194. end
  5195. end
  5196. end
  5197. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement