I was wondering if there is anyway of doing this i know it may be a little odd but is there anyway of making a wall that players can pass trough but bricks cant?
✓ ANSWER ACCEPTED
How would i script this?
1 answer
✓ Accepted answer
You're supposed to make your own script and we edit it but okay,
function onTouch(hit)
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
script.Parent.CanCollide = false
wait(2)
script.Parent.CanCollide = true
end
end
script.Parent.Touched:connect(onTouch)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Sorry im a bit of a noob in scripting...