Advertisement
haidar_at

💸$15,000 Glass Bridge (Squid Game Obby) 📈

Apr 17th, 2025 (edited)
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 5.45 KB | Source Code | 0 0
  1. --💸$15,000 Glass Bridge (Squid Game Obby) 📈
  2. --💸$15,000 Glass Bridge (Squid Game Obby) 📈
  3. --💸$15,000 Glass Bridge (Squid Game Obby) 📈
  4. --💸$15,000 Glass Bridge (Squid Game Obby) 📈
  5.  
  6.  
  7. local Players = game:GetService("Players")
  8. local player = Players.LocalPlayer
  9. local bridge = workspace:WaitForChild("Bridge")
  10. local redParts = bridge:WaitForChild("RedParts")
  11.  
  12. -- === Main ScreenGui ===
  13. local screenGui = Instance.new("ScreenGui")
  14. screenGui.Name = "MultiFunctionGui"
  15. screenGui.ResetOnSpawn = false
  16. screenGui.Parent = player:WaitForChild("PlayerGui")
  17.  
  18. -- === Draggable Frame ===
  19. local mainFrame = Instance.new("Frame")
  20. mainFrame.Size = UDim2.new(0, 250, 0, 250)
  21. mainFrame.Position = UDim2.new(0, 50, 0, 100)
  22. mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  23. mainFrame.Active = true
  24. mainFrame.Draggable = true
  25. mainFrame.Parent = screenGui
  26.  
  27. -- === Frame Style ===
  28. local corner = Instance.new("UICorner", mainFrame)
  29. corner.CornerRadius = UDim.new(0, 12)
  30.  
  31. local stroke = Instance.new("UIStroke", mainFrame)
  32. stroke.Color = Color3.fromRGB(255, 255, 255)
  33. stroke.Thickness = 2
  34. stroke.Transparency = 0.5
  35.  
  36. -- === Header Label ===
  37. local titleLabel = Instance.new("TextLabel")
  38. titleLabel.Size = UDim2.new(1, 0, 0, 30)
  39. titleLabel.BackgroundTransparency = 1
  40. titleLabel.Text = "Menu (Squid Game Obby)📈"
  41. titleLabel.Font = Enum.Font.GothamBold
  42. titleLabel.TextSize = 18
  43. titleLabel.TextColor3 = Color3.new(1, 1, 1)
  44. titleLabel.Parent = mainFrame
  45.  
  46. -- === Toggle Button ===
  47. local toggleBtn = Instance.new("TextButton")
  48. toggleBtn.Size = UDim2.new(1, -20, 0, 40)
  49. toggleBtn.Position = UDim2.new(0, 10, 0, 40)
  50. toggleBtn.Text = "SHOW PATH ALL"
  51. toggleBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 255)
  52. toggleBtn.TextScaled = true
  53. toggleBtn.TextColor3 = Color3.new(1, 1, 1)
  54. toggleBtn.Font = Enum.Font.GothamSemibold
  55. toggleBtn.Parent = mainFrame
  56.  
  57. Instance.new("UICorner", toggleBtn)
  58. Instance.new("UIStroke", toggleBtn).Transparency = 0.3
  59.  
  60. -- === Teleport Button 1 ===
  61. local teleportBtn = Instance.new("TextButton")
  62. teleportBtn.Size = UDim2.new(1, -20, 0, 40)
  63. teleportBtn.Position = UDim2.new(0, 10, 0, 90)
  64. teleportBtn.Text = "Teleport to END"
  65. teleportBtn.BackgroundColor3 = Color3.fromRGB(255, 100, 100)
  66. teleportBtn.TextScaled = true
  67. teleportBtn.TextColor3 = Color3.new(1, 1, 1)
  68. teleportBtn.Font = Enum.Font.GothamSemibold
  69. teleportBtn.Parent = mainFrame
  70.  
  71. Instance.new("UICorner", teleportBtn)
  72. Instance.new("UIStroke", teleportBtn).Transparency = 0.3
  73.  
  74. -- === Teleport Button 2 ===
  75. local teleportBtn2 = Instance.new("TextButton")
  76. teleportBtn2.Size = UDim2.new(1, -20, 0, 40)
  77. teleportBtn2.Position = UDim2.new(0, 10, 0, 140)
  78. teleportBtn2.Text = "Teleport to Spawn"
  79. teleportBtn2.BackgroundColor3 = Color3.fromRGB(100, 255, 100)
  80. teleportBtn2.TextScaled = true
  81. teleportBtn2.TextColor3 = Color3.new(1, 1, 1)
  82. teleportBtn2.Font = Enum.Font.GothamSemibold
  83. teleportBtn2.Parent = mainFrame
  84.  
  85. Instance.new("UICorner", teleportBtn2)
  86. Instance.new("UIStroke", teleportBtn2).Transparency = 0.3
  87.  
  88. -- === Auto Farm Button ===
  89. local autoFarmBtn = Instance.new("TextButton")
  90. autoFarmBtn.Size = UDim2.new(1, -20, 0, 40)
  91. autoFarmBtn.Position = UDim2.new(0, 10, 0, 190)
  92. autoFarmBtn.Text = "Auto Farm (Off)"
  93. autoFarmBtn.BackgroundColor3 = Color3.fromRGB(255, 200, 100)
  94. autoFarmBtn.TextScaled = true
  95. autoFarmBtn.TextColor3 = Color3.new(1, 1, 1)
  96. autoFarmBtn.Font = Enum.Font.GothamSemibold
  97. autoFarmBtn.Parent = mainFrame
  98.  
  99. Instance.new("UICorner", autoFarmBtn)
  100. Instance.new("UIStroke", autoFarmBtn).Transparency = 0.3
  101.  
  102. -- === Logic ===
  103. local transparencyOn = false
  104. local autoFarmOn = false
  105.  
  106. local function updateTransparency()
  107.     for _, part in pairs(redParts:GetDescendants()) do
  108.         if part:IsA("BasePart") then
  109.             part.Transparency = transparencyOn and 1 or 0
  110.         end
  111.     end
  112. end
  113.  
  114. toggleBtn.MouseButton1Click:Connect(function()
  115.     transparencyOn = not transparencyOn
  116.     toggleBtn.Text = transparencyOn and "SHOW PATH (On)" or "SHOW PATH (Off)"
  117.     updateTransparency()
  118. end)
  119.  
  120. -- Auto adjust new red parts
  121. coroutine.wrap(function()
  122.     while true do
  123.         task.wait(0.2)
  124.         if transparencyOn then
  125.             for _, part in pairs(redParts:GetDescendants()) do
  126.                 if part:IsA("BasePart") and part.Transparency ~= 1 then
  127.                     part.Transparency = 1
  128.                 end
  129.             end
  130.         end
  131.     end
  132. end)()
  133.  
  134. -- Teleport Logic
  135. local targetPosition1 = Vector3.new(-2.585143566131592, 10, -1157.951416015625)
  136. local targetPosition2 = Vector3.new(-44.26996612548828, 13.192832946777344, -1142.921875)
  137.  
  138. autoFarmBtn.MouseButton1Click:Connect(function()
  139.     autoFarmOn = not autoFarmOn
  140.     autoFarmBtn.Text = autoFarmOn and "Auto Farm (On)" or "Auto Farm (Off)"
  141. end)
  142.  
  143. coroutine.wrap(function()
  144.     while true do
  145.         task.wait(1)
  146.         if autoFarmOn then
  147.             local char = player.Character
  148.             if char and char:FindFirstChild("HumanoidRootPart") and char:FindFirstChild("Humanoid") then
  149.                 char.Humanoid.Sit = true
  150.                 char.HumanoidRootPart.CFrame = CFrame.new(targetPosition2)
  151.                 task.wait(1)
  152.                 char.Humanoid.Sit = true
  153.                 char.HumanoidRootPart.CFrame = CFrame.new(targetPosition1)
  154.             end
  155.         end
  156.     end
  157. end)()
  158.  
  159. teleportBtn.MouseButton1Click:Connect(function()
  160.     local char = player.Character
  161.     if char and char:FindFirstChild("HumanoidRootPart") then
  162.         char.HumanoidRootPart.CFrame = CFrame.new(targetPosition1)
  163.     end
  164. end)
  165.  
  166. teleportBtn2.MouseButton1Click:Connect(function()
  167.     local char = player.Character
  168.     if char and char:FindFirstChild("HumanoidRootPart") then
  169.         char.HumanoidRootPart.CFrame = CFrame.new(targetPosition2)
  170.     end
  171. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement