Is there any way to make a part move based on the game time? This method worked perfectly for me. Unfortunately, for laggy devices, the part movement speed goes offsync from the game time itself:
part.CFrame = part.CFrame + part.CFrame.lookVector * movement
So, I tried this to make the part move synced with the time:
part.Position = Vector3.new(game.Workspace.DistributedGameTime * movement, 0.0, 0.0)
But, I can't managed to get it worked on all directions, even I did it, but it is very odd, because the part supposed to move based on the Orientation as well. Is there any methods to do this?
part.CFrame = part.CFrame + part.CFrame.lookVector * movement
So, I tried this to make the part move synced with the time:
part.Position = Vector3.new(game.Workspace.DistributedGameTime * movement, 0.0, 0.0)
But, I can't managed to get it worked on all directions, even I did it, but it is very odd, because the part supposed to move based on the Orientation as well. Is there any methods to do this?