ProximityPrompt not working

This is a local script

Can you show all the properties for the ProximityPrompt as well as all of the other Instances in the script?
Screenshot the explorer and the Inspector for ProximityPrompt

sadwesfdas

adafasdwqs

afafsdwas

You parented it to the player but did you make it visible?

It’s visible (the gui) but when I go to click,the prompt, the gui dosent show up

Never mind i think i figured it out

I might be wrong, but…
I found out why, it’s because you are using a local script. Just remove the variable (because it’s not needed, and can’t be used in a server script). And it should work.

yeah i just realised! xdddddddddd

Also, you don’t need to make the notepad the player’s parent, it already is in the playergui, whether it’s visible or not. And you can’t use proximity prompts in local scripts I believe.

You can use proximityprompts in localscripts but localscripts do NOT work under workspace (unless parented to the character I believe)

1 Like