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

3 comments
it does print part touched though
I need the wall to turn off cancollide client side not server side
Why not just do "wall.CanCollide = false" instead of "remote:FireServer()?"