Disable all seats from a vehicle for the player

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? So, each seat in the vehicle I’m making, including the driver one, has a ProximityPrompt inside which I want to disable only for the player if they enter a seat (any seat, doesn’t matter if it’s for the driver) and I don’t know what I should do, I tried using RemoteEvents but LocalScripts don’t run in the Workspace

  2. What is the issue? I tried using RemoteEvents, but I can’t run them locally because of being in the Workspace

  3. What solutions have you tried so far? I haven’t found anything that helps me with that in the DevForum

1 Like

Why not use Collectionservice to tag the player that is on the seat on the server then use collection service on the client to validate whether the player on the seat matches the local player then disable all the proximity prompts.

1 Like

And for remoteEvents why not store the local scripts in StarterCharacterScripts or StarterGui then use FireClient() on the server

1 Like

Because the vehicles are spawned by the player so there isn’t only one script for only one vehicle, so I think that wouldn’t work properly

I will try that, thanks in advance. I will come back if I need help in another thing :wink:

ok goodluck i will respond if you need help