So basically when you click a button it will make these 2 GUIs appear. This is the code I put in the button but it doesn't work:
kickgui1 = game.StarterGui.GUIKick.Frameholder
warngui1 = game.StarterGui.GUIWarn.Frameholder
function onClicked(GUI)
if kickgui1.Visible == false then
kickgui1.Visible = true
warngui1.Visible = true
else
warngui1.Visible = false
kickgui1.Visible = false
end
end
script.Parent.MouseButton1Click:connect(onClicked)

4 comments
It still didn't work.
well, what is script.Parent
The script's parent is TextButton.
I fixed it. Thanks for the help anyways.