Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why won't this visible script work?

Asked by 9 years ago
script.Parent.Visible = false

why wont this work?

0
What is the entire script? lomo0987 250 — 9y

2 answers

Log in to vote
1
Answered by
Ortron 27
9 years ago

I'm assuming you're trying to make the GUI false when it is in starterGUI.

If so add this to your script.

wait(10) player=game.Players.Localplayer print(player) --Just to check if it works

player.PlayerGui. --insert the rest of your script here (Anything in starterGUI will be in here)

I'm just a begginer, this could be wrong.

Ad
Log in to vote
0
Answered by
iLegitus 130
9 years ago

Do : Copy the GUI and put it inside Replicated storage,

And then Do :

script.Parent:remove()

-- Then if you want to bring it back do ..

x = game.ReplicatedStorage.GUINAMEHERE:clone()
x.Parent = game.StarterGui
0
no I dont want that, i dont want removed, I just want it gone invis NinjoOnline 1146 — 9y
0
Yes its like the same,Because its storing it in somewhere,And when you click a certain GUI it comes back on. iLegitus 130 — 9y

Answer this question