Advertisement
Guest User

Untitled

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