create a roblox lua script for player movement with pathfinding