AALTTz

Verts hub

Jul 20th, 2022
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.43 KB | None | 0 0
  1. loadstring(game:HttpGet("https://raw.githubusercontent.com/Enviie/New-Verts-Hub-Crack/main/Encrypt.lua"))("Encrypt")
  2. loadstring(game:HttpGet("https://raw.githubusercontent.com/Enviie/New-Verts-Hub-Crack/main/Encrypt1.lua"))("Arabic String")
  3. local Request, GetAsset = nil, nil
  4. if (syn and syn.request) then
  5. Request = syn.request
  6. GetAsset = getsynasset
  7. print("Synapse")
  8. elseif (identifyexecutor():find("ScriptWare") and http.request) then
  9. Request = http.request
  10. GetAsset = getcustomasset
  11. print("Script-Ware")
  12. elseif (KRNL_LOADED and request) then
  13. Request = request
  14. print("Krnl")
  15. elseif request then
  16. Request = request
  17. print("Unknown Exploit")
  18. else
  19. warn("Your exploit don't support Request")
  20. end
  21. local JSONEncode, JSONDecode = function(Input)
  22. return game:GetService("HttpService"):JSONEncode(Input)
  23. end, function(Input)
  24. return game:GetService("HttpService"):JSONDecode(Input)
  25. end
  26. local UI = game:GetObjects("rbxassetid://7468123464")[1]
  27. UI.Parent = game:GetService("CoreGui")
  28. local Prefix
  29. local file
  30. if not isfolder("Verts-Hub") then
  31. makefolder("Verts-Hub")
  32. end
  33. if not isfolder("Verts-Hub/Presets") then
  34. makefolder("Verts-Hub/Presets")
  35. end
  36. local List = listfiles("Verts-Hub/Presets")
  37. if not isfolder("Verts-Hub/Theme") then
  38. makefolder("Verts-Hub/Theme")
  39. end
  40. if not isfolder("Verts-Hub/Assets") then
  41. makefolder("Verts-Hub/Assets")
  42. end
  43. if not isfile("Verts-Hub/Assets/Changes.config") then
  44. writefile("Verts-Hub/Assets/Changes.config", "{}")
  45. end
  46. if isfile("config.vh") then
  47. file = readfile("config.vh")
  48. Prefix = JSONDecode(file)["Prefix"]
  49. else
  50. writefile("config.vh", JSONEncode({
  51. ["Prefix"] = "!"
  52. }))
  53. file = readfile("config.vh")
  54. end
  55. if not isfile("Verts-Hub/Presets/Defauult.preset") then
  56. writefile("Verts-Hub/Presets/Default.preset", "for i, v in next, tools do\n coroutine.wrap(\n function()\n local BP, BG, F = v.POSV.Value, v.GYROV.Value\n local a, vol = 1, 0\n while vis do\n vol = tools[#tools].Handle.Sound.PlaybackLoudness / sens\n ro = math.rad(a / 2 + (i * (360 / #tools)))\n F = CFrame.new(torso.Position) * CFrame.Angles(0, ro, 0) * CFrame.new(0, 0, vol + offset)\n BP.Position = F.p\n BG.CFrame = CFrame.new(BG.Parent.Position, torso.Position + Vector3.new(0,tilt+math.sin(-vol*2),0))\n a = a + speed / 2.5\n game:GetService(\"RunService\").Heartbeat:wait()\n v.Handle.Velocity = Vector3.new(0, 0, 30)\n v.Handle.AssemblyLinearVelocity = Vector3.new(30,0,0)\n end\n end\n )()\nend\n ")
  57. end
  58. local Player = game:GetService("Players").LocalPlayer
  59. local Char = Player.Character
  60. local Ignore = {"rbxasset://sounds/action_footsteps_plastic.mp3", "rbxasset://sounds/impact_water.mp3", "rbxasset://sounds/uuhhh.mp3", "rbxasset://sounds/action_swim.mp3", "rbxasset://sounds/action_get_up.mp3", "rbxasset://sounds/action_falling.mp3", "rbxasset://sounds/action_jump.mp3", "rbxasset://sounds/action_jump_land.mp3"}
  61. local Commands = {"Mute", "Loopmute", "Unloopmute", "Equip", "Dupe <amount>", "Stopdupe", "Rejoin", "Goto", "Noclip", "Clip", "Demesh", "Prefix"}
  62. local UIS = game:GetService("UserInputService")
  63. local UserInput = game:GetService("UserInputService")
  64. local Mouse = game.Players.LocalPlayer:GetMouse()
  65. local pg = false
  66. local listadd = true
  67. local selected = nil
  68. local grab = true
  69. local noclip = false
  70. local LogPlay = false
  71. local dcPlay = false
  72. local Held = false
  73. local BackPlay = false
  74. local fileName
  75. function Format(Int)
  76. return string.format("%02i", Int)
  77. end
  78. function getVersion(id)
  79. return tonumber(string.match(game:HttpGetAsync("http://www.roblox.com/studio/plugins/info?assetId=" .. tostring(tonumber(id))), "value=\"(%d+)\""))
  80. end
  81. function confuzzle(str)
  82. if tonumber(str) then
  83. str = ("0x%02x"):format(str)
  84. end
  85. return (str:gsub(".", function(s)
  86. return ("%%%02x"):format(s:byte())
  87. end))
  88. end
  89. function genId(ToConvert)
  90. local function E(id, bool)
  91. return "&" .. confuzzle("assetversionid") .. (bool and "=\n\r" or "\n\r=") .. confuzzle(id) or ""
  92. end
  93. local IdStorage = {E(getVersion(ToConvert), true), E(307918992), E(307950810), E(363537554), E(359218057)}
  94. local function X()
  95. return tostring(table.remove(IdStorage, math.random(#IdStorage, #IdStorage)))
  96. end
  97. local RetId = ("\n" .. str(10) .. X() .. X() .. str(5) .. X()):rep(3)
  98. while #IdStorage > 0 do
  99. RetId = RetId .. X()
  100. end
  101. return tostring(RetId)
  102. end
  103. local Tween = function(Obj, Time, Style, Direction, Table)
  104. game:GetService("TweenService"):Create(Obj, TweenInfo.new(Time, Enum.EasingStyle[Style], Enum.EasingDirection[Direction], 0, false, 0), Table):Play()
  105. end
  106. function plr(String)
  107. local Found = {}
  108. local strl = String:lower()
  109. for i, v in pairs(game.Players:GetPlayers()) do
  110. if v.Name:lower():sub(1, #String) == String:lower() or v.DisplayName:lower():sub(1, #String) == String:lower() then
  111. table.insert(Found, v)
  112. end
  113. end
  114. return Found
  115. end
  116. function Visual(v)
  117. vis = true
  118. player = game.Players.LocalPlayer
  119. char = game.Players.LocalPlayer.Character
  120. tools = {}
  121. speed = 2
  122. offset = 5
  123. sens = 80
  124. tilt = -25
  125. if char.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  126. torso = char.UpperTorso
  127. else
  128. torso = char.Torso
  129. end
  130. for i, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  131. v.Parent = game.Players.LocalPlayer.Character
  132. end
  133. for i, v in pairs(char:GetDescendants()) do
  134. if v:IsA("Tool") then
  135. table.insert(tools, v)
  136. end
  137. end
  138. for i, v in pairs(char:GetDescendants()) do
  139. if v:IsA("Tool") then
  140. BG = Instance.new("BodyGyro", v.Handle)
  141. BG.Name = "GYRO"
  142. BG.MaxTorque = Vector3.new(1 / 0, 1 / 0, 1 / 0)
  143. BG.P = 1e5
  144. BP = Instance.new("BodyPosition", v.Handle)
  145. BP.Name = "BODYPOS"
  146. BP.MaxForce = Vector3.new(1 / 0, 1 / 0, 1 / 0)
  147. BP.P = 1e5
  148. BP.Position = v.Handle.Position
  149. BPV = Instance.new("ObjectValue", v)
  150. BPV.Name = "POSV"
  151. BPV.Value = BP
  152. BGV = Instance.new("ObjectValue", v)
  153. BGV.Name = "GYROV"
  154. BGV.Value = BG
  155. v.Handle:BreakJoints()
  156. end
  157. end
  158. loadstring(v)()
  159. wait(.05)
  160. for i, v in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  161. v:stop()
  162. end
  163. for i, v in next, tools do
  164. v.Unequipped:connect(function()
  165. vis = false
  166. pcall(function()
  167. v.Handle["GYRO"]:Remove()
  168. v.Handle["BODYPOS"]:Remove()
  169. v["POSV"]:Remove()
  170. v["GYROV"]:Remove()
  171. end)
  172. end)
  173. end
  174. end
  175. function Mesh()
  176. char = game.Players.LocalPlayer.Character
  177. for i, v in next, char:GetDescendants() do
  178. if v:IsA("SpecialMesh") then
  179. if v.Parent.Parent:IsA("Tool") then
  180. v:remove()
  181. end
  182. end
  183. end
  184. end
  185. function Equip()
  186. Player = game.Players.LocalPlayer
  187. local Arm
  188. if Player.Character:FindFirstChild("RightHand") then
  189. Arm = Player.Character["RightHand"]
  190. else
  191. Arm = Player.Character["Right Arm"]
  192. end
  193. for i, v in next, Player.Backpack:GetChildren() do
  194. if v:IsA("Tool") then
  195. v.Parent = Player.Character
  196. for _, x in pairs(Arm:GetChildren()) do
  197. if x.Name == "RightGrip" then
  198. local amt = _
  199. local num = 0
  200. for _ = 1, amt do
  201. wait()
  202. num = num + 1
  203. x.Name = "Grip_" .. num
  204. end
  205. end
  206. end
  207. end
  208. end
  209. end
  210. local Normal = {}
  211. for i = 33, 126 do
  212. local x = string.char(i)
  213. Normal[x] = x
  214. end
  215. local function CleanStr(x)
  216. return x:lower():gsub(".", function(i)
  217. return Normal[i] or ""
  218. end):lower()
  219. end
  220. local function Unhash(x)
  221. return (x:gsub("%%(%x%x)", function(x)
  222. return string.char(tonumber(x, 16))
  223. end))
  224. end
  225. local Market = game:GetService("MarketplaceService")
  226. function decryptAssetId(InputId)
  227. local IdCache, TestedCache = {}, {}
  228. InputId = CleanStr(Unhash(CleanStr(InputId)))
  229. while InputId:find("0x0x", 1, true) do
  230. InputId = InputId:gsub("0x0x", "0x")
  231. end
  232. for v in InputId:gsub("rbxassetid://", "id="):gsub("https?://www.roblox.com/asset/%?", ""):gmatch("([^&]+)") do
  233. local f = v:find("=", 1, true)
  234. local Ins = f and tonumber(v:sub(f + 1))
  235. if f and Ins and not table.find(TestedCache, Ins) and not table.find(IdCache, Ins) then
  236. TestedCache[#TestedCache + 1] = Ins
  237. if v:match("^assetversionid=") then
  238. local x = tonumber(game:HttpGet("" .. Ins))
  239. Ins = x or Ins
  240. end
  241. if not table.find(IdCache, Ins) then
  242. local a, b = pcall(Market.GetProductInfo, Market, Ins)
  243. if a and b and b.AssetTypeId == 3 then
  244. table.remove(IdCache)
  245. IdCache[#IdCache + 1] = tostring(Ins)
  246. end
  247. end
  248. end
  249. end
  250. return table.concat(IdCache, ", ")
  251. end
  252. function Dupe(Amount)
  253. local DropT = {}
  254. stopDupe = false
  255. local Pos = Player.Character.HumanoidRootPart.CFrame
  256. wait(.1)
  257. Player.Character:MoveTo(Vector3.new(0, 1e7, 0))
  258. wait(.15)
  259. Player.Character.HumanoidRootPart.Anchored = true
  260. for i = 1, Amount do
  261. if stopDupe then
  262. break
  263. end
  264. Player.Character:MoveTo(Vector3.new(0, 1e7, 0))
  265. wait(.15)
  266. for i, v in pairs(Player.Backpack:GetChildren()) do
  267. if v:IsA("Tool") then
  268. v.Parent = Player.Character
  269. wait(.1)
  270. v.Parent = workspace
  271. table.insert(DropT, v)
  272. end
  273. end
  274. Player.Character:BreakJoints()
  275. Player.CharacterAdded:wait()
  276. Player.Character:MoveTo(Vector3.new(Pos))
  277. wait(.1)
  278. if stopDupe then
  279. break
  280. end
  281. end
  282. for i, v in pairs(DropT) do
  283. firetouchinterest(v.Handle, Player.Character.HumanoidRootPart, 0)
  284. repeat
  285. wait()
  286. until v.Parent == Player.Character
  287. end
  288. Player.Character.HumanoidRootPart.CFrame = Pos
  289. end
  290. function ChangeLog(aFeature1, aFeature2, aFixes1, aFixes2)
  291. local Gui = game:GetObjects("rbxassetid://7391627267")[1]
  292. Gui.Parent = game:GetService("CoreGui")
  293. local Main = Gui["Main"]
  294. local Features, Fixes = Main["New"], Main["Fixes"]
  295. local Feature1, Feature2 = Features["Feature1"], Features["Feature2"]
  296. local Description1, Description2 = Feature1["Description"], Feature2["Description"]
  297. local Fixes1, Fixes2 = Fixes["Fix1"], Fixes["Fix2"]
  298. Main["Position"] = UDim2.new(.499, 0, -2, 0)
  299. Feature1["Visible"] = false
  300. Feature2["Visible"] = false
  301. Fixes1["Visible"] = false
  302. Fixes2["Visible"] = false
  303. if aFeature1 then
  304. Feature1["Visible"] = true
  305. Feature1["Text"] = " Added this (changelog)\n "
  306. Description1["Text"] = " All new features and fixes will appear here and in the discord\n "
  307. end
  308. if aFeature2 then
  309. Feature2["Visible"] = true
  310. Feature2["Text"] = " \n "
  311. Description2["Text"] = " \n "
  312. end
  313. if aFixes1 then
  314. Fixes1["Visible"] = true
  315. Fixes1["Text"] = " Fixed themes not working (I messed up the version)\n "
  316. end
  317. if aFixes2 then
  318. Fixes2["Visible"] = true
  319. Fixes2["Text"] = " \n "
  320. end
  321. Main:TweenPosition(UDim2.new(.499, 0, .499, 0), "Out", "Linear", .5)
  322. wait(3)
  323. Main:TweenPosition(UDim2.new(.499, 0, 2, 0), "Out", "Linear", .5)
  324. writefile("Verts-Hub/Assets/Changes.config", JSONEncode({
  325. ["ChangeVer"] = "1"
  326. }))
  327. end
  328. local Main = UI.Main
  329. local Layout = Main.Layout
  330. local Side = Main.Side
  331. local SideLayout = Side.Layout
  332. local Slider = Layout.Frame3.Length.Slider
  333. local GameFrame = Layout.Frame1
  334. local PlayersFrame = Layout.Frame2
  335. local AntiFrame = Layout.Frame3
  336. local LogFrame = Layout.Frame4
  337. local DecodeFrame = Layout.Frame5
  338. local VisualFrame = Layout.Frame6
  339. local CmdFrame = Layout.Frame7
  340. local SettingFrame = Layout.Frame8
  341. local gButton = SideLayout.Button1
  342. local pButton = SideLayout.Button2
  343. local alButton = SideLayout.Button3
  344. local lButton = SideLayout.Button4
  345. local dButton = SideLayout.Button5
  346. local vButton = SideLayout.Button6
  347. local cButton = SideLayout.Button7
  348. local sButton = SideLayout.Button8
  349. local Close = Main.Top.Button
  350. local Sync = AntiFrame.Sync
  351. local VisButton = VisualFrame.Visualize
  352. local Refresh = VisualFrame.Refresh
  353. local Decode = DecodeFrame.Sync
  354. local dCopy = DecodeFrame.Copy
  355. local Copy = LogFrame.Layout.Copy
  356. local WorkspaceL = LogFrame.Layout.Workspace
  357. local GameL = LogFrame.Layout.Game
  358. local lDecode = LogFrame.Layout.Decode
  359. local Play = LogFrame.Layout.Play
  360. local GrabTools = SettingFrame.GrabTools
  361. local dPlay = DecodeFrame.Play
  362. local presetButton = SettingFrame.PresetMaker
  363. local Sync2 = VisualFrame.Sync
  364. local BackButton = SettingFrame.BackPlay
  365. local PlrName = Side.plrname
  366. local PlrVH = Side.plrvhid
  367. local PlrIcon = Side.plricon
  368. local Output = DecodeFrame.Output
  369. local Song = Layout.Frame3.Length.Song
  370. local themeImage = Main.Image
  371. local Input = AntiFrame.Input
  372. local TpInput = AntiFrame.TimeInput
  373. local CmdBar = CmdFrame.CmdBar
  374. local vInput = VisualFrame.Input
  375. local Offset = VisualFrame.Offset
  376. local Speed = VisualFrame.Speed
  377. local Sensitivity = VisualFrame.Sensitivity
  378. local Tilt = VisualFrame.Tilt
  379. local dInput = DecodeFrame.Input
  380. local pInput = VisualFrame.pInput
  381. local FileInput = DecodeFrame.FileInput
  382. Main.Active = true
  383. PlrName.Text = Player.Name
  384. PlrVH.Text = "Verts Hub"
  385. PlrVH.TextSize = 10
  386. PlrIcon.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=" .. Player.UserId .. "&width=420&height=420&format=png"
  387. Close.MouseButton1Down:connect(function()
  388. wait(.5)
  389. UI:remove()
  390. return
  391. end)
  392. function Slide()
  393. while pl do
  394. wait()
  395. local errors = pcall(function()
  396. local m
  397. if BackPlay then
  398. repeat
  399. wait()
  400. until BPlaying == true
  401. for i, v in pairs(Player.Backpack:GetDescendants()) do
  402. if v:IsA("Sound") then
  403. m = v
  404. end
  405. end
  406. else
  407. m = Player.Character:FindFirstChildOfClass("Tool"):FindFirstChildWhichIsA("Sound", true)
  408. end
  409. Slider.Position = UDim2.new(m.TimePosition / m.TimeLength, 0, -.381, 0)
  410. local t = m.TimeLength - m.TimePosition
  411. local seconds = math.floor(t % 60)
  412. local minutes = math.floor(t / 60) % 60
  413. local t2 = m.TimeLength
  414. local seconds2 = math.floor(t2 % 60)
  415. local minutes2 = math.floor(t2 / 60) % 60
  416. AntiFrame.Length.Pos.Text = Format(minutes) .. ":" .. Format(seconds)
  417. AntiFrame.Length.Left.Text = "-" .. Format(minutes2) .. ":" .. Format(seconds2)
  418. wait()
  419. end)
  420. if errors then
  421. else
  422. pl = false
  423. end
  424. end
  425. end
  426. local Dragging
  427. Slider.MouseButton1Down:connect(function()
  428. if not pl then
  429. return
  430. else
  431. Dragging = false
  432. pl = false
  433. repeat
  434. Slider.Position = UDim2.new(0, (Mouse.X - Layout.Frame3.Length.AbsolutePosition.X), -.381, 0)
  435. if Slider.Position.X.Offset < 0 then
  436. Slider.Position = UDim2.new(0, 0, -.381, 0)
  437. elseif Slider.Position.X.Offset + Slider.Size.X.Offset > Layout.Frame3.Length.AbsoluteSize.X then
  438. Slider.Position = UDim2.new(0, (Layout.Frame3.Length.AbsoluteSize.X - Slider.Size.X.Offset), -.381, 0)
  439. end
  440. wait()
  441. until Dragging == false
  442. end
  443. end)
  444. Mouse.Button1Up:connect(function()
  445. Dragging = false
  446. pl = true
  447. end)
  448. Slider.MouseButton1Up:connect(function()
  449. Dragging = false
  450. Player = game.Players.LocalPlayer
  451. Char = Player.Character
  452. if not BackPlay then
  453. for i, v in pairs(Char:GetDescendants()) do
  454. if v:IsA("Tool") then
  455. for _, z in pairs(v:GetDescendants()) do
  456. if z:IsA("Sound") then
  457. z.TimePosition = (Slider.AbsolutePosition.X - Layout.Frame3.Length.AbsolutePosition.X) / (Layout.Frame3.Length.AbsoluteSize.X - Slider.Size.X.Offset) * z.TimeLength
  458. end
  459. end
  460. end
  461. end
  462. else
  463. for i, v in pairs(Player.Backpack:GetDescendants()) do
  464. if v:IsA("Tool") then
  465. for _, z in pairs(v:GetDescendants()) do
  466. if z:IsA("Sound") then
  467. z.TimePosition = (Slider.AbsolutePosition.X - Layout.Frame3.Length.AbsolutePosition.X) / (Layout.Frame3.Length.AbsoluteSize.X - Slider.Size.X.Offset) * z.TimeLength
  468. end
  469. end
  470. end
  471. end
  472. end
  473. if not Dragging then
  474. pl = true
  475. Slide()
  476. end
  477. end)
  478. pInput.FocusLost:connect(function()
  479. if pInput.Text == "" then
  480. pInput.Text = "Enter a User"
  481. wait(1)
  482. pInput.Text = ""
  483. end
  484. for i, v in pairs(plr(string.sub(pInput.Text, 1))) do
  485. torso = v.Character["HumanoidRootPart"]
  486. end
  487. wait(.5)
  488. pInput.Text = ""
  489. end)
  490. Speed.FocusLost:connect(function()
  491. if tonumber(Speed.Text) <= 235 then
  492. speed = tonumber(Speed.Text)
  493. wait(2.5)
  494. Speed.Text = ""
  495. else
  496. Speed.Text = "0-235 Only"
  497. wait(2.5)
  498. Speed.Text = ""
  499. end
  500. end)
  501. Sensitivity.FocusLost:connect(function()
  502. if tonumber(Sensitivity.Text) >= 2 and tonumber(Sensitivity.Text) <= 800 then
  503. sens = tonumber(Sensitivity.Text)
  504. wait(2.5)
  505. Sensitivity.Text = ""
  506. else
  507. Sensitivity.Text = "2-800 Only"
  508. wait(2.5)
  509. Sensitivity.Text = ""
  510. end
  511. end)
  512. Offset.FocusLost:connect(function()
  513. if tonumber(Offset.Text) <= 700 then
  514. offset = tonumber(Offset.Text)
  515. wait(2.5)
  516. Offset.Text = ""
  517. else
  518. Offset.Text = "0-700 Only"
  519. wait(2.5)
  520. Offset.Text = ""
  521. end
  522. end)
  523. Tilt.FocusLost:connect(function()
  524. if tonumber(Tilt.Text) <= 100 then
  525. tilt = tonumber(Tilt.Text)
  526. wait(2.5)
  527. Tilt.Text = ""
  528. else
  529. Tilt.Text = "0-30 Only"
  530. wait(2.5)
  531. Tilt.Text = ""
  532. end
  533. end)
  534. Sync.MouseButton1Down:connect(function()
  535. if not BackPlay then
  536. for i, v in pairs(Player.Character:GetDescendants()) do
  537. if v:IsA("Sound") then
  538. v.TimePosition = 0
  539. end
  540. end
  541. else
  542. for i, v in pairs(Player.Backpack:GetDescendants()) do
  543. if v:IsA("Sound") then
  544. v.TimePosition = 0
  545. end
  546. end
  547. end
  548. end)
  549. Sync2.MouseButton1Down:connect(function()
  550. if not BackPlay then
  551. for i, v in pairs(Player.Character:GetDescendants()) do
  552. if v:IsA("Sound") then
  553. v.TimePosition = 0
  554. end
  555. end
  556. else
  557. for i, v in pairs(Player.Backpack:GetDescendants()) do
  558. if v:IsA("Sound") then
  559. v.TimePosition = 0
  560. end
  561. end
  562. end
  563. end)
  564. GrabTools.MouseButton1Down:connect(function()
  565. if not grab then
  566. grab = true
  567. GrabTools.Image = "rbxassetid://3926305904"
  568. GrabTools.ImageRectOffset = Vector2.new(312, 4)
  569. GrabTools.ImageRectSize = Vector2.new(24, 24)
  570. else
  571. grab = false
  572. GrabTools.Image = ""
  573. GrabTools.ImageRectOffset = Vector2.new(0, 0)
  574. GrabTools.ImageRectSize = Vector2.new(0, 0)
  575. end
  576. end)
  577. BackButton.MouseButton1Down:connect(function()
  578. if not BackPlay then
  579. BackPlay = true
  580. BackButton.Image = "rbxassetid://3926305904"
  581. BackButton.ImageRectOffset = Vector2.new(312, 4)
  582. BackButton.ImageRectSize = Vector2.new(24, 24)
  583. else
  584. BackPlay = false
  585. BackButton.Image = ""
  586. BackButton.ImageRectOffset = Vector2.new(0, 0)
  587. BackButton.ImageRectSize = Vector2.new(0, 0)
  588. end
  589. end)
  590. Input.FocusLost:connect(function(Enter)
  591. if Enter then
  592. local errors = pcall(function()
  593. local Playing = game:GetService("MarketplaceService"):GetProductInfo(Input.Text:match("%d+")).Name
  594. Song.Text = "Playing : " .. Playing
  595. end)
  596. if errors then
  597. else
  598. end
  599. end
  600. end)
  601. vInput.FocusLost:connect(function(Enter)
  602. if Enter then
  603. local errors = pcall(function()
  604. local Playing = game:GetService("MarketplaceService"):GetProductInfo(vInput.Text:match("%d+")).Name
  605. Song.Text = "Playing : " .. Playing
  606. end)
  607. if errors then
  608. else
  609. end
  610. end
  611. end)
  612. TpInput.FocusLost:connect(function()
  613. for i, v in pairs(Player.Character:GetDescendants()) do
  614. if v:IsA("Sound") then
  615. v.TimePosition = tonumber(TpInput.Text)
  616. end
  617. end
  618. wait(1)
  619. TpInput.Text = ""
  620. end)
  621. for i, v in pairs(Player.Backpack:GetDescendants()) do
  622. if v:IsA("Tool") then
  623. v.Unequipped:connect(function()
  624. pcall(function()
  625. Slider:TweenPosition(UDim2.new(0, 0, -.381, 0))
  626. AntiFrame.Length.Pos.Text = "0:00"
  627. AntiFrame.Length.Left.Text = "-0:00"
  628. Song.Text = "Playing : Nothing"
  629. wait()
  630. end)
  631. end)
  632. end
  633. end
  634. Input.FocusLost:Connect(function()
  635. pl = true
  636. Slide()
  637. end)
  638. vInput.FocusLost:Connect(function()
  639. pl = true
  640. Slide()
  641. end)
  642. WorkspaceL.MouseButton1Down:connect(function()
  643. local wspace = workspace:GetDescendants()
  644. for i, v in pairs(LogFrame.AudioLogs:GetDescendants()) do
  645. if not v:IsA("UIListLayout") then
  646. v:remove()
  647. end
  648. end
  649. for i = 1, #wspace do
  650. local v = wspace[i]
  651. if v:IsA("Sound") then
  652. if v.IsLoaded ~= false and not table.find(Ignore, v.SoundId) then
  653. local Holder = LogFrame.Holder:clone()
  654. local Frame = Holder.AudioFrame
  655. inf, info = pcall(function()
  656. return game:GetService("MarketplaceService"):GetProductInfo(v.SoundId:gsub("rbxassetid://", "", 1):gsub("http://www.roblox.com/asset/%?id=", "", 1):gsub("https://www.roblox.com/asset/%?id=", "", 1))
  657. end)
  658. if inf then
  659. Frame.AudioName.Text = info.Name
  660. elseif v.SoundId:match("^rbxassetid://sounds/") then
  661. Frame.AudioName.Text = v.SoundId:gsub("rbxasset://sounds/", "", 1)
  662. else
  663. Frame.AudioName.Text = v.Name
  664. end
  665. Holder.Visible = true
  666. Holder.Name = v.SoundId
  667. Frame.AudioID.Text = v.SoundId:gsub("http://www.roblox.com/asset/%?id=", "", 1)
  668. Tween(LogFrame.AudioLogs, .2, "Quad", "Out", {
  669. CanvasSize = UDim2.new(0, 0, 0, LogFrame.AudioLogs.UIListLayout.AbsoluteContentSize.Y * 1.5)
  670. })
  671. Holder.Parent = LogFrame.AudioLogs
  672. Frame.Select.MouseButton1Down:connect(function()
  673. active = nil
  674. active = v.SoundId
  675. end)
  676. end
  677. end
  678. end
  679. end)
  680. GameL.MouseButton1Down:connect(function()
  681. local wspace = game:GetDescendants()
  682. for i, v in pairs(LogFrame.AudioLogs:GetDescendants()) do
  683. if not v:IsA("UIListLayout") then
  684. v:remove()
  685. end
  686. end
  687. for i = 1, #wspace do
  688. local v = wspace[i]
  689. if v:IsA("Sound") then
  690. if v.IsLoaded ~= false and not table.find(Ignore, v.SoundId) then
  691. local Holder = LogFrame.Holder:clone()
  692. local Frame = Holder.AudioFrame
  693. inf, info = pcall(function()
  694. return game:GetService("MarketplaceService"):GetProductInfo(v.SoundId:gsub("rbxassetid://", "", 1):gsub("http://www.roblox.com/asset/%?id=", "", 1):gsub("https://www.roblox.com/asset/%?id=", "", 1))
  695. end)
  696. if inf then
  697. Frame.AudioName.Text = info.Name
  698. elseif v.SoundId:match("^rbxassetid://sounds/") then
  699. Frame.AudioName.Text = v.SoundId:gsub("rbxasset://sounds/", "", 1)
  700. else
  701. Frame.AudioName.Text = v.Name
  702. end
  703. Holder.Visible = true
  704. Holder.Name = v.SoundId
  705. Frame.AudioID.Text = v.SoundId:gsub("http://www.roblox.com/asset/%?id=", "", 1)
  706. Tween(LogFrame.AudioLogs, .2, "Quad", "Out", {
  707. CanvasSize = UDim2.new(0, 0, 0, LogFrame.AudioLogs.UIListLayout.AbsoluteContentSize.Y * 1.5)
  708. })
  709. Holder.Parent = LogFrame.AudioLogs
  710. Frame.Select.MouseButton1Down:connect(function()
  711. active = nil
  712. active = v.SoundId
  713. end)
  714. end
  715. end
  716. end
  717. end)
  718. Play.MouseButton1Down:connect(function()
  719. if not LogPlay then
  720. LogPlay = true
  721. local Sound = Instance.new("Sound")
  722. Sound.Parent = Main
  723. Sound.Looped = true
  724. Sound.SoundId = active
  725. Sound.Volume = 2
  726. Sound:play()
  727. Play.Text = "Stop"
  728. else
  729. local Sound = Main.Sound
  730. Sound:remove()
  731. LogPlay = false
  732. Play.Text = "Play Audio"
  733. end
  734. end)
  735. Copy.MouseButton1Down:connect(function()
  736. setclipboard(active)
  737. end)
  738. FileInput.FocusLost:connect(function()
  739. if isfile(FileInput.Text) then
  740. local File = readfile(FileInput.Text)
  741. FileInput.Text = ""
  742. local Sound = Instance.new("Sound")
  743. Sound.SoundId = File
  744. Sound.Volume = 0
  745. Sound:play()
  746. local decode = decryptAssetId(File, Sound.TimeLength)
  747. Output.Text = decode
  748. wait(1)
  749. Sound:remove()
  750. else
  751. FileInput.Text = "Couldnt find file"
  752. wait(1)
  753. FileInput.Text = ""
  754. end
  755. end)
  756. lDecode.MouseButton1Down:connect(function()
  757. Output.Text = ""
  758. local Sound = Instance.new("Sound")
  759. Sound.SoundId = active
  760. Sound.Volume = 0
  761. Sound:play()
  762. Layout.UIPageLayout:JumpTo(DecodeFrame)
  763. local decode = decryptAssetId(active, Sound.TimeLength)
  764. Output.Text = decode
  765. wait(1)
  766. Sound:remove()
  767. end)
  768. Decode.MouseButton1Down:connect(function()
  769. Output.Text = ""
  770. local Sound = Instance.new("Sound")
  771. Sound.SoundId = dInput.Text
  772. Sound.Volume = 0
  773. Sound:play()
  774. Layout.UIPageLayout:JumpTo(DecodeFrame)
  775. local decode = decryptAssetId(dInput.Text, Sound.TimeLength)
  776. Output.Text = decode
  777. wait(1)
  778. Sound:remove()
  779. end)
  780. dCopy.MouseButton1Down:connect(function()
  781. setclipboard(Output.Text)
  782. end)
  783. Input.FocusLost:connect(function(Enter)
  784. if Enter then
  785. for i, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  786. v.Parent = game.Players.LocalPlayer.Character
  787. end
  788. wait()
  789. local ID = genId(Input.Text)
  790. ID = string.gsub(ID, ".", function(symbol)
  791. return symbol .. (" "):rep(5)
  792. end)
  793. Header = " [\"" .. str(5) .. "\"]\n /$$ /$$ /$$ \n | $$ | $$ | $$ \n | $$ | $$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$$\n | $$ / $$//$$__ $$ /$$__ $$|_ $$_/ /$$_____/\n \\ $$ $$/| $$$$$$$$| $$ \\__/ | $$ | $$$$$$ \n \\ $$$/ | $$_____/| $$ | $$ /$$\\____ $$\n \\ $/ | $$$$$$$| $$ | $$$$//$$$$$$$/\n \\_/ \\_______/|__/ \\___/ |_______/ \n [\"" .. str(10) .. "\"]\n "
  794. ID = "nil\n?\n " .. Header .. " [\"Verts Hub | discord.gg/vDWrXZPpFW\"]" .. ID
  795. if not BackPlay then
  796. for i, v in next, Player.Character:GetDescendants() do
  797. if v:IsA("RemoteEvent") then
  798. v:FireServer("PlaySong", ID)
  799. end
  800. end
  801. else
  802. local tools2 = {}
  803. T = false
  804. for i, v in pairs(Player.Character:GetChildren()) do
  805. if v:IsA("Tool") then
  806. table.insert(tools2, v)
  807. T = true
  808. end
  809. end
  810. if not T then
  811. for i, v in pairs(Player.Backpack:GetChildren()) do
  812. if v:IsA("Tool") then
  813. v.Parent = Char
  814. table.insert(tools2, v)
  815. end
  816. end
  817. end
  818. for i, v in pairs(Char:GetDescendants()) do
  819. if v:IsA("RemoteEvent") then
  820. v:FireServer("PlaySong", ID)
  821. end
  822. end
  823. wait(.6)
  824. for i, v in next, tools2 do
  825. for _, x in pairs(v:GetDescendants()) do
  826. if x:IsA("Sound") then
  827. x.Parent = game:GetService("CorePackages")
  828. Player.Character.Humanoid:UnequipTools()
  829. wait(.2)
  830. for a, b in next, tools2 do
  831. x.Parent = b
  832. end
  833. end
  834. end
  835. end
  836. for i, v in pairs(Player.Backpack:GetDescendants()) do
  837. if v:IsA("Sound") then
  838. v:Play()
  839. BPlaying = true
  840. end
  841. end
  842. for i, v in pairs(Player:GetDescendants()) do
  843. if v:IsA("Sound") then
  844. v.TimePosition = 0
  845. end
  846. end
  847. end
  848. end
  849. wait(1)
  850. Input.Text = ""
  851. end)
  852. vInput.FocusLost:connect(function(Enter)
  853. if Enter then
  854. for i, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  855. v.Parent = game.Players.LocalPlayer.Character
  856. end
  857. wait()
  858. local ID = genId(vInput.Text)
  859. ID = string.gsub(ID, ".", function(symbol)
  860. return symbol .. (" "):rep(5)
  861. end)
  862. Header = " [\"" .. str(5) .. "\"]\n /$$ /$$ /$$ \n | $$ | $$ | $$ \n | $$ | $$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$$\n | $$ / $$//$$__ $$ /$$__ $$|_ $$_/ /$$_____/\n \\ $$ $$/| $$$$$$$$| $$ \\__/ | $$ | $$$$$$ \n \\ $$$/ | $$_____/| $$ | $$ /$$\\____ $$\n \\ $/ | $$$$$$$| $$ | $$$$//$$$$$$$/\n \\_/ \\_______/|__/ \\___/ |_______/ \n [\"" .. str(10) .. "\"]\n "
  863. ID = "nil\n?\n " .. Header .. " [\"Verts Hub | discord.gg/vDWrXZPpFW\"]" .. ID
  864. if not BackPlay then
  865. for i, v in next, Player.Character:GetDescendants() do
  866. if v:IsA("RemoteEvent") then
  867. v:FireServer("PlaySong", ID)
  868. end
  869. end
  870. else
  871. local tools2 = {}
  872. T = false
  873. for i, v in pairs(Player.Character:GetChildren()) do
  874. if v:IsA("Tool") then
  875. table.insert(tools2, v)
  876. T = true
  877. end
  878. end
  879. if not T then
  880. for i, v in pairs(Player.Backpack:GetChildren()) do
  881. if v:IsA("Tool") then
  882. v.Parent = Char
  883. table.insert(tools2, v)
  884. end
  885. end
  886. end
  887. for i, v in pairs(Char:GetDescendants()) do
  888. if v:IsA("RemoteEvent") then
  889. v:FireServer("PlaySong", ID)
  890. end
  891. end
  892. wait(.6)
  893. for i, v in next, tools2 do
  894. for _, x in pairs(v:GetDescendants()) do
  895. if x:IsA("Sound") then
  896. x.Parent = game:GetService("CorePackages")
  897. Player.Character.Humanoid:UnequipTools()
  898. wait(.2)
  899. for a, b in next, tools2 do
  900. x.Parent = b
  901. end
  902. end
  903. end
  904. end
  905. for i, v in pairs(Player.Backpack:GetDescendants()) do
  906. if v:IsA("Sound") then
  907. v:Play()
  908. BPlaying = true
  909. end
  910. end
  911. for i, v in pairs(Player:GetDescendants()) do
  912. if v:IsA("Sound") then
  913. v.TimePosition = 0
  914. end
  915. end
  916. end
  917. end
  918. wait(1)
  919. vInput.Text = ""
  920. end)
  921. dPlay.MouseButton1Down:connect(function()
  922. if not dcPlay then
  923. dcPlay = true
  924. local Sound = Instance.new("Sound")
  925. Sound.Parent = Main
  926. Sound.Looped = true
  927. Sound.SoundId = "rbxassetid://" .. Output.Text
  928. Sound.Volume = 2
  929. Sound:play()
  930. dPlay.Text = "Stop Playing"
  931. else
  932. local Sound = Main.Sound
  933. Sound:remove()
  934. dcPlay = false
  935. dPlay.Text = "Play Output"
  936. end
  937. end)
  938. presetButton.MouseButton1Down:connect(function()
  939. if game.CoreGui:FindFirstChild("Preset") then
  940. game.CoreGui.Preset:remove()
  941. wait(.5)
  942. loadstring(game:HttpGet("https://raw.githubusercontent.com/Enviie/New-Verts-Hub-Crack/main/Preset%20Maker%20Source.lua"))()
  943. else
  944. loadstring(game:HttpGet("https://raw.githubusercontent.com/Enviie/New-Verts-Hub-Crack/main/Preset%20Maker%20Source.lua"))()
  945. end
  946. end)
  947. game.Players.LocalPlayer.Chatted:connect(function(msg)
  948. local low = string.lower(msg)
  949. local args = string.split(msg, " ")
  950. if args[1] == Prefix .. "demesh" then
  951. mesh()
  952. end
  953. if args[1] == Prefix .. "goto" then
  954. for i, v in pairs(plr(args[2])) do
  955. Char:MoveTo(v.Character.HumanoidRootPart.Position + Vector3.new(0, 0, -3))
  956. end
  957. end
  958. if args[1] == Prefix .. "equip" then
  959. for i, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  960. v.Parent = game.Players.LocalPlayer.Character
  961. end
  962. end
  963. if args[1] == Prefix .. "dupe" then
  964. Dupe(tonumber(args[2]))
  965. end
  966. if args[1] == Prefix .. "prefix" then
  967. writefile("config.vh", JSONEncode({
  968. ["Prefix"] = args[2]
  969. }))
  970. Prefix = args[2]
  971. end
  972. end)
  973. CmdBar.FocusLost:connect(function()
  974. if string.sub(CmdBar.Text, 1, 6) == "demesh" then
  975. Mesh()
  976. end
  977. if string.sub(CmdBar.Text, 1, 6) == "noclip" then
  978. noclip = true
  979. game.RunService.Stepped:connect(function()
  980. if noclip then
  981. Char.Humanoid:ChangeState(11)
  982. end
  983. end)
  984. end
  985. if string.sub(CmdBar.Text, 1, 4) == "clip" then
  986. noclip = false
  987. end
  988. if string.sub(CmdBar.Text, 1, 5) == "goto " then
  989. for _, v in pairs(plr(string.sub(CmdBar.Text, 6))) do
  990. Char:MoveTo(v.Character.HumanoidRootPart.Position + Vector3.new(0, 0, -3))
  991. end
  992. end
  993. if string.sub(CmdBar.Text, 1, 4) == "mute" then
  994. for i, v in next, game:GetDescendants() do
  995. if v:IsA("Sound") and not v:IsDescendantOf(Player.Character) then
  996. v:stop()
  997. v.Volume = 0
  998. end
  999. end
  1000. end
  1001. if string.sub(CmdBar.Text, 1, 8) == "loopmute" then
  1002. CmdBar.Text = ""
  1003. _G.mute = true
  1004. while _G.mute do
  1005. wait(.05)
  1006. for i, v in next, game:GetDescendants() do
  1007. if v:IsA("Sound") and not v:IsDescendantOf(Player.Character) then
  1008. v:stop()
  1009. v.Volume = 0
  1010. end
  1011. end
  1012. end
  1013. end
  1014. if string.sub(CmdBar.Text, 1, 10) == "unloopmute" then
  1015. _G.mute = false
  1016. end
  1017. if string.sub(CmdBar.Text, 1, 5) == "equip" then
  1018. for i, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  1019. v.Parent = game.Players.LocalPlayer.Character
  1020. end
  1021. wait()
  1022. end
  1023. if string.sub(CmdBar.Text, 1, 5) == "dupe " then
  1024. if not tonumber(string.sub(CmdBar.Text, 6)) then
  1025. else
  1026. Dupe(tonumber(string.sub(CmdBar.Text, 6)))
  1027. end
  1028. wait(1)
  1029. CmdBar.Text = ""
  1030. end
  1031. if string.sub(CmdBar.Text, 1, 8) == "stopdupe" then
  1032. stopDupe = true
  1033. end
  1034. if string.sub(CmdBar.Text, 1, 6) == "rejoin" then
  1035. game:GetService("TeleportService"):Teleport(game.PlaceId, game:GetService("Players").LocalPlayer)
  1036. end
  1037. if string.sub(CmdBar.Text, 1, 7) == "prefix " then
  1038. writefile("config.vh", JSONEncode({
  1039. ["Prefix"] = string.sub(CmdBar.Text, 8)
  1040. }))
  1041. Prefix = string.sub(CmdBar.Text, 8)
  1042. end
  1043. wait(1)
  1044. CmdBar.Text = ""
  1045. end)
  1046. gButton.MouseButton1Down:connect(function()
  1047. Layout.UIPageLayout:JumpTo(GameFrame)
  1048. end)
  1049. pButton.MouseButton1Down:connect(function()
  1050. Layout.UIPageLayout:JumpTo(PlayersFrame)
  1051. end)
  1052. alButton.MouseButton1Down:connect(function()
  1053. Layout.UIPageLayout:JumpTo(AntiFrame)
  1054. end)
  1055. lButton.MouseButton1Down:connect(function()
  1056. Layout.UIPageLayout:JumpTo(LogFrame)
  1057. end)
  1058. dButton.MouseButton1Down:connect(function()
  1059. Layout.UIPageLayout:JumpTo(DecodeFrame)
  1060. end)
  1061. vButton.MouseButton1Down:connect(function()
  1062. Layout.UIPageLayout:JumpTo(VisualFrame)
  1063. end)
  1064. cButton.MouseButton1Down:connect(function()
  1065. Layout.UIPageLayout:JumpTo(CmdFrame)
  1066. end)
  1067. sButton.MouseButton1Down:connect(function()
  1068. Layout.UIPageLayout:JumpTo(SettingFrame)
  1069. end)
  1070. for i = 1, #Commands do
  1071. local Holder = CmdFrame.Back.Holder:clone()
  1072. Holder.Visible = true
  1073. Holder.Parent = CmdFrame.Back.Commands
  1074. Holder.CmdFrame.Label.Text = Commands[i]
  1075. Holder.Name = Commands[i]
  1076. end
  1077. CmdBar.Changed:connect(function()
  1078. for i, v in next, CmdFrame.Back.Commands:GetChildren() do
  1079. if not v:IsA("UIListLayout") then
  1080. if string.find(v.Name:lower(), CmdBar.Text:lower()) then
  1081. v.Visible = true
  1082. else
  1083. v.Visible = false
  1084. end
  1085. end
  1086. end
  1087. end)
  1088. game.Players.PlayerRemoving:connect(function()
  1089. for i, v in next, PlayersFrame.Players:GetChildren() do
  1090. if not v:IsA("UIListLayout") then
  1091. v:remove()
  1092. pg = true
  1093. end
  1094. end
  1095. while pg do
  1096. p = game.Players:GetPlayers()
  1097. for i, v in next, p do
  1098. for i = #p, #p do
  1099. local Holder = PlayersFrame.Holder:clone()
  1100. Holder.Visible = true
  1101. Holder.PlrFrame.PlrName.Text = "@" .. v.Name
  1102. Holder.PlrFrame.PlrDisplay.Text = v.DisplayName
  1103. Holder.PlrFrame.Icon.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=" .. v.UserId .. "&width=420&height=420&format=png"
  1104. Holder.Parent = PlayersFrame.Players
  1105. PlayersFrame.Players.CanvasSize = UDim2.new(0, 0, 0 - #p, 0)
  1106. PlayersFrame.Players.CanvasSize = UDim2.new(0, 0, 0 + #p * 1.5, 0)
  1107. end
  1108. pg = false
  1109. end
  1110. end
  1111. end)
  1112. game.Players.PlayerAdded:connect(function()
  1113. for i, v in next, PlayersFrame.Players:GetChildren() do
  1114. if not v:IsA("UIListLayout") then
  1115. v:remove()
  1116. pg = true
  1117. end
  1118. end
  1119. while pg do
  1120. p = game.Players:GetPlayers()
  1121. for i, v in next, p do
  1122. for i = #p, #p do
  1123. local Holder = PlayersFrame.Holder:clone()
  1124. Holder.Visible = true
  1125. Holder.PlrFrame.PlrName.Text = "@" .. v.Name
  1126. Holder.PlrFrame.PlrDisplay.Text = v.DisplayName
  1127. Holder.PlrFrame.Icon.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=" .. v.UserId .. "&width=420&height=420&format=png"
  1128. Holder.Parent = PlayersFrame.Players
  1129. PlayersFrame.Players.CanvasSize = UDim2.new(0, 0, 0 - #p, 0)
  1130. PlayersFrame.Players.CanvasSize = UDim2.new(0, 0, 0 + #p * 1.5, 0)
  1131. end
  1132. pg = false
  1133. end
  1134. end
  1135. end)
  1136. while pg do
  1137. p = game.Players:GetPlayers()
  1138. for i, v in next, p do
  1139. for i = #p, #p do
  1140. local Holder = PlayersFrame.Holder:clone()
  1141. Holder.Visible = true
  1142. Holder.PlrFrame.PlrName.Text = "@" .. v.Name
  1143. Holder.PlrFrame.PlrDisplay.Text = v.DisplayName
  1144. Holder.PlrFrame.Icon.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=" .. v.UserId .. "&width=420&height=420&format=png"
  1145. Holder.Parent = PlayersFrame.Players
  1146. PlayersFrame.Players.CanvasSize = UDim2.new(0, 0, 0 - #p, 0)
  1147. PlayersFrame.Players.CanvasSize = UDim2.new(0, 0, 0 + #p * 1.5, 0)
  1148. end
  1149. pg = false
  1150. end
  1151. end
  1152. List = listfiles("Verts-Hub/Presets")
  1153. for i, v in next, List do
  1154. for i = #List, #List do
  1155. local Holder = VisualFrame.Back.Holder:clone()
  1156. local Frame = Holder.VisFrame
  1157. Frame.Button.Name = v:sub(19)
  1158. Frame.Label.Text = v:sub(19):split(".")[1]
  1159. Holder.Parent = VisualFrame.Back.Presets
  1160. Holder.Visible = true
  1161. VisualFrame.Back.Presets.CanvasSize = UDim2.new(0, 0, 0 - #List, 0)
  1162. VisualFrame.Back.Presets.CanvasSize = UDim2.new(0, 0, 0 + #List / 5, 0)
  1163. end
  1164. end
  1165. Refresh.MouseButton1Down:connect(function()
  1166. List = listfiles("Verts-Hub/Presets")
  1167. for i, v in next, VisualFrame.Back.Presets:GetChildren() do
  1168. if v:IsA("Frame") then
  1169. v:remove()
  1170. end
  1171. end
  1172. for i, v in next, List do
  1173. for i = #List, #List do
  1174. local Holder = VisualFrame.Back.Holder:clone()
  1175. local Frame = Holder.VisFrame
  1176. Frame.Button.Name = v:sub(19)
  1177. Frame.Label.Text = v:sub(19):split(".")[1]
  1178. Holder.Parent = VisualFrame.Back.Presets
  1179. Holder.Visible = true
  1180. VisualFrame.Back.Presets.CanvasSize = UDim2.new(0, 0, 0 - #List, 0)
  1181. VisualFrame.Back.Presets.CanvasSize = UDim2.new(0, 0, 0 + #List / 5, 0)
  1182. end
  1183. end
  1184. for i, v in next, VisualFrame.Back.Presets:GetDescendants() do
  1185. if v:IsA("TextButton") then
  1186. v.MouseButton1Down:connect(function()
  1187. selected = nil
  1188. selected = v.Name
  1189. end)
  1190. end
  1191. end
  1192. end)
  1193. for i, v in next, VisualFrame.Back.Presets:GetDescendants() do
  1194. if v:IsA("TextButton") then
  1195. v.MouseButton1Down:connect(function()
  1196. selected = nil
  1197. selected = v.Name
  1198. end)
  1199. end
  1200. end
  1201. VisButton.MouseButton1Down:connect(function()
  1202. if selected then
  1203. if vis then
  1204. Tool = char:FindFirstChildOfClass("Tool")
  1205. ID = Tool.Handle.Sound.SoundId:gsub("http://www.roblox.com/asset/%?id=", "", 1)
  1206. Time = Tool.Handle.Sound.TimePosition
  1207. char.Humanoid:UnequipTools()
  1208. Visual(readfile("Verts-Hub/Presets/" .. selected, true))
  1209. Speed.Text = ""
  1210. Offset.Text = ""
  1211. Sensitivity.Text = ""
  1212. Tilt.Text = ""
  1213. selected = nil
  1214. for i, v in pairs(char:GetDescendants()) do
  1215. if v:IsA("RemoteEvent") then
  1216. v:FireServer("PlaySong", ID)
  1217. end
  1218. end
  1219. wait(.5)
  1220. for i, v in pairs(char:GetDescendants()) do
  1221. if v:IsA("Sound") then
  1222. v.TimePosition = Time
  1223. end
  1224. end
  1225. else
  1226. Visual(readfile("Verts-Hub/Presets/" .. selected, true))
  1227. for i, v in next, char.Humanoid:GetPlayingAnimationTracks() do
  1228. v:stop()
  1229. end
  1230. Speed.Text = ""
  1231. Offset.Text = ""
  1232. Sensitivity.Text = ""
  1233. Tilt.Text = ""
  1234. selected = nil
  1235. end
  1236. end
  1237. end)
  1238. workspace.ChildAdded:connect(function(v)
  1239. char = game.Players.LocalPlayer.Character
  1240. if grab then
  1241. if v:IsA("Tool") then
  1242. wait()
  1243. firetouchinterest(v.Handle, char.HumanoidRootPart, 0)
  1244. end
  1245. end
  1246. end)
  1247. function dragify(Frame)
  1248. dragToggle = nil
  1249. local dragSpeed = 3500
  1250. dragInput = nil
  1251. dragStart = nil
  1252. local dragPos = nil
  1253. function updateInput(input)
  1254. local Delta = input.Position - dragStart
  1255. local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  1256. game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {
  1257. Position = Position
  1258. }):Play()
  1259. end
  1260. Frame.InputBegan:Connect(function(input)
  1261. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
  1262. dragToggle = true
  1263. dragStart = input.Position
  1264. startPos = Frame.Position
  1265. input.Changed:Connect(function()
  1266. if input.UserInputState == Enum.UserInputState.End then
  1267. dragToggle = false
  1268. end
  1269. end)
  1270. end
  1271. end)
  1272. Frame.InputChanged:Connect(function(input)
  1273. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  1274. dragInput = input
  1275. end
  1276. end)
  1277. game:GetService("UserInputService").InputChanged:Connect(function(input)
  1278. if input == dragInput and dragToggle then
  1279. updateInput(input)
  1280. end
  1281. end)
  1282. end
  1283. dragify(Main)
  1284. UIS.InputBegan:connect(function(InputObj, Process)
  1285. if InputObj.KeyCode == Enum.KeyCode.RightControl then
  1286. if Main.Visible then
  1287. Main.Visible = false
  1288. else
  1289. Main.Visible = true
  1290. end
  1291. end
  1292. end)
  1293. function startTheme()
  1294. if readfile("Verts-Hub/Theme/theme.vh") then
  1295. Main.Split:remove()
  1296. function gif(url)
  1297. fileName = math.random(1, 999999)
  1298. writefile("Verts-Hub/Assets/" .. fileName .. ".webm", Request({
  1299. Url = url
  1300. }).Body)
  1301. return
  1302. end
  1303. themeImage.Visible = true
  1304. themeImage.ZIndex = 1
  1305. loadstring(readfile("Verts-Hub/Theme/theme.vh", true))()
  1306. if Enabled then
  1307. gif(Theme["webmUrl"])
  1308. themeImage.Size = Theme["Image-Size"]
  1309. themeImage.Position = Theme["Image-Pos"]
  1310. Main.BackgroundColor3 = Theme["Main-Color"]
  1311. Main.Top.version.ZIndex = Theme["ZIndex"]
  1312. Main.Top.name.ZIndex = Theme["ZIndex"]
  1313. for i, v in pairs(Main:GetChildren()) do
  1314. if not v:IsA("UICorner") then
  1315. v.BackgroundTransparency = Theme["Transparency"]
  1316. end
  1317. end
  1318. for i, v in pairs(Layout:GetDescendants()) do
  1319. if not v:IsA("UICorner") and not v:IsA("UIPageLayout") and not v:IsA("UIListLayout") then
  1320. v.ZIndex = Theme["ZIndex"]
  1321. Slider.BackgroundColor3 = Theme["Slider-Color"]
  1322. end
  1323. if v:IsA("TextButton") and v:IsA("TextBox") then
  1324. v.BackgroundTransparency = .15
  1325. end
  1326. end
  1327. for i, v in pairs(Layout:GetChildren()) do
  1328. if not v:IsA("UICorner") and not v:IsA("UIPageLayout") and not v:IsA("UIListLayout") and v:IsA("Frame") then
  1329. v.BackgroundTransparency = Theme["Transparency"]
  1330. end
  1331. end
  1332. for i, v in pairs(Side.Layout:GetChildren()) do
  1333. if v:IsA("TextButton") and not v:IsA("UIListLayout") then
  1334. v.ZIndex = Theme["ZIndex"]
  1335. end
  1336. end
  1337. if Theme.Animated then
  1338. themeImage["Video"] = GetAsset("Verts-Hub/Assets/" .. fileName .. ".webm")
  1339. themeImage:play()
  1340. wait(.2)
  1341. delfile("Verts-Hub/Assets/" .. fileName .. ".webm")
  1342. end
  1343. end
  1344. end
  1345. end
  1346. local g = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
  1347. GameFrame.gameName.Text = g.Name
  1348. GameFrame.gameDesc.Text = g.Description
  1349. GameFrame.gameIcon.Image = "rbxassetid://" .. g.IconImageAssetId
  1350. GameFrame.players:remove()
  1351. setfflag("AbuseReportScreenshotPercentage", 0)
  1352. setfflag("DFFlagAbuseReportScreenshot", "False")
  1353. UI["Name"] = str(15)
  1354. changeversion = "1"
  1355. changedecoded = JSONDecode(readfile("Verts-Hub/Assets/Changes.config"))
  1356. if changedecoded["ChangeVer"] == changeversion then
  1357. else
  1358. ChangeLog(true, false, true, false)
  1359. end
  1360. startTheme()
  1361. while wait() do
  1362. Player = game.Players.LocalPlayer
  1363. end
Add Comment
Please, Sign In to add comment