I have two localscripts in startergui and the first one listens for when a specific part is touched it fires the remote event here's the firing script:
toucher = game.Workspace.Toucher1 local remote = game:GetService("ReplicatedStorage").RemoteEvent toucher.Touched:Connect(function(hit) if hit then print("part touched") remote:FireServer() end end)
And here's the listener:
local wall = game.workspace.Wall game.ReplicatedStorage.RemoteEvent.OnClientEvent:Connect(function() wall.CanCollide = false end)
I dont get why the wall is not turning off cancollide
remote:FireServer() sends message to the server, not the client, so
RemoteEvent.OnClientEvent will never run. If you want to communicate LocalScript with LocalScript use BindableEvents.