Implement floating object script