.Touched on client

Does the .Touched event work on client if the item that is being detected to be touched was replicated from the servers storage to workspace.

When I replicated a map from server storage and place it on to workspace where my local scripts then detects that the part that is to be touched is present in the workspace but it doesn’t detect the .Touched part

typically yes it should work on the client, but can you show me your code?

It doesn’t work because the client isn’t able to access anything in server storage so it doesn’t know about it. If you move the object into replicatedstorage it should work.

But why exacty do you need a .Touched event on the client?? FYI whatever u run in that script is completely exploitable because the client can do anything they want with it since it’s in a local script.

2 Likes

The local script is only going to access it after the map is inside of workspace. It just for animation on the map

1 Like

Hey there I have already fixed it just turned out that having a remote event sending the map name just didnt have the right timing I just had to use childAdded.

I’ll leave this page up for a day or two just incase someone wants some help then ill close it!