#blocking then passing through walls
2 messages · Page 1 of 1 (latest)
local part = workspace.Part
local wall = workspace.Wall
part.Touched:Connect(function(k)
if k.Parent:FindFirstChild("Humanoid") then
wall:Destroy()
end
end)
2 messages · Page 1 of 1 (latest)
hi, I need help on making an invisible wall that at the start of the game disables you from accesing whats on the other side but later disappears so the player can go through. Like you walk over a part to destroy the wall or something?
local part = workspace.Part
local wall = workspace.Wall
part.Touched:Connect(function(k)
if k.Parent:FindFirstChild("Humanoid") then
wall:Destroy()
end
end)