Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Open Button Script (TextButton Only)
- local frame = script.Parent.Parent.test
- local open = false
- script.Parent.MouseButton1Click:Connect(function()
- if frame.Visible == false then
- frame.Visible = true
- else
- frame.Visible = false
- end
- end)
- Close Button Script (TextButton Only)
- script.Parent.MouseButton1Click:connect(function()
- script.Parent.Parent.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement