#proximity prompt not working

1 messages · Page 1 of 1 (latest)

lilac burrow
#

everything is fine i just did a local script when promt triggered it visible a ui = true and it dont

#
wait(3)
local prompt = game.Workspace.Part.ProximityPrompt
local playerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Replace with your actual UI path (e.g., "PlayerGui.ShopUI")
local targetUI = playerGui:WaitForChild("store"):WaitForChild("frame") 
local bool = playerGui:WaitForChild("bool")


print(prompt)
prompt.Triggered:Connect(function(player)
    print(bool)
    if player then
        bool.Value = not bool.Value 
    end
    
    if player then
        print(targetUI.Visible)
        targetUI.Visible = true 
    end
end)
'''
#

ill leave this here but i dk

keen iris
blissful nymph
keen iris
blissful nymph
blissful nymph
#

You know what I mean

keen iris
#

👍

blissful nymph
#

I’m glad

haughty bramble
lilac burrow
#

guys

#

i understand and i use ai

#

its not about the code

#

its the proximity prompt not working in workspace

#

i just share the code so yall know that i did everything i tought and ai told me

#

so this server is the last place i look for help

blissful nymph
#

i was gonna help you

#

but you are a communist