how to change the collision on parts for roblox through script code example
Example: What is CanCollide in roblox?
-- CanCollide is command a that will be able to make a Part collide or not
-- To make an object not fall off a part
script.Parent.CanCollide = true
-- To make an object fall off a part
script.Parent.CanCollide = false