I used the script that was my answer, but didn't solve my problem
local platform = workspace.Platform
local stop1, stop2 = workspace.Stop1 or workspace.Stop2
stop1.Touched:connect(function(hit)
if hit==platform then
print("Stop1 touched the platform")
hit.CFrame = platform.CFrame * CFrame.new(0,0,.1)
end
end)
stop2.Touched:connect(function(hit)
if hit==platform then
print("Stop1 touched the platform")
hit.CFrame = platform.CFrame * CFrame.new(0,0,-.1)
end
end)
The problem is that it won't move

1 comment
Touched doesn't fire if you change it's CFrame and goes to a part.