Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --💸$15,000 Glass Bridge (Squid Game Obby) 📈
- --💸$15,000 Glass Bridge (Squid Game Obby) 📈
- --💸$15,000 Glass Bridge (Squid Game Obby) 📈
- --💸$15,000 Glass Bridge (Squid Game Obby) 📈
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local bridge = workspace:WaitForChild("Bridge")
- local redParts = bridge:WaitForChild("RedParts")
- -- === Main ScreenGui ===
- local screenGui = Instance.new("ScreenGui")
- screenGui.Name = "MultiFunctionGui"
- screenGui.ResetOnSpawn = false
- screenGui.Parent = player:WaitForChild("PlayerGui")
- -- === Draggable Frame ===
- local mainFrame = Instance.new("Frame")
- mainFrame.Size = UDim2.new(0, 250, 0, 250)
- mainFrame.Position = UDim2.new(0, 50, 0, 100)
- mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- mainFrame.Active = true
- mainFrame.Draggable = true
- mainFrame.Parent = screenGui
- -- === Frame Style ===
- local corner = Instance.new("UICorner", mainFrame)
- corner.CornerRadius = UDim.new(0, 12)
- local stroke = Instance.new("UIStroke", mainFrame)
- stroke.Color = Color3.fromRGB(255, 255, 255)
- stroke.Thickness = 2
- stroke.Transparency = 0.5
- -- === Header Label ===
- local titleLabel = Instance.new("TextLabel")
- titleLabel.Size = UDim2.new(1, 0, 0, 30)
- titleLabel.BackgroundTransparency = 1
- titleLabel.Text = "Menu (Squid Game Obby)📈"
- titleLabel.Font = Enum.Font.GothamBold
- titleLabel.TextSize = 18
- titleLabel.TextColor3 = Color3.new(1, 1, 1)
- titleLabel.Parent = mainFrame
- -- === Toggle Button ===
- local toggleBtn = Instance.new("TextButton")
- toggleBtn.Size = UDim2.new(1, -20, 0, 40)
- toggleBtn.Position = UDim2.new(0, 10, 0, 40)
- toggleBtn.Text = "SHOW PATH ALL"
- toggleBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 255)
- toggleBtn.TextScaled = true
- toggleBtn.TextColor3 = Color3.new(1, 1, 1)
- toggleBtn.Font = Enum.Font.GothamSemibold
- toggleBtn.Parent = mainFrame
- Instance.new("UICorner", toggleBtn)
- Instance.new("UIStroke", toggleBtn).Transparency = 0.3
- -- === Teleport Button 1 ===
- local teleportBtn = Instance.new("TextButton")
- teleportBtn.Size = UDim2.new(1, -20, 0, 40)
- teleportBtn.Position = UDim2.new(0, 10, 0, 90)
- teleportBtn.Text = "Teleport to END"
- teleportBtn.BackgroundColor3 = Color3.fromRGB(255, 100, 100)
- teleportBtn.TextScaled = true
- teleportBtn.TextColor3 = Color3.new(1, 1, 1)
- teleportBtn.Font = Enum.Font.GothamSemibold
- teleportBtn.Parent = mainFrame
- Instance.new("UICorner", teleportBtn)
- Instance.new("UIStroke", teleportBtn).Transparency = 0.3
- -- === Teleport Button 2 ===
- local teleportBtn2 = Instance.new("TextButton")
- teleportBtn2.Size = UDim2.new(1, -20, 0, 40)
- teleportBtn2.Position = UDim2.new(0, 10, 0, 140)
- teleportBtn2.Text = "Teleport to Spawn"
- teleportBtn2.BackgroundColor3 = Color3.fromRGB(100, 255, 100)
- teleportBtn2.TextScaled = true
- teleportBtn2.TextColor3 = Color3.new(1, 1, 1)
- teleportBtn2.Font = Enum.Font.GothamSemibold
- teleportBtn2.Parent = mainFrame
- Instance.new("UICorner", teleportBtn2)
- Instance.new("UIStroke", teleportBtn2).Transparency = 0.3
- -- === Auto Farm Button ===
- local autoFarmBtn = Instance.new("TextButton")
- autoFarmBtn.Size = UDim2.new(1, -20, 0, 40)
- autoFarmBtn.Position = UDim2.new(0, 10, 0, 190)
- autoFarmBtn.Text = "Auto Farm (Off)"
- autoFarmBtn.BackgroundColor3 = Color3.fromRGB(255, 200, 100)
- autoFarmBtn.TextScaled = true
- autoFarmBtn.TextColor3 = Color3.new(1, 1, 1)
- autoFarmBtn.Font = Enum.Font.GothamSemibold
- autoFarmBtn.Parent = mainFrame
- Instance.new("UICorner", autoFarmBtn)
- Instance.new("UIStroke", autoFarmBtn).Transparency = 0.3
- -- === Logic ===
- local transparencyOn = false
- local autoFarmOn = false
- local function updateTransparency()
- for _, part in pairs(redParts:GetDescendants()) do
- if part:IsA("BasePart") then
- part.Transparency = transparencyOn and 1 or 0
- end
- end
- end
- toggleBtn.MouseButton1Click:Connect(function()
- transparencyOn = not transparencyOn
- toggleBtn.Text = transparencyOn and "SHOW PATH (On)" or "SHOW PATH (Off)"
- updateTransparency()
- end)
- -- Auto adjust new red parts
- coroutine.wrap(function()
- while true do
- task.wait(0.2)
- if transparencyOn then
- for _, part in pairs(redParts:GetDescendants()) do
- if part:IsA("BasePart") and part.Transparency ~= 1 then
- part.Transparency = 1
- end
- end
- end
- end
- end)()
- -- Teleport Logic
- local targetPosition1 = Vector3.new(-2.585143566131592, 10, -1157.951416015625)
- local targetPosition2 = Vector3.new(-44.26996612548828, 13.192832946777344, -1142.921875)
- autoFarmBtn.MouseButton1Click:Connect(function()
- autoFarmOn = not autoFarmOn
- autoFarmBtn.Text = autoFarmOn and "Auto Farm (On)" or "Auto Farm (Off)"
- end)
- coroutine.wrap(function()
- while true do
- task.wait(1)
- if autoFarmOn then
- local char = player.Character
- if char and char:FindFirstChild("HumanoidRootPart") and char:FindFirstChild("Humanoid") then
- char.Humanoid.Sit = true
- char.HumanoidRootPart.CFrame = CFrame.new(targetPosition2)
- task.wait(1)
- char.Humanoid.Sit = true
- char.HumanoidRootPart.CFrame = CFrame.new(targetPosition1)
- end
- end
- end
- end)()
- teleportBtn.MouseButton1Click:Connect(function()
- local char = player.Character
- if char and char:FindFirstChild("HumanoidRootPart") then
- char.HumanoidRootPart.CFrame = CFrame.new(targetPosition1)
- end
- end)
- teleportBtn2.MouseButton1Click:Connect(function()
- local char = player.Character
- if char and char:FindFirstChild("HumanoidRootPart") then
- char.HumanoidRootPart.CFrame = CFrame.new(targetPosition2)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement