Local problem with proximity prompts!

I have a script where when I trigger a proximity prompt it is supposed to show a dialog and did not work.

I tried using remote events since my script was a local script but that did not work.

Here is the localscript:


Here is the server script
image

Are the server script and the local script under the proximity prompt?

Yes, they are under the proximity prompt
image

You shouldn’t be placing script like this because they have their own containers but try setting the local script’s run context to client

Did you mean server script? Local scripts don’t have RunContext.

How about you create a new server script, paste your client code in it, and then set its run context to the client?

It worked! Thank you! I was stuck on this for so long

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.