Hey, so i want to make a script that when a button is pressed, it opens a UI. This is the script so far
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Menu.BackgroundTransparency = 0
if false then
script.Parent.Parent.Menu.BackgroundTransparency = 1
end
end
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Menu.BackgroundTransparency = 0
if false then
script.Parent.Parent.Menu.BackgroundTransparency = 1
end
end)
fixed your code read your errors you were missing a “)” at the end