cool the 1m gb script (UPDATED)
Key Required

cool the 1m gb script (UPDATED)

The $1,000,000 Glass Bridgekirbyfan1213kirbyfan1213 3.6K views 236 executesUpdated Sep 17, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•159 lines (5264 chars)
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = Players.LocalPlayer

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "MillionGlassGui"
ScreenGui.Parent = game.CoreGui

local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 400, 0, 330)
MainFrame.Position = UDim2.new(0.5, -200, 0.5, -165)
MainFrame.BackgroundColor3 = Color3.fromRGB(255, 140, 0)
MainFrame.Active = true
MainFrame.Draggable = true
MainFrame.Parent = ScreenGui

local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 15)
UICorner.Parent = MainFrame

local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1, -40, 0, 40)
Title.Position = UDim2.new(0, 10, 0, 0)
Title.BackgroundTransparency = 1
Title.Text = "the 1 million glass thing whatever blah blah blah script"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextScaled = true
Title.Font = Enum.Font.GothamBold
Title.Parent = MainFrame

local CloseButton = Instance.new("TextButton")
CloseButton.Size = UDim2.new(0, 30, 0, 30)
CloseButton.Position = UDim2.new(1, -35, 0, 5)
CloseButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
CloseButton.Text = "X"
CloseButton.TextColor3 = Color3.new(1,1,1)
CloseButton.Font = Enum.Font.GothamBold
CloseButton.TextScaled = true
CloseButton.Parent = MainFrame

local UICornerClose = Instance.new("UICorner")
UICornerClose.CornerRadius = UDim.new(0, 8)
UICornerClose.Parent = CloseButton

local ToggleButton = Instance.new("TextButton")
ToggleButton.Size = UDim2.new(0, 380, 0, 60)
ToggleButton.Position = UDim2.new(0, 10, 0, 60)
ToggleButton.BackgroundColor3 = Color3.fromRGB(200, 100, 0)
ToggleButton.Text = "get MONIES 🤑🤑 (might crash boblox) [OFF]"
ToggleButton.TextColor3 = Color3.new(1,1,1)
ToggleButton.TextScaled = true
ToggleButton.Font = Enum.Font.GothamBold
ToggleButton.Parent = MainFrame

local UICornerToggle = Instance.new("UICorner")
UICornerToggle.CornerRadius = UDim.new(0, 12)
UICornerToggle.Parent = ToggleButton

local GlassButton = Instance.new("TextButton")
GlassButton.Size = UDim2.new(0, 380, 0, 60)
GlassButton.Position = UDim2.new(0, 10, 0, 130)
GlassButton.BackgroundColor3 = Color3.fromRGB(200, 50, 0)
GlassButton.Text = "break every broken glass 🤤🤤 yum glass"
GlassButton.TextColor3 = Color3.new(1,1,1)
GlassButton.TextScaled = true
GlassButton.Font = Enum.Font.GothamBold
GlassButton.Parent = MainFrame

local UICornerGlass = Instance.new("UICorner")
UICornerGlass.CornerRadius = UDim.new(0, 12)
UICornerGlass.Parent = GlassButton

local LoopGlassButton = Instance.new("TextButton")
LoopGlassButton.Size = UDim2.new(0, 380, 0, 60)
LoopGlassButton.Position = UDim2.new(0, 10, 0, 200)
LoopGlassButton.BackgroundColor3 = Color3.fromRGB(180, 40, 0)
LoopGlassButton.Text = "loop break glass [OFF]"
LoopGlassButton.TextColor3 = Color3.new(1,1,1)
LoopGlassButton.TextScaled = true
LoopGlassButton.Font = Enum.Font.GothamBold
LoopGlassButton.Parent = MainFrame

local UICornerLoopGlass = Instance.new("UICorner")
UICornerLoopGlass.CornerRadius = UDim.new(0, 12)
UICornerLoopGlass.Parent = LoopGlassButton

local enabled = false
local loopConnection
local glassLoopEnabled = false
local glassLoopConnection

ToggleButton.MouseButton1Click:Connect(function()
	if not enabled then
		enabled = true
		ToggleButton.Text = "get MONIES 🤑🤑 (might crash boblox) [ON]"
		loopConnection = game:GetService("RunService").Heartbeat:Connect(function()
			local args = {
				Players:WaitForChild(LocalPlayer.Name)
			}
			ReplicatedStorage:WaitForChild("SpinEvents"):WaitForChild("SegundoPremio"):FireServer(unpack(args))
			wait(0.1)
		end)
	else
		enabled = false
		ToggleButton.Text = "get MONIES 🤑🤑 (might crash boblox) [OFF]"
		if loopConnection then
			loopConnection:Disconnect()
			loopConnection = nil
		end
	end
end)

GlassButton.MouseButton1Click:Connect(function()
	for _, remote in ipairs(ReplicatedStorage:GetChildren()) do
		if remote.Name == "BrokeGlassEvent_O" and remote:IsA("RemoteEvent") then
			local wrongFolder = workspace:WaitForChild("Glasses"):WaitForChild("Wrong")
			for _, glass in ipairs(wrongFolder:GetChildren()) do
				local args = {
					Players:WaitForChild(LocalPlayer.Name),
					glass
				}
				remote:FireServer(unpack(args))
			end
		end
	end
end)

LoopGlassButton.MouseButton1Click:Connect(function()
	if not glassLoopEnabled then
		glassLoopEnabled = true
		LoopGlassButton.Text = "loop break glass [ON]"
		glassLoopConnection = game:GetService("RunService").Heartbeat:Connect(function()
			for _, remote in ipairs(ReplicatedStorage:GetChildren()) do
				if remote.Name == "BrokeGlassEvent_O" and remote:IsA("RemoteEvent") then
					local wrongFolder = workspace:WaitForChild("Glasses"):WaitForChild("Wrong")
					for _, glass in ipairs(wrongFolder:GetChildren()) do
						local args = {
							Players:WaitForChild(LocalPlayer.Name),
							glass
						}
						remote:FireServer(unpack(args))
					end
				end
			end
			wait(0.1)
		end)
	else
		glassLoopEnabled = false
		LoopGlassButton.Text = "loop break glass [OFF]"
		if glassLoopConnection then
			glassLoopConnection:Disconnect()
			glassLoopConnection = nil
		end
	end
end)

CloseButton.MouseButton1Click:Connect(function()
	ScreenGui:Destroy()
end)

Features & Information

gui was made by chatgpt (because i am lazy 😂✌✌) functions were made by me hope ya like the script!! update: added a loop break glass button

Community Comments (0)

No comments yet for this script.

More Scripts for The $1,000,000 Glass Bridge