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

Hi guy's! I was wandering how you would make Parts fall though Parts but NOT people?

Hey I need help. I have a game were when you fall though water some studs under it devolves bricks but if i make it can collide and put it higher. The bricks devolve as well as people's gear. Please help.

So a script the allow Bricks though a part but not a Humanoid.

1 answer

✓ Accepted answer
local parts = {Workspace.Part} 
for i, v in next, parts do
	v.Touched:connect(function(p) if game.Players:GetPlayerFromCharacter(p.Parent) then
		v.CanCollide = true
		else
		v.CanCollide = false
		end
	end)
end

This discussion is preserved as it was. New answers, comments, and votes are closed.