RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"server script that opens and and closes a frame when a ui button is clicked"
local button = script.Parent local frame = script.Parent.Frame function onButton1Down() if frame.Visible then frame.Visible = false else frame.Visible = true end end button.MouseButton1Click:Connect(onButton1Down)