It works when it can collide although it doesn't when its not able to collide. Is there any way to make this work when it is non-collidable. Heres my script:

while true do 
script.Parent.Velocity = script.Parent.CFrame.lookVector *5 
wait(0.1)
end