I have these buttons that, when you click on them, they make a frame appear along with the things in the frame. When I press a button to make all these buttons dissapear, then press another button to make them reappear, they dont make the frame visible.
I make them dissapear by dis enabling the screen gui and enabling it again.
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.GiveDie.Enabled = true
script.Parent.Visible = false
end)
This is the Local Script to make them re appear.
script.Parent.MouseButton1Click:Connect(function()
game.Players.LocalPlayer:WaitForChild("PlayerGui").GiveDie.Enabled = false
game.Players.LocalPlayer:WaitForChild("PlayerGui").WhichGive.Enabled = false
game.Players.LocalPlayer.PlayerGui.Now.OkThen.Visible = true
end)
This is the Local Script to make them Dissapear, along with the frames that appear upon clicking the buttons i first talked about that are in ScreenGui named GiveDie.
The Button that makes them re appear is in Now
The frames are in WhichGive.
There is also Local Scripts in the first buttons i meantioned:
local player = game.Players.LocalPlayer
local playergui = player:FindFirstChild("PlayerGui")
script.Parent.MouseButton1Click:Connect(function()
if not playergui.WhichGive.BACKVIII.Visible then
playergui.WhichGive.BACKVIII.Visible = true
else
playergui.WhichGive.BACKVIII.Visible = false
end
end)
