imke316

Untitled

Jan 23rd, 2026
40
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.13 KB | None | 0 0
  1. -- Forsaken Auto-Block System - Mobile & PC Compatible - PART 1
  2. local Players = game:GetService("Players")
  3. local UserInputService = game:GetService("UserInputService")
  4. local RunService = game:GetService("RunService")
  5. local TweenService = game:GetService("TweenService")
  6. local GuiService = game:GetService("GuiService")
  7.  
  8. local localPlayer = Players.LocalPlayer
  9. local playerGui = localPlayer:WaitForChild("PlayerGui")
  10.  
  11. -- Detect if mobile
  12. local isMobile = UserInputService.TouchEnabled
  13.  
  14. -- Auto-block system
  15. local autoBlock = {
  16. Enabled = false,
  17. BlockKey = "F",
  18. BlockButton = nil, -- For mobile button
  19. ActivationDelay = 0.2,
  20. BlockDuration = 0.5,
  21. LastHitTime = 0,
  22. IsBlocking = false,
  23. RangeDistance = 15,
  24. PingChecked = true
  25. }
  26.  
  27. -- Create main GUI
  28. local screenGui = Instance.new("ScreenGui")
  29. screenGui.Name = "GuestingHub"
  30. screenGui.ResetOnSpawn = false
  31. screenGui.Parent = playerGui
  32.  
  33. -- Main Frame (responsive sizing for mobile/PC)
  34. local mainFrame = Instance.new("Frame")
  35. mainFrame.Name = "MainFrame"
  36. mainFrame.Size = isMobile and UDim2.new(0, 300, 0, 450) or UDim2.new(0, 350, 0, 500)
  37. mainFrame.Position = isMobile and UDim2.new(0, 10, 0.5, -225) or UDim2.new(0, 20, 0.5, -250)
  38. mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
  39. mainFrame.BorderSizePixel = 0
  40. mainFrame.Parent = screenGui
  41.  
  42. local mainCorner = Instance.new("UICorner")
  43. mainCorner.CornerRadius = UDim.new(0, 8)
  44. mainCorner.Parent = mainFrame
  45.  
  46. -- Header
  47. local header = Instance.new("Frame")
  48. header.Name = "Header"
  49. header.Size = UDim2.new(1, 0, 0, 50)
  50. header.Position = UDim2.new(0, 0, 0, 0)
  51. header.BackgroundColor3 = Color3.fromRGB(25, 25, 30)
  52. header.BorderSizePixel = 0
  53. header.Parent = mainFrame
  54.  
  55. local headerCorner = Instance.new("UICorner")
  56. headerCorner.CornerRadius = UDim.new(0, 8)
  57. headerCorner.Parent = header
  58.  
  59. -- Title
  60. local title = Instance.new("TextLabel")
  61. title.Name = "Title"
  62. title.Size = UDim2.new(1, -20, 1, 0)
  63. title.Position = UDim2.new(0, 10, 0, 0)
  64. title.BackgroundTransparency = 1
  65. title.Text = "Guesting Hub v1.9"
  66. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  67. title.TextSize = isMobile and 16 or 18
  68. title.Font = Enum.Font.GothamBold
  69. title.TextXAlignment = Enum.TextXAlignment.Left
  70. title.Parent = header
  71.  
  72. -- By Veux text
  73. local creator = Instance.new("TextLabel")
  74. creator.Name = "Creator"
  75. creator.Size = UDim2.new(0, 60, 0, 20)
  76. creator.Position = UDim2.new(1, -70, 0.5, -10)
  77. creator.BackgroundTransparency = 1
  78. creator.Text = "By Veux"
  79. creator.TextColor3 = Color3.fromRGB(200, 200, 200)
  80. creator.TextSize = isMobile and 12 or 14
  81. creator.Font = Enum.Font.Gotham
  82. creator.Parent = header
  83.  
  84. -- Navigation Buttons Frame
  85. local navFrame = Instance.new("Frame")
  86. navFrame.Name = "Navigation"
  87. navFrame.Size = UDim2.new(1, -20, 0, 70)
  88. navFrame.Position = UDim2.new(0, 10, 0, 60)
  89. navFrame.BackgroundTransparency = 1
  90. navFrame.Parent = mainFrame
  91.  
  92. -- Navigation buttons grid
  93. local navButtons = {"Search", "Updates", "Suggestions", "Auto Block", "Player", "Almbots", "Exploits/Fun", "ESP"}
  94. local buttonSize = isMobile and UDim2.new(0, 75, 0, 28) or UDim2.new(0, 85, 0, 30)
  95.  
  96. for i, buttonName in ipairs(navButtons) do
  97. local button = Instance.new("TextButton")
  98. button.Name = buttonName
  99. button.Size = buttonSize
  100. button.Position = UDim2.new(0, ((i-1) % 4) * (buttonSize.X.Offset + 5), 0, math.floor((i-1) / 4) * 35)
  101. button.BackgroundColor3 = Color3.fromRGB(40, 40, 45)
  102. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  103. button.Text = buttonName
  104. button.TextSize = isMobile and 10 or 11
  105. button.Font = Enum.Font.Gotham
  106. button.Parent = navFrame
  107.  
  108. local buttonCorner = Instance.new("UICorner")
  109. buttonCorner.CornerRadius = UDim.new(0, 4)
  110. buttonCorner.Parent = button
  111. end
  112.  
  113. -- Auto Block Section
  114. local autoBlockFrame = Instance.new("Frame")
  115. autoBlockFrame.Name = "AutoBlockSection"
  116. autoBlockFrame.Size = UDim2.new(1, -20, 0, 180)
  117. autoBlockFrame.Position = UDim2.new(0, 10, 0, 140)
  118. autoBlockFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 40)
  119. autoBlockFrame.Parent = mainFrame
  120.  
  121. local autoBlockCorner = Instance.new("UICorner")
  122. autoBlockCorner.CornerRadius = UDim.new(0, 6)
  123. autoBlockCorner.Parent = autoBlockFrame
  124.  
  125. -- Auto Block Title
  126. local autoBlockTitle = Instance.new("TextLabel")
  127. autoBlockTitle.Name = "AutoBlockTitle"
  128. autoBlockTitle.Size = UDim2.new(1, 0, 0, 30)
  129. autoBlockTitle.Position = UDim2.new(0, 0, 0, 0)
  130. autoBlockTitle.BackgroundTransparency = 1
  131. autoBlockTitle.Text = "Auto Block"
  132. autoBlockTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  133. autoBlockTitle.TextSize = isMobile and 16 or 18
  134. autoBlockTitle.Font = Enum.Font.GothamBold
  135. autoBlockTitle.Parent = autoBlockFrame
  136.  
  137. -- Range Distance
  138. local rangeText = Instance.new("TextLabel")
  139. rangeText.Name = "RangeText"
  140. rangeText.Size = UDim2.new(0.6, 0, 0, 25)
  141. rangeText.Position = UDim2.new(0, 10, 0, 35)
  142. rangeText.BackgroundTransparency = 1
  143. rangeText.Text = "Range Distance to Detect"
  144. rangeText.TextColor3 = Color3.fromRGB(200, 200, 200)
  145. rangeText.TextSize = isMobile and 12 or 13
  146. rangeText.Font = Enum.Font.Gotham
  147. rangeText.TextXAlignment = Enum.TextXAlignment.Left
  148. rangeText.Parent = autoBlockFrame
  149.  
  150. local rangeValue = Instance.new("TextLabel")
  151. rangeValue.Name = "RangeValue"
  152. rangeValue.Size = UDim2.new(0.3, 0, 0, 25)
  153. rangeValue.Position = UDim2.new(0.7, 0, 0, 35)
  154. rangeValue.BackgroundTransparency = 1
  155. rangeValue.Text = "15"
  156. rangeValue.TextColor3 = Color3.fromRGB(0, 255, 0)
  157. rangeValue.TextSize = isMobile and 12 or 13
  158. rangeValue.Font = Enum.Font.GothamBold
  159. rangeValue.Parent = autoBlockFrame
  160.  
  161. -- Ping Checker
  162. local pingFrame = Instance.new("Frame")
  163. pingFrame.Name = "PingChecker"
  164. pingFrame.Size = UDim2.new(1, -20, 0, 25)
  165. pingFrame.Position = UDim2.new(0, 10, 0, 65)
  166. pingFrame.BackgroundTransparency = 1
  167. pingFrame.Parent = autoBlockFrame
  168.  
  169. local pingText = Instance.new("TextLabel")
  170. pingText.Name = "PingText"
  171. pingText.Size = UDim2.new(0.7, 0, 1, 0)
  172. pingText.Position = UDim2.new(0, 0, 0, 0)
  173. pingText.BackgroundTransparency = 1
  174. pingText.Text = "Ping checker"
  175. pingText.TextColor3 = Color3.fromRGB(200, 200, 200)
  176. pingText.TextSize = isMobile and 12 or 13
  177. pingText.Font = Enum.Font.Gotham
  178. pingText.TextXAlignment = Enum.TextXAlignment.Left
  179. pingText.Parent = pingFrame
  180.  
  181. local pingToggle = Instance.new("TextButton")
  182. pingToggle.Name = "PingToggle"
  183. pingToggle.Size = UDim2.new(0, 40, 0, 20)
  184. pingToggle.Position = UDim2.new(0.8, 0, 0.1, 0)
  185. pingToggle.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  186. pingToggle.Text = ""
  187. pingToggle.Parent = pingFrame
  188.  
  189. local pingCorner = Instance.new("UICorner")
  190. pingCorner.CornerRadius = UDim.new(0, 10)
  191. pingCorner.Parent = pingToggle
  192.  
  193. -- ESP Section
  194. local espFrame = Instance.new("Frame")
  195. espFrame.Name = "ESPSection"
  196. espFrame.Size = UDim2.new(1, -20, 0, 150)
  197. espFrame.Position = UDim2.new(0, 10, 0, 330)
  198. espFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 40)
  199. espFrame.Parent = mainFrame
  200.  
  201. local espCorner = Instance.new("UICorner")
  202. espCorner.CornerRadius = UDim.new(0, 6)
  203. espCorner.Parent = espFrame
  204.  
  205. -- ESP Title
  206. local espTitle = Instance.new("TextLabel")
  207. espTitle.Name = "ESPTitle"
  208. espTitle.Size = UDim2.new(1, 0, 0, 30)
  209. espTitle.Position = UDim2.new(0, 0, 0, 0)
  210. espTitle.BackgroundTransparency = 1
  211. espTitle.Text = "ESP Settings"
  212. espTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  213. espTitle.TextSize = isMobile and 16 or 18
  214. espTitle.Font = Enum.Font.GothamBold
  215. espTitle.Parent = espFrame
  216.  
  217. -- ESP Toggle
  218. local espToggleFrame = Instance.new("Frame")
  219. espToggleFrame.Name = "ESPToggle"
  220. espToggleFrame.Size = UDim2.new(1, -20, 0, 25)
  221. espToggleFrame.Position = UDim2.new(0, 10, 0, 35)
  222. espToggleFrame.BackgroundTransparency = 1
  223. espToggleFrame.Parent = espFrame
  224.  
  225. local espToggleText = Instance.new("TextLabel")
  226. espToggleText.Name = "ESPToggleText"
  227. espToggleText.Size = UDim2.new(0.7, 0, 1, 0)
  228. espToggleText.Position = UDim2.new(0, 0, 0, 0)
  229. espToggleText.BackgroundTransparency = 1
  230. espToggleText.Text = "ESP Enabled"
  231. espToggleText.TextColor3 = Color3.fromRGB(200, 200, 200)
  232. espToggleText.TextSize = isMobile and 12 or 13
  233. espToggleText.Font = Enum.Font.Gotham
  234. espToggleText.TextXAlignment = Enum.TextXAlignment.Left
  235. espToggleText.Parent = espToggleFrame
  236.  
  237. local espToggleButton = Instance.new("TextButton")
  238. espToggleButton.Name = "ESPToggleButton"
  239. espToggleButton.Size = UDim2.new(0, 40, 0, 20)
  240. espToggleButton.Position = UDim2.new(0.8, 0, 0.1, 0)
  241. espToggleButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  242. espToggleButton.Text = ""
  243. espToggleButton.Parent = espToggleFrame
  244.  
  245. local espToggleCorner = Instance.new("UICorner")
  246. espToggleCorner.CornerRadius = UDim.new(0, 10)
  247. espToggleCorner.Parent = espToggleButton
  248.  
  249. -- ESP Style Selection
  250. local espStyleFrame = Instance.new("Frame")
  251. espStyleFrame.Name = "ESPStyle"
  252. espStyleFrame.Size = UDim2.new(1, -20, 0, 40)
  253. espStyleFrame.Position = UDim2.new(0, 10, 0, 70)
  254. espStyleFrame.BackgroundTransparency = 1
  255. espStyleFrame.Parent = espFrame
  256.  
  257. local espStyleText = Instance.new("TextLabel")
  258. espStyleText.Name = "ESPStyleText"
  259. espStyleText.Size = UDim2.new(1, 0, 0, 20)
  260. espStyleText.Position = UDim2.new(0, 0, 0, 0)
  261. espStyleText.BackgroundTransparency = 1
  262. espStyleText.Text = "ESP Style:"
  263. espStyleText.TextColor3 = Color3.fromRGB(200, 200, 200)
  264. espStyleText.TextSize = isMobile and 12 or 13
  265. espStyleText.Font = Enum.Font.Gotham
  266. espStyleText.TextXAlignment = Enum.TextXAlignment.Left
  267. espStyleText.Parent = espStyleFrame
  268.  
  269. -- Skeleton ESP Button
  270. local skeletonButton = Instance.new("TextButton")
  271. skeletonButton.Name = "SkeletonButton"
  272. skeletonButton.Size = UDim2.new(0, 80, 0, 25)
  273. skeletonButton.Position = UDim2.new(0, 0, 0, 20)
  274. skeletonButton.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  275. skeletonButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  276. skeletonButton.Text = "Skeleton"
  277. skeletonButton.TextSize = isMobile and 11 or 12
  278. skeletonButton.Font = Enum.Font.Gotham
  279. skeletonButton.Parent = espStyleFrame
  280.  
  281. local skeletonCorner = Instance.new("UICorner")
  282. skeletonCorner.CornerRadius = UDim.new(0, 4)
  283. skeletonCorner.Parent = skeletonButton
  284.  
  285. -- Box ESP Button
  286. local boxButton = Instance.new("TextButton")
  287. boxButton.Name = "BoxButton"
  288. boxButton.Size = UDim2.new(0, 80, 0, 25)
  289. boxButton.Position = UDim2.new(0, 90, 0, 20)
  290. boxButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  291. boxButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  292. boxButton.Text = "Box"
  293. boxButton.TextSize = isMobile and 11 or 12
  294. boxButton.Font = Enum.Font.Gotham
  295. boxButton.Parent = espStyleFrame
  296.  
  297. local boxCorner = Instance.new("UICorner")
  298. boxCorner.CornerRadius = UDim.new(0, 4)
  299. boxCorner.Parent = boxButton
  300.  
  301. -- ESP System
  302. local esp = {
  303. Enabled = false,
  304. Style = "Skeleton", -- "Skeleton" or "Box"
  305. Objects = {},
  306. Highlights = {}
  307. }
  308.  
  309. -- Function to create ESP for player
  310. function esp:CreateESP(player, character)
  311. if not character then return end
  312.  
  313. local highlight = Instance.new("Highlight")
  314. highlight.Name = player.Name .. "_ESP"
  315. highlight.Adornee = character
  316. highlight.Parent = character
  317.  
  318. -- Set color based on player role (you'll need to detect this)
  319. if player.Team then
  320. highlight.FillColor = player.TeamColor.Color
  321. else
  322. -- Default colors for different roles
  323. if string.find(player.Name:lower(), "killer") then
  324. highlight.FillColor = Color3.fromRGB(255, 0, 0) -- Red for killer
  325. else
  326. highlight.FillColor = Color3.fromRGB(0, 255, 0) -- Green for survivor
  327. end
  328. end
  329.  
  330. highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
  331. highlight.FillTransparency = 0.3
  332. highlight.OutlineTransparency = 0
  333.  
  334. -- Set style
  335. if self.Style == "Skeleton" then
  336. highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  337. else -- Box style
  338. highlight.DepthMode = Enum.HighlightDepthMode.Occluded
  339. end
  340.  
  341. self.Highlights[player] = highlight
  342. end
  343.  
  344. -- Function to update all ESP
  345. function esp:UpdateAllESP()
  346. for player, highlight in pairs(self.Highlights) do
  347. if highlight and highlight.Parent then
  348. if self.Style == "Skeleton" then
  349. highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  350. else
  351. highlight.DepthMode = Enum.HighlightDepthMode.Occluded
  352. end
  353. end
  354. end
  355. end
  356.  
  357. -- Function to toggle ESP
  358. function esp:ToggleESP(enabled)
  359. self.Enabled = enabled
  360. espToggleButton.BackgroundColor3 = enabled and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(60, 60, 60)
  361.  
  362. if enabled then
  363. -- Create ESP for all players
  364. for _, player in pairs(Players:GetPlayers()) do
  365. if player ~= localPlayer and player.Character then
  366. self:CreateESP(player, player.Character)
  367. end
  368. end
  369. else
  370. -- Remove all ESP
  371. for player, highlight in pairs(self.Highlights) do
  372. if highlight then
  373. highlight:Destroy()
  374. end
  375. end
  376. self.Highlights = {}
  377. end
  378. end
  379.  
  380. -- ESP Button Functions
  381. skeletonButton.MouseButton1Click:Connect(function()
  382. esp.Style = "Skeleton"
  383. skeletonButton.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  384. boxButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  385. esp:UpdateAllESP()
  386. end)
  387.  
  388. boxButton.MouseButton1Click:Connect(function()
  389. esp.Style = "Box"
  390. boxButton.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  391. skeletonButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  392. esp:UpdateAllESP()
  393. end)
  394.  
  395. espToggleButton.MouseButton1Click:Connect(function()
  396. esp:ToggleESP(not esp.Enabled)
  397. end)
  398.  
  399. -- Auto Block Functions
  400. function autoBlock:TogglePingChecker()
  401. self.PingChecked = not self.PingChecked
  402. pingToggle.BackgroundColor3 = self.PingChecked and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0)
  403. end
  404.  
  405. function autoBlock:ChangeRange(increase)
  406. if increase then
  407. self.RangeDistance = math.min(50, self.RangeDistance + 1)
  408. else
  409. self.RangeDistance = math.max(1, self.RangeDistance - 1)
  410. end
  411. rangeValue.Text = tostring(self.RangeDistance)
  412. end
  413.  
  414. -- Range adjustment buttons (adding them now)
  415. local rangePlus = Instance.new("TextButton")
  416. rangePlus.Name = "RangePlus"
  417. rangePlus.Size = UDim2.new(0, 25, 0, 25)
  418. rangePlus.Position = UDim2.new(0.85, 0, 0, 35)
  419. rangePlus.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  420. rangePlus.TextColor3 = Color3.fromRGB(255, 255, 255)
  421. rangePlus.Text = "+"
  422. rangePlus.TextSize = 16
  423. rangePlus.Parent = autoBlockFrame
  424.  
  425. local rangeMinus = Instance.new("TextButton")
  426. rangeMinus.Name = "RangeMinus"
  427. rangeMinus.Size = UDim2.new(0, 25, 0, 25)
  428. rangeMinus.Position = UDim2.new(0.85, 30, 0, 35)
  429. rangeMinus.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  430. rangeMinus.TextColor3 = Color3.fromRGB(255, 255, 255)
  431. rangeMinus.Text = "-"
  432. rangeMinus.TextSize = 16
  433. rangeMinus.Parent = autoBlockFrame
  434.  
  435. -- Add corners to range buttons
  436. local plusCorner = Instance.new("UICorner")
  437. plusCorner.CornerRadius = UDim.new(0, 4)
  438. plusCorner.Parent = rangePlus
  439.  
  440. local minusCorner = Instance.new("UICorner")
  441. minusCorner.CornerRadius = UDim.new(0, 4)
  442. minusCorner.Parent = rangeMinus
  443.  
  444. -- Connect range buttons
  445. rangePlus.MouseButton1Click:Connect(function()
  446. autoBlock:ChangeRange(true)
  447. end)
  448.  
  449. rangeMinus.MouseButton1Click:Connect(function()
  450. autoBlock:ChangeRange(false)
  451. end)
  452.  
  453. -- Connect ping toggle
  454. pingToggle.MouseButton1Click:Connect(function()
  455. autoBlock:TogglePingChecker()
  456. end)
  457.  
  458. -- Mobile Block Button (for touch devices)
  459. if isMobile then
  460. local mobileBlockButton = Instance.new("TextButton")
  461. mobileBlockButton.Name = "MobileBlockButton"
  462. mobileBlockButton.Size = UDim2.new(0, 80, 0, 80)
  463. mobileBlockButton.Position = UDim2.new(1, -100, 1, -100)
  464. mobileBlockButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  465. mobileBlockButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  466. mobileBlockButton.Text = "BLOCK"
  467. mobileBlockButton.TextSize = 16
  468. mobileBlockButton.Visible = false
  469. mobileBlockButton.Parent = screenGui
  470.  
  471. local mobileCorner = Instance.new("UICorner")
  472. mobileCorner.CornerRadius = UDim.new(0, 40)
  473. mobileCorner.Parent = mobileBlockButton
  474.  
  475. autoBlock.BlockButton = mobileBlockButton
  476. end
  477.  
  478. -- Auto Block Core Function
  479. function autoBlock:SimulateBlock()
  480. if self.IsBlocking then return end
  481.  
  482. self.IsBlocking = true
  483.  
  484. if isMobile and self.BlockButton then
  485. -- Visual feedback for mobile
  486. self.BlockButton.BackgroundColor3 = Color3.fromRGB(50, 255, 50)
  487. wait(self.BlockDuration)
  488. self.BlockButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  489. else
  490. -- Simulate F key press for PC
  491. keypress(0x46) -- F key
  492. wait(0.1)
  493. keyrelease(0x46)
  494. end
  495.  
  496. self.IsBlocking = false
  497. end
  498.  
  499. -- Damage detection (you'll need to adapt this to Forsaken's damage system)
  500. local function onCharacterAdded(character)
  501. local humanoid = character:WaitForChild("Humanoid")
  502.  
  503. humanoid.HealthChanged:Connect(function()
  504. if autoBlock.Enabled and humanoid.Health < humanoid.MaxHealth then
  505. -- Player took damage, auto block
  506. autoBlock:SimulateBlock()
  507. end
  508. end)
  509. end
  510.  
  511. -- Initialize for current character
  512. if localPlayer.Character then
  513. onCharacterAdded(localPlayer.Character)
  514. end
  515.  
  516. localPlayer.CharacterAdded:Connect(onCharacterAdded)
  517.  
  518. -- Navigation button functionality
  519. for _, button in pairs(navFrame:GetChildren()) do
  520. if button:IsA("TextButton") then
  521. button.MouseButton1Click:Connect(function()
  522. -- Show/hide sections based on button clicked
  523. if button.Name == "Auto Block" then
  524. autoBlockFrame.Visible = true
  525. espFrame.Visible = false
  526. elseif button.Name == "ESP" then
  527. autoBlockFrame.Visible = false
  528. espFrame.Visible = true
  529. else
  530. -- For other buttons, you can add functionality later
  531. print("Button clicked:", button.Name)
  532. end
  533. end)
  534. end
  535. end
  536.  
  537. -- Show Auto Block by default
  538. autoBlockFrame.Visible = true
  539. espFrame.Visible = false
  540.  
  541. print("Guesting Hub v1.9 loaded successfully!")
  542. print("Auto Block Range: " .. autoBlock.RangeDistance)
  543. print("Mobile Mode: " .. tostring(isMobile))
Comments
Add Comment
Please, Sign In to add comment