#wgat is wrong with this script? it doesnt work

1 messages · Page 1 of 1 (latest)

median gulch
#

local player = game.Players.LocalPlayer
local plrgui = player:WaitForChild("PlayerGui")

if plrgui then
local screengui = plrgui:FindFirstChild("ScreenGui")
if screengui then
for _, child in screengui:GetChildren() do
if child:IsA("GuiObject") then
child.Visible = true

        end
    end
end

end

#

its a localscript in starterplayerscripts

tawny fiber
#

Whats wrong with the script

median gulch
#

EXACTLY

#

pls help

tawny fiber
#

does the gui not show

median gulch
#

NO

tawny fiber
#

You forgot pairs in your for loop

median gulch
#

i tried

#

it dont work

verbal coral
#

wdym by it doesnt work

median gulch
#

oh my goodnes

#

i figured it out

verbal coral
#

oh nice

median gulch
#

i named my gui screengui different

#

with capitals