--This is just some simple server script that moves the object around every frame
--The kinematics module handles the rest



game["Run Service"].Heartbeat:Connect(function(deltaTime)
	
	local speed = script:GetAttribute("speed") or Vector3.zero
	total+=deltaTime
	part.CFrame = startPos * CFrame.fromEulerAngles(total*speed.x,total*speed.y,total*speed.z)
end)
