Advertisement
Guest User

Untitled

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