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