Hello, first of all i would like to thank to spend your valuable time to answer my question.
I am working on a game and i wanted to open up a GUI using proximityPrompts. I am a BIG NOOB so dont judge me if this is a silly question.Anyways,
ButtonHolder is a part in workspace containing a ProximityPrompt which is the parent of my LocalScript.RolesGUI is a ScreenGUI which contains a Frame called RolesUI. I want the frame to appear when I trigger the ProximityPrompt
local Button = game.Workspace.ButtonHolder.ProximityPrompt local PromptService = game.GetService("ProximityPromptService") script.Parent.Triggered:Connect(function() print("yes") local RolesUI = game.StarterGui.RolesGUI.RolesUI RolesUI.Active = not RolesUI.Active RolesUI.Visible = not RolesUI.Visible end)
Thanks for spending your valuable time! I really appreciate it.
So I happened to figure ta solution out myself. Posting this for any person in future facing similar issues. I just substituted the Frame.Active for ScreenGui.Enabled and it happened to work.
Just a simple way around, hope it helps.