Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---Watch my tutorial to understand everything: https://youtu.be/YRQoi88DY3I
- local map = script.Parent.Parent.MinimapFrame
- local button = script.Parent
- button.MouseButton1Click:Connect(function()
- if map.Visible == true then
- map.Visible = false
- button.Text = "Open"
- else
- map.Visible = true
- button.Text = "Close"
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement