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 a Local Script inside the Text Button, Inside of a ScreenGui, inside StarterGui.
What it should do is make 72 things change its visible factor to false, 37 that are in a ScreenGui called GiveDie, and 35 things in another ScreenGui called WhichGive. These are both in StarterGui.
I have no idea why the Local Script isnt working, it has not told me any errors.
SOLVED BY LO_1003, I EDITED IT TO HIS ANSWER FROM COMMUNITY CHAT
