Heres my code
local frame = game.StarterGui.balls.testicles
script.Parent.MouseButton1Click:Connect(function() if frame.Visible == false then frame.Visible = true end end)
I've tried .Visible I've tried .Enabled. I can't seem to get it to work.
Heres my code
local frame = game.StarterGui.balls.testicles
script.Parent.MouseButton1Click:Connect(function() if frame.Visible == false then frame.Visible = true end end)
I've tried .Visible I've tried .Enabled. I can't seem to get it to work.
(Not Trying To Be Rude)
Well Your Code Is A Bit Messy But I Think This
Would Help;
local StarterGui = game:GetService('StarterGui')
local MainFrame = StarterGui.balls.testicles
local Button = script.Parent
Button.MouseButton1Up:Connect(function()
MainFrame.Visible = true
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.