Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would i script this?

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?

1 comment

0

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

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.