Can remote event be used if it is placed inside of workspace

So as the title mentioned, i wanted to ask is it possible for remoteevent to work even if it is placed inside of workspace?

1 Like

yes they will work in workspace, but why do that when you can instead use them in ReplicatedStorage or ServerStorage?

In order for both the server and clients to utilize a remote event, the RemoteEvent object must be in a place where both sides can see it. It is normally stored in RelicatedStorage although in some cases it’s okay to store it in the workspace or inside a Tool

You can use remote events anywhere even if it doesn’t have any parent

that’s not true, they work in ServerStorage perfectly fine
just because local scripts can’t access them doesn’t mean they don’t work

1 Like

so can you guys take a look at this topic

1 Like

Yeah it will work and trigger but I don’t see the need to use workspace when we have designated storages for them.

3 Likes

yeah, but i have a tesla and i tried to make the doors open or close using remoteevent but it doesn’t work and i put remoteevent inside the Tesla model

Well, thts wat it says in da api reference.

1 Like

Most people use it in ReplicatedStorage, all Ik about them ngl

3 Likes

where in the api does it say I can’t use it there?

Idk, i just asked to make sure that is not the issue

RemoteEvents

They have to be replicated in order to completely work, sure you can use 1 side of the function but the other one won’t detect it because it’s located within a Server-only Sided area

1 Like

my point was that FireClient would work in ServerStorage, is that right then?
or am I reading it wrong, because it says I can use 1 side of the function

ok, so client - server works but server to clients or one client is not gonna work? right?

Inhale

Yes, you can use these functions on one side:

  • FireServer()
  • FireClient()

But your Event functions won’t be able to detect them because they’re not replicated across this side, if you place your RemoteEvent inside ServerStorage/ServerScriptService:

  • OnServerEvent()
  • OnClientEvent()

@nghiapoopie123 Correct, for that you could probably use a BindableEvent for that instead I believe if you’re wanting to only detect one side

4 Likes

ok, i’ll see your solution, thanks for your advice

Dude read the api, it literally says

In order for both the server and clients to utilize a remote event, the RemoteEvent object itself must be in a place where both sides can see it.

1 Like

I did, I must have went past it
chill

1 Like

Nothing against u m8, just wanted to rectify it