local GiveDieChildren = game.Players.LocalPlayer.PlayerGui.GiveDie:GetChildren()
game.Players.LocalPlayer.PlayerGui.GiveDie.later.MouseButton1Click:Connect(function()
	for i, v in pairs (GiveDieChildren) do
		v.Visible = false game.Players.LocalPlayer.PlayerGui.Now.OkThen.Visible = true
	end
end)

what this script does is: makes the screengui "GiveDie" makes its children to become invisible

what the script is also supposed to do: make an already invisible Textbutton named OkThen become visible when the textbutton that is this scripts parent is clicked, it does that

4 comments

0

Just remove the and, you don't need it.

0

yeah does not work

0

you'd do game.Players.LocalPlayer.PlayerGui.Now.OkThen.Visible = true

0

cool that works