Proximity Promt problem

Hello I am currently having a problem with proximityPromt its it only fire once

Here is my script:

     Script.parent.Triggered:connect(function(plr)
            If plr.PlayerGui.GUI.Enabled == false then
             plr.PlayerGui.GUI.Enabled = true
            end
      end)

How can we made so that it can be fire a lot cuz I am kinda annoy by that

Try this

Script.parent.Triggered:connect(function(plr)
            local gui = plr.PlayerGui.GUI
             gui.Enabled = not gui.Enabled
            
      end)
1 Like