#proximity prompt

1 messages · Page 1 of 1 (latest)

rocky terrace
#

im having trouble with my proxmity prompt idk why but this is my code

local prompt = workspace.LightSwitch.Main.ProximityPrompt

prompt.Triggered:Connect(function()
    print("Hello working 123")
end)

it doesnt print anything at all for some reason

#

it worked when i tried it in a new game but not the one im working on rn

tough folio
#

errors?

jaunty patio
rocky terrace
harsh sluice
#

send ss of workspace

rocky terrace
#

im in a valorant game rn give me a bit

jaunty patio
# rocky terrace

to make proximity prompts interactable they need to be inside of the player's gui, just set the adornee set to the part

#

so the proxmity prompt is at the correct location

#

its a property

rocky terrace
#

ok

harsh sluice
#

just put the proximity prompt in an attachment

#

it works fine if u do that

#

both work

jaunty patio
#

rly? ive never seen attachments used like that

#

oh ok

#

also wait i just lied

#

adornee isnt used for proximity prompts

#

you might need to use the proximity prompt service

jaunty patio
tough folio
#

BRO CUCUMBER IM TRYNA HELP YOU CHECK UR DMS

jaunty patio
#

I got it to work with just this

rocky terrace
#

alr ill try

jaunty patio
#

make sure there is nothing else in your game with the name as anything you are referencing in your script