Moving platform won't move player

I made a moving platform but it won’t move the player with it. I made the same thing before and that works so I’m confused.

Script for the platform:

local Platforms = game.Workspace.MovingPlatforms
local Platform1 = Platforms.Platform1
local Start1 = Platforms.Start1
local End1 = Platforms.End1
local BodyGyro = Platform1.BodyGyro
local BodyPosition = Platform1.BodyPosition

spawn(function()
while true do
BodyPosition.Position = Start1.Position
wait(5)
BodyPosition.Position = End1.Position
wait(5)
end
end)

You may need to enabled CustomPhysicalProperties on the parts.

I tried that but it didn’t work.

Okay so I managed to fix it simply by increasing the part’s size. I don’t know why but that fixed it.