Hello. I need help with Local Scripts. If a block is CanCollide = true and I use a local script to make it CanCollide = false, does it only work for the specific player?
Code:
local Block = game.Workspace.TestBlock
local Click = Block.ClickDetector
Click.MouseClick:Connect(function(plrclick)
if plrclick.Name == game.Players.LocalPlayer.Name then
Block.CanCollide = false
wait(10)
Block.CanCollide = true
end
end

2 comments
Assuming FE, then yeah. Only that player will be able to see that change.
MouseClick is server side only... ?