so i am calling a function when the button is clicked and that works its just the the gui is not visible to the playing player it works while im still in studio but as soon as i go into test it just wont be visible
here is my script:
local Question = game.StarterGui.Traitorgui.yesORno
script.Parent.TextButton.MouseButton1Click:Connect(function() -- If button is clicked
Question.Visible = true
end)
just to show that the script works! it has been tested and the button and the clickdetector works títs something wrong with the gui and i do not know what!
the gui contains:
ScreenGui (not named that) Frame (Not named that) CornerUI, TextButton(not named that) TextButton(not named that), The LocalScript, textlabel x2 CornerUI CornerUI

1 comment
TYSM bro