#proximity prompt not working
1 messages · Page 1 of 1 (latest)
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
- dont use ai
- show console outputs
He can use ai if he wants to..?
not when he doesnt know how to code it himself
Do you understand the code chatgpt is giving you
That’s a fair point but you could’ve said that instead of saying “dont use ai”
You know what I mean
👍
I’m glad
🔥✍️