Nothing happens when ProximityPrompt connected to RemoteEvent is triggered

Hey!
I am a newbie to coding and today I tried to make a player guided missile.
So how it works is when a player triggers the ProximityPrompt, the missile gets fired towards the direction the mouse is pointing at, and don’t worry, I am not here to ask anyone here to straight up code for me as I have already done that job and need some help and suggestion to why it is not working as intended as there are no errors in the output window.

I also have documented every single line of code I have written to help you, who is trying to help me understand better what I am trying to achieve.

So this is the part which holds the ProximityPrompt,

And this is the script which holds the code inside the ProximityPrompt which handles firing of the RemoteEvent.

This is the Missile Part which contains the LocalScript which controls the movement of the missile.

This is the LocalScript inside the Missile part which handles movement, explosion etc

If I could recieve help with this I would really appreciate it, thanks again,
Matt

1 Like

The most likely cause for this issue is, IIRC, that local scripts can not run in the workspace, unless they are parented to the player’s character.

as @SeargentAUS said local scripts can’t run in workspace and only things descending to the player, either parent the script to an instance descending to the player or set a normal scripts RunContext to client because those actually run in workspace