I'm pretty new to scripting so I know a few things, but not that much. I came up with this script which I'm pretty sure it can be written in a better way but this is what I can do. When I stand on the platform, you have 1 second before it starts moving. However, instead of slowly moving into the position I've set it to, it teleports there. How can I make it so the platform moves slowly to where I set it up to instead of teleporting?
function Touched(hit)
if hit then
for i = 1,50 do
wait(1)
script.Parent.CFrame = CFrame.new(19.5, 0.5, 219.5)
wait (5)
end
end
end
script.Parent.Touched:Connect(Touched)

2 comments
I know this isn't realated but you can use body position to make the brick smoothly go to the new position (if the brick isn't anchored)
cant you use tween service