Could a table in a server script be used as a condition in a module script?

Hello developer, I have a question while scripting and that question is could you use a table from a server script that came from a local script and using one of the keys as a condition in a module script in an if statement?

It is not clear if what you are trying to do is the best approach, but there are ways to do what what you are describing. You’ll need to send the table across the network though which could complicate things, especially if the table holds references to objects.

So I would need a seperate module script to do two things in a script like entering and exiting a vehicle?

I don’t know, I still don’t have enough context here to understand what you are trying to do.

I am trying to use a table like this
local Params = { destination = TeleportDestination, faceAngle = TeleportFaceAngle, freeze = FreezeCharacter, Occupied = SeatVacency}
and use the key which is named Occupied as a condition in a module script.