Is there a way you can make two parts go through each other but not a player.
COMMUNITY QUESTION
Can you do this?
2 answers
Possibilities
--[[•CFrame
CFrame is meaning CoordinateFrame and can be used to move every object with the "CFrame"
property IGNORING any colision.
You can use it with either CFrame.new(x, y, z) or other object's CFrames.]]
local Part=Instance.new("Part", workspace) --Creates a "Part" object in workspace.
for i=1,10 do --A loop that lets the block inside happen 10 times.
Part.CFrame=Part.CFrame*CFrame.new(0,0,-0.1) --This moves the part to its z coordinate by -0.1.
wait(0.1) --This stops the script for 0.1 seconds.
end -- "end" is also required to end for loops.
--[[•Vector3
Vector3 is the exact coordinates in a coordinate system with 3 coordinate types: x, y and z.
You can use it to move everything with the "Position" property IGNORING any collision.
You can use it with either Vector3.new(x, y, z) or with other object's Position.]]
local Part=Instance.new("Part", workspace) --Creates a "Part" object in workspace.
for i=1,10 do --A loop that lets the block inside happen 10 times.
Part.Position=Part.Position+Vector3.new(0,0, 0.1) --This moves the part towards the z coordinate by 0.1.
wait(0.1) --This stops the script for 0.1 seconds.
end -- "end" is also required to end for loops.
I hope this can help you! If you have any questions, feel free to ask!
2 comments
0
This won't help if your trying to make a game where the parts are random and such but its clever
0
How will this not help?
If you create the parts in the player's camera, I believe they will only be visible / touchable to the player.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
You mean in game, not in Studio?
I don't think you can :(