Hi, so I'm editing a friend's game that's created as an Interview Center. There's this button (Screen GUI) that says 'Interview Questions', and when you click on it, it's supposed to expand with the interview questions. However, there's an error and it's not expanding on click. I'm unsure what's causing this and I would like to ask for help. Any feedback / suggestions will be very helpful.
Check (Under ScreenGUI)
repeat wait() until script.Parent.Parent.Name ~= "StarterGui" plr = script.Parent.Parent.Parent if plr:GetRankInGroup(3312565) <8 then if plr.Name == "" or plr.Name == "aelzc" or plr.Name == "iiPotato_Queenxx" then return end script.Parent:Destroy() end
Script (Under Button > Button)
script.Parent.MouseButton1Down:connect(function() script.Parent.Parent.Visible = false script.Parent.Parent.Parent.Questions.Visible = true end)
Script (Under Questions > Button)
script.Parent.MouseButton1Down:connect(function() script.Parent.Parent.Visible = false script.Parent.Parent.Parent.Button.Visible = true end)
You need to use local scripts if the script is for that player only.