Eleven people were injured when a roller coaster car derailed at a theme park in Scotland on Sunday afternoon.