Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shop = script.Parent.GuiButton.Shop
- script.Parent.GuiButton.MouseButton1Click:connect(function()
- if Shop.Visible == false then
- Shop.Visible = true
- script.Parent.GuiButton.Text = "CLOSE"
- elseif Shop.Visible == true then
- script.Parent.GuiButton.Text = "OPEN"
- Shop.Visible = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement