AALTTz

vertt

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