Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I cant make the other gui visible when I click?

Here is the script so far.

script.Parent.MouseButton1Click:connect(function() game.StarterGui.ScreenGui2.Frame2.TextLable2.Visible = true end)

1 answer

This should work:

opened = false
p = game.Players.LocalPlayer

script.Parent.MouseButton1Click:Connect(function()
if p.PlayerGui.ScreenGui2.Frame2.TextLabel2.Visible == false and debounce == false then
debounce = true
p.PlayerGui.ScreenGui2.Frame2.TextLabel2.Visible = true
else
if p.PlayerGui.ScreenGui2.Frame2.TextLabel2.Visible == false and debounce == false then
debounce = false
p.PlayerGui.ScreenGui2.Frame2.TextLabel2.Visible = false
end
end
end)

2 comments

0

Thanks dude. Are you a pro scripter or somthing??? Cause I really need help.

0

I won''t say 'pro', but im good. Please accept the answer, and DM me if you need anymore help

This discussion is preserved as it was. New answers, comments, and votes are closed.