
KeylessUniversal

pcall(function() game.CoreGui.AxomGlassGUI:Destroy() end)
local function playGlassSound()
local s = Instance.new("Sound")
s.SoundId = "rbxassetid://9118823104"
s.Volume = 2
s.PlayOnRemove = true
s.Parent = game:GetService("SoundService")
s:Destroy()
end
local gui = Instance.new("ScreenGui", game.CoreGui)
gui.Name = "AxomGlassGUI"
gui.ResetOnSpawn = false
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 450, 0, 280)
frame.Position = UDim2.new(0.5, -225, 0.5, -140)
frame.BackgroundColor3 = Color3.fromRGB(200, 200, 255)
frame.BackgroundTransparency = 0.3
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
local glow = Instance.new("UIStroke", frame)
glow.Thickness = 2
glow.Color = Color3.fromRGB(130, 255, 255)
glow.Transparency = 0.3
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 14)
local title = Instance.new("TextLabel", frame)
title.Text = "Glass Bridge Path Show | Made by Axom"
title.Size = UDim2.new(1, -50, 0, 40)
title.Position = UDim2.new(0, 15, 0, 5)
title.BackgroundTransparency = 1
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextXAlignment = Enum.TextXAlignment.Left
title.Font = Enum.Font.GothamBold
title.TextScaled = true
local close = Instance.new("TextButton", frame)
close.Size = UDim2.new(0, 40, 0, 40)
close.Position = UDim2.new(1, -45, 0, 5)
close.Text = "❌"
close.BackgroundColor3 = Color3.fromRGB(255, 100, 100)
close.BackgroundTransparency = 0.2
close.TextColor3 = Color3.fromRGB(255, 255, 255)
close.Font = Enum.Font.GothamBold
close.TextScaled = true
Instance.new("UICorner", close).CornerRadius = UDim.new(0, 8)
close.MouseButton1Click:Connect(function()
playGlassSound()
gui:Destroy()
end)
local function createButton(name, posY, bgColor)
local btn = Instance.new("TextButton", frame)
btn.Text = name
btn.Size = UDim2.new(0.8, 0, 0, 50)
btn.Position = UDim2.new(0.1, 0, 0, posY)
btn.BackgroundColor3 = bgColor
btn.BackgroundTransparency = 0.3
btn.TextColor3 = Color3.fromRGB(0, 0, 0)
btn.Font = Enum.Font.GothamBold
btn.TextScaled = true
Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 10)
return btn
end
local show = createButton("Show Path", 70, Color3.fromRGB(100, 255, 200))
local reset = createButton("Unshow Path / Reset", 140, Color3.fromRGB(255, 150, 150))
show.MouseButton1Click:Connect(function()
playGlassSound()
local function revealGlass(v)
pcall(function()
if (v:IsA("Part") or v:IsA("MeshPart")) and v.Size.Y < 2 then
if not v:GetAttribute("Axom_Stored") then
v:SetAttribute("Axom_Stored", true)
v:SetAttribute("Axom_Color", v.BrickColor.Name)
v:SetAttribute("Axom_Material", tostring(v.Material))
v:SetAttribute("Axom_Transparency", v.Transparency)
end
if v.CanCollide then
v.BrickColor = BrickColor.new("Lime green")
v.Material = Enum.Material.Neon
v.Transparency = 0.1
else
v.BrickColor = BrickColor.new("Really red")
v.Material = Enum.Material.ForceField
v.Transparency = 0.7
end
end
end)
end
for _, v in ipairs(workspace:GetDescendants()) do
revealGlass(v)
end
workspace.DescendantAdded:Connect(function(v)
revealGlass(v)
end)
spawn(function()
while wait(0.5) do
for _, v in ipairs(workspace:GetDescendants()) do
revealGlass(v)
end
end
end)
end)
reset.MouseButton1Click:Connect(function()
playGlassSound()
for _, v in ipairs(workspace:GetDescendants()) do
pcall(function()
if (v:IsA("Part") or v:IsA("MeshPart")) and v:GetAttribute("Axom_Stored") then
local c = v:GetAttribute("Axom_Color")
local m = v:GetAttribute("Axom_Material")
local t = v:GetAttribute("Axom_Transparency")
if c and m and t ~= nil then
v.BrickColor = BrickColor.new(c)
v.Material = Enum.Material[m]
v.Transparency = t
end
v:SetAttribute("Axom_Stored", nil)
v:SetAttribute("Axom_Color", nil)
v:SetAttribute("Axom_Material", nil)
v:SetAttribute("Axom_Transparency", nil)
end
end)
end
end)No comments yet for this script.



